query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Called when another command which requires one or more of the same subsystems is scheduled to run
protected void interrupted() { P.println(Tt.getClassName(this) + " interrupted"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AutonomousCommand(LiftSubsystem m_lift, ArmSubsystem m_arm, Shooter m_shooter, DriveSubsystem m_drive,\n HopperSubsystem m_hopper, Intake m_intake) {\n // Add your commands in the super() call, e.g.\n // super(new FooCommand(), new BarCommand());\n // alongwith- birlikte çalıştırmak için // withtimeout-- girdigin sure kadar\n // yapar\n // (new RunShooter(m_shooter, 1).withTimeout(0.75),new RunLift(m_lift,\n // 0.5).raceWith(new RunHopper(m_hopper, 0.8)),\n // new AutonomousDrive(m_drive, 0.8, 300).withTimeout(3));\n\n super(new RunShooter(m_shooter, 0.8).withTimeout(0.75),\n new RunShooter(m_shooter, 0.8).raceWith(new RunHopper(m_hopper, 0.8)).withTimeout(2.5),\n new AutonomousDrive(m_drive, -0.8, -300).raceWith(new RunIntake(m_intake, 0.8)\n .raceWith(new RunHopper(m_hopper, 0.8).raceWith(new RunShooter(m_shooter, 0.3),\n new AutonomousDrive(m_drive, 0.8, 300), new RunShooter(m_shooter, 0.8).withTimeout(0.75),\n new RunShooter(m_shooter, 0.8).raceWith(new RunHopper(m_hopper, 0.8).withTimeout(2.5))))));\n\n }", "@Override\n /**\n * Set the default command for a subsystem here\n */\n public void initDefaultCommand() \n {\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n }", "private void registerCommands() {\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arrecurtick\")\n\t\t\t\t\t\t.then(argument(\"Number of Ticks Between Sends\", integer())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.timeBetween = getInteger(c, \"Number of Ticks Between Sends\");\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Recurring message will be sent every \" + getInteger(c, \"Number of Ticks Between Sends\") + \" ticks.\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//arrecurphrase [Recurring Phrase]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arrecurphrase\")\n\t\t\t\t\t\t.then(argument(\"Recurring Phrase\", string())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.persistentPhrase = getString(c, \"Recurring Phrase\");\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Recurring message set to \\\"\" + getString(c, \"Recurring Phrase\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//arrecurtoggle\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arrecurtoggle\")\n\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\tconfig.persistentChat = !config.persistentChat;\n\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Recurring message has been turned \" + (config.persistentChat ? \"on\" : \"off\") + \".\"), false);\n\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t})\n\t\t));\n\t\t//arrecur [Enabled?]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arrecur\")\n\t\t\t\t\t\t.then(argument(\"Enabled?\", bool())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.persistentChat = getBool(c, \"Enabled?\");\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Recurring message set to \\\"\" + (config.persistentChat ? \"on\" : \"off\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//aradditem [Item Name] [Trigger Term]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"araddterm\")\n\t\t\t\t\t\t.then(argument(\"Item Name\", string())\n\t\t\t\t\t\t\t\t.then(argument(\"Trigger Term\", string())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.terms.add(getString(c, \"Trigger Term\") + \"|\" + getString(c, \"Item Name\"));\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tHelper.setupChatMessages();\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Added term \\\"\" + getString(c, \"Trigger Term\") + \"\\\" to item \\\"\" + getString(c, \"Item Name\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t})))\n\t\t));\n\t\t//araddin [In Phrase]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"araddin\")\n\t\t\t\t\t\t.then(argument(\"In Phrase\", string())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.ins.add(getString(c, \"In Phrase\"));\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Added in-phrase \\\"\" + getString(c, \"In Phrase\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//araddout [Out Phrase]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"araddout\")\n\t\t\t\t\t\t.then(argument(\"Out Phrase\", string())\n\t\t\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\t\t\tconfig.outs.add(getString(c, \"Out Phrase\"));\n\t\t\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Added out-phrase \\\"\" + getString(c, \"Out Phrase\") + \"\\\".\"), false);\n\t\t\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t\t\t}))\n\t\t));\n\t\t//arreload\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"arreload\")\n\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\tarreload();\n\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"AutoReply config reloaded.\"), false);\n\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t})\n\t\t));\n\t\t//araddshopitem [Item Name] [Quantity] [Price]\n\t\tCommandRegistry.INSTANCE.register(false, (dispatcher) -> dispatcher.register(\n\t\t\t\tCommandManager.literal(\"araddshopitem\")\n\t\t\t\t\t\t.then(argument(\"Item Name\", string()).then(argument(\"Quantity\", string()).then(argument(\"Price\", string())\n\t\t\t\t\t\t.executes(c -> {\n\t\t\t\t\t\t\tconfig.shopItems.add(getString(c, \"Item Name\") + \"|\" + getString(c, \"Quantity\") + \"|$\" + getString(c, \"Price\"));\n\t\t\t\t\t\t\tConfigManager.saveConfig(config, \"AutoReplyConfigFile\");\n\t\t\t\t\t\t\tc.getSource().sendFeedback(new StringTextComponent(\"Added \" + getString(c, \"Item Name\") + \" to shop stock.\"), false);\n\t\t\t\t\t\t\treturn Command.SINGLE_SUCCESS;\n\t\t\t\t\t\t}))))\n\t\t));\n\t}", "@Override\n\t\tpublic void subTask(String arg0) {\n\n\t\t}", "public InstantCommand(Runnable toRun, Subsystem... requirements) {\n\t\trequireNonNull(toRun);\n\t\tm_toRun = toRun;\n\t\taddRequirements(requirements);\n\t}", "private void registerCommands() {\n }", "protected void runSubCommand(int num) {\n subCommands[num].execute();\n }", "public static void twoClientSetupProcesses() {\n\n\tList<String> aClientTags=TagsFactory.getAssignmentTags().getTwoClientClientTags();\n\tList<String> aServerTags=TagsFactory.getAssignmentTags().getTwoClientServerTags();\n\n\ttwoClientSetupProcesses(aClientTags, aServerTags);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setProcessTeams(Arrays.asList(\"RegistryBasedDistributedProgram\"));\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setTerminatingProcesses(\"RegistryBasedDistributedProgram\", Arrays.asList(\"Client_0\", \"Client_1\"));\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setProcesses(\"RegistryBasedDistributedProgram\", Arrays.asList(\"Registry\", \"Server\", \"Client_0\", \"Client_1\"));\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Registry\", Arrays.asList(\"Registry\"));\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Server\", aServerTags);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Client_0\", aClientTags);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Client_1\", aClientTags);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Registry\", FlexibleStaticArgumentsTestCase.TEST_REGISTRY_ARGS);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Server\", FlexibleStaticArgumentsTestCase.TEST_SERVER_ARGS);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Client_0\", FlexibleStaticArgumentsTestCase.TEST_CLIENT_0_ARGS);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Client_1\", FlexibleStaticArgumentsTestCase.TEST_CLIENT_1_ARGS);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setSleepTime(\"Registry\", 500);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setSleepTime(\"Server\", 2000);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setSleepTime(\"Client_0\", 5000);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setSleepTime(\"Client_1\", 5000);\n//\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().getProcessTeams().forEach(team -> System.out.println(\"### \" + team));\n}", "@Override\r\n\tpublic void subTask(String name) {\n\t}", "@Override\n\t\t\tpublic void subTask(String name) {\n\t\t\t\t\n\t\t\t}", "void beginPeriodic() {\n\t\t// if some subsystems need to get called in all modes at the beginning\n\t\t// of periodic, do it here\n\n\t\t// don't need to do anything\n\t}", "@Override\n public void configureTasks( ScheduledTaskRegistrar registrar ) {\n registrar.setScheduler( rhizomeScheduler() );\n }", "private void isCommandInstance() throws SystemException {\r\n\t\tif (commandInstance != null) return;\r\n\t\tif (commandResponder != null) SystemException.softwareProblem(\"This was not a command instance. There is a bug. Either the super for the command is not well formed or it called a method it shouldn't.\");\r\n\t\tinstantiateCommand();\r\n\t}", "public PnuematicSubsystem() {\n\n }", "public void TurnCommand() {\n\n requires(Robot.driveSubsystem);\n\n }", "public void performOtherTasks() {\n\t\t\tSystem.out.println(\"performing tasks other than servicing\");\n\t\t\t// do whatever you want to do in the servicing package\n\t\t}", "public void act() {\n\t\tfor (Manager manager : managers.values())\n\t\t\tmanager.act();\n\t\t\n\t\tif (hasPriority == Priority.ARMY && armyQueue.size() > 0) {\n\t\t\t//Tell ArmyManager to build top unit in queue\n\t\t}\n\t\telse if (hasPriority == Priority.BUILDINGS && buildingQueue.size() > 0) {\n\t\t\t//Tell BuildManager to build top building in queue\n\t\t}\n\t\telse if (hasPriority == Priority.WORKERS) {\n\t\t\t//ResourceManager has requested more workers\n\t\t}\n\t}", "@SystemAPI\npublic interface ScheduleEvent extends IOperation {\n\t/**\n\t * \n\t * @return\tDe duur van de planbare actie (in Millis)\n\t */\n\tpublic TimeDuration getDuration();\n\t\n\t/**\n\t * \n\t * @return\tDe periode waarop de actie gescheduled is\n\t * \t\t\tDit wordt ingesteld door de Scheduler\n\t */\n\t@SystemAPI\n\tpublic TimePeriod getScheduledPeriod(); \n\t\n\t/**\n\t * Als de schedulable specifieke resources nodig heeft, bv. een bepaalde \n\t * dokter of verpleegster, dan komen deze in de onderstaande List.\n\t * @return\t\tDe lijst met specifieke resources die nodig zijn.\n\t */\n\tpublic List<ScheduleResource> neededSpecificResources();\n\t\n\t/**\n\t * \n\t * @return\tEen lijst met de nodige resources.\n\t */\n\tpublic List<ResourceType> neededResources();\n\t\n\t/**\n\t * Zet de periode wanneer de actie gescheduled is.\n\t * @param scheduledPeriod\tDe nieuwe geplande periode\n\t * @param usesResources\tDe resources die gebruikt worden bij het plannen\n\t * @param campus De campus die gebruikt wordt bij het plannen\n\t * @throws SchedulingException Als er niet gepland kan worden\n\t */\n\tpublic void schedule(TimePeriod scheduledPeriod, List<ScheduleResource> usesResources, Campus campus) throws SchedulingException;\n\t\t\n\t/**\n\t * Een methode om te controleren of de events behorende bij een warenhuis gepland kunnen worden.\n\t * @param warehouse\n\t * \t\t Het warenhuis waar gepland moet worden\n\t * @return true\n\t * \t\t Als er gepland kan worden\n\t * @return false\n\t * \t\t Als er niet gepland kan worden\n\t */\n\tpublic boolean canBeScheduled(Warehouse warehouse) ;\n\t\n\t/**\n\t * Een methode om een warehuis te updaten. Met de booleanse waarde\n\t * kan de actie ongedaan gemaakt worden.\n\t * \n\t * @param warehouse\n\t * \t\t Het warenhuis geupdate moet worden\n\t * @param inverse\n\t * \t\t De soort update\n\t */\n\tpublic void updateWarehouse(Warehouse warehouse, boolean inverse) ;\n\t\n\t/**\n\t * Een methode om de prioriteit op te vragen.\n\t * @return\n\t */\n\tpublic Priority getPriority() ;\t\n\t\n\t/**\n\t * Methode die de campus waarop deze actie wordt uitgevoerd opslaat, zodat\n\t * ze later kan gereproduceerd worden wanneer er geannuleerd werd.\n\t * @param \tcampus\n\t * \t\t\tDe CampusId van de campus die moet opgeslagen worden\n\t */\n\tpublic void setHandlingCampus(CampusId campus) ;\n\t\n\t/**\n\t * Methode die de opgeslagen campus terug opvraagt.\n\t * @return\tDe opgeslagen campus\n\t */\n\tpublic CampusId getHandlingCampus();\n\t\n\t/**\n\t * \n\t * @return event type\n\t */\n\t@SystemAPI\n\tpublic EventType getEventType();\n\t\n\t/**\n\t * @return start event\n\t */\n\tpublic Event getStart();\n\t\n\t/**\n\t * \n\t * @return stop event\n\t */\n\tpublic Event getStop();\n}", "@Override\n protected int run() throws Exception {\n if (User.current() == null) {\n stderr.println(\"Must be logged in before executing...\");\n return 1;\n }\n\n // First check to see if they exist\n Jenkins instance = Jenkins.getInstance();\n AbstractProject project1 = instance.getItemByFullName(first, AbstractProject.class);\n if (project1 == null) {\n throw new CmdLineException(null, \"Project: \" + first + \" does not exist\");\n }\n AbstractProject project2 = instance.getItemByFullName(second, AbstractProject.class);\n if (project2 == null) {\n throw new CmdLineException(null, \"Project: \" + second + \" does not exist\");\n }\n\n // Make sure user has permission to build.\n if (!project1.hasPermission(Item.BUILD) &&\n !project2.hasPermission(Item.BUILD)) {\n throw new CmdLineException(null, \"You do not have permission to execute these jobs.\");\n }\n\n // Let's build both projects.\n project1.scheduleBuild2(0);\n project2.scheduleBuild2(0);\n return 0;\n }", "@Override\n public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n setDefaultCommand(new tankDrive());\n }", "@Scheduled(cron = \"${toil1.schedule2}\")\n\tpublic void toiL1Schedule2() {\n\t\tlog.info(\"Running toiL1Schedule2\");\n\t\trunToiL1Schedule();\n\t\trunToiBlogsL1Schedule();\n\t}", "private void commandCheck() {\n\t\t//add user command\n\t\tif(cmd.getText().toLowerCase().equals(\"adduser\")) {\n\t\t\t/*\n\t\t\t * permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\t * There will be more user level commands added in version 2, like changing rename to allow a\n\t\t\t * user to rename themselves, but not any other user. Admins can still rename all users.\n\t\t\t */\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\taddUser();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t}\n\t\t}\n\t\t//delete user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"deluser\")) {\n\t\t\t//permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\tdelUser();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t};\n\t\t}\n\t\t//rename user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"rename\")) {\n\t\t\t//permissions check: if user is an admin, allow the user o chose a user to rename.\n\t\t\t//If not, allow the user to rename themselves only.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\trename(ALL);\n\t\t\t}\n\t\t\telse {\n\t\t\t\trename(SELF);\n\t\t\t}\n\t\t}\n\t\t//promote user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"promote\")) {\n\t\t\t//permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\tpromote();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t}\n\t\t}\n\t\t//demote user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"demote\")) {\n\t\t\t//permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\tdemote();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t}\n\t\t}\n\t\t//the rest of the commands are user level, no permission checking\n\t\telse if(cmd.getText().toLowerCase().equals(\"ccprocess\")) {\n\t\t\tccprocess();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"cprocess\")) {\n\t\t\tcprocess();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"opentill\")) {\n\t\t\topenTill();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"closetill\")) {\n\t\t\tcloseTill();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"opendrawer\")) {\n\t\t\topenDrawer();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"sale\")) {\n\t\t\tsale();\n\t\t}\n\t\t//if the command that was entered does not match any command, return an error.\n\t\telse {\n\t\t\terror(CMD_NOT_FOUND);\n\t\t}\n\t}", "public void verifyAndRegister() {\n // All top level commands are supposed to be registered in the command manager\n this.internalTree.children.stream().map(Node::getValue).forEach(commandArgument -> {\n if (!(commandArgument instanceof StaticArgument)) {\n throw new IllegalStateException(\"Top level command argument cannot be a variable\");\n }\n });\n\n this.checkAmbiguity(this.internalTree);\n\n // Verify that all leaf nodes have command registered\n this.getLeaves(this.internalTree).forEach(leaf -> {\n if (leaf.getOwningCommand() == null) {\n throw new NoCommandInLeafException(leaf);\n } else {\n final Command<C> owningCommand = leaf.getOwningCommand();\n this.commandManager.getCommandRegistrationHandler().registerCommand(owningCommand);\n }\n });\n\n // Register command permissions\n this.getLeavesRaw(this.internalTree).forEach(node -> {\n // noinspection all\n final CommandPermission commandPermission = node.getValue().getOwningCommand().getCommandPermission();\n /* All leaves must necessarily have an owning command */\n node.nodeMeta.put(\"permission\", commandPermission);\n // Get chain and order it tail->head then skip the tail (leaf node)\n List<Node<CommandArgument<C, ?>>> chain = this.getChain(node);\n Collections.reverse(chain);\n chain = chain.subList(1, chain.size());\n // Go through all nodes from the tail upwards until a collision occurs\n for (final Node<CommandArgument<C, ?>> commandArgumentNode : chain) {\n final CommandPermission existingPermission = (CommandPermission) commandArgumentNode.nodeMeta\n .get(\"permission\");\n\n CommandPermission permission;\n if (existingPermission != null) {\n permission = OrPermission.of(Arrays.asList(commandPermission, existingPermission));\n } else {\n permission = commandPermission;\n }\n\n /* Now also check if there's a command handler attached to an upper level node */\n if (commandArgumentNode.getValue() != null && commandArgumentNode\n .getValue()\n .getOwningCommand() != null) {\n final Command<C> command = commandArgumentNode.getValue().getOwningCommand();\n if (this\n .getCommandManager()\n .getSetting(CommandManager.ManagerSettings.ENFORCE_INTERMEDIARY_PERMISSIONS)) {\n permission = command.getCommandPermission();\n } else {\n permission = OrPermission.of(Arrays.asList(permission, command.getCommandPermission()));\n }\n }\n\n commandArgumentNode.nodeMeta.put(\"permission\", permission);\n }\n });\n }", "void legalCommand();", "@Override\n\tpublic void teleopInit() {\n\n\t\tSystem.out.println(\"Teleop init\");\n\t\tif (autonomousCommand != null)\n\t\t\tautonomousCommand.cancel();\n\t\tScheduler.getInstance().add(new DriveCommand());\n\n\t\t\n\t}", "public void registerCommand(BaseCommand baseCommand) throws Exception {\n baseCommand.setShard(shard);\n Command botCommand = baseCommand.botCommand;\n for (BaseCommand cmd : baseCommands) {\n if (StringUtils.stripAccents(cmd.getCommandIdentifier()).equalsIgnoreCase(StringUtils.stripAccents\n (botCommand.getCommandIdentifier())))\n {\n System.out.println(\"Multiple baseCommands cannot be registered under the same name. Ignoring new \" +\n \"instance\" +\n \".\\n\" +\n \"Name: \" + baseCommand.toString());\n return;\n }\n }\n botCommand.setupSubcommands();\n baseCommands.add(baseCommand);\n commandUsages.put(baseCommand.commandIdentifier, (long) 0);\n System.out.println(\"Successfully registered \" + baseCommand.toString());\n }", "public abstract void checkingCommand(String nameOfCommand, ArrayList<Unit> units);", "@Override\n public void adjustStartEventSubscriptions(ProcessDefinitionEntity newLatestProcessDefinition, ProcessDefinitionEntity oldLatestProcessDefinition) {\n super.adjustStartEventSubscriptions(newLatestProcessDefinition, oldLatestProcessDefinition);\n\n LOG.debug(\"Adding start event simulation timers.\");\n removeObsoleteStartEventSimulationJobs(newLatestProcessDefinition);\n addStartEventSimulationJobs(newLatestProcessDefinition);\n }", "@Test\n public void testSubsystem1_1() throws Exception {\n KernelServices servicesA = super.createKernelServicesBuilder(createAdditionalInitialization())\n .setSubsystemXml(readResource(\"keycloak-1.1.xml\")).build();\n Assert.assertTrue(\"Subsystem boot failed!\", servicesA.isSuccessfulBoot());\n ModelNode modelA = servicesA.readWholeModel();\n super.validateModel(modelA);\n }", "public void testRunnableWithOtherRule() {\n \t\tISchedulingRule rule = new ISchedulingRule() {\n \t\t\tpublic boolean contains(ISchedulingRule rule) {\n \t\t\t\treturn rule == this;\n \t\t\t}\n \t\t\tpublic boolean isConflicting(ISchedulingRule rule) {\n \t\t\t\treturn rule == this;\n \t\t\t}\n \t\t};\n \t\ttry {\n \t\t\tgetWorkspace().run(new IWorkspaceRunnable() {\n \t\t\t\tpublic void run(IProgressMonitor monitor) {\n \t\t\t\t\t//noop\n \t\t\t\t}\n \t\t\t}, rule, IResource.NONE, getMonitor());\n \t\t} catch (CoreException e) {\n \t\t\tfail(\"1.99\", e);\n \t\t}\n \t}", "private static void performRoomManagement() {\n\t\t\r\n\t\t\r\n\r\n\t}", "private void loadRegistredCommands() {\n ServiceLoader<Command> loader = ServiceLoader.load(Command.class);\n for (Command command : loader) {\n addCommand(command);\n }\n }", "public void autonomousInit(){\n\t \t//resetAndDisableSystems();\n\t\t \n\t \tautonomousCommand = (Command) autoChooser.getSelected();\n\t \tautonomousCommand.start();\n\t \t\n\t \t\n\t }", "private void scheduleOrExecuteJob() {\n try {\n for (TaskScheduler entry : this.schedulers.values()) {\n StandardTaskScheduler scheduler = (StandardTaskScheduler) entry;\n // Maybe other thread close&remove scheduler at the same time\n synchronized (scheduler) {\n this.scheduleOrExecuteJobForGraph(scheduler);\n }\n }\n } catch (Throwable e) {\n LOG.error(\"Exception occurred when schedule job\", e);\n }\n }", "private void registerCommands() {\n CommandSpec showBanpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints.show\")\r\n .description(Text.of(\"Show how many Banpoints the specified player has \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))))\r\n .executor(childInjector.getInstance(CommandBanpointsShow.class)).build();\r\n\r\n CommandSpec addBanpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints.add\")\r\n .description(Text.of(\"Add a specified amount of Banpoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandBanpointsAdd.class)).build();\r\n\r\n CommandSpec removeBanpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints.remove\")\r\n .description(Text.of(\"Remove a specified amount of Banpoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandBanpointsRemove.class)).build();\r\n\r\n CommandSpec banpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints\")\r\n .description(Text.of(\"Show the Banpoints help menu\")).arguments(GenericArguments.none())\r\n .child(showBanpoints, \"show\").child(addBanpoints, \"add\").child(removeBanpoints, \"remove\").build();\r\n\r\n Sponge.getCommandManager().register(this, banpoints, \"banpoints\", \"bp\");\r\n\r\n CommandSpec showMutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints.show\")\r\n .description(Text.of(\"Show how many Mutepoints the specified player has \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))))\r\n .executor(childInjector.getInstance(CommandMutepointsShow.class)).build();\r\n\r\n CommandSpec addMutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints.add\")\r\n .description(Text.of(\"Add a specified amount of Mutepoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandMutepointsAdd.class)).build();\r\n\r\n CommandSpec removeMutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints.add\")\r\n .description(Text.of(\"Add a specified amount of Mutepoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandMutepointsRemove.class)).build();\r\n\r\n CommandSpec mutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints\")\r\n .description(Text.of(\"Show the Mutepoints help menu\")).arguments(GenericArguments.none())\r\n .child(showMutepoints, \"show\").child(addMutepoints, \"add\").child(removeMutepoints, \"remove\").build();\r\n\r\n Sponge.getCommandManager().register(this, mutepoints, \"mutepoints\", \"mp\");\r\n\r\n CommandSpec playerInfo = CommandSpec.builder().permission(\"dtpunishment.playerinfo\")\r\n .description(Text.of(\"Show your info \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.optionalWeak(GenericArguments.requiringPermission(\r\n GenericArguments.user(Text.of(\"player\")), \"dtpunishment.playerinfo.others\"))))\r\n .executor(childInjector.getInstance(CommandPlayerInfo.class)).build();\r\n\r\n Sponge.getCommandManager().register(this, playerInfo, \"pinfo\", \"playerinfo\");\r\n\r\n CommandSpec addWord = CommandSpec.builder().permission(\"dtpunishment.word.add\")\r\n .description(Text.of(\"Add a word to the list of banned ones \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.string(Text.of(\"word\"))))\r\n .executor(childInjector.getInstance(CommandWordAdd.class)).build();\r\n\r\n Sponge.getCommandManager().register(this, addWord, \"addword\");\r\n\r\n CommandSpec unmute = CommandSpec.builder().permission(\"dtpunishment.mutepoints.add\")\r\n .description(Text.of(\"Unmute a player immediately (removing all mutepoints)\"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))))\r\n .executor(childInjector.getInstance(CommandUnmute.class)).build();\r\n\r\n CommandSpec reloadConfig = CommandSpec.builder().permission(\"dtpunishment.admin.reload\")\r\n .description(Text.of(\"Reload configuration from disk\"))\r\n .executor(childInjector.getInstance(CommandReloadConfig.class)).build();\r\n\r\n CommandSpec adminCmd = CommandSpec.builder().permission(\"dtpunishment.admin\")\r\n .description(Text.of(\"Admin commands for DTPunishment\")).child(reloadConfig, \"reload\")\r\n .child(unmute, \"unmute\").build();\r\n\r\n Sponge.getCommandManager().register(this, adminCmd, \"dtp\", \"dtpunish\");\r\n }", "@Command\n\tpublic void buscar() {\n\t}", "private void doCommand() {\n try {\n TimeUnit.SECONDS.sleep(2L);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }", "@Override\n public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n }", "@Override\n public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n }", "private void registerCommands(){\n getCommand(\"mineregion\").setExecutor(new MineRegionCommand());\n getCommand(\"cellblock\").setExecutor(new CellBlockCommand());\n getCommand(\"cell\").setExecutor(new CellCommand());\n getCommand(\"prisonblock\").setExecutor(new PrisonBlockCommand());\n getCommand(\"rankup\").setExecutor(new RankUpCommand());\n getCommand(\"portal\").setExecutor(new PortalCommand());\n }", "private static void executeTask02() {\n }", "public void teleopPeriodic() \r\n {\r\n Watchdog.getInstance().feed();\r\n Scheduler.getInstance().run();\r\n \r\n //Polls the buttons to see if they are active, if they are, it adds the\r\n //command to the Scheduler.\r\n if (mecanumDriveTrigger.get()) \r\n Scheduler.getInstance().add(new MechanumDrive());\r\n \r\n else if (tankDriveTrigger.get())\r\n Scheduler.getInstance().add(new TankDrive());\r\n \r\n else if (OI.rightJoystick.getRawButton(2))\r\n Scheduler.getInstance().add(new PolarMechanumDrive());\r\n \r\n resetGyro.get();\r\n \r\n //Puts the current command being run by DriveTrain into the SmartDashboard\r\n SmartDashboard.putData(DriveTrain.getInstance().getCurrentCommand());\r\n \r\n SmartDashboard.putString(ERRORS_TO_DRIVERSTATION_PROP, \"Test String\");\r\n \r\n \r\n }", "public void subTask(String name) {\n\r\n\t}", "void cronScheduledProcesses();", "public DefaultAutonomous(DriveSubsystem ds,\n ShooterSubSystem ss,\n LEDSubSystem ls,\n XboxController manipulator,\n double distanceInFeet) {\n // Add your commands in the super() call, e.g.\n // super(new FooCommand(), new BarCommand());\n super(new ShooterCommand(ss, ls, manipulator, true, Constants.kShooterSpeedSlow).withTimeout(5),\n new DriveADistanceInFeet(ds, distanceInFeet, true).withTimeout(5));\n }", "private static void setSubsystems()\n {\n //Components\n //Talons\n frontLeftTalon.setName(\"DrivetrainSubsystem\", \"FrontLeftDriveTalon\");\n frontRightTalon.setName(\"DrivetrainSubsystem\", \"FrontRightDriveTalon\");\n rearLeftTalon.setName(\"DrivetrainSubsystem\", \"RearLeftDriveTalon\");\n rearRightTalon.setName(\"DrivetrainSubsystem\", \"RearRightDriveTalon\");\n //Sensors\n //navX.setName(\"SensorSubsystem\", \"NavX\");\n System.out.print(pigeon.getAbsoluteCompassHeading());\n \n //Subsystems\n drivetrainSubsystem.setName(\"DrivetrainSubsystem\", \"DrivetrainSubsystem\");\n sensorSubsystem.setName(\"SensorSubsystem\", \"SensorSubsystem\");\n }", "@Override\n public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n setDefaultCommand(new HatchExtend());\n setDefaultCommand(new HatchRetract());\n }", "private void scheduleJob() {\n\n }", "@Override\r\n public void robotPeriodic() {\r\n // Runs the Scheduler. This is responsible for polling buttons, adding newly-scheduled\r\n // commands, running already-scheduled commands, removing finished or interrupted commands,\r\n // and running subsystem periodic() methods. This must be called from the robot's periodic\r\n // block in order for anything in the Command-based framework to work.\r\n CommandScheduler.getInstance().run();\r\n }", "@Test\n\tpublic void testAddCommand1() {\n\t\tString task1 = \"normal task\";\n\t\tString task2 = \"priority task\";\n\t\tString label = testData.getCurrLabel();\n\t\t\n\t\tAddCommand comd = new AddCommand(task1, new TDTDateAndTime(), false);\n\t\tassertEquals(String.format(AddCommand.MESSAGE_ADD_FEEDBACK, label), comd.execute(testData));\n\t\t\n\t\tcomd = new AddCommand(task2, new TDTDateAndTime(), true);\n\t\tassertEquals(String.format(AddCommand.MESSAGE_ADD_FEEDBACK, label), comd.execute(testData));\n\t\t\n\t\tArrayList<Task> taskList = testData.getTaskListFromLabel(label);\n\t\tassertEquals(2, taskList.size());\n\t\tassertTrue(task2.equals(taskList.get(0).getDetails()));\n\t\tassertTrue(taskList.get(0).isHighPriority());\n\t\tassertTrue(task1.equals(taskList.get(1).getDetails()));\n\t\tassertFalse(taskList.get(1).isHighPriority());\n\t}", "protected void execute() {\n\t\tif(RobotMap.gearDoorExtended)\n\t\t\tgearSubsystem.retractPiston();\n\t\telse\n\t\t\tif(Robot.oi.getRightStick().getTrigger() || auton)\n\t\t\t\tgearSubsystem.extendPiston();\n\t\t\n\t}", "@Override\n\tpublic void autonomousInit() {\n\t\tif (autonomousCommand != null)\n\t\t\tlowGearCommand.start();\n\t\tautonomousCommand.start();\n\t}", "public void subTask(String tr) {\n\t\t\n\t}", "public void initDefaultCommand() {\r\n // Set the default command for a subsystem here.\r\n //setDefaultCommand\r\n }", "private void processWTBy(WasTriggeredBy dep) {\n\n\t}", "@Override\n public void run() {\n CuratorLocker locker = new CuratorLocker(schedulerBuilder.getServiceSpec());\n\n Runtime.getRuntime().addShutdownHook(new Thread(() -> {\n LOGGER.info(\"Shutdown initiated, releasing curator lock\");\n locker.unlock();\n }));\n locker.lock();\n\n SchedulerConfig schedulerConfig = SchedulerConfig.fromEnv();\n Metrics.configureStatsd(schedulerConfig);\n AbstractScheduler scheduler = schedulerBuilder.build();\n scheduler.start();\n Optional<Scheduler> mesosScheduler = scheduler.getMesosScheduler();\n if (mesosScheduler.isPresent()) {\n SchedulerApiServer apiServer = new SchedulerApiServer(schedulerConfig, scheduler.getResources());\n apiServer.start(new AbstractLifeCycle.AbstractLifeCycleListener() {\n @Override\n public void lifeCycleStarted(LifeCycle event) {\n scheduler.markApiServerStarted();\n }\n });\n\n runScheduler(\n scheduler.frameworkInfo,\n mesosScheduler.get(),\n schedulerBuilder.getServiceSpec(),\n schedulerBuilder.getSchedulerConfig(),\n schedulerBuilder.getStateStore());\n } else {\n /**\n * If no MesosScheduler is provided this scheduler has been deregistered and should report itself healthy\n * and provide an empty COMPLETE deploy plan so it may complete its UNINSTALL.\n *\n * See {@link UninstallScheduler#getMesosScheduler()}.\n */\n Plan emptyDeployPlan = new Plan() {\n @Override\n public List<Phase> getChildren() {\n return Collections.emptyList();\n }\n\n @Override\n public Strategy<Phase> getStrategy() {\n return new SerialStrategy<>();\n }\n\n @Override\n public UUID getId() {\n return UUID.randomUUID();\n }\n\n @Override\n public String getName() {\n return Constants.DEPLOY_PLAN_NAME;\n }\n\n @Override\n public List<String> getErrors() {\n return Collections.emptyList();\n }\n };\n\n PlanManager emptyPlanManager = DefaultPlanManager.createProceeding(emptyDeployPlan);\n PlansResource emptyPlanResource = new PlansResource();\n emptyPlanResource.setPlanManagers(Arrays.asList(emptyPlanManager));\n\n schedulerBuilder.getStateStore().clearAllData();\n\n SchedulerApiServer apiServer = new SchedulerApiServer(\n schedulerConfig,\n Arrays.asList(\n emptyPlanResource,\n new HealthResource()));\n apiServer.start(new AbstractLifeCycle.AbstractLifeCycleListener() {\n @Override\n public void lifeCycleStarted(LifeCycle event) {\n LOGGER.info(\"Started trivially healthy API server.\");\n }\n });\n }\n }", "@Override\n public void autonomousInit() {\n\tgameData.readGameData();\n\tautonomousCommand = (Command) chooserMode.getSelected();\n\tdriveSubsystem.resetEncoders();\n\televatorSubsystem.resetEncoder();\n\t// schedule the autonomous command\n\tif (autonomousCommand != null) {\n\t // SmartDashboard.putString(\"i\", \"nit\");\n\t autonomousCommand.start();\n\t}\n }", "protected abstract void scheduler_init();", "@Override\n public void robotPeriodic() {\n // Runs the Scheduler. This is responsible for polling buttons, adding newly-scheduled\n // commands, running already-scheduled commands, removing finished or interrupted commands,\n // and running subsystem periodic() methods. This must be called from the robot's periodic\n // block in order for anything in the Command-based framework to work.\n CommandScheduler.getInstance().run();\n }", "private void processCommand(String command) {\n if (command.equals(\"a\")) {\n doAddTask();\n } else if (command.equals(\"r\")) {\n doRemoveTask();\n } else if (command.equals(\"c\")) {\n doMarkTaskAsCompleted();\n } else if (command.equals(\"m\")) {\n doModifyTask();\n } else if (command.equals(\"v\")) {\n doViewAllTasks();\n } else if (command.equals(\"ct\")) {\n doViewAllCompletedTasks();\n } else if (command.equals(\"s\")) {\n saveTasks();\n } else {\n System.out.println(\"Invalid selection, kindly select from the options available.\");\n }\n }", "@Override\n\tprotected ArrayList<String> getCommandsToExecute() {\n\t\treturn null;\n\t}", "public void noSuchCommand() {\n }", "public void registerCommands() {\n\t CommandSpec cmdCreate = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"type\"))),\n\t onlyOne(GenericArguments.string(Text.of(\"id\"))))\n\t .executor(CmdCreate.getInstance())\n\t .permission(\"blockyarena.create\")\n\t .build();\n\n\t CommandSpec cmdRemove = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"type\"))),\n\t onlyOne(GenericArguments.string(Text.of(\"id\"))))\n\t .executor(CmdRemove.getInstance())\n\t .permission(\"blockyarena.remove\")\n\t .build();\n\n\t CommandSpec cmdJoin = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"mode\")))\n\t )\n\t .executor(CmdJoin.getInstance())\n\t .build();\n\n\t CommandSpec cmdQuit = CommandSpec.builder()\n\t .executor(CmdQuit.getInstance())\n\t .build();\n\n\t CommandSpec cmdEdit = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"id\"))),\n\t onlyOne(GenericArguments.string(Text.of(\"type\"))),\n\t GenericArguments.optional(onlyOne(GenericArguments.string(Text.of(\"param\"))))\n\t )\n\t .executor(CmdEdit.getInstance())\n\t .permission(\"blockyarena.edit\")\n\t .build();\n\n\t CommandSpec cmdKit = CommandSpec.builder()\n\t .arguments(onlyOne(GenericArguments.string(Text.of(\"id\"))))\n\t .executor(CmdKit.getInstance())\n\t .build();\n\n\t CommandSpec arenaCommandSpec = CommandSpec.builder()\n\t .child(cmdEdit, \"edit\")\n\t .child(cmdCreate, \"create\")\n\t .child(cmdRemove, \"remove\")\n\t .child(cmdJoin, \"join\")\n\t .child(cmdQuit, \"quit\")\n\t .child(cmdKit, \"kit\")\n\t .build();\n\n\t Sponge.getCommandManager()\n\t .register(BlockyArena.getInstance(), arenaCommandSpec, \"blockyarena\", \"arena\", \"ba\");\n\t }", "@Override\n public void run() {\n\n\n\n System.out.println(\"run scheduled jobs.\");\n\n\n checkBlackOutPeriod();\n\n\n\n checkOfficeActionPeriod1();\n\n checkAcceptedFilings();\n\n checkNOAPeriod();\n checkFilingExtensions();\n\n\n\n }", "public void mainCommands() {\n\t\tint inputId = taskController.getInt(\"Please input the number of your option: \", \"You must input an integer!\");\n\t\tswitch (inputId) {\n\t\tcase 1:\n\t\t\tthis.taskController.showTaskByTime();\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tthis.taskController.filterAProject();\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tthis.taskController.addTask();\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tthis.taskController.EditTask();\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tthis.taskController.removeTask();\n\t\t\tbreak;\n\t\tcase 6:\n\t\t\tthis.taskController.saveTaskList();\n\t\t\tbreak;\n\t\tcase 7:\n\t\t\tSystem.out.println(\"Thank you for coming, Bye!\");\n\t\t\tthis.exit = true;\n\t\t\t// save the task list before exit all the time.\n\t\t\tthis.taskController.saveTaskList();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"This is not a valid option, please input 1 ~ 7.\");\n\t\t\tbreak;\n\t\t}\n\n\t}", "@Override\n\t\tvoid runCommand() {\n\t\t\ttrigger.execute();\n\t\t}", "@Override\r\n\tpublic void doInitialSchedules() {\n\t}", "@Override\n protected void execute() {\n Robot.toteLifterSubsystem.setEjectorState(EjectorState.EXTENDING, ramper.process(1.0));\n }", "@Override\n public void autonomousPeriodic() {\n\t// updateDiagnostics();9\n\tScheduler.getInstance().run();\n }", "private static void CLIapplication() {\n\n\t\tboolean done = false;\n\t\tdo {\n\t\t\tint choice = HQmenu();\n\t\t\tSite newSite;\n\n\t\t\tswitch(choice) {\n\t\t\tcase 1:\n\t\t\t\tSystem.out.println(\"Register exchange office\");\n\t\t\t\tnewSite = createNewSite();\n\t\t\t\tif(sites.containsKey(newSite.getSiteName())) {\n\t\t\t\t\tSystem.out.println(\"Site already registred!1\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tsites.putIfAbsent(newSite.getSiteName(), newSite);\t\t\t\t\t\n\t\t\t\t\twriteNewSiteToConfigFile(newSite.getSiteName());\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tif(sites.isEmpty()) {\n\t\t\t\t\tSystem.out.println(\"You need to register site(s) first.\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tCLIHelper.menuInput();\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\t\tdone = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"Not a valid menu choice!\");\n\t\t\t}\n\t\t\tlogger.info(\"-------Task_Done-------\\n\");\n\t\t}while(!done);\n\t}", "@Override\n\tpublic void teleopPeriodic() {\n\t\tSmartDashboard.putString(\"DT Current Command\", \" \");\n\t\tSmartDashboard.putString(\"SHOOTER Current Command\", \" \");\n\t\tSmartDashboard.putString(\"SHOOTERPIVOT Current Command\", \" \");\n\t\tSmartDashboard.putString(\"INTAKE Current Command\", \" \");\n\t\t\n\t\tScheduler.getInstance().run();\n//\t\t\n//\t\tRobot.drivetrain.leftLED.set(true);\n//\t\tRobot.drivetrain.rightLED.set(false);\n\n\t\tif(!autoAiming) {\n\t\t\tnew DriveForwardRotate(correctForDeadZone(oi.driver.getForward()), correctForDeadZone(oi.driver.getRotation())).start();\n\t\t}\n\t\t//new DriveForwardRotate(oi.driver.getForward(), oi.driver.getRotation()).start();\n\t\t\n\t\tif(oi.autoAim() && !prevStateAutoAim){\n\t\t\t//new SetPivotPosition(PivotPID.AUTO_CAMERA_AIM_POSITION).start(\n//\t\t\tnew AutoAim().start();\n\t\t\tnew AutoAim(TurnConstants.AIM_VELOCITY).start(); //this is a press and hold button 3 on joystick\n\t\t\t\n\t\t}\n\t\t\n\t\tif (readyToShoot && oi.operator.shootBallFlywheels() && oi.operator.shoot()){\n//\t\t\tSystem.out.println(\"SHOOT THE SHOOTER -- ready to shoot\");\n\t\t\tnew ShootTheShooter().start();\n\t\t}\n\t\t\n\t\t\n\t\t//INTAKE ------2 button\n\t\tif (oi.operator.intakeUp() && !prevStateIntakeUp){\n\t\t\tnew SetIntakePosition(IntakeSubsystem.UP).start();\n\t\t}\n\t\tif (oi.operator.intakeDeploy() && !prevStateIntakeDeployed){\n\t\t\tnew SetIntakePosition(!IntakeSubsystem.UP).start();\n\t\t}\n\t\t\n\t\t//CAMERA PISTON\n\t\t\n\t\t//move up\n\t\tif (oi.driver.isCameraUpPressed()){\n\t\t\tnew SetCameraPiston(CameraSubsystem.CAM_UP).start();\n\t\t}\n\t\telse{\n\t\t\tnew SetCameraPiston(!CameraSubsystem.CAM_UP).start();\n\t\t}\n\t\t\n//\t\tif (oi.driver.isCameraUpPressed() && !prevStateCameraUp){\n//\t\t\tnew SetCameraPiston(cameraUp ? !CameraSubsystem.CAM_UP : CameraSubsystem.CAM_UP).start();\n//\t\t\tcameraUp = !cameraUp;\n//\t\t}\n//\t\telse{\n//\t\t\tnew SetCameraPiston(cameraUp ? CameraSubsystem.CAM_UP : !CameraSubsystem.CAM_UP).start();\n//\t\t}\n\t\t\n\t\t\n\t\tif (oi.operator.isSemiAutonomousIntakePressed() && !prevStateSemiAutoIntake){\n\t\t\tnew SemiAutoLoadBall().start();\n\t\t}\n//\t\t\n\t\t\n\t\t//pivot state\n//\t\tif (oi.operator.pivotShootState() && !prevStatePivotUp){\n//\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.FAR_SHOOT_STATE).start();\n//\t\t}\n//\t\telse if(oi.operator.resetPivot() && !prevStateResetButton) {\n//\t\t\t new ResetPivot().start();\n//\t\t}\n//\t\telse if (oi.operator.pivotStoreState() && !prevStatePivotMiddle){\n//\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.STORING_STATE).start();\n//\t\t}\n\t\t\n\t\t//PIVOT\n\t\t\n\t\t//if going up\n\t\tif (oi.operator.pivotCloseShot() && !prevStatePivotCloseShot){\n\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.CLOSE_SHOOT_STATE).start();\t\t\n\t\t}\n\t\t//if going down\n\t\telse if(oi.operator.pivotFarShot() && !prevStatePivotFarShot) {\n\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.FAR_SHOOT_STATE).start();\n\t\t}\n\t\telse if (oi.operator.pivotStoreState()&& !prevStateStore){\n\t\t\tnew SetPivotState(ShooterPivotSubsystem.PivotPID.STORING_STATE).start();\n\t\t}\n\t\telse if (oi.operator.pivotReset() && !prevStateResetSafety){\n\t\t\tnew ResetPivot().start();\n\t\t}\n\t\telse if (oi.driver.isDefenseShot() && prevStateDefenseShot){\n\t\t\tnew SetPivotPosition(ShooterPivotSubsystem.PivotPID.ANTI_DEFENSE_POSITION).start();\n\t\t}\n\t\n\t\t\n\t\tif (!semiAutoIsRunning){\n//\t\t\n\t\t\t//intake purging/running\n\t\t\tif(oi.operator.purgeIntake()) {\n\t\t\t\t//new SetIntakeSpeed(IntakeSubsystem.FORWARD_ROLLER_PURGE_SPEED, IntakeSubsystem.CENTERING_MODULE_PURGE_SPEED).start(); \n\t\t\t\tnew RunAllRollers(ShooterSubsystem.OUT, !ShooterSubsystem.UNTIL_IR).start();\n\t\t\t\tallIntakeRunning = true;\n\t\t\t} else if (oi.operator.runIntake()) {\n\t\t\t\t//new SetIntakeSpeed(IntakeSubsystem.FORWARD_ROLLER_INTAKE_SPEED, IntakeSubsystem.CENTERING_MODULE_INTAKE_SPEED).start();\n\t\t\t\tnew RunAllRollers(ShooterSubsystem.IN, ShooterSubsystem.UNTIL_IR).start();\n//\t\t\t\tnew SemiAutoLoadBall().start();\n\t\t\t\tallIntakeRunning = true;\n\t\t\t} else {\n\t\t\t\t//just the intakes off here to avoid conflicts\n\t\t\t\tnew SetIntakeSpeed(IntakeSubsystem.INTAKE_OFF_SPEED, IntakeSubsystem.INTAKE_OFF_SPEED).start();\n\t\t\t\t//new EndSemiAuto(true).start();\n\t\t\t\t//new RunAllRollers(ShooterSubsystem.OFF, !ShooterSubsystem.UNTIL_IR).start();\n\t\t\t\tallIntakeRunning = false;\n\t\t\t}\n\t\t\t\n\t\t\t//flywheel control\n\t\t\tif (!allIntakeRunning){\n//\t\t\t\tif(oi.operator.loadBallFlywheels()){\n//\t\t\t\t\tnew SetFlywheels(ShooterSubsystem.FLYWHEEL_INTAKE_POWER, -ShooterSubsystem.FLYWHEEL_INTAKE_POWER).start();;\n//\t\t\t\t\tflywheelShootRunning = true;\n//\t\t\t\t} else \n\t\t\t\tif(oi.operator.shootBallFlywheels()) {\n\t\t\t\t\t//new SetFlywheels(0.7, -0.7).start();\n\t\t\t\t\tnew BangBangFlywheels(true).start();\n\t\t\t\t\tflywheelShootRunning = true;\n\t\t\t\t} else {\n\t\t\t\t\t//new SetFlywheels(0, 0).start();//BangBangFlywheels(false).start();\n\t\t\t\t\tflywheelShootRunning = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n//\t\t\tif(oi.operator.shoot()){\n//\t\t\t\tnew ShooterSet(DoubleSolenoid.Value.kForward).start();\n//\t\t\t} else {\n//\t\t\t\tnew ShooterSet(DoubleSolenoid.Value.kReverse).start();\n//\t\t\t}\n//\t\t\t\n\t\t\tif (!allIntakeRunning && !flywheelShootRunning){\n\t\t\t\tnew SetFlywheels(0, 0).start();\n\t\t\t}\n\t\t\t\n\t\t\t//DEFENSE STATE\n\t\t\tif (oi.operator.isDefenseState() && !prevStateDefenseMode){\n\t\t\t\tnew SetDefenseMode().start();\n\t\t\t}\n\t\t}\n\t\t//tells us if bang bang works\n\t\treadyToShoot = ((Math.abs(shooter.getRightFlywheelRPM() - ShooterSubsystem.flywheelTargetRPM) < ShooterSubsystem.flywheelTolerance)\n\t\t\t\t&& (Math.abs(shooter.getLeftFlywheelRPM() - ShooterSubsystem.flywheelTargetRPM) < ShooterSubsystem.flywheelTolerance));\n\t\t\n\t\t\n\t\tif (oi.operator.isManualFirePiston() && !prevStateManualFirePiston){\n//\t\t\tSystem.out.println(\"SHOOT THE SHOOTER -- manual\");\n\t\t\tnew ShootTheShooter().start();\n\t\t}\n\t\t\n\t\t\n\t\tif(oi.driver.isDrivetrainHighGearButtonPressed()){\n\t\t\tdrivetrain.shift(DrivetrainSubsystem.HIGH_GEAR);\n\t\t\tcurrentGear = DrivetrainSubsystem.HIGH_GEAR;\n\t\t} else {\n\t\t\tdrivetrain.shift(!DrivetrainSubsystem.HIGH_GEAR);\n\t\t\tcurrentGear = !DrivetrainSubsystem.HIGH_GEAR;\n\t\t}\n\t\t\n\t\tisManualPressed = oi.operator.isManualOverrideOperator();\n\t\t\n\t\tif (!shooterPIDIsRunning){\n\t\t\tif(isManualPressed) {\n\t\t\t\tdouble pivotPower = oi.operator.getManualPower()/2.0;\n\t\t\t\t//shooterPivot.engageBrake(false);\n\t\t\t\tif (pivotPower > 0 && shooterPivot.pastMax() || pivotPower < 0 && shooterPivot.lowerLimitsTriggered()){\n\t\t\t\t\tpivotPower = 0;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tnew SetPivotPower(pivotPower).start();\n\t\t\t}\n\t\t\telse{\n\t\t\t\tnew SetPivotPower(0).start();\n\t\t\t}\n\t\t}\n\t\t\n//\t\tSystem.out.println(\"Left: \" + Robot.drivetrain.motors[2].get() + \", Right: \" + (-Robot.drivetrain.motors[0].get()));\n//\t\tSystem.out.println(\"Left V: \" + Robot.drivetrain.leftEncoder.getRate() + \", Right V: \" + Robot.drivetrain.rightEncoder.getRate());\n//\t\tSystem.out.println(\"Accel z: \" + Robot.drivetrain.accel.getZ());\n\t\t\n\t\t\n\t\t//PREV STATES\n\t\tprevStateIntakeUp = oi.operator.intakeUp();\n\t\tprevStateIntakeDeployed = oi.operator.intakeDeploy();\n\t\tprevStateDriveShifter = oi.driver.isDrivetrainHighGearButtonPressed();\n\t\tprevStateShootButton = oi.operator.shoot();\n\t\t\n\t\tprevStatePivotCloseShot = oi.operator.pivotCloseShot();\n\t\tprevStatePivotFarShot = oi.operator.pivotFarShot();\n\t\tprevStateStore = oi.operator.pivotStoreState();\n\t\tprevStateResetSafety = oi.operator.pivotReset();\n\t\t\n\t\tprevStateSemiAutoIntake = oi.operator.isSemiAutonomousIntakePressed();\n\t\tprevStateDefenseMode = oi.operator.isDefenseState();\n\t\t\n\t\tprevStateManualFirePiston = oi.operator.isManualFirePiston();\n\t\tprevStateCameraUp = oi.driver.isCameraUpPressed();\n\t\tprevStateAutoAim = oi.autoAim();\n\t\tprevStateDefenseShot = oi.driver.isDefenseShot();\n\n\t\t\n\t\t//********updating subsystem*******//\n\t\t\n\t\t//shooter hal effect counter\n\t\t//shooterPivot.updateHalEffect();\n\t\t\n\t\t//update the flywheel speed constants\n\t\tshooter.updateShooterConstants();\n\t\t\n\t\t\n\t\t//brake\n\t\tif (!isManualPressed){ //if manual override isn't running\n\t\t\tif (!shooterPIDIsRunning && shooterPivot.motorLeft.get() < DEAD_ZONE_TOLERANCE && shooterPivot.motorRight.get() < DEAD_ZONE_TOLERANCE){\n\t\t\t\t\n\t\t\t\tif (pivotTimer.get() > MIN_STOPPED_TIME){\n\t\t\t\t\tnew EngageBrakes().start();\n\t\t\t\t}\n\t\t\t\t//if motor is 0 for the first time, start the timer\n\t\t\t\tif (!prevStateMotorPowerIs0){\n\t\t\t\t\tpivotTimer.reset();\n\t\t\t\t\tpivotTimer.start();\n\t\t\t\t}\n\t\t\t\t//keep this at the end\n\t\t\t\tprevStateMotorPowerIs0 = true;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tshooterPivot.engageBrake(false);\n\t\t\t\t//keep this at the end\n\t\t\t\tpivotTimer.reset();\n\t\t\t\tprevStateMotorPowerIs0 = false;\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tshooterPivot.engageBrake(false);\n\t\t\tpivotTimer.reset();\n\t\t}\n\t\t//System.out.println(shooterPivot.motorLeft.get());\n\t\t\n\t\t//LOGGING AND DASHBOARD\n\t\tlogAndDashboard();\n\t}", "private void updateDiagnostics() {\n\t// driveSubsystem.updateDiagnostics();\n\t// elevatorSubsystem.updateDiagnostics();\n\t// cubeSubsystem.updateDiagnostics();\n\t// cubeVision.updateDiagnostics();\n }", "public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n //setDefaultCommand(new MySpecialCommand());\n \tsetDefaultCommand(new DriveWithJoyStickCommand()); // TBD for Commandbased programming\n }", "abstract boolean shouldTaskActivate();", "public void doInitialSchedules() {\n ravenna.schedule();\n milan.schedule();\n venice.schedule();\n\n //Scheduling the public transportaton\n ravenna_milan.activate();\n milan_venice.activate();\n venice_ravenna.activate();\n }", "private void submitCollectSysTrafficTask() {\n\t\tL.i(this.getClass(), \"CollectSysTrafficTask()...\");\n\t\taddTask(new CollectSysTrafficTask());\n\t}", "@Override\n public void autonomousInit()\n {\n autonomousCommand = chooser.getSelected();\n \n /*\n * String autoSelected = SmartDashboard.getString(\"Auto Selector\",\n * \"Default\"); switch(autoSelected) { case \"My Auto\": autonomousCommand\n * = new MyAutoCommand(); break; case \"Default Auto\": default:\n * autonomousCommand = new ExampleCommand(); break; }\n */\n \n // schedule the autonomous command (example)\n if (autonomousCommand != null) \n {\n autonomousCommand.start();\n }\n }", "private synchronized void syncTypeChefAnalyzes() {\r\n\t\tif (threadInExecId.isEmpty()) {\r\n\t\t\tProjectConfigurationErrorLogger.getInstance().clearLogList();\r\n\t\t\trunTypeChefAnalyzes(featureProject.getSourceFolder());\r\n\t\t}\r\n\t\tthreadInExecId.add(Thread.currentThread().getId());\r\n\t}", "void execute() throws Exception {\n\n\t\tif (getSystemState(db) != SYSTEM_STATE_CREATED_COULD_BE_EXACTLY_ONE) {\n\t\t\tInteger ss = getSystemState(db);\n\t\t\tshutDown();\n\t\t\tthrow new Exception(\"System in wrong state for this task: \" + ss);\n\t\t}\n\n\t\tloadExecutionEngine(db);\n\t\tperformUpdate();\n\t\tshutDown();\n\t}", "@Override\n\tpublic boolean combine(EHICommand anotherCommand) {\n\t\treturn false;\n\t}", "public void execute() {\n if (valid()) {\n // behavior of the concrete command\n this.target_territory numArmies += to_deploy;\n }\n }", "@Override\n public void initDefaultCommand() {\n Robot.driveTrain.setDefaultCommand(new xboxDrive());\n // Set the default command for a subsystem here.\n // setDefaultCommand(new MySpecialCommand());\n }", "@Override\r\n\tprotected void beforeSendCommands(String cmds) {\n\r\n\t}", "@Override\r\n\tpublic void execute() \r\n\t\t{\n\t\tsourceArcs = parent.getSourceArcsFromID(child.getServerName());\r\n\t\ttargetArcs = parent.getTargetArcsFromID(child.getServerName());\r\n\t\tredo();\r\n\t\t}", "private void registToWX() {\n }", "public synchronized void initializeCommands() {\n/* 101 */ Set<String> ignoredPlugins = new HashSet<String>(this.yaml.getIgnoredPlugins());\n/* */ \n/* */ \n/* 104 */ if (ignoredPlugins.contains(\"All\")) {\n/* */ return;\n/* */ }\n/* */ \n/* */ \n/* 109 */ label61: for (Command command : this.server.getCommandMap().getCommands()) {\n/* 110 */ if (commandInIgnoredPlugin(command, ignoredPlugins)) {\n/* */ continue;\n/* */ }\n/* */ \n/* */ \n/* 115 */ for (Class c : this.topicFactoryMap.keySet()) {\n/* 116 */ if (c.isAssignableFrom(command.getClass())) {\n/* 117 */ HelpTopic t = ((HelpTopicFactory)this.topicFactoryMap.get(c)).createTopic(command);\n/* 118 */ if (t != null) { addTopic(t); continue label61; }\n/* */ continue label61;\n/* */ } \n/* 121 */ if (command instanceof PluginCommand && c.isAssignableFrom(((PluginCommand)command).getExecutor().getClass())) {\n/* 122 */ HelpTopic t = ((HelpTopicFactory)this.topicFactoryMap.get(c)).createTopic(command);\n/* 123 */ if (t != null) addTopic(t);\n/* */ \n/* */ } \n/* */ } \n/* 127 */ addTopic((HelpTopic)new GenericCommandHelpTopic(command));\n/* */ } \n/* */ \n/* */ \n/* 131 */ for (Command command : this.server.getCommandMap().getCommands()) {\n/* 132 */ if (commandInIgnoredPlugin(command, ignoredPlugins)) {\n/* */ continue;\n/* */ }\n/* 135 */ for (String alias : command.getAliases()) {\n/* */ \n/* 137 */ if (this.server.getCommandMap().getCommand(alias) == command) {\n/* 138 */ addTopic(new CommandAliasHelpTopic(\"/\" + alias, \"/\" + command.getLabel(), this));\n/* */ }\n/* */ } \n/* */ } \n/* */ \n/* */ \n/* 144 */ Collection<HelpTopic> filteredTopics = Collections2.filter(this.helpTopics.values(), Predicates.instanceOf(CommandAliasHelpTopic.class));\n/* 145 */ if (!filteredTopics.isEmpty()) {\n/* 146 */ addTopic((HelpTopic)new IndexHelpTopic(\"Aliases\", \"Lists command aliases\", null, filteredTopics));\n/* */ }\n/* */ \n/* */ \n/* 150 */ Map<String, Set<HelpTopic>> pluginIndexes = new HashMap<String, Set<HelpTopic>>();\n/* 151 */ fillPluginIndexes(pluginIndexes, this.server.getCommandMap().getCommands());\n/* */ \n/* 153 */ for (Map.Entry<String, Set<HelpTopic>> entry : pluginIndexes.entrySet()) {\n/* 154 */ addTopic((HelpTopic)new IndexHelpTopic(entry.getKey(), \"All commands for \" + (String)entry.getKey(), null, entry.getValue(), \"Below is a list of all \" + (String)entry.getKey() + \" commands:\"));\n/* */ }\n/* */ \n/* */ \n/* 158 */ for (HelpTopicAmendment amendment : this.yaml.getTopicAmendments()) {\n/* 159 */ if (this.helpTopics.containsKey(amendment.getTopicName())) {\n/* 160 */ ((HelpTopic)this.helpTopics.get(amendment.getTopicName())).amendTopic(amendment.getShortText(), amendment.getFullText());\n/* 161 */ if (amendment.getPermission() != null) {\n/* 162 */ ((HelpTopic)this.helpTopics.get(amendment.getTopicName())).amendCanSee(amendment.getPermission());\n/* */ }\n/* */ } \n/* */ } \n/* */ }", "public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n setDefaultCommand(new GearPickupClampIn());\n }", "private static void incrementLaunchOrder()\r\n\t{\r\n\t\tlaunchOrder++;\r\n\t}", "public void autonomousInit() {\n autonomousCommand = (Command) autoChooser.getSelected();\n autonomousCommand.start();\n// \n }", "@Override\n public void autonomousPeriodic()\n {\n commonPeriodic();\n }", "public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n \tsetDefaultCommand(new DriveWithJoystick());\n }", "void\t\tregisterCommandDependentWidget(MiPart widget, String command);", "public void initDefaultCommand() {\n // Set the default command for a subsystem here.\n //setDefaultCommand(new MySpecialCommand());\n \tsetDefaultCommand(new VelocityDriveCommand());\n }", "public interface SuperCommand {\n\n /**\n * Setups anything that is needed for this command.\n * <br/><br/>\n * It is recommended you do the following in this method:\n * <ul>\n * <li>Register any of the sub-commands of this command;</li>\n * <li>Define the permission required to use this command using {@link CompositeCommand#setPermission(String)};</li>\n * <li>Define whether this command can only be run by players or not using {@link CompositeCommand#setOnlyPlayer(boolean)};</li>\n * </ul>\n */\n void setup();\n\n /**\n * Returns whether the command can be executed by this user or not.\n * It is recommended to send messages to let this user know why they could not execute the command.\n * Note that this is run previous to {@link #execute(User, String, List)}.\n * @param user the {@link User} who is executing this command.\n * @param label the label which has been used to execute this command.\n * It can be {@link CompositeCommand#getLabel()} or an alias.\n * @param args the command arguments.\n * @return {@code true} if this command can be executed, {@code false} otherwise.\n * @since 1.3.0\n */\n default boolean canExecute(User user, String label, List<String> args) {\n return true;\n }\n\n /**\n * Defines what will be executed when this command is run.\n * @param user the {@link User} who is executing this command.\n * @param label the label which has been used to execute this command.\n * It can be {@link CompositeCommand#getLabel()} or an alias.\n * @param args the command arguments.\n * @return {@code true} if the command executed successfully, {@code false} otherwise.\n */\n boolean execute(User user, String label, List<String> args);\n\n /**\n * Tab Completer for CompositeCommands.\n * Note that any registered sub-commands will be automatically added to the list.\n * Use this to add tab-complete for things like names.\n * @param user the {@link User} who is executing this command.\n * @param alias alias for command\n * @param args command arguments\n * @return List of strings that could be used to complete this command.\n */\n default Optional<List<String>> tabComplete(User user, String alias, List<String> args) {\n return Optional.empty();\n }\n\n}", "@StartStep(localName=\"command-engineering\", after={\"config\"})\n public static void startCommandEngineering(LifecycleContext context) \n {\n // for each class that is a Catalog or Command, create an entry for those in the context.\n ClassScanner classScanner = new ClassScanner(context);\n classScanner.scan();\n }", "private void customCommands(MessageEvent message) {\r\n String command = message.getMessage();\r\n \r\n if (!reservedCommands.contains(command)) {\r\n String[]info;\r\n info = manager.getCommandFromDatabase(command, message.getChannel().getName());\r\n\r\n //checks if the command is in custom mod commands\r\n if (info[1].matches(\"-m\")) {\r\n if (message.getChannel().getOps().contains(message.getUser())) {\r\n message.getChannel().send().message(info[0]);\r\n } \r\n else {\r\n message.respond(\"You're not allowed to use this command.\");\r\n }\r\n }\r\n //checks if the command is in the custom commands available to everyone\r\n else if (info[1].matches(\"-e\")) {\r\n message.getChannel().send().message(info[0]);\r\n } \r\n else {\r\n message.respond(\"No such command exists\");\r\n }\r\n }\r\n }", "public static void twoClientSetupProcesses(List<String> aClientTags, List<String> aServerTags ) {\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setProcessTeams(Arrays.asList(\"RegistryBasedDistributedProgram\"));\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setTerminatingProcesses(\"RegistryBasedDistributedProgram\", Arrays.asList(\"Client_0\", \"Client_1\"));\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setProcesses(\"RegistryBasedDistributedProgram\", Arrays.asList(\"Registry\", \"Server\", \"Client_1\", \"Client_0\"));\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Registry\", Arrays.asList(\"Registry\"));\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Server\", aServerTags);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Client_0\", aClientTags);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setEntryTags(\"Client_1\", aClientTags);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Registry\", FlexibleStaticArgumentsTestCase.TEST_REGISTRY_ARGS);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Server\", FlexibleStaticArgumentsTestCase.TEST_SERVER_ARGS);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Client_0\", FlexibleStaticArgumentsTestCase.TEST_CLIENT_0_ARGS);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setArgs(\"Client_1\", FlexibleStaticArgumentsTestCase.TEST_CLIENT_1_ARGS);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setGraderResourceReleaseTime(\"Registry\", 500);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setGraderResourceReleaseTime(\"Server\", 2000);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setGraderResourceReleaseTime(\"Client_0\", 5000);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().setGraderResourceReleaseTime(\"Client_1\", 5000);\n\tBasicExecutionSpecificationSelector.getBasicExecutionSpecification().getProcessTeams().forEach(team -> System.out.println(\"### \" + team));\n}", "@Override\r\n\tpublic void processWorkload() {\n this.spawnUser(periods.get(0).getPeriodStartTimePoint());\t\r\n\t}", "public void registerCommands() {\n commands = new LinkedHashMap<String,Command>();\n \n /*\n * admin commands\n */\n //file util cmds\n register(ReloadCommand.class);\n register(SaveCommand.class);\n \n //shrine cmds\n register(KarmaGetCommand.class);\n register(KarmaSetCommand.class); \n }", "@Override\n\tpublic void launchTasks() throws Exception {\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).switchFridgeOn();\n\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t1000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).setOndulatorPolicy(\"default\");\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t1000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).getFridgeTemperature();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t2000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTask(\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).getBatteryEnergy();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t3000, TimeUnit.MILLISECONDS);\n\t\t\t\t\n\t\t\t\tthis.scheduleTaskWithFixedDelay(\t\t\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).controllFridge();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, 4000, 1000 // délai entre la fin d'une exécution et la suivante, à modifier \n\t\t\t\t\t\t,TimeUnit.MILLISECONDS) ;\n\t\t\t\t\n\t\t\t\tthis.scheduleTaskWithFixedDelay(\t\t\n\t\t\t\t\t\tnew AbstractComponent.AbstractTask() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t((Controller)this.getTaskOwner()).getEPConsommation();\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tthrow new RuntimeException(e) ;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, 1000, 4000 // délai entre la fin d'une exécution et la suivante, à modifier \n\t\t\t\t\t\t,TimeUnit.MILLISECONDS) ;\n\t}", "private void fireEvents() {\n\n if (clockTickCount % clockTicksTillWorkloadChange == 0) {\n clockEventPublisher.fireTriggerWorkloadHandlerEvent(clockTickCount, intervalDurationInMilliSeconds);\n }\n\n // if (clockTickCount % clockTicksTillScalingDecision == 0) {\n // clockEventPublisher.fireTriggerAutoScalerEvent(clockTickCount,\n // intervalDurationInMilliSeconds);\n // }\n\n clockEventPublisher.fireClockEvent(clockTickCount, intervalDurationInMilliSeconds);\n\n // INfrastruktur\n if (clockTickCount % clockTicksTillPublishInfrastructureState == 0) {\n clockEventPublisher.fireTriggerPublishInfrastructureStateEvent(clockTickCount,\n intervalDurationInMilliSeconds);\n\n }\n\n // Queue\n if (clockTickCount % clockTicksTillPublishQueueState == 0) {\n\n clockEventPublisher.fireTriggerPublishQueueStateEvent(clockTickCount, intervalDurationInMilliSeconds);\n }\n\n }" ]
[ "0.57638615", "0.5596325", "0.552643", "0.54340327", "0.5383419", "0.5363712", "0.53502446", "0.53427285", "0.53291255", "0.5327942", "0.5298728", "0.5262931", "0.5255555", "0.52312833", "0.5223626", "0.5202386", "0.51912916", "0.5179374", "0.51630044", "0.51523274", "0.5143429", "0.5133436", "0.51287884", "0.51007295", "0.50987774", "0.5065754", "0.50593936", "0.5053886", "0.5052827", "0.5049765", "0.5049424", "0.5039456", "0.50268954", "0.50130635", "0.50078684", "0.5002149", "0.49984986", "0.4994803", "0.4994803", "0.49936163", "0.49788898", "0.4973147", "0.4971567", "0.49599177", "0.49570048", "0.49520922", "0.49484915", "0.49469215", "0.4938038", "0.49338964", "0.49306676", "0.49224606", "0.49192882", "0.49154705", "0.49139214", "0.49135542", "0.49127162", "0.49103293", "0.49024618", "0.4900073", "0.4899106", "0.4891082", "0.4885132", "0.4878857", "0.4874752", "0.48715937", "0.48660922", "0.48654273", "0.48650575", "0.48609054", "0.4855063", "0.48528823", "0.4846814", "0.48367566", "0.48357803", "0.4832311", "0.48306474", "0.48143792", "0.48133484", "0.4806116", "0.48031622", "0.47994146", "0.4793614", "0.47919464", "0.4789673", "0.47861615", "0.47858715", "0.47848412", "0.478431", "0.47837642", "0.4781812", "0.47800535", "0.47790134", "0.47788513", "0.4778546", "0.47750968", "0.47704235", "0.4766019", "0.47597164", "0.47585353", "0.47550562" ]
0.0
-1
I think I should change the logical operator to groupOp and related stuff Get the averaging attribute of the average logical operator
public void opInitFrom(LogicalOp logicalOperator) { windowAttribute = ((Bucket) logicalOperator).getWindowAttr(); windowType = ((Bucket) logicalOperator).getWindowType(); range = ((Bucket) logicalOperator).getWindowRange(); slide = ((Bucket) logicalOperator).getWindowSlide(); widName = ((Bucket) logicalOperator).getWid(); start = ((Bucket) logicalOperator).getStarttime(); ae = new AtomicEvaluator (windowAttribute.getName()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject ruleAvgOperator() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token otherlv_1=null;\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4984:28: ( ( () otherlv_1= 'avg' ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4985:1: ( () otherlv_1= 'avg' )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4985:1: ( () otherlv_1= 'avg' )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4985:2: () otherlv_1= 'avg'\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4985:2: ()\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4986:5: \r\n {\r\n if ( state.backtracking==0 ) {\r\n\r\n current = forceCreateModelElement(\r\n grammarAccess.getAvgOperatorAccess().getAvgOperatorAction_0(),\r\n current);\r\n \r\n }\r\n\r\n }\r\n\r\n otherlv_1=(Token)match(input,70,FOLLOW_70_in_ruleAvgOperator11301); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \tnewLeafNode(otherlv_1, grammarAccess.getAvgOperatorAccess().getAvgKeyword_1());\r\n \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final EObject ruleAverageOperator() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n Token otherlv_1=null;\n Token otherlv_3=null;\n Token otherlv_5=null;\n EObject lv_parameter_2_0 = null;\n\n EObject lv_stream_4_0 = null;\n\n\n enterRule(); \n \n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2983:28: ( (otherlv_0= 'avg' otherlv_1= '(' ( (lv_parameter_2_0= ruleStreamAccess ) ) otherlv_3= ',' ( (lv_stream_4_0= ruleStreamOperatorParameter ) ) otherlv_5= ')' ) )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2984:1: (otherlv_0= 'avg' otherlv_1= '(' ( (lv_parameter_2_0= ruleStreamAccess ) ) otherlv_3= ',' ( (lv_stream_4_0= ruleStreamOperatorParameter ) ) otherlv_5= ')' )\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2984:1: (otherlv_0= 'avg' otherlv_1= '(' ( (lv_parameter_2_0= ruleStreamAccess ) ) otherlv_3= ',' ( (lv_stream_4_0= ruleStreamOperatorParameter ) ) otherlv_5= ')' )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2984:3: otherlv_0= 'avg' otherlv_1= '(' ( (lv_parameter_2_0= ruleStreamAccess ) ) otherlv_3= ',' ( (lv_stream_4_0= ruleStreamOperatorParameter ) ) otherlv_5= ')'\n {\n otherlv_0=(Token)match(input,53,FOLLOW_53_in_ruleAverageOperator6701); \n\n \tnewLeafNode(otherlv_0, grammarAccess.getAverageOperatorAccess().getAvgKeyword_0());\n \n otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleAverageOperator6713); \n\n \tnewLeafNode(otherlv_1, grammarAccess.getAverageOperatorAccess().getLeftParenthesisKeyword_1());\n \n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2992:1: ( (lv_parameter_2_0= ruleStreamAccess ) )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2993:1: (lv_parameter_2_0= ruleStreamAccess )\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2993:1: (lv_parameter_2_0= ruleStreamAccess )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2994:3: lv_parameter_2_0= ruleStreamAccess\n {\n \n \t newCompositeNode(grammarAccess.getAverageOperatorAccess().getParameterStreamAccessParserRuleCall_2_0()); \n \t \n pushFollow(FOLLOW_ruleStreamAccess_in_ruleAverageOperator6734);\n lv_parameter_2_0=ruleStreamAccess();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getAverageOperatorRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"parameter\",\n \t\tlv_parameter_2_0, \n \t\t\"StreamAccess\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,16,FOLLOW_16_in_ruleAverageOperator6746); \n\n \tnewLeafNode(otherlv_3, grammarAccess.getAverageOperatorAccess().getCommaKeyword_3());\n \n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3014:1: ( (lv_stream_4_0= ruleStreamOperatorParameter ) )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3015:1: (lv_stream_4_0= ruleStreamOperatorParameter )\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3015:1: (lv_stream_4_0= ruleStreamOperatorParameter )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3016:3: lv_stream_4_0= ruleStreamOperatorParameter\n {\n \n \t newCompositeNode(grammarAccess.getAverageOperatorAccess().getStreamStreamOperatorParameterParserRuleCall_4_0()); \n \t \n pushFollow(FOLLOW_ruleStreamOperatorParameter_in_ruleAverageOperator6767);\n lv_stream_4_0=ruleStreamOperatorParameter();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getAverageOperatorRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"stream\",\n \t\tlv_stream_4_0, \n \t\t\"StreamOperatorParameter\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n\n\n }\n\n otherlv_5=(Token)match(input,22,FOLLOW_22_in_ruleAverageOperator6779); \n\n \tnewLeafNode(otherlv_5, grammarAccess.getAverageOperatorAccess().getRightParenthesisKeyword_5());\n \n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "double getAvgControl();", "double getAvgTreatment();", "@Test\n\tpublic void averageWorksForModeNone() {\n\t\tfinal FloatTimeSeries t0 = new FloatTreeTimeSeries();\n\t\tt0.addValues(TimeSeriesUtils.createStepFunction(10, 0, 10, 10, 0)); // constant function = 10\n\t\tfinal FloatTimeSeries t1 = new FloatTreeTimeSeries();\n\t\tt1.addValues(TimeSeriesUtils.createStepFunction(5, 20, 25, 20, 0)); // constant function = 20\n\t\tfinal ReadOnlyTimeSeries avg = MultiTimeSeriesUtils.getAverageTimeSeries(Arrays.<ReadOnlyTimeSeries> asList(t0, t1), 0, Long.MAX_VALUE, true, null, false);\n\t\tAssert.assertEquals(\"Time series sum has wrong number of data points\", 13, avg.size());\n\t\tAssert.assertEquals(\"Unexpected value in time series sum\", 15, avg.getValue(20).getValue().getIntegerValue());\n\t\tAssert.assertEquals(\"Unexpected value in time series sum\", 20, avg.getValue(45).getValue().getIntegerValue());\n\t\tAssert.assertEquals(\"Unexpected value in time series sum\", 10, avg.getValue(80).getValue().getIntegerValue());\n\t}", "public interface IAverage {\r\n\r\n\t/**\r\n\t * Column name of which condition will be specified.\r\n\t * @param column Name of column.\r\n\t * @return IAerageClause Interface.\r\n\t */\r\n\tpublic IAverageClause where(String column);\r\n\t\r\n\t/**\r\n\t * Used to provide manually created Where clause, instead of using API's.\r\n\t * @param whereClause Manually created where clause.\r\n\t * @return IAverage Interface.\r\n\t */\r\n\tpublic IAverage whereClause(String whereClause);\r\n\t\r\n\t/**\r\n\t * Used to specify AND condition between where clause.\r\n\t * @param column Name of column on which condition need to be specified.\r\n\t * @return IAerageClause Interface.\r\n\t */\r\n\tpublic IAverageClause and(String column);\r\n\t\r\n\t/**\r\n\t * Used to specify OR condition between where clause.\r\n\t * @param column Name of column on which condition need to be specified.\r\n\t * @return IAverageClause Interface.\r\n\t */\r\n\tpublic IAverageClause or(String column);\r\n\r\n\t/**\r\n\t * Used to specify GROUP BY statement in conjunction with the aggregate functions to group the result-set by one or more columns.\r\n\t * @param columns Name of columns.\r\n\t * @return IAverage Interface.\r\n\t */\r\n\tpublic IAverage groupBy(String...columns);\r\n\r\n\t/**\r\n\t * Used to specify HAVING clause to SQL because the WHERE keyword could not be used with aggregate functions.\r\n\t * @param column Name of column on which condition need to be applied.\r\n\t * @return IAverageClause Interface.\r\n\t */\r\n\tpublic IAverageClause having(String column);\r\n\r\n\t/**\r\n\t * Used to provide manually created Where clause, instead of using API's.\r\n\t * @param havingClause Where clause.\r\n\t * @return IAverage Interface.\r\n\t */\r\n\tpublic IAverage havingClause(String havingClause);\r\n\t\r\n\t/**\r\n\t * Used to provide name of column for which average will be calculated.\r\n\t * @param column Name of column.\r\n\t * @return IAverage Interface.\r\n\t */\r\n\tpublic IAverage column(String column);\r\n\t\r\n\t/**\r\n\t * Used to get average, this method should be called in last to calculate average.\r\n\t * @return Return average.\r\n\t * @throws DatabaseException Throws exception if any error occur while calculating average. \r\n\t */\r\n\tpublic<T> T execute() throws DatabaseException;\r\n\r\n}", "public final EObject entryRuleAvgOperator() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleAvgOperator = null;\r\n\r\n\r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4973:2: (iv_ruleAvgOperator= ruleAvgOperator EOF )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4974:2: iv_ruleAvgOperator= ruleAvgOperator EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getAvgOperatorRule()); \r\n }\r\n pushFollow(FOLLOW_ruleAvgOperator_in_entryRuleAvgOperator11245);\r\n iv_ruleAvgOperator=ruleAvgOperator();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleAvgOperator; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleAvgOperator11255); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public IAverage whereClause(String whereClause);", "private void calculateAvg() {\n\t\tDescriptiveStatistics stats = new DescriptiveStatistics();\n\t\tfor (QueryInfo oneQ : this.maxQueries) {\n\t\t\tstats.addValue(oneQ.getGapCount() * oneQ.getFrequency());\n\t\t}\n\t\tthis.avgGain = stats.getMean();\n\t\tthis.medianGain = stats.getPercentile(50);\n\t\tthis.quartiles = stats.getPercentile(75);\n\t}", "public final EObject ruleAverageFunction() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token otherlv_1=null;\r\n Token otherlv_3=null;\r\n Token otherlv_5=null;\r\n EObject lv_operator_0_0 = null;\r\n\r\n EObject lv_values_2_0 = null;\r\n\r\n EObject lv_values_4_0 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3268:28: ( ( ( (lv_operator_0_0= ruleAvgOperator ) ) otherlv_1= '(' ( (lv_values_2_0= ruleNumberExpression ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleNumberExpression ) ) )* otherlv_5= ')' ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3269:1: ( ( (lv_operator_0_0= ruleAvgOperator ) ) otherlv_1= '(' ( (lv_values_2_0= ruleNumberExpression ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleNumberExpression ) ) )* otherlv_5= ')' )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3269:1: ( ( (lv_operator_0_0= ruleAvgOperator ) ) otherlv_1= '(' ( (lv_values_2_0= ruleNumberExpression ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleNumberExpression ) ) )* otherlv_5= ')' )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3269:2: ( (lv_operator_0_0= ruleAvgOperator ) ) otherlv_1= '(' ( (lv_values_2_0= ruleNumberExpression ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleNumberExpression ) ) )* otherlv_5= ')'\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3269:2: ( (lv_operator_0_0= ruleAvgOperator ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3270:1: (lv_operator_0_0= ruleAvgOperator )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3270:1: (lv_operator_0_0= ruleAvgOperator )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3271:3: lv_operator_0_0= ruleAvgOperator\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getAverageFunctionAccess().getOperatorAvgOperatorParserRuleCall_0_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleAvgOperator_in_ruleAverageFunction7000);\r\n lv_operator_0_0=ruleAvgOperator();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getAverageFunctionRule());\r\n \t }\r\n \t\tset(\r\n \t\t\tcurrent, \r\n \t\t\t\"operator\",\r\n \t\tlv_operator_0_0, \r\n \t\t\"AvgOperator\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n otherlv_1=(Token)match(input,43,FOLLOW_43_in_ruleAverageFunction7012); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \tnewLeafNode(otherlv_1, grammarAccess.getAverageFunctionAccess().getLeftParenthesisKeyword_1());\r\n \r\n }\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3291:1: ( (lv_values_2_0= ruleNumberExpression ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3292:1: (lv_values_2_0= ruleNumberExpression )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3292:1: (lv_values_2_0= ruleNumberExpression )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3293:3: lv_values_2_0= ruleNumberExpression\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getAverageFunctionAccess().getValuesNumberExpressionParserRuleCall_2_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleNumberExpression_in_ruleAverageFunction7033);\r\n lv_values_2_0=ruleNumberExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getAverageFunctionRule());\r\n \t }\r\n \t\tadd(\r\n \t\t\tcurrent, \r\n \t\t\t\"values\",\r\n \t\tlv_values_2_0, \r\n \t\t\"NumberExpression\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3309:2: (otherlv_3= ',' ( (lv_values_4_0= ruleNumberExpression ) ) )*\r\n loop44:\r\n do {\r\n int alt44=2;\r\n int LA44_0 = input.LA(1);\r\n\r\n if ( (LA44_0==20) ) {\r\n alt44=1;\r\n }\r\n\r\n\r\n switch (alt44) {\r\n \tcase 1 :\r\n \t // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3309:4: otherlv_3= ',' ( (lv_values_4_0= ruleNumberExpression ) )\r\n \t {\r\n \t otherlv_3=(Token)match(input,20,FOLLOW_20_in_ruleAverageFunction7046); if (state.failed) return current;\r\n \t if ( state.backtracking==0 ) {\r\n\r\n \t \tnewLeafNode(otherlv_3, grammarAccess.getAverageFunctionAccess().getCommaKeyword_3_0());\r\n \t \r\n \t }\r\n \t // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3313:1: ( (lv_values_4_0= ruleNumberExpression ) )\r\n \t // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3314:1: (lv_values_4_0= ruleNumberExpression )\r\n \t {\r\n \t // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3314:1: (lv_values_4_0= ruleNumberExpression )\r\n \t // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3315:3: lv_values_4_0= ruleNumberExpression\r\n \t {\r\n \t if ( state.backtracking==0 ) {\r\n \t \r\n \t \t newCompositeNode(grammarAccess.getAverageFunctionAccess().getValuesNumberExpressionParserRuleCall_3_1_0()); \r\n \t \t \r\n \t }\r\n \t pushFollow(FOLLOW_ruleNumberExpression_in_ruleAverageFunction7067);\r\n \t lv_values_4_0=ruleNumberExpression();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return current;\r\n \t if ( state.backtracking==0 ) {\r\n\r\n \t \t if (current==null) {\r\n \t \t current = createModelElementForParent(grammarAccess.getAverageFunctionRule());\r\n \t \t }\r\n \t \t\tadd(\r\n \t \t\t\tcurrent, \r\n \t \t\t\t\"values\",\r\n \t \t\tlv_values_4_0, \r\n \t \t\t\"NumberExpression\");\r\n \t \t afterParserOrEnumRuleCall();\r\n \t \t \r\n \t }\r\n\r\n \t }\r\n\r\n\r\n \t }\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop44;\r\n }\r\n } while (true);\r\n\r\n otherlv_5=(Token)match(input,44,FOLLOW_44_in_ruleAverageFunction7081); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \tnewLeafNode(otherlv_5, grammarAccess.getAverageFunctionAccess().getRightParenthesisKeyword_4());\r\n \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public AggregateOperator getAggregation(){\n for(Operator op:_operators){\n if (op instanceof AggregateOperator) return (AggregateOperator) op;\n }\n return null;\n }", "public abstract GeneralValue getAverageValue(String fieldName, String subFieldName);", "@java.lang.Override\n public double getAvgControl() {\n return avgControl_;\n }", "@java.lang.Override\n public double getAvgControl() {\n return avgControl_;\n }", "public void getAvg()\n {\n this.avg = sum/intData.length;\n }", "public boolean isOperator(){\n return true;\n }", "public IAverageClause and(String column);", "@Override\n public Object build() {\n AvgAggregationBuilder avg = AggregationBuilders.avg(this.getName());\n\n for (ParamComposite param : this.getChildren().stream()\n .filter(child -> ParamComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (ParamComposite) child).collect(Collectors.toList())) {\n switch (param.getName().toLowerCase()) {\n case \"field\":\n avg.field((String)param.getValue());\n /*case \"script\":\n avg.script((String)param.getValue());*/\n }\n }\n\n return avg;\n }", "boolean sameAvg(genDemo <?> ob){\n\t\tif(this.avg() == ob.avg())\n\t\t\treturn true;\n\t\t\n\t\telse \n\t\t\treturn false;\n\t}", "public String getArithmeticOperator() {\n return (String)getAttributeInternal(ARITHMETICOPERATOR);\n }", "public double calcAvg() {\n\t\treturn (double)calcSum() / data.size();\n }", "public IAverageClause or(String column);", "public final EObject entryRuleAverageOperator() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAverageOperator = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2972:2: (iv_ruleAverageOperator= ruleAverageOperator EOF )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:2973:2: iv_ruleAverageOperator= ruleAverageOperator EOF\n {\n newCompositeNode(grammarAccess.getAverageOperatorRule()); \n pushFollow(FOLLOW_ruleAverageOperator_in_entryRuleAverageOperator6654);\n iv_ruleAverageOperator=ruleAverageOperator();\n\n state._fsp--;\n\n current =iv_ruleAverageOperator; \n match(input,EOF,FOLLOW_EOF_in_entryRuleAverageOperator6664); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "private AvgExpression() {\n }", "public boolean applyCommonGroupingMeasuringRule() {\n\t\t\n\t if(isApplicableSameGroupingMeasuringRule() == false) {\n\t \tSystem.out.println(\"ERROR: Failure to apply Same Grouping Rewriting Rule\");\n\t \treturn false;\n\t }\n\t \n\t\tthis.rset = new HashMap<Integer, Query>();\n\t\tthis.rtype = RType.SAME_GROUPING_MEASURING_RULE;\n\t\tthis.rqId = 1;\n\t \n\t\tGrouping gPart = this.qset.entrySet().iterator().next().getValue().getQueryTriple()._1();\n\t\tMeasuring mPart = this.qset.entrySet().iterator().next().getValue().getQueryTriple()._2();\n\t\t\n\t\tOperation opPart = new Operation();\n\t\tfor(Map.Entry<Integer, Query> entry2 : this.qset.entrySet()){\n\t\t\topPart.addOperation(entry2.getValue().getQueryTriple()._3());\n\t\t}\n\t\tTuple3<Grouping, Measuring, Operation> query = new Tuple3<>(gPart, mPart, opPart);\n\t\trset.put(rqId, new Query(query));\n\t\treturn true;\n\t}", "public interface Aggregation {\n\n final int SST = 0;\n final int SST_ANOMALY = 1;\n final int RANDOM_UNCERTAINTY = 2;\n final int COVERAGE_UNCERTAINTY = 3;\n final int LARGE_SCALE_UNCERTAINTY = 4;\n final int ADJUSTMENT_UNCERTAINTY = 5;\n final int SYNOPTIC_UNCERTAINTY = 6;\n final int SEA_ICE_FRACTION = 7;\n\n long getSampleCount();\n\n Number[] getResults();\n\n public double getSeaSurfaceTemperature();\n\n public double getSeaSurfaceTemperatureAnomaly();\n\n public double getRandomUncertainty();\n\n public double getLargeScaleUncertainty();\n\n public double getCoverageUncertainty();\n\n public double getAdjustmentUncertainty();\n\n public double getSynopticUncertainty();\n\n public double getSeaIceFraction();\n}", "public ScaleRuleMetricDimensionOperationType operator() {\n return this.operator;\n }", "@Override\n public Double average() {\n return (sum() / (double) count());\n }", "public void calcAvg(){\n\t\taverage = hits/atbat;\n\t\t\n\t}", "@Override\n\tpublic Object visit(ASTArithmetic node, Object data)\n\t{\n\t\treturn visitOperatorNode(node, data);\n\t}", "Object findOperatorNeedCheck();", "public double getAverage()\n {\n return getSum() / 2.0;\n }", "@Test\n\tpublic void averageWorksForModeSteps() {\n\t\tfinal FloatTimeSeries t0 = new FloatTreeTimeSeries();\n\t\tt0.addValues(TimeSeriesUtils.createStepFunction(10, 0, 10, 10, 0)); // constant function = 10\n\t\tfinal FloatTimeSeries t1 = new FloatTreeTimeSeries();\n\t\tt1.addValues(TimeSeriesUtils.createStepFunction(5, 20, 25, 20, 0)); // constant function = 20\n\t\tt0.setInterpolationMode(InterpolationMode.STEPS);\n\t\tt1.setInterpolationMode(InterpolationMode.STEPS);\n\t\tfinal ReadOnlyTimeSeries avg = MultiTimeSeriesUtils.getAverageTimeSeries(Arrays.<ReadOnlyTimeSeries> asList(t0, t1), 0, Long.MAX_VALUE, true, null, false);\n\t\t// one data point outside time range, one boundary value should be added\n\t\tAssert.assertEquals(\"Time series sum has wrong number of data points\", 13, avg.size());\n\t\tAssert.assertEquals(\"Unexpected value in time series sum\", 10, avg.getValue(7).getValue().getIntegerValue());\n\t\tAssert.assertEquals(\"Unexpected value in time series sum\", 15, avg.getValue(23).getValue().getIntegerValue());\n\t\tAssert.assertEquals(\"Unexpected value in time series sum\", 15, avg.getValue(100).getValue().getIntegerValue());\n\t}", "public IAverage havingClause(String havingClause);", "public Operator getOp() {\n return op;\n }", "java.lang.String getOperator();", "public boolean getPopulateAvg() {\n return populateAvg;\n }", "public List<KeyValue<Integer>> getAvg() {\n\t\tList<KeyValue<Integer>> result = new ArrayList<KeyValue<Integer>>();\n\t\tJavaRDD<Document> rdd = dal.getRDD();\n\t\tList<Tuple2<String, Iterable<Document>>> list = rdd.groupBy(new Function<Document, String>() {\n\t\t\t// 分组\n\t\t\t/**\n\t\t\t * \n\t\t\t */\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\tpublic String call(Document v1) throws Exception {\n\t\t\t\tString province = v1.getString(\"province\");\n\t\t\t\tDouble price = v1.getDouble(\"unitPrice\");\n\t\t\t\tif (v1.getString(\"province\") != null && price > 0) {\n\t\t\t\t\treturn province;\n\t\t\t\t}\n\t\t\t\treturn \"other\";\n\t\t\t}\n\t\t}).collect();\n\t\tfor (Tuple2<String, Iterable<Document>> tuple2 : list) {\n\t\t\t// 循环遍历,统计平均数\n\t\t\tif (tuple2._1.equals(\"other\")) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tIterator<Document> iterator = tuple2._2.iterator();\n\t\t\tList<Double> prices = new ArrayList<Double>();\n\t\t\twhile (iterator.hasNext()) {\n\t\t\t\tprices.add(iterator.next().getDouble(\"unitPrice\"));\n\t\t\t}\n\t\t\tdouble sum = dal.getSparkContext().parallelize(prices).reduce(new Function2<Double, Double, Double>() {\n\n\t\t\t\t/**\n\t\t\t\t * \n\t\t\t\t */\n\t\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t\tpublic Double call(Double v1, Double v2) throws Exception {\n\t\t\t\t\treturn v1 + v2;\n\t\t\t\t}\n\t\t\t});\n\t\t\tresult.add(new KeyValue<Integer>(tuple2._1, (int) sum / prices.size()));\n\t\t}\n\t\t// dal.destroy();\n\t\treturn result;\n\t}", "boolean hasOperator();", "@Override\n\tpublic int avg() {\n\t\treturn (this.sum()/3);\n\t}", "public Quantity<Q> getAverage() {\n return average;\n }", "@Override\n\tpublic double avg() {\n\t\treturn total()/4.0;\n\t}", "public static void main(String[]args){\n\r\n int []arr = new int[100];\r\n int []arr2 = new int[50];\r\n int []arr3 = {1,2,3,4,5,6,7,8};\r\n int number = 5;\r\n LogicalOp op = new LogicalOp();\r\n// op.writeOnArray(arr);\r\n\r\n// arr2 = op.evenArray(arr2);\r\n// for(int i=0;i<arr2.length;i++)\r\n// System.out.println(arr2[i]);\r\n\r\n //System.out.println(\"Mean value: \"+op.meanValue(arr3));\r\n\r\n// String[] arrOfStr = {\"ana\",\"are\",\"mere\",\"pere\",\"mere\"};\r\n// String str = \"mere\";\r\n// System.out.println(op.isContaingString(arrOfStr,str));\r\n\r\n// System.out.println(op.findPosition(arr3,number));\r\n\r\n //op.displayLines();\r\n\r\n// int[]modifArr = op.modifiedArr(arr3,number);\r\n// for(int item: modifArr)\r\n// System.out.print(item+\" \");\r\n\r\n\r\n //System.out.println(\"Second minimum: \"+op.secondMin(arr3));\r\n\r\n int[] empty = new int[arr3.length];\r\n empty = op.populateArray(arr3,empty);\r\n for(int item:empty)\r\n System.out.print(item+\" \");\r\n\r\n\r\n\r\n }", "public void testGroupFilterOnComputedColumnsWithAggregations( ) throws Exception\n \t{\n \t\tccName = new String[] { \"cc1\", \"cc2\", \"cc3\", \"cc4\" };\n \t\tccExpr = new String[] {\n \t\t\t\t\"row.COL0+row.COL1\",\n \t\t\t\t\"Total.sum(row.COL1+row.cc1)\",\n \t\t\t\t\"Total.ave(row.cc1+row.COL2+row.COL3, null, 0)*81\",\n \t\t\t\t\"Total.sum(row.COL1+row.COL2+row.COL3+row.COL0)\" };\n \t\t\n \t\tfor (int i = 0; i < ccName.length; i++) {\n \t\t\tComputedColumn computedColumn = new ComputedColumn(ccName[i],\n \t\t\t\t\tccExpr[i], DataType.ANY_TYPE);\n \t\t\t((BaseDataSetDesign) this.dataSet)\n \t\t\t\t\t.addComputedColumn(computedColumn);\n \t\t}\n \t\t\n \t\tString[] bindingNameGroup = new String[1];\n \t\tbindingNameGroup[0] = \"GROUP_GROUP1\";\n \t\tIBaseExpression[] bindingExprGroup = new IBaseExpression[1];\n \t\tbindingExprGroup[0] = new ScriptExpression(\"dataSetRow.cc1\");\n \n \t\tGroupDefinition[] groupDefn = new GroupDefinition[] {\n \t\t\t\tnew GroupDefinition(\"group1\") };\t\n \t\tgroupDefn[0].setKeyExpression(\"row.GROUP_GROUP1\");\n \t\t\n \t\tFilterDefinition filter = new FilterDefinition(new ScriptExpression(\n \t\t\t\t\"Total.sum(dataSetRow.COL0)>400\"));\n \t\tgroupDefn[0].addFilter(filter);\n \n \t\tString[] bindingNameRow = new String[8];\n \t\tbindingNameRow[0] = \"ROW_COL0\";\n \t\tbindingNameRow[1] = \"ROW_COL1\";\n \t\tbindingNameRow[2] = \"ROW_COL2\";\n \t\tbindingNameRow[3] = \"ROW_COL3\";\n \t\tbindingNameRow[4] = \"ROW_cc1\";\n \t\tbindingNameRow[5] = \"ROW_cc2\";\n \t\tbindingNameRow[6] = \"ROW_cc3\";\n \t\tbindingNameRow[7] = \"ROW_cc4\";\n \t\tScriptExpression[] bindingExprRow = new ScriptExpression[] {\n \t\t\t\tnew ScriptExpression(\"dataSetRow.\" + \"COL0\", 0),\n \t\t\t\tnew ScriptExpression(\"dataSetRow.\" + \"COL1\", 0),\n \t\t\t\tnew ScriptExpression(\"dataSetRow.\" + \"COL2\", 0),\n \t\t\t\tnew ScriptExpression(\"dataSetRow.\" + \"COL3\", 0),\n \t\t\t\tnew ScriptExpression(\"dataSetRow.\" + ccName[0], 0),\n \t\t\t\tnew ScriptExpression(\"dataSetRow.\" + ccName[1], 0),\n \t\t\t\tnew ScriptExpression(\"dataSetRow.\" + ccName[2], 0),\n \t\t\t\tnew ScriptExpression(\"dataSetRow.\" + ccName[3], 0) };\n \n \t\ttry {\n \t\t\tthis.executeQuery(this.createQuery(null, null, null, null, null,\n \t\t\t\t\tnull, null, null, null, bindingNameRow, bindingExprRow));\n \t\t\t// fail( \"Should not arrive here\" );\n \t\t} catch (DataException e) {\n \n \t\t}\n \t}", "double average();", "public boolean associates(Operator op){\n\t return false;\n }", "private static void DoGroupBy()\n\t{\n\n\t\tArrayList<Attribute> inAtts = new ArrayList<Attribute>();\n\t\tinAtts.add(new Attribute(\"Int\", \"o_orderkey\"));\n\t\tinAtts.add(new Attribute(\"Int\", \"o_custkey\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_orderstatus\"));\n\t\tinAtts.add(new Attribute(\"Float\", \"o_totalprice\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_orderdate\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_orderpriority\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_clerk\"));\n\t\tinAtts.add(new Attribute(\"Int\", \"o_shippriority\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_comment\"));\n\n\t\tArrayList<Attribute> outAtts = new ArrayList<Attribute>();\n\t\toutAtts.add(new Attribute(\"Str\", \"att1\"));\n\t\toutAtts.add(new Attribute(\"Str\", \"att2\"));\n\t\toutAtts.add(new Attribute(\"Float\", \"att3\"));\n\t\toutAtts.add(new Attribute(\"Int\", \"att4\"));\n\n\t\tArrayList<String> groupingAtts = new ArrayList<String>();\n\t\tgroupingAtts.add(\"o_orderdate\");\n\t\tgroupingAtts.add(\"o_orderstatus\");\n\n\t\tHashMap<String, AggFunc> myAggs = new HashMap<String, AggFunc>();\n\t\tmyAggs.put(\"att1\", new AggFunc(\"none\",\n\t\t\t\t\"Str(\\\"status: \\\") + o_orderstatus\"));\n\t\tmyAggs.put(\"att2\", new AggFunc(\"none\", \"Str(\\\"date: \\\") + o_orderdate\"));\n\t\tmyAggs.put(\"att3\", new AggFunc(\"avg\", \"o_totalprice * Int (100)\"));\n\t\tmyAggs.put(\"att4\", new AggFunc(\"sum\", \"Int (1)\"));\n\n\t\t// run the selection operation\n\t\ttry\n\t\t{\n\t\t\tnew Grouping(inAtts, outAtts, groupingAtts, myAggs, \"orders.tbl\", \"out.tbl\", \"g++\", \"cppDir/\");\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}", "public void calculateAverage() {\n\n if (turn == 1) {\n p1.setTotalScore(p1.getTotalScore() + turnScore);\n\n p1.setTotalDarts(p1.getTotalDarts() + 1);\n\n float p1Average = p1.getTotalScore() / p1.getTotalDarts();\n p1.setAverage(p1Average);\n\n } else if (turn == 2) {\n p2.setTotalDarts(p2.getTotalDarts() + 1);\n p2.setTotalScore(p2.getTotalScore() + turnScore);\n\n float p2Average = p2.getTotalScore() / p2.getTotalDarts();\n p2.setAverage(p2Average);\n }\n\n\n }", "public abstract double divideForAvg(S o, Long l);", "public int oper() {\n int ope = getFilter().getExp().oper();\n return ope;\n }", "public double mean()\n {\n return StdStats.mean(open);\n// return StdStats.sum(open) / count;\n }", "public boolean applyCommonGroupingRule() {\n\t \n\t if(isApplicableSameGroupingRule() == false) {\n\t \tSystem.out.println(\"ERROR: Failure to apply Same Grouping Rewriting Rule\");\n\t \treturn false;\n\t }\n\t \n\t this.rset = new HashMap<Integer, Query>();\n\t this.rtype = RType.SAME_GROUPING_RULE;\n\t this.rqId = 1;\n\n\t Grouping gPart = this.qset.entrySet().iterator().next().getValue().getQueryTriple()._1();\n\t \n\t Measuring mPart = new Measuring();\n\t Operation opPart = new Operation();\n\t for(Map.Entry<Integer, Query> entry2 : this.qset.entrySet()){\n\t\t\tmPart.addMeasuring(entry2.getValue().getQueryTriple()._2());\n\t\t opPart.addOperation(entry2.getValue().getQueryTriple()._3());\n\t }\n\t Tuple3<Grouping, Measuring, Operation> query = new Tuple3<>(gPart, mPart, opPart);\n\t \n\t rset.put(rqId, new Query(query));\n\t return true;\n\t}", "@Test\n public void testMediumAggregationGroupBy() {\n GroupByOperator groupByOperator = getOperator(AGGREGATION_QUERY + MEDIUM_GROUP_BY);\n GroupByResultsBlock resultsBlock = groupByOperator.nextBlock();\n QueriesTestUtils.testInnerSegmentExecutionStatistics(groupByOperator.getExecutionStatistics(), 30000L, 0L, 210000L,\n 30000L);\n QueriesTestUtils.testInnerSegmentAggregationGroupByResult(resultsBlock.getAggregationGroupByResult(),\n new Object[]{1813102948, \"P\", \"HEuxNvH\"}, 4L, 2062187196L, 1988589001, 394608493, 4782388964L, 4L);\n\n // Test query with filter.\n groupByOperator = getOperator(AGGREGATION_QUERY + FILTER + MEDIUM_GROUP_BY);\n resultsBlock = groupByOperator.nextBlock();\n QueriesTestUtils.testInnerSegmentExecutionStatistics(groupByOperator.getExecutionStatistics(), 6129L, 63064L,\n 42903L, 30000L);\n QueriesTestUtils.testInnerSegmentAggregationGroupByResult(resultsBlock.getAggregationGroupByResult(),\n new Object[]{1176631727, \"P\", \"KrNxpdycSiwoRohEiTIlLqDHnx\"}, 1L, 716185211L, 489993380, 371110078, 487714191L,\n 1L);\n }", "public Double computeAverage(){\n\t\tdouble total = 0; //double used to keep total value of elements in arr to determine average\n\t\t\n\t\tfor(int i = 0; i < arr.length; i++)//loop through array and add the total\n\t\t{\n\t\t\ttotal += arr[i].doubleValue(); //add current value of element in arr to total's value\n\t\t}\n\t\t\n\t\tDouble result = total/arr.length; //returns the average as a Double\n\t\t\n\t\treturn result;\n\t}", "public OptionalDouble executeSQL06() {\n OptionalDouble avg = records.stream().filter(x -> x.getSource().equals(\"a\") && !x.getDestination().equals(\"f\") || !x.getDestination().equals(\"g\")\n && x.getType().equals(\"n\") && x.getCustoms().equals(\"y\")).mapToDouble(Record::getWeight).average();\n System.out.println(\"SQL 06 : \" + avg);\n return avg;\n }", "public Operator operator() {\n\treturn this.op;\n }", "public double[] features( HaeaOperators<T> operators ) {\n \tdouble[][] rates = new double[operators.rates.size()][];\n \ttry{ for( int i=0; i<rates.length; i++ ) rates[i] = operators.rates(i); }catch(Exception e){}\n\t\tStatistics[] stat = Matrix.statistics(rates, false);\n\t\tdouble[] avg = new double[stat.length];\n\t\tfor( int i=0; i<avg.length; i++ ) avg[i] = stat[i].avg; \n\t\treturn avg;\n }", "@Test\n public void testAggregationOnly() {\n AggregationOperator aggregationOperator = getOperator(AGGREGATION_QUERY);\n AggregationResultsBlock resultsBlock = aggregationOperator.nextBlock();\n QueriesTestUtils.testInnerSegmentExecutionStatistics(aggregationOperator.getExecutionStatistics(), 30000L, 0L,\n 120000L, 30000L);\n QueriesTestUtils.testInnerSegmentAggregationResult(resultsBlock.getResults(), 30000L, 32317185437847L, 2147419555,\n 1689277, 28175373944314L, 30000L);\n\n // Test query with filter.\n aggregationOperator = getOperator(AGGREGATION_QUERY + FILTER);\n resultsBlock = aggregationOperator.nextBlock();\n QueriesTestUtils.testInnerSegmentExecutionStatistics(aggregationOperator.getExecutionStatistics(), 6129L, 63064L,\n 24516L, 30000L);\n QueriesTestUtils.testInnerSegmentAggregationResult(resultsBlock.getResults(), 6129L, 6875947596072L, 999813884,\n 1980174, 4699510391301L, 6129L);\n }", "Operator.Type getOperation();", "String getOperator();", "private boolean isOperator(String op){\n return (op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\"));\n }", "private void analyze() {\n\t\tdouble org = 0;\n\t\tdouble avgIndPerDoc = 0;\n\t\tdouble avgTotalPerDoc = 0;\n\n\t\tfor (Instance instance : instanceProvider.getInstances()) {\n\n\t\t\tint g = 0;\n\t\t\tSet<AbstractAnnotation> orgM = new HashSet<>();\n\n//\t\t\torgM.addAll(instance.getGoldAnnotations().getAnnotations());\n//\t\t\tg += instance.getGoldAnnotations().getAnnotations().size();\n\n\t\t\tfor (AbstractAnnotation instance2 : instance.getGoldAnnotations().getAnnotations()) {\n\n\t\t\t\tResult r = new Result(instance2);\n\n\t\t\t\t{\n////\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getTrend());\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getInvestigationMethod());\n////\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(\n////\t\t\t\t\t\t\tr.getDefinedExperimentalGroups().stream().map(a -> a.get()).collect(Collectors.toList()));\n//\n//\t\t\t\t\torgM.addAll(aa);\n//\t\t\t\t\tg += aa.size();\n\t\t\t\t}\n\n\t\t\t\t{\n\t\t\t\t\t/**\n\t\t\t\t\t * props of exp\n\t\t\t\t\t */\n\t\t\t\t\tfor (DefinedExperimentalGroup instance3 : r.getDefinedExperimentalGroups()) {\n\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getOrganismModel());\n//\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(instance3.getTreatments());\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> ab = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getDeliveryMethods().stream())\n\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n\t\t\t\t\t\taa.addAll(instance3.getTreatments().stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Treatment(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getDeliveryMethod()).filter(i -> i != null)\n\t\t\t\t\t\t\t\t.collect(Collectors.toList()));\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getAnaesthetics().stream())\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryDevice()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\t// List<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryLocation()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\torgM.addAll(aa);\n\t\t\t\t\t\tg += aa.size();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tavgIndPerDoc += orgM.size();\n\t\t\tavgTotalPerDoc += g;\n\n\t\t\torg += ((double) orgM.size()) / (g == 0 ? 1 : g);\n//\t\t\tSystem.out.println(((double) orgM.size()) / g);\n\n\t\t}\n\t\tSystem.out.println(\"avgTotalPerDoc = \" + avgTotalPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"avgIndPerDoc = \" + avgIndPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"org = \" + org);\n\t\tSystem.out.println(\"avg. org = \" + (org / instanceProvider.getInstances().size()));\n\t\tSystem.out.println(new DecimalFormat(\"0.00\").format(avgTotalPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(avgIndPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(org / instanceProvider.getInstances().size()));\n\t\tSystem.exit(1);\n\n\t\tStats.countVariables(0, instanceProvider.getInstances());\n\n\t\tint count = 0;\n\t\tfor (SlotType slotType : EntityType.get(\"Result\").getSlots()) {\n\n\t\t\tif (slotType.isExcluded())\n\t\t\t\tcontinue;\n\t\t\tcount++;\n\t\t\tSystem.out.println(slotType.name);\n\n\t\t}\n\t\tSystem.out.println(count);\n\t\tSystem.exit(1);\n\t}", "public double getAverage() {\n return this.average;\n }", "String getOp();", "String getOp();", "String getOp();", "private void processOperator() {\r\n\t\tif (expression[currentIndex] == '*') {\r\n\t\t\ttoken = new Token(TokenType.OPERATOR, Constants.AND_STRING);\r\n\t\t} else if (expression[currentIndex] == '+') {\r\n\t\t\ttoken = new Token(TokenType.OPERATOR, Constants.OR_STRING);\r\n\t\t} else if (expression[currentIndex] == '!') {\r\n\t\t\ttoken = new Token(TokenType.OPERATOR, Constants.NOT_STRING);\r\n\t\t} else {\r\n\t\t\ttoken = new Token(TokenType.OPERATOR, Constants.XOR_STRING);\r\n\t\t\t// xor operator has 2 characters more than any other operator.\r\n\t\t\tcurrentIndex += 2;\r\n\t\t}\r\n\r\n\t\tcurrentIndex++;\r\n\t}", "@java.lang.Override\n public double getAvgTreatment() {\n return avgTreatment_;\n }", "private Double check_mathOperator(Double result) {\n \r\n switch(mathOperator){\r\n case '/':\r\n result =totalFirst/totalLast;\r\n break;\r\n case 'x':\r\n result =totalFirst*totalLast;\r\n break;\r\n case '-':\r\n result =totalFirst-totalLast;\r\n break;\r\n case '+':\r\n result =totalFirst+totalLast;\r\n break;\r\n \r\n }\r\n return result;\r\n }", "public PredicateOperator getOperator();", "public double getRatingAverage() {\n return average;\n }", "public Operator getOperator() {\n return this.operator;\n }", "public String getOp() {\n return op;\n }", "public String getOp() {\n return op;\n }", "@java.lang.Override\n public double getAvgTreatment() {\n return avgTreatment_;\n }", "public float getAverage(){\r\n\t\treturn Average;\r\n\t}", "public void average(ContentView other) {\n if (this.normalisedRating > 0 && other.normalisedRating > 0) {\n int mergedRatingCount = this.ratingCount + other.ratingCount;\n double ratingTotalHere = this.normalisedRating * this.numberOfViews;\n double ratingTotalThere = other.normalisedRating * other.numberOfViews;\n double mergedRating = (ratingTotalHere + ratingTotalThere) / mergedRatingCount;\n this.normalisedRating = mergedRating;\n \n }\n int mergedNumberOfViews = this.numberOfViews + other.numberOfViews;\n double totalViewingTimeHere = this.averageViewingTime * this.numberOfViews;\n double totalViewingTimeThere = other.averageViewingTime * other.numberOfViews;\n double mergedViewingTime = (totalViewingTimeHere + totalViewingTimeThere) / mergedNumberOfViews;\n this.averageViewingTime = mergedViewingTime;\n this.numberOfViews = mergedNumberOfViews;\n }", "public static void main(String[] args) {\n\t\t List<Product> list = new ArrayList<>();\r\n\t list.add(new Product(1, 1.58));\r\n\t list.add(new Product(2, 1.45));\r\n\t list.add(new Product(3, 2.25));\r\n\t list.add(new Product(4, 2.58));\r\n\r\n\t Double ans = list.stream().filter(p -> p.price < 2.5).mapToDouble\r\n\t (p -> p.price).average().orElse(0);\r\n\r\n\t System.out.println(ans);\r\n\t}", "abstract String getOp();", "public float calcAverage(){\n if(totalReviews > 0)\n return (float) (totalScore*1.0/totalReviews);\n else return 0;\n }", "double avg(){\n\t\tdouble sum = 0.0;\n\t\tfor(int i=0;i<num.length;i++)\n\t\t\tsum+=num[i].doubleValue();\n\t\treturn sum/num.length;\n\t}", "public boolean isOperator() {\n\t\treturn (letter == '+') || (letter == '*') ||\n\t\t\t (letter == '%') || (letter == '-') ? true : false;\n\t}", "@Test\n\tpublic void averagingWorksWithOrdinaryIterator() {\n\t\tfinal FloatTimeSeries t = new FloatTreeTimeSeries();\n\t\tt.addValues(TimeSeriesUtils.createStepFunction(10, 0, 10, 0, 10)); // step function from 0 to 100\n\t\tt.setInterpolationMode(InterpolationMode.STEPS);\n//\t\tfinal FloatTimeSeries tr = new FloatTreeTimeSeries();\n//\t\ttr.addValues(TimeSeriesUtils.createStepFunction(5, 0, 20, 0, 0)); // step function with doubled step size\n//\t\ttr.setInterpolationMode(InterpolationMode.STEPS);\n//\t\tfinal MultiTimeSeriesIterator multiIt = MultiTimeSeriesIteratorBuilder.newBuilder(Arrays.asList(t.iterator(),tr.iterator()))\n\t\tfinal MultiTimeSeriesIterator multiIt = MultiTimeSeriesIteratorBuilder.newBuilder(Arrays.asList(t.iterator()))\n\t\t\t\t.setGlobalInterpolationMode(InterpolationMode.STEPS)\n\t\t\t\t.doAverage(true)\n\t\t\t\t.setUpperBoundaryValues(Collections.singletonMap(0, new SampledValue(new FloatValue(100), 100, Quality.GOOD)))\n\t\t\t\t.build();\n\t\tSampledValueDataPoint sv = null;\n\t\tSampledValue value = null;\n\t\tMap<Integer,SampledValue> map = null;\n\t\tint cnt = 0;\n\t\tAssert.assertTrue(multiIt.hasNext());\n\t\tmultiIt.next();\n\t\twhile (multiIt.hasNext()) {\n\t\t\tsv = multiIt.next();\n\t\t\tmap = sv.getElements();\n\t\t\tvalue = map.get(0);\n\t\t\tAssert.assertEquals(\"Averaging failed\", cnt++ * 10, value.getValue().getFloatValue(), 1);\n\t\t\tif (map.containsKey(1))\n\t\t\t\tAssert.assertEquals(\"Averaging failed\", 0, map.get(1).getValue().getFloatValue(), 1);\n\t\t}\n\t\tAssert.assertTrue(cnt > 3);\n\t}", "Execution getAverageExecutions();", "public IAverage groupBy(String...columns);", "public Operator getOperator()\n {\n return operator;\n }", "public int getOp() {\n\t\treturn op;\n\t}", "@Test\n public void testSmallAggregationGroupBy() {\n GroupByOperator groupByOperator = getOperator(AGGREGATION_QUERY + SMALL_GROUP_BY);\n GroupByResultsBlock resultsBlock = groupByOperator.nextBlock();\n QueriesTestUtils.testInnerSegmentExecutionStatistics(groupByOperator.getExecutionStatistics(), 30000L, 0L, 150000L,\n 30000L);\n QueriesTestUtils.testInnerSegmentAggregationGroupByResult(resultsBlock.getAggregationGroupByResult(),\n new Object[]{11270}, 1L, 815409257L, 1215316262, 1328642550, 788414092L, 1L);\n\n // Test query with filter.\n groupByOperator = getOperator(AGGREGATION_QUERY + FILTER + SMALL_GROUP_BY);\n resultsBlock = groupByOperator.nextBlock();\n QueriesTestUtils.testInnerSegmentExecutionStatistics(groupByOperator.getExecutionStatistics(), 6129L, 63064L,\n 30645L, 30000L);\n QueriesTestUtils.testInnerSegmentAggregationGroupByResult(resultsBlock.getAggregationGroupByResult(),\n new Object[]{242920}, 3L, 4348938306L, 407993712, 296467636, 5803888725L, 3L);\n }", "boolean isOp();", "Boolean groupingEnabled();", "public double mean() {\n/* 179 */ Preconditions.checkState((this.count != 0L));\n/* 180 */ return this.mean;\n/* */ }", "public String getOperator()\r\n {\r\n return operator;\r\n }", "LogicExpression getExpr();", "public final void rule__XOtherOperatorExpression__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:4626:1: ( ( ( rule__XOtherOperatorExpression__Group_1__0 )* ) )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:4627:1: ( ( rule__XOtherOperatorExpression__Group_1__0 )* )\n {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:4627:1: ( ( rule__XOtherOperatorExpression__Group_1__0 )* )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:4628:1: ( rule__XOtherOperatorExpression__Group_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1()); \n }\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:4629:1: ( rule__XOtherOperatorExpression__Group_1__0 )*\n loop34:\n do {\n int alt34=2;\n int LA34_0 = input.LA(1);\n\n if ( (LA34_0==21) ) {\n int LA34_2 = input.LA(2);\n\n if ( (synpred55_InternalInstances()) ) {\n alt34=1;\n }\n\n\n }\n else if ( (LA34_0==22) ) {\n int LA34_3 = input.LA(2);\n\n if ( (synpred55_InternalInstances()) ) {\n alt34=1;\n }\n\n\n }\n\n\n switch (alt34) {\n \tcase 1 :\n \t // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:4629:2: rule__XOtherOperatorExpression__Group_1__0\n \t {\n \t pushFollow(FOLLOW_rule__XOtherOperatorExpression__Group_1__0_in_rule__XOtherOperatorExpression__Group__1__Impl9571);\n \t rule__XOtherOperatorExpression__Group_1__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop34;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public void setArithmeticOperator(String value) {\n setAttributeInternal(ARITHMETICOPERATOR, value);\n }", "public IMutateExprTree getBaseOp() \r\n\t{\r\n\t\treturn baseOp;\r\n\t}", "public double getAverage(){\n return getTotal()/array.length;\n }", "public BigDecimal getOperator() {\n return operator;\n }", "public String operator( String op);", "public abstract double averageBreedWeightKG();", "public Average getAverageWinTurn(Predicate<GameResult> filter) {\n long sum = results.stream()\n .filter(filter)\n .mapToLong(result -> result.getEndTurn() * result.getCount())\n .sum();\n long count = count(filter);\n double avg = (double) sum / (double) count;\n\n double distanceSum = results.stream()\n .filter(filter)\n .mapToDouble(result -> Math.abs(avg - result.getEndTurn()) * result.getCount())\n .sum();\n double mad = distanceSum / (double) count;\n\n// double distanceSqSum = results.stream()\n// .filter(filter)\n// .mapToDouble(result -> ((double) result.getEndTurn() - avg) * ((double) result.getEndTurn() - avg) * result.getCount())\n// .sum();\n// double standardDeviation = Math.sqrt(distanceSum / (double) count);\n\n return new Average(avg, mad);\n }" ]
[ "0.6255422", "0.6021032", "0.59657717", "0.5867419", "0.57309616", "0.56961215", "0.5682519", "0.5676487", "0.5610783", "0.55866784", "0.5566521", "0.55455", "0.55418867", "0.55377144", "0.55072373", "0.5496475", "0.549583", "0.5491411", "0.54853415", "0.5479773", "0.54784244", "0.5471127", "0.5428007", "0.54279846", "0.5397075", "0.5391037", "0.5373772", "0.5371727", "0.53682745", "0.53620404", "0.5358973", "0.5351162", "0.5342752", "0.5340683", "0.5334526", "0.53297234", "0.5294665", "0.5279575", "0.5270705", "0.5255875", "0.5249768", "0.5247088", "0.52412695", "0.5233704", "0.52309483", "0.52220696", "0.52190346", "0.5206348", "0.51938057", "0.5184522", "0.51756495", "0.5172789", "0.5172753", "0.5167159", "0.5155991", "0.5144672", "0.5137902", "0.51312405", "0.51243937", "0.5123646", "0.51139235", "0.51131004", "0.51112795", "0.5108166", "0.5108166", "0.5108166", "0.5104032", "0.50989574", "0.50937825", "0.5076718", "0.5073093", "0.50705045", "0.507042", "0.507042", "0.506938", "0.5063746", "0.5051439", "0.5046002", "0.50449044", "0.50376266", "0.50319713", "0.4996625", "0.49802122", "0.49779347", "0.4977086", "0.49686313", "0.4967021", "0.496543", "0.4949153", "0.49478328", "0.49474153", "0.49456015", "0.49452826", "0.4941318", "0.49383134", "0.49366787", "0.49359724", "0.4935187", "0.49319354", "0.49304378", "0.49258885" ]
0.0
-1
This function processes a tuple element read from a source stream when the operator is nonblocking. This overrides the corresponding function in the base class.
protected void processTuple ( Tuple inputTuple, int streamId) throws ShutdownException, InterruptedException { Tuple result; //If we haven't already picked up a template tuple, // copy this one. if (tupleDataSample == null) tupleDataSample = inputTuple; count++; result = appendWindowId(inputTuple, streamId); putTuple(result, 0); if ((count % slide == 0) && (windowType == 0)) { //output a punctuation to say windowId_from is completed putTuple (createPunctuation (inputTuple, windowId_from), 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void nextTuple() {\n\t\tif(isFirst) {\n\t\t\ttry {\n\t\t\t\tFileReader in = new FileReader(\"query_stream_comp_\"+qSize);\n\t\t\t\tBufferedReader br = new BufferedReader(in);\t\n//\t\t\t\tbr.readLine();\n\t\t\t\tfor(int i=0; i<num; i++) {\n//\t\t\t\t\tUtils.sleep(100);\n\t\t\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\t\t\tint edges = Integer.valueOf(br.readLine());\n//\t\t\t\t\tsb.append(edges+\"\\n\");\n//\t\t\t\t\tint edges = br.read();\n\t\t\t\t\tfor(int j=0; j< edges; j++) {\n\t\t\t\t\t\t\n\t//\t\t\t\t\tString edge[] = br.readLine().split(\" \");\n\t\t\t\t\t\tsb.append(br.readLine()+\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t\t_collector.emit(\"qstream\", new Values(sb.toString()));\n\t\t\t\t}\n\t\t\t\tisFirst = !isFirst;\n\t\t\t\tSystem.out.println(\"QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ\");\n\t\t\t\t\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t}\n\t\t}else {\n\t\t\ttry {\n\t\t\t\tThread.sleep(1000000);\n\t\t\t\tSystem.exit(0);\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO: handle exception\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "@Override\n public void nextTuple() {\n \tint fileCount = XPathCrawler.getInstance().getFileCount().get();\n \tif(XPathCrawler.getInstance().getFrontier().isEmpty()) { //refill from disk\n \t\tURLSpout.activeThreads.getAndIncrement();\n \t\t//System.out.println(\"refill time\");\n \t\tString url;\n\t\t\ttry {\n\t\t\t\twhile(!reader.ready()) {\n\t\t\t\t\t//System.out.println(\"busy\");\n\t\t\t\t}\n\t\t\t\turl = reader.readLine();\n\t\t\t\tif(url != null) {\n\t\t\t\t\t//System.out.println(\"enqueue: \" + url);\n\t \t\t\tXPathCrawler.getInstance().getFrontier().enqueue(url);\n\t \t\t\twhile(url != null) {\n\t \t\t\t\t//System.out.println(\"reading from file. Size is: \" + XPathCrawler.getInstance().getFrontier().getSize());\n\t \t\t\t\turl = reader.readLine();\n\t \t\t\t\tif(url == null) {\n\t \t\t\t\t\tbreak;\n\t \t\t\t\t}\n\t \t\t\t\t//System.out.println(\"enqueue2: \" + url);\n\t \t\t\t\tXPathCrawler.getInstance().getFrontier().enqueue(url);\n\t \t\t\t\tif(XPathCrawler.getInstance().getFrontier().getSize() >= XPathCrawler.FRONTIER_BUFFER_SIZE) { //buffe\n\t \t\t\t\t\tbreak;\n\t \t\t\t\t}\n\t \t\t\t}\n\t \t\t}\n\t\t\t} catch (IOException e) {\t\t\t\t\n\t\t\t\tSystem.out.println(\"unable to read from URLDisk file\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tURLSpout.activeThreads.getAndDecrement();\n\t\t\t}\t\t\t\n \t}\n \t\n \tif(XPathCrawler.getInstance().getFrontier().isEmpty() || fileCount >= XPathCrawler.getInstance().getMaxFileNum()) { // Handle Shutdown\n \t\tif(URLSpout.getActiveThreads() <= 0 && CrawlerBolt.getActiveThreads() <= 0 && DocumentParserBolt.getActiveThreads() <= 0 && URLFilterBolt.getActiveThreads() <= 0 && \n \t\t\tXPathCrawler.getInstance().getInFlightMessages() <= 0) {\n \t\t\tXPathCrawler.getInstance().shutdown(); //call shutdown\n \t\t\t//System.out.println(\"Spout Called Shutdown\");\n \t\t\treturn;\n \t\t} else {\n \t\t\treturn; //just return and don't emit anything\n \t\t}\n \t\t\n \t} else {\n \t\tURLSpout.activeThreads.getAndIncrement(); //isIdle is now 1, hence this thread is not idle\n \tString url = XPathCrawler.getInstance().getFrontier().dequeue();\n \tif(url.startsWith(\"http://\")) {\n \t\tURLInfo urlInfo = new URLInfo(url);\t\n \t\tif(urlInfo.getHostName() == null) {\n \t\t\tURLSpout.activeThreads.decrementAndGet();\n \t\t\treturn;\n \t\t}\n \t\tString portString = \":\" + Integer.toString(urlInfo.getPortNo());\n \t\t\t if(!url.contains(portString)) { //make sure URL is in the form http://xyz.com:80/\n \t\t\t\t StringBuilder newURL = new StringBuilder(url);\n \t \t\t\t int index = 7 + urlInfo.getHostName().length();\n \t \t\t\t newURL.insert(index, portString);\n \t\t\t\t url = newURL.toString();\n \t\t\t }\n \t\t\t \n \t//log.debug(getExecutorId() + \" emitting \" + url);\n \t this.collector.emit(new Values<Object>(urlInfo.getHostName(), url, \"http\"));\n \t \n \t XPathCrawler.getInstance().incrementInflightMessages(); //signals a message is currently being routed\n \t}else {\n \t\ttry {\n\t\t\t\t\tURL httpsUrl = new URL(url); //emit https url\n\t\t\t\t\tint port = httpsUrl.getPort() == -1 ? 443 : httpsUrl.getPort();\n\t\t\t\t\tString portString = \":\" + Integer.toString(port);\n\t\t\t\t\tif(!url.contains(portString)) { //make sure URL is in the form http://xyz.com:443/\n\t \t\t\t\t StringBuilder newURL = new StringBuilder(url);\n\t \t \t\t\t int index = 8 + httpsUrl.getHost().length();\n\t \t \t\t\t newURL.insert(index, portString);\n\t \t\t\t\t url = newURL.toString();\n\t \t\t\t }\n\t\t\t\t\t//log.debug(getExecutorId() + \" emitting \" + url);\n\t \t this.collector.emit(new Values<Object>(httpsUrl.getHost(), url, \"https\"));\n\t \t XPathCrawler.getInstance().incrementInflightMessages(); //signals a message is currently being routed\n\t\t\t\t} catch (MalformedURLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} finally {\n\t\t\t\t\tURLSpout.activeThreads.decrementAndGet();\n\t\t\t\t}\n \t\treturn;\n \t}\n \t\n \tURLSpout.activeThreads.decrementAndGet(); //isIdle is now 0 hence this thread is idle\n \t} \t\n Thread.yield();\n }", "public void nextTuple() {\n\t\tif (csvRecordsItr.hasNext()) {\n\t\t\t// Get the next record from input file\n\t\t\tCSVRecord csvRecord = null;\n\t\t\ttry {\n\t\t\t\tcsvRecord = csvRecordsItr.next();\n\t\t\t\tString groupName = csvRecord.get(\"GROUP_NAME\");\n\t\t\t\tString eventName = csvRecord.get(\"EVENT_NAME\");\n\t\t\t\tString eventStatus = csvRecord.get(\"EVENT_STATUS\");\n\t\t\t\tString eventCity = csvRecord.get(\"EVENT_CITY\");\n\t\t\t\tString eventCountry = csvRecord.get(\"EVENT_COUNTRY\");\n\n\t\t\t\t// Emit the record as a tuple\n\t\t\t\tspoutOutputCollector.emit(new Values(groupName, eventName,\n\t\t\t\t\t\teventStatus, eventCity, eventCountry));\n\t\t\t} catch (NoSuchElementException e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t}\n\t}", "@Override\r\n\tpublic Tuple nextTuple() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tTuple tuple = null;\r\n\t\ttry{\r\n\t\t\tString s = br.readLine();\r\n\t\t\tif(s==null) return null;\r\n\t\t\ttuple = new Tuple(s);\r\n\t\t}catch(IOException e){\r\n\t\t\tSystem.out.print(\"No more tuples!\");\r\n\t\t}\r\n\t\treturn tuple;\r\n\t}", "@Override\n protected void processTuple(Object tuple, boolean isStream1Data)\n {\n if (!isStream1Data) {\n return;\n }\n int key = (int)extractKey(tuple, isStream1Data);\n if (partitionMap.containsKey(key)) {\n if (partitionMap.get(key) != operatorId) {\n testFailed = true;\n }\n } else {\n partitionMap.put(key, operatorId);\n }\n tuplesProcessed++;\n }", "public Tuple nextTuple() {\n\t\ttry {\n\t\t\treturn tr.read();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}", "@Override\r\n\tprotected void processControlPort(StreamingInput<Tuple> stream, Tuple tuple) throws Exception {\r\n\t\tsuper.processControlPort(stream, tuple);\r\n\t\t// Initiate PreparedStatement\r\n\t\tinitPreparedStatement();\r\n\t}", "@Override\n public TimestampedUIDTuple getSourceTuple() {\n return (TimestampedUIDTuple) tuple;\n }", "public abstract Stream<E> streamBlockwise();", "public E poll()\r\n/* 117: */ {\r\n/* 118:322 */ E[] buffer = this.consumerBuffer;\r\n/* 119:323 */ long index = this.consumerIndex;\r\n/* 120:324 */ long mask = this.consumerMask;\r\n/* 121: */ \r\n/* 122:326 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(index, mask);\r\n/* 123:327 */ Object e = UnsafeRefArrayAccess.lvElement(buffer, offset);\r\n/* 124:328 */ if (e == null) {\r\n/* 125:330 */ if (index != lvProducerIndex()) {\r\n/* 126: */ do\r\n/* 127: */ {\r\n/* 128:337 */ e = UnsafeRefArrayAccess.lvElement(buffer, offset);\r\n/* 129:339 */ } while (e == null);\r\n/* 130: */ } else {\r\n/* 131:343 */ return null;\r\n/* 132: */ }\r\n/* 133: */ }\r\n/* 134:347 */ if (e == JUMP)\r\n/* 135: */ {\r\n/* 136:349 */ E[] nextBuffer = getNextBuffer(buffer, mask);\r\n/* 137:350 */ return newBufferPoll(nextBuffer, index);\r\n/* 138: */ }\r\n/* 139:353 */ UnsafeRefArrayAccess.soElement(buffer, offset, null);\r\n/* 140:354 */ soConsumerIndex(index + 2L);\r\n/* 141:355 */ return e;\r\n/* 142: */ }", "public abstract void handleTuple(ITuple tuple);", "public abstract Tuple getNext();", "int readNonBlocking(byte[] buffer, int offset, int length);", "public abstract Tuple parseFrom(byte[] bytes) throws Exception;", "@Override\r\n public void processElement2(Tuple2<String, Long> s, Context ctx, Collector<SensorReading> out) throws Exception {\n forwardingEnabled.update(true);\r\n // set timer to disable switch\r\n long timerTimestamp = ctx.timerService().currentProcessingTime() + s.f1;\r\n Long curTimerTimestamp = disableTimer.value();\r\n if (curTimerTimestamp == null || timerTimestamp > curTimerTimestamp) {\r\n // remove current timer\r\n if (curTimerTimestamp != null) {\r\n ctx.timerService().deleteProcessingTimeTimer(curTimerTimestamp);\r\n }\r\n // register new timer\r\n ctx.timerService().registerProcessingTimeTimer(timerTimestamp);\r\n disableTimer.update(timerTimestamp);\r\n }\r\n }", "@Override\n\tpublic Tuple next(){\n currTupleInd++;\n if (currTupleInd >= numOfTuples) return null;\n return tuples.get(currTupleInd);\n\t}", "public void nextTuple() {\n\t\t\n\t\tif(index < sentences.length){\n\t\t\tthis.collector.emit(new Values(sentences[index%sentences.length]));\n\t\t\tindex++;\n\t\t\tUtils.waitForMillis(1);\n\t\t}\n\t}", "@Override\n public void execute(Tuple tuple, BasicOutputCollector basicOutputCollector) {\n Key currentKey = (Key) tuple.getValue(0);\n if (!slicingWindowOperatorMap.containsKey(currentKey)) {\n slicingWindowOperatorMap.put(currentKey, initWindowOperator());\n }\n SlicingWindowOperator<Value> slicingWindowOperator = slicingWindowOperatorMap.get(currentKey);\n //We only process the Value of a tuple\n slicingWindowOperator.processElement((Value) tuple.getValue(1), tuple.getLong(2));\n processWatermark(currentKey, tuple.getLong(2), basicOutputCollector);\n }", "public void processStreamInput() {\n }", "public int demuxInput(byte[] buffer, int offset, int length)\n throws IOException {\n Task task = getThreadTask(Thread.currentThread());\n if (task == null) {\n return defaultInput(buffer, offset, length);\n } else {\n return task.handleInput(buffer, offset, length);\n }\n }", "public FennelPipeIterator(FennelTupleReader tupleReader)\n {\n super(tupleReader);\n \n // Create an empty byteBuffer which will cause us to fetch new rows the\n // first time our consumer tries to fetch. TODO: Add a new state 'have\n // not yet checked whether we have more data'.\n bufferAsArray = new byte[0];\n byteBuffer = ByteBuffer.wrap(bufferAsArray);\n byteBuffer.clear();\n byteBuffer.limit(0);\n }", "@Override\n public Tuple next() {\n return nonDistinctNext();\n }", "boolean isValidStreamProcessor(int[] buffer) throws RawDataEventException;", "PrimitiveIterator.OfLong bitTupleIterator(int tupleSize, int startIndex, BitOrder order);", "public abstract T getTuple(int aPosition);", "public abstract SeekInputStream getRawInput();", "public void invoke(Tuple2<String, Integer> value) throws Exception {\n bufferedElements.add(value);\n if (bufferedElements.size() == threshold) {\n for (Tuple2<String, Integer> element : bufferedElements) {\n /**\n * send it to the sink here!!!\n * such as write into text files, or other sinks\n */\n }\n bufferedElements.clear();\n }\n }", "default int readNonBlocking(byte[] buffer) {\n return readNonBlocking(buffer, 0, buffer.length);\n }", "@Override\r\n public void processElement1(SensorReading r, Context ctx, Collector<SensorReading> out) throws Exception {\n Boolean forward = forwardingEnabled.value();\r\n if (forward != null && forward) {\r\n out.collect(r);\r\n }\r\n }", "public void execute(Tuple input) {\n String line= input.getStringByField(\"Line\");\r\n //int C= input.getInteger(1);\r\n //logger.info(\"Line is read bolt \"+ line + \" and emitted at time\");\r\n // String [] data= line.split(\",\");\r\n Long count= wordcount.get(line, (long) 0);//data[8]\r\n count++;\r\n wordcount.put(line, count);//data[8]\r\n //System.out.println(data[0]+\" \"+count);\r\n collector.ack(input);\r\n }", "protected synchronized void receiveHighLevel() throws Exception{\n\t\treceivedMsg = conn.receiveALine( ); \n//\t\tprintln(\"received \" + receivedMsg);\n\t\twhile( receivedMsg == null ){ //this means that the connection works in raw mode\n\t\t\t//System.out.println(\"ConnInputReceiver waiting ... \" + conn );\n\t\t\tmemo();\n \t\t\twait();\n \t\t\t//System.out.println(\"ConnInputReceiver resuming ... \" + conn );\n\t\t\treceivedMsg = conn.receiveALine( ); \n\t\t}\t\n\t\tunmemo();\t\n\t}", "protected abstract void safeExecute(final Tuple input) throws Exception;", "@SuppressWarnings(\"unchecked\")\n\t\t@Override\n\t\tpublic T exec(Tuple input) throws IOException {\n\t\t\tObject ret = null;\n\t\t\t\n\t\t\t// Cycle through.\n\t\t\tfor (Tuple outerTuple : (DataBag) input.get(0)) {\n\t\t\t\tfor (Tuple tup : (DataBag) outerTuple.get(0)) {\n//\t\t\t\t\tSystem.err.println(\"OP cur: \" + ret + \" check: \" + tup);\n\t\t\t\t\tif (0 <= (Long) tup.get(1)) {\n\t\t\t\t\t\tif (ret == null) {\n\t\t\t\t\t\t\tret = tup.get(0);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tint cmp = DataType.compare(ret, tup.get(0));\n\t\t\t\t\t\t\tif ((runMin && cmp > 0) || (!runMin && cmp < 0)) {\n\t\t\t\t\t\t\t\tret = tup.get(0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn (T) ret;\n\t\t}", "public final void process(Void input)\n/* */ {\n/* 53 */ if (!this.processingThread.compareAndSet(null, Thread.currentThread())) {\n/* 54 */ String msg = \"Pipeline stage is already being processed by another thread\";\n/* 55 */ Thread otherThread = (Thread)this.processingThread.get();\n/* 56 */ if (otherThread != null) {\n/* 57 */ msg = msg + \" [\" + otherThread.getName() + \"]\";\n/* */ }\n/* 59 */ throw new ConcurrentModificationException(msg);\n/* */ }\n/* */ try\n/* */ {\n/* 63 */ while (!this.stop) {\n/* 64 */ I i = this.queue.take();\n/* */ try {\n/* 66 */ invokeNext(i);\n/* */ } catch (Exception e) {\n/* 68 */ onError(i, e);\n/* */ } catch (Throwable t) {\n/* 70 */ onUnrecoverableError(i, t);\n/* 71 */ throw t;\n/* */ }\n/* */ }\n/* */ } catch (InterruptedException e) {\n/* 75 */ Exceptions.rethrowAsRuntimeException(e);\n/* */ } catch (Exception e) {\n/* 77 */ Throwables.propagate(e);\n/* */ } finally {\n/* */ try {\n/* 80 */ this.stopWaitLatch.countDown();\n/* */ } finally {\n/* 82 */ this.processingThread.set(null);\n/* */ }\n/* */ }\n/* */ }", "protected abstract List<Integer> doEmit(OUT flinkTuple);", "public void readCallback(long stream, int length) {\n try {\n int peeked;\n if (this.corked) {\n peeked = 0;\n } else {\n int offset;\n if (this.buffer == null || this.buffer.length < length) {\n this.buffer = new byte[length];\n this.offset = 0;\n this.length = 0;\n offset = 0;\n } else {\n offset = this.offset + this.length;\n if (offset + length > this.buffer.length) {\n int overflow = (this.length + length) - this.buffer.length;\n if (overflow > 0) {\n if (overflow >= this.length) {\n if (DataSource.DEBUG && DataSource.logger.isDebugEnabled()) {\n DataSource.logger.debug(\"Dropping \" + this.length + \" bytes!\");\n }\n this.offset = 0;\n this.length = 0;\n offset = 0;\n } else {\n if (DataSource.DEBUG && DataSource.logger.isDebugEnabled()) {\n DataSource.logger.debug(\"Dropping \" + overflow + \" bytes!\");\n }\n this.offset += overflow;\n this.length -= overflow;\n }\n }\n if (this.length > 0) {\n int i = 0;\n while (i < this.length) {\n this.buffer[i] = this.buffer[this.offset];\n i++;\n this.offset++;\n }\n this.offset = 0;\n offset = this.length;\n }\n }\n }\n peeked = PA.stream_peek(stream, this.buffer, offset);\n }\n PA.stream_drop(stream);\n this.length += peeked;\n } finally {\n this.pulseAudioSystem.signalMainloop(DataSource.DEBUG);\n }\n }", "T nextBlock() throws IOException, NoSuchElementException;", "public boolean readNext (TSMessageConsumer processor);", "protected BiFunction<SelectionKey, Integer, Runnable> onReading() {\n return readable;\n }", "@Override // com.google.android.exoplayer2.upstream.DataReader\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public int read(byte[] r9, int r10, int r11) throws java.io.IOException {\n /*\n r8 = this;\n int r0 = r8.e\n r1 = -1\n if (r0 != 0) goto L_0x004e\n com.google.android.exoplayer2.upstream.DataSource r0 = r8.a\n byte[] r2 = r8.d\n r3 = 1\n r4 = 0\n int r0 = r0.read(r2, r4, r3)\n if (r0 != r1) goto L_0x0013\n L_0x0011:\n r3 = 0\n goto L_0x0046\n L_0x0013:\n byte[] r0 = r8.d\n byte r0 = r0[r4]\n r0 = r0 & 255(0xff, float:3.57E-43)\n int r0 = r0 << 4\n if (r0 != 0) goto L_0x001e\n goto L_0x0046\n L_0x001e:\n byte[] r2 = new byte[r0]\n r5 = r0\n r6 = 0\n L_0x0022:\n if (r5 <= 0) goto L_0x0030\n com.google.android.exoplayer2.upstream.DataSource r7 = r8.a\n int r7 = r7.read(r2, r6, r5)\n if (r7 != r1) goto L_0x002d\n goto L_0x0011\n L_0x002d:\n int r6 = r6 + r7\n int r5 = r5 - r7\n goto L_0x0022\n L_0x0030:\n if (r0 <= 0) goto L_0x003a\n int r4 = r0 + -1\n byte r5 = r2[r4]\n if (r5 != 0) goto L_0x003a\n r0 = r4\n goto L_0x0030\n L_0x003a:\n if (r0 <= 0) goto L_0x0046\n com.google.android.exoplayer2.source.IcyDataSource$Listener r4 = r8.c\n com.google.android.exoplayer2.util.ParsableByteArray r5 = new com.google.android.exoplayer2.util.ParsableByteArray\n r5.<init>(r2, r0)\n r4.onIcyMetadata(r5)\n L_0x0046:\n if (r3 == 0) goto L_0x004d\n int r0 = r8.b\n r8.e = r0\n goto L_0x004e\n L_0x004d:\n return r1\n L_0x004e:\n com.google.android.exoplayer2.upstream.DataSource r0 = r8.a\n int r2 = r8.e\n int r11 = java.lang.Math.min(r2, r11)\n int r9 = r0.read(r9, r10, r11)\n if (r9 == r1) goto L_0x0061\n int r10 = r8.e\n int r10 = r10 - r9\n r8.e = r10\n L_0x0061:\n return r9\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.exoplayer2.source.IcyDataSource.read(byte[], int, int):int\");\n }", "protected Tuple fetchNext() throws NoSuchElementException, TransactionAbortedException, DbException {\n\t\t// some code goes here\n\t\tTuple ret;\n\t\twhile (childOperator.hasNext()) {\n\t\t\tret = childOperator.next();\n\t\t\tif (pred.filter(ret))\n\t\t\t\treturn ret;\n\t\t}\n\t\treturn null;\n\t}", "public <T> T readInbound() {\n/* 291 */ T message = (T)poll(this.inboundMessages);\n/* 292 */ if (message != null) {\n/* 293 */ ReferenceCountUtil.touch(message, \"Caller of readInbound() will handle the message from this point\");\n/* */ }\n/* 295 */ return message;\n/* */ }", "@Override\n public void run() {\n super.run();\n final int READ_BUFFER_SIZE = 16384;\n byte[] buffer = new byte[READ_BUFFER_SIZE];\n int bytesRead;\n boolean stateProgress;\n\n // read loop\n while (!isInterrupted()) {\n try {\n bytesRead = inputStream.read(buffer);\n if (bytesRead == -1) {\n if (isInterrupted()) {\n Log.e(TAG,\"EOF reached, and thread is interrupted\");\n } else {\n Log.i(TAG,\"EOF reached, disconnecting!\");\n connectionLost();\n }\n return;\n }\n if (isInterrupted()) {\n Log.w(TAG,\"Read some data, but thread is interrupted\");\n return;\n }\n if(connectionSuccessful != null && connectionSuccessful == false){\n connectionSuccessful = true;\n }\n byte input;\n for(int i=0;i<bytesRead; i++){\n input=buffer[i];\n stateProgress = psm.handleByte(input);\n if(!stateProgress){//We are trying to weed through the bad packet info until we get something\n //Log.w(TAG, \"Packet State Machine did not move forward from state - \"+ psm.getState()+\". PSM being Reset.\");\n psm.reset();\n continue; //Move to the next iteration of the loop\n }\n\n if(psm.getState() == SdlPsm.FINISHED_STATE){\n synchronized (MultiplexUsbTransport.this) {\n //Log.d(TAG, \"Packet formed, sending off\");\n SdlPacket packet = psm.getFormedPacket();\n packet.setTransportRecord(getTransportRecord());\n handler.obtainMessage(SdlRouterService.MESSAGE_READ, packet).sendToTarget();\n }\n //Reset the PSM now that we have a finished packet.\n //We will continue to loop through the data to see if any other packet\n //is present.\n psm.reset();\n continue; //Move to the next iteration of the loop\n }\n }\n } catch (IOException e) {\n if (isInterrupted()) {\n Log.w(TAG,\"Can't read data, and thread is interrupted\");\n } else {\n Log.w(TAG,\"Can't read data, disconnecting!\");\n connectionLost();\n }\n return;\n } catch (Exception e){\n connectionLost();\n }\n }\n }", "protected void handleData(T tuple)\n throws DataException\n {\n \n if (tuple.isMutable())\n {\n if (sequence!=null)\n {\n if (sequenceField.getValue(tuple)==null)\n { \n String sequenceVal = Long.toString(sequence.next());\n if (debug)\n { \n log.fine\n (\"Generated sequence \"+sequenceVal\n +\" for \"+sequenceField.getURI()\n );\n }\n \n sequenceField.setValue\n ((EditableTuple) tuple\n ,sequenceField.getType().fromString(sequenceVal)\n ); \n }\n else\n { \n if (debug)\n {\n log.fine\n (\"Sequence field not null \"+sequenceField.getURI());\n }\n }\n }\n else\n { \n if (sequenceField!=null)\n { log.fine(\"Sequence is null for \"+sequenceField);\n }\n }\n\n if (defaultSetters!=null)\n {\n for (Setter<?> setter : defaultSetters)\n { \n if (setter.getTarget().get()==null)\n { setter.set();\n }\n }\n }\n\n if (fixedSetters!=null)\n {\n for (Setter<?> setter : fixedSetters)\n { setter.set();\n }\n }\n }\n else\n {\n if (debug)\n {\n log.fine\n (\"Not a mutable Tuple \"+tuple);\n }\n }\n \n if (inspector!=null)\n {\n Violation<T>[] violations=inspector.inspect(tuple);\n if (violations!=null)\n { throw new DataException(null,new RuleException(violations));\n }\n }\n \n }", "abstract protected void syncTuples() throws IOException;", "private Tuple readFromBuffer(List<TupleReaderBinary> buffers, int bufferID) {\n\t\tif (buffers.get(bufferID) == null) {\n\t\t\treturn null;\n\t\t}\n\t\tTuple temp = buffers.get(bufferID).readTuple(true);\n\n\t\tif (temp != null) {\n\t\t\ttemp.ordering = ordering;\n\t\t\treturn temp;\n\t\t} else {\n\t\t\tassignBuffer(buffers, bufferID);\n\t\t\tif (buffers.get(bufferID) == null) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\ttemp = buffers.get(bufferID).readTuple(true);\n\n\t\t\tif (temp != null) {\n\t\t\t\ttemp.ordering = ordering;\n\t\t\t\treturn temp;\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t}", "@Override\npublic Tuple get_next() throws IOException, JoinsException, IndexException, InvalidTupleSizeException,\n\t\tInvalidTypeException, PageNotReadException, TupleUtilsException, PredEvalException, SortException,\n\t\tLowMemException, UnknowAttrType, UnknownKeyTypeException, Exception {\n\treturn null;\n}", "@Override\n public int read() throws IOException {\n if (stream.available() > 0) {\n return stream.read();\n } else {\n layer.receiveMoreDataForHint(getHint());\n // either the stream is now filled, or we ran into a timeout\n // or the next stream is available\n return stream.read();\n }\n }", "protected T doRead() throws Exception {\r\n\r\n\t\tif (noInput) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\tT item = null;\r\n\r\n\t\tint success = 0;\r\n\t\ttry {\r\n\t\t\tsuccess = moveCursorToNextFragment(fragmentReader);\r\n\t\t}\r\n\t\tcatch (NonTransientResourceException e) {\r\n\t\t\t// Prevent caller from retrying indefinitely since this is fatal\r\n\t\t\tnoInput = true;\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tif (success == 1) {\r\n\t\t\tfragmentReader.markStartFragment();\r\n\t\t\ttry {\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tT mappedFragment = (T) unmarshaller.unmarshal(StaxUtils.getSource(fragmentReader));\r\n\t\t\t\titem = mappedFragment;\r\n\t\t\t}\r\n\t\t\tfinally {\r\n\t\t\t\tfragmentReader.markFragmentProcessed();\r\n\t\t\t}\r\n\t\t}else if(success == 2){\r\n\t\t\tfragmentReader.markStartFragment();\r\n\t\t\ttry {\r\n\t\t\t\tSource currentSource = StaxUtils.getSource(fragmentReader);\r\n\t\t\t\tXmlStreamEvent event = StaxDefaultUnmarshaller.sourceToParsedEvent(currentSource);\r\n\t\t\t\theaderWriter.write(event);\r\n\t\t\t}\r\n\t\t\tfinally {\r\n\t\t\t\tfragmentReader.markFragmentProcessed();\r\n\t\t\t}\r\n\t\t\treturn doRead();\r\n\t\t}\r\n\t\treturn item;\r\n\t}", "private E newBufferPoll(E[] nextBuffer, long index)\r\n/* 200: */ {\r\n/* 201:451 */ long offset = newBufferAndOffset(nextBuffer, index);\r\n/* 202:452 */ E n = UnsafeRefArrayAccess.lvElement(nextBuffer, offset);\r\n/* 203:453 */ if (n == null) {\r\n/* 204:455 */ throw new IllegalStateException(\"new buffer must have at least one element\");\r\n/* 205: */ }\r\n/* 206:457 */ UnsafeRefArrayAccess.soElement(nextBuffer, offset, null);\r\n/* 207:458 */ soConsumerIndex(index + 2L);\r\n/* 208:459 */ return n;\r\n/* 209: */ }", "strictfp void method_3002() {\n InputStream var1 = this.field_3954.field_3926.getInputStream();\n DataInputStream var2 = new DataInputStream(var1);\n\n while(this.field_3953 && !this.field_3954.field_3923 && !this.field_3954.field_3926.isClosed()) {\n int var3 = var2.readInt();\n int var4 = var2.readInt();\n if (var3 > 20000000) {\n this.field_3954.method_2995(\"readData(): new packet of type:\" + var4 + \" has size of:\" + var3);\n }\n\n if (var3 > 50000000) {\n this.field_3954.method_2995(\"Requested packet too large rejecting\");\n return;\n }\n\n if (var3 < 0) {\n this.field_3954.method_2995(\"Requested packet negative size:\" + var3 + \" rejecting\");\n return;\n }\n\n class_413 var5 = new class_413(var4);\n var5.field_3412 = new byte[var3];\n this.field_3954.field_3952 = 0;\n this.field_3954.field_3951 = var3;\n int var6 = 0;\n\n for(var5.field_3410 = this.field_3954; var6 < var3 && !this.field_3954.field_3923; this.field_3954.field_3952 = var6) {\n int var7 = var2.read(var5.field_3412, var6, var3 - var6);\n if (var7 == -1) {\n this.field_3954.method_2995(\"we got to the end of the stream?!?\");\n return;\n }\n\n var6 += var7;\n }\n\n this.field_3954.field_3951 = 0;\n this.field_3954.field_3952 = 0;\n if (!this.field_3954.field_3923) {\n if (var5.field_3411 > 100) {\n class_458.method_3001(this.field_3954).method_2902(var5);\n } else {\n class_458.method_3001(this.field_3954).field_3878.add(var5);\n }\n }\n }\n\n }", "@Override\n public void emitTuples() {\n\n Statement query = queryToRetrieveData();\n logger.debug(String.format(\"select statement: %s\", query.toString()));\n RecordSet rs;\n try {\n rs = store.getClient().query(null, query);\n while(rs.next()){\n Record rec = rs.getRecord();\n T tuple = getTuple(rec);\n outputPort.emit(tuple);\n }\n }\n catch (Exception ex) {\n store.disconnect();\n DTThrowable.rethrow(ex);\n }\n }", "public Tuple next() throws RelationException;", "private void blockingRead(InputStream istream, byte[] buf, int requestedBytes) throws\n IOException {\n int offset = 0;\n while (offset < requestedBytes) {\n int read = istream.read(buf, offset, requestedBytes - offset);\n\n if (read < 0) {\n throw new IOException(\"Connection interrupted\");\n }\n\n offset += read;\n }\n }", "@Override\n\tpublic void execute(Tuple tuple) {\n\t\tSystem.out.println(\"----------------------gps-bolt-start--------------------\");\n\n\t\t\n\t\tMyLogger.logger.debug(\"processing\");\n\t\tSample gps = (Sample)tuple.getValue(0);\n\t\tSystem.out.println(\"---------\"+gps.suid);\n\t\tput_suid((int)gps.suid);\n\t\tSystem.out.println(\"suid_list:\"+suid_list.size());\n\t\ttry {\n\t\t\tObject[] temp_suid_list;\n\t\t\tsynchronized(suid_list){\n\t\t\t\ttemp_suid_list = suid_list.toArray();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i< temp_suid_list.length; i++){\n\t\t\t\t//int suid = suid_list.get(i);\n\t\t\t\tint suid = (int) temp_suid_list[i];\n\t\t\t\tConfiguration.taxi[suid].process();\n\t\t\t\tSystem.out.println(\"suid:\"+suid);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.println(\"----------------------gps-bolt-stop--------------------\");\n\t\n\t}", "public NV readNext() throws ThingsException;", "@Override\n synchronized public void run() {\n try {\n BufferedReader bufferedReader = new BufferedReader(\n new InputStreamReader(inputStream, Charset.defaultCharset())\n );\n String line;\n while ((line = bufferedReader.readLine()) != null) {\n this.result.add(line);\n }\n } catch (IOException ex) {\n log.error(\"Failed to consume and display the input stream of type \" + streamType + \".\", ex);\n } finally {\n this.isStopped = true;\n notify();\n }\n }", "@Test\n public void testSPLPublishAllowFilterWithSubscribe() throws Exception {\n final Topology t = new Topology();\n \n SPLStream source = SPLStreamsTest.testTupleStream(t);\n \n source = addStartupDelay(source);\n \n source.publish(\"testSPLPublishAllowFilterWithSubscribe\", true);\n \n SPLStream sub = SPLStreams.subscribe(t, \"testSPLPublishAllowFilterWithSubscribe\", source.getSchema());\n \n TStream<String> subscribe = sub.transform(new GetTupleId());\n\n completeAndValidate(subscribe, 20, \"SPL:0\", \"SPL:1\", \"SPL:2\", \"SPL:3\");\n }", "public static Tuple read(DataInput in) throws IOException {\n // nuke the old contents of the tuple\n Tuple ret = new Tuple();\n ret.fields = new ArrayList<Datum>();\n\n int size = decodeInt(in);\n \n for (int i = 0; i < size; i++) {\n ret.appendField(readDatum(in));\n }\n \n return ret;\n\n }", "public void beginListenForData() {\n stopWorker = false;\n readBufferPosition = 0;\n try {\n inStream = btSocket.getInputStream();\n } catch (IOException e) {\n Log.d(TAG, \"Bug while reading inStream\", e);\n }\n Thread workerThread = new Thread(new Runnable() {\n public void run() {\n while (!Thread.currentThread().isInterrupted() && !stopWorker) {\n try {\n int bytesAvailable = inStream.available();\n if (bytesAvailable > 0) {\n byte[] packetBytes = new byte[bytesAvailable];\n inStream.read(packetBytes);\n for (int i = 0; i < bytesAvailable; i++) {\n // Log.d(TAG, \" 345 i= \" + i);\n byte b = packetBytes[i];\n if (b == delimiter) {\n byte[] encodedBytes = new byte[readBufferPosition];\n System.arraycopy(readBuffer, 0,\n encodedBytes, 0,\n encodedBytes.length);\n final String data = new String(\n encodedBytes, \"US-ASCII\");\n readBufferPosition = 0;\n handler.post(new Runnable() {\n public void run() {\n Log.d(TAG, \" M250 ingelezen data= \" + data);\n ProcesInput(data); // verwerk de input\n }\n });\n } else {\n readBuffer[readBufferPosition++] = b;\n }\n }\n } // einde bytesavalable > 0\n } catch (IOException ex) {\n stopWorker = true;\n }\n }\n }\n });\n workerThread.start();\n }", "public abstract void enableStreamFlow();", "public abstract T getTuple(Record record);", "public abstract void readDataItem(BDTuple tuple) throws RollbackException;", "public E peek()\r\n/* 145: */ {\r\n/* 146:367 */ E[] buffer = this.consumerBuffer;\r\n/* 147:368 */ long index = this.consumerIndex;\r\n/* 148:369 */ long mask = this.consumerMask;\r\n/* 149: */ \r\n/* 150:371 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(index, mask);\r\n/* 151:372 */ Object e = UnsafeRefArrayAccess.lvElement(buffer, offset);\r\n/* 152:373 */ if ((e == null) && (index != lvProducerIndex())) {\r\n/* 153: */ do\r\n/* 154: */ {\r\n/* 155:379 */ e = UnsafeRefArrayAccess.lvElement(buffer, offset);\r\n/* 156:381 */ } while (e == null);\r\n/* 157: */ }\r\n/* 158:383 */ if (e == JUMP) {\r\n/* 159:385 */ return newBufferPeek(getNextBuffer(buffer, mask), index);\r\n/* 160: */ }\r\n/* 161:387 */ return e;\r\n/* 162: */ }", "public abstract void blockNext();", "public void read(final EntityID sender, final int time, final BitArrayInputStream stream);", "@Test\n public void testSPLPublishNoFilterWithSubscribe() throws Exception {\n final Topology t = new Topology();\n \n SPLStream source = SPLStreamsTest.testTupleStream(t);\n \n source = addStartupDelay(source);\n \n source.publish(\"testSPLPublishNoFilterSFilteredSubscribe\", false);\n \n SPLStream sub = SPLStreams.subscribe(t, \"testSPLPublishNoFilterSFilteredSubscribe\", source.getSchema());\n \n TStream<String> subscribe = sub.transform(new GetTupleId());\n\n completeAndValidate(subscribe, 20, \"SPL:0\", \"SPL:1\", \"SPL:2\", \"SPL:3\");\n }", "@Override // org.reactivestreams.Subscriber\n public void onNext(T t) {\n if (this.done) {\n return;\n }\n if (this.sourceMode == 0) {\n try {\n this.actual.onNext(ObjectHelper.requireNonNull(this.a.apply(t), \"The mapper returned a null value\"));\n } catch (Throwable th) {\n fail(th);\n }\n } else {\n this.actual.onNext(null);\n }\n }", "public Iterator<DystoreTuple> iterator()\t{ return tuple_data.iterator(); }", "public abstract void onNext();", "public E relaxedPoll()\r\n/* 246: */ {\r\n/* 247:505 */ E[] buffer = this.consumerBuffer;\r\n/* 248:506 */ long index = this.consumerIndex;\r\n/* 249:507 */ long mask = this.consumerMask;\r\n/* 250: */ \r\n/* 251:509 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(index, mask);\r\n/* 252:510 */ Object e = UnsafeRefArrayAccess.lvElement(buffer, offset);\r\n/* 253:511 */ if (e == null) {\r\n/* 254:513 */ return null;\r\n/* 255: */ }\r\n/* 256:515 */ if (e == JUMP)\r\n/* 257: */ {\r\n/* 258:517 */ E[] nextBuffer = getNextBuffer(buffer, mask);\r\n/* 259:518 */ return newBufferPoll(nextBuffer, index);\r\n/* 260: */ }\r\n/* 261:520 */ UnsafeRefArrayAccess.soElement(buffer, offset, null);\r\n/* 262:521 */ soConsumerIndex(index + 2L);\r\n/* 263:522 */ return e;\r\n/* 264: */ }", "@Override\n public Tuple3<Long, Long, Double> getResult(Tuple3<Long, Double, Double> tuple) {\n return new Tuple3<>((long) random.nextInt(FlinkConfig.PARALLELISM), tuple.f0, tuple.f1 * wa + tuple.f2 * wb);\n }", "public StreamInputSplit() {\n // No-op\n }", "public void play() throws IOException\n\t{\n\t\tmState = State.Retrieving;\n\t\tmDelegateHandler.onRadioPlayerBuffering(MP3RadioStreamPlayer.this);\n\t\tdoStop = false;\n\t\tbufIndexCheck = 0;\n\t\tlastInputBufIndex = -1;\n\t\t\n\t\tmyTimerTask= new CheckProgressTimerTask();\n\t\tmyTimer = new Timer();\n\t\tmyTimer.scheduleAtFixedRate(myTimerTask, 0, 1000); //(timertask,delay,period)\n\t\t\n\t\tnew DecodeOperation().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);\n\t\t\n\t}", "@Override\n\tpublic Tuple getNextTuple() {\n\t\tif(!isSorted) {\n\t\t\ttry{\n\t\t\t\texternalSort();\n\t\t\t} catch(Exception e) {\n\t\t\t\tSystem.err.println(\"Exception occurred for sorting: \" + tempsubdir);\n\t\t\t\tSystem.err.println(e.toString());\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tisSorted = true;\n\t\t}\n\t\t\n\t\t// open a TupleReader on the temporary file, i.e. the Full Sorted File\n\t\ttry{\n\t\t\tif(TR == null) {\n\t\t\t\tTR = new TupleReader(tempsubdir + \"/sortResult\");\n\t\t\t}\n\t\t\tTuple next = TR.getNextTuple();\n\t\t\tif(next == null) {\n\t\t\t\treturn null;\n\t\t\t}\n//\t\t\tSystem.out.println(next.data);\n\t\t\treturn next;\n\t\t} catch(Exception e) {\n\t\t\tSystem.err.println(\"Exception occurred for reading in external sort result for: \" + tempsubdir);\n\t\t\tSystem.err.println(e.toString());\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "@Test\n public void testProcessTuple() throws Exception {\n TestBolt tb = spy(new TestBolt());\n\n // Test input data\n TopologyContext tc = mock(TopologyContext.class);\n OutputCollector oc = mock(OutputCollector.class);\n\n // Create a mock tuple\n Tuple tuple = mock(Tuple.class);\n when(tuple.getSourceComponent())\n .thenReturn(Constants.COORDINATED_STREAM_ID);\n when(tuple.getSourceStreamId())\n .thenReturn(\"default\");\n\n // Prepare the bolt\n tb.prepare(new HashMap<>(), tc, oc);\n tb.execute(tuple);\n\n verify(tb, times(1)).process(tuple);\n verify(oc, times(1)).ack(tuple);\n }", "private long read(int i) {\n while (true) {\n long x = data[i];\n if (!isTag(x)) return value(x);\n reset(i);\n }\n }", "public abstract void unblockNext();", "public interface SPLInput extends TopologyElement {\n SPLStream getStream();\n}", "public MixedRadioSourceEstimator(\n final List<? extends ReadingLocated<P>> readings,\n final P initialPosition,\n final MixedRadioSourceEstimatorListener<S, P> listener) {\n super(readings, listener);\n mInitialPosition = initialPosition;\n }", "@Override\n\t\t\t\t\tpublic void completed(Integer result, AsynchronousSocketChannel channel) {\n\n\t\t\t\t\t\t//AsyncSocketTransport.this.transportListeners.forEach(l -> l.onReceived(buf));\n\t\t\t\t\t\tsubscriber.onNext(new Packet(session, buf));\n\n\t\t\t\t\t\t// start to read next message again\n\t\t\t\t\t\tstartRead(channel);\n\t\t\t\t\t}", "@Override\n\t\t\t\t\tpublic void onNext(Object p1) {\n\t\t\t\t\t}", "@Override\n public void process(StreamingInput<Tuple> stream, Tuple tuple) throws Exception {\n \t\n \t// Collect fields to add to JSON output.\n\t\tStreamSchema schema = tuple.getStreamSchema();\n \tSet<String> attributeNames = schema.getAttributeNames();\n \tJSONObject jsonFields = new JSONObject();\n\t \n\tfor (String attributeName : attributeNames) {\n\t\tif (schema.getAttribute(attributeName).getType().getMetaType() == Type.MetaType.RSTRING) {\n\t\t\tjsonFields.put(attributeName, tuple.getObject(attributeName).toString());\n\t\t} else {\n\t\t\tjsonFields.put(attributeName, tuple.getObject(attributeName));\n\t\t}\n\t}\n \n \t// Add timestamp, if specified, for time-based queries.\n \tif (timestampName != null) {\n \t\tDateFormat df = new SimpleDateFormat(\"yyyy'-'MM'-'dd'T'HH':'mm':'ss.SSSZZ\");\n \t\t\n \t\tif (attributeNames.contains(timestampName) && schema.getAttribute(timestampName).getType().getMetaType() == Type.MetaType.RSTRING\n \t\t\t&& !tuple.getString(timestampName).equals(\"\")) {\n \t\t\tString timestampToInsert = tuple.getString(timestampName);\n \t\t\tjsonFields.put(timestampName, df.format(timestampToInsert));\n \t\t} else {\n \t\t\tjsonFields.put(timestampName, df.format(new Date(System.currentTimeMillis())));\n \t\t}\n \t}\n \t\n \t// Get index name/type/id specified inside tuple (default: from params).\n \tString indexToInsert = index;\n \tString typeToInsert = type;\n \tString idToInsert = null;\n \t\n \tif (attributeNames.contains(index) && schema.getAttribute(index).getType().getMetaType() == Type.MetaType.RSTRING\n \t\t\t&& !tuple.getString(index).equals(\"\")) {\n \t\tindexToInsert = tuple.getString(index);\n \t}\n \t\n \tif (attributeNames.contains(type) && schema.getAttribute(type).getType().getMetaType() == Type.MetaType.RSTRING\n \t\t\t&& !tuple.getString(type).equals(\"\")) {\n \t\ttypeToInsert = tuple.getString(type);\n \t}\n\n \tif (id != null && attributeNames.contains(id) && schema.getAttribute(id).getType().getMetaType() == Type.MetaType.RSTRING\n \t\t\t&& !tuple.getString(id).equals(\"\")) {\n \t\tidToInsert = tuple.getString(id);\n \t}\n \t\n \tif (connectedToElasticsearch(indexToInsert, typeToInsert)) {\n \t\n \t\t// Add jsonFields to bulkBuilder.\n \tString source = jsonFields.toString();\n \t\n \tif (idToInsert != null) {\n \t\tbulkBuilder.addAction(new Index.Builder(source).index(indexToInsert).type(typeToInsert).id(idToInsert).build());\n \t} else {\n \t\tbulkBuilder.addAction(new Index.Builder(source).index(indexToInsert).type(typeToInsert).build());\n \t}\n \t\n \tcurrentBulkSize++;\n \t\n \t// If bulk size met, output jsonFields to Elasticsearch.\n \tif(currentBulkSize >= bulkSize) {\n\t \tBulk bulk = bulkBuilder.build();\n\t \tBulkResult result;\n\t \t\n\t \ttry {\n\t\t \tresult = client.execute(bulk);\n\t \t} catch (NoHttpResponseException e) {\n\t \t\t_trace.error(e);\n\t \t\treturn;\n\t \t}\n\t \t\n \t\t\tif (result.isSucceeded()) {\n \t\t\t\tlong currentNumInserts = numInserts.getValue();\n \t\t\t\tnumInserts.setValue(currentNumInserts + bulkSize);\n \t\t\t\tcurrentBulkSize = 0;\n \t\t\t} else {\n \t\t\t\tfor (BulkResultItem item : result.getItems()) {\n \t\t\t\t\tif (item.error != null) {\n \t\t\t\t\t\tnumInserts.increment();\n \t\t\t\t\t} else {\n \t\t\t\t\t\ttotalFailedRequests.increment();\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t\t\n \t\t\t// Clear bulkBuilder. Gets recreated in connectedToElasticsearch().\n \t\t\tbulkBuilder = null;\n \t\t\t\n \t\t\t// Get size metrics for current type.\n \t\t\tif (sizeMetricsEnabled && mapperSizeInstalled) {\n\t \t\t\tString query = \"{\\n\" +\n\t \t \" \\\"query\\\" : {\\n\" +\n\t \t \" \\\"match_all\\\" : {}\\n\" +\n\t \t \" },\\n\" +\n\t \t \" \\\"aggs\\\" : {\\n\" +\n\t \t \" \\\"size_metrics\\\" : {\\n\" +\n\t \t \" \\\"extended_stats\\\" : {\\n\" +\n\t \t \" \\\"field\\\" : \\\"_size\\\"\\n\" +\n\t \t \" }\\n\" +\n\t \t \" }\\n\" +\n\t \t \" }\\n\" +\n\t \t \"}\";\n\t \t\t\t\n\t \t Search search = new Search.Builder(query)\n\t \t .addIndex(indexToInsert)\n\t \t .addType(typeToInsert)\n\t \t .build();\n\t \t \n\t \t SearchResult searchResult = client.execute(search);\n\t \t \n\t \t if (searchResult.isSucceeded()) {\n\t\t \t ExtendedStatsAggregation sizeMetrics = searchResult.getAggregations().getExtendedStatsAggregation(\"size_metrics\");\n\t\t \t\t\t\n\t\t \t if (sizeMetrics != null) {\n\t\t \t \tif (sizeMetrics.getAvg() != null) {\n\t\t\t\t \t\t\tavgInsertSizeBytes.setValue(sizeMetrics.getAvg().longValue());\n\t\t \t \t}\n\t\t \t \tif (sizeMetrics.getMax() != null) {\n\t\t \t \t\tmaxInsertSizeBytes.setValue(sizeMetrics.getMax().longValue());\n\t\t \t \t}\n\t\t \t \tif (sizeMetrics.getMin() != null) {\n\t\t \t \t\tminInsertSizeBytes.setValue(sizeMetrics.getMin().longValue());\n\t\t \t \t}\n\t\t \t \tif (sizeMetrics.getSum() != null) {\n\t\t \t \t\tsumInsertSizeBytes.setValue(sizeMetrics.getSum().longValue());\n\t\t \t \t}\n\t\t \t }\n\t \t }\n \t\t\t}\n \t\t}\n \t}\n }", "protected Tuple readNext()\n throws TransactionAbortedException, DbException {\n if(readNextCalled)\n return null;\n readNextCalled = true;\n\n BufferPool bp = Database.getBufferPool();\n int insertCount = 0;\n while(child.hasNext()) {\n bp.insertTuple(tid, tableid, child.next());\n insertCount++;\n }\n\n Tuple retTuple = new Tuple(td);\n retTuple.setField(0, new IntField(insertCount));\n return retTuple;\n }", "@Override\n @SuppressWarnings(\"SuspiciousSystemArraycopy\")\n public void run() {\n //while (!isInterrupted()) {\n try {\n\n //String message=\"\";\n byte[] data = new byte[1024];\n int datalen = -1;\n messageStream = new byte[]{};\n while (isRunning) {\n if ((datalen = mIn.read(data)) != -1) {\n try {\n\n byte[] truedata = new byte[datalen];\n System.arraycopy(data, 0, truedata, 0, datalen);\n if ((datalen == 4) && new String(truedata).equals(\"0000\")) {\n CommonLib.PrintScreen(systemGlobal, \"SOCK - \" + identifyState + \" received IDLE: 0000\",showLogEnum.DETAILMODE);\n } else {\n messageStream = CommonLib.concatByteArray(messageStream, truedata);\n CommonLib.PrintScreen(systemGlobal, String.format(\"SOCKET.%s REV: %s \\n\\rBUFF 1(%d): %s\", identifyState, CommonLib.getHumanFormatFromByte(truedata), messageStream.length, CommonLib.getHumanFormatFromByte(messageStream)),showLogEnum.SIMPLEMODE);\n byte[] msg = new byte[]{};\n\n HeaderProcessing headerMsg = msgheaderInfo.clone();\n if (headerMsg.initHeaderFromBytes(messageStream)) {\n\n msg = headerMsg.getMessageFromBuffer(messageStream);\n while (msg.length > 0) {\n boolean needParsing = false;\n if (headerMsg.getHeaderPart(9) != null) {\n if (headerMsg.getHeaderPart(9).getValue().toString().equals(\"00000\")) {\n needParsing = true;\n }\n } else {\n needParsing = true;\n }\n if (needParsing) {\n IsoMessage isoMsg = new IsoMessage(msg, getInstituttionCode(), headerMsg, isoCfg, instData.getLineMode());\n if (isoMsg.isMessage()) {\n isoMsg.setSeqID(CommonLib.getNextSequence());\n isoMsg.setMsgType(CommonLib.getMsgType(isoMsg.getField(0)));\n incommingqueue.add(isoMsg);\n CommonLib.PrintScreen(systemGlobal, identifyState + \" parsed: \" + isoMsg.printedMessage(), showLogEnum.DEFAULT);\n\n //Added by DUNGBTK 08.11.2010\n messageStream = CommonLib.copyByteArrayFromArray(messageStream, msg.length, messageStream.length - msg.length);\n CommonLib.PrintScreen(systemGlobal, String.format(\"SOCKET.%s BUFF 2(%d): %s\", identifyState, messageStream.length, CommonLib.getHumanFormatFromByte(messageStream)), showLogEnum.SIMPLEMODE);\n //msg = CommonLib.getMsgFromBuffer(messageStream, msgheaderInfo);\n headerMsg = msgheaderInfo.clone();\n headerMsg.initHeaderFromBytes(messageStream);\n msg = headerMsg.getMessageFromBuffer(messageStream);\n } else {\n CommonLib.PrintScreen(systemGlobal, \"ERR SOCK - \" + identifyState + \" parsing (close connection): \" + CommonLib.asHex(msg), showLogEnum.SIMPLEMODE);\n isRunning = false;\n mServerDispatcher.deleteClient(mClientInfo);\n break;\n }\n } else {\n CommonLib.PrintScreen(systemGlobal, \"DROP BY HEADER - \" + identifyState + CommonLib.asHex(msg), showLogEnum.DETAILMODE);\n messageStream = CommonLib.copyByteArrayFromArray(messageStream, msg.length, messageStream.length - msg.length);\n CommonLib.PrintScreen(systemGlobal, String.format(\"SOCKET.%s BUFF 2(%d): %s\", identifyState, messageStream.length, CommonLib.getHumanFormatFromByte(messageStream)), showLogEnum.DETAILMODE);\n\n headerMsg = msgheaderInfo.clone();\n headerMsg.initHeaderFromBytes(messageStream);\n msg = headerMsg.getMessageFromBuffer(messageStream);\n }\n\n }\n if (messageStream.length > 0) {\n CommonLib.PrintScreen(systemGlobal, String.format(\"SOCKET.%s BUFF 3(%d): %s\", identifyState, messageStream.length, CommonLib.getHumanFormatFromByte(messageStream)),showLogEnum.DETAILMODE);\n }\n }\n }\n\n } catch (Exception e) {\n messageStream = new byte[]{};\n CommonLib.PrintScreen(systemGlobal, \"ERR SOCK \" + identifyState + \" data error (close connection): \" + e.getMessage(),showLogEnum.DETAILMODE);\n\n isRunning = false;\n mServerDispatcher.deleteClient(mClientInfo);\n break;\n }\n } else {\n CommonLib.PrintScreen(systemGlobal, \"ERR SOCK \" + identifyState + \" is interrupted..\",showLogEnum.DETAILMODE);\n isRunning = false;\n mServerDispatcher.deleteClient(mClientInfo);\n break;\n }\n }\n //--Thread.sleep(GlobalObject.SystemParas.getIntValue(\"VNBC_SOCK_RUNNING_INTEVAL\"));\n\n } catch (Exception ex) {\n isRunning = false;\n CommonLib.PrintScreen(systemGlobal, \"ERR SOCK \" + identifyState + \": Connection error\",showLogEnum.DETAILMODE);\n }\n //Communication is broken. Interrupt both listener and sender threads\n\n }", "@Override\n\t\tpublic Tuple next() throws DbException, TransactionAbortedException,\n\t\t\t\tNoSuchElementException {\n\t\t\tif(tplItr.hasNext())\n\t\t\t\treturn tplItr.next();\n\t\t\tthrow new NoSuchElementException();\n\t\t}", "@Override synchronized public EventPacket extractPacket(AEPacketRaw in) {\r\n out=super.extractPacket(in);\r\n \r\n int n=in.getNumEvents();\r\n if(n==0) return out;\r\n for(Object obj:out){\r\n PolarityEvent e=(PolarityEvent)obj;\r\n e.polarity=e.type==0? PolarityEvent.Polarity.Off:PolarityEvent.Polarity.On;\r\n }\r\n return out;\r\n }", "public static IRubyObject foreachInternal(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) {\n Ruby runtime = context.getRuntime();\n IRubyObject filename = args[0].convertToString();\n runtime.checkSafeString(filename);\n \n RubyIO io = (RubyIO)RubyFile.open(context, runtime.getFile(), new IRubyObject[] { filename }, Block.NULL_BLOCK);\n \n ByteListCache cache = new ByteListCache();\n if (!io.isNil()) {\n try {\n ByteList separator = io.getSeparatorFromArgs(runtime, args, 1);\n IRubyObject str = io.getline(runtime, separator, cache);\n while (!str.isNil()) {\n block.yield(context, str);\n str = io.getline(runtime, separator, cache);\n if (runtime.is1_9()) {\n separator = io.getSeparatorFromArgs(runtime, args, 1);\n }\n }\n } finally {\n io.close();\n }\n }\n \n return runtime.getNil();\n }", "List<SourceRecord> poll();", "void bytesRecvFlowControl(long recv)\r\n/* 167: */ {\r\n/* 168:333 */ this.currentReadBytes.addAndGet(recv);\r\n/* 169:334 */ this.cumulativeReadBytes.addAndGet(recv);\r\n/* 170: */ }", "@Override\r\n\tpublic void read(IByteBuffer source, long offset) {\n\r\n\t}", "@Override\n public void run () {\n try {\n int i = 0;\n String tupleString = this.inReadEnds[i].getNextString();\n while (tupleString != null && i < this.inReadEnds.length - 1){\n BMap tempStore = BMap.makeBMap(tupleString);\n mapStore = BMap.or(mapStore, tempStore);\n i++;\n tupleString = this.inReadEnds[i].getNextString();\n }\n \n BMap tempStore = BMap.makeBMap(tupleString);\n this.mapStore = BMap.or(mapStore, tempStore);\n \n this.outWriteEnd.putNextString(mapStore.getBloomFilter());\n this.outWriteEnd.close();\n } \n catch (Exception e) {\n ReportError.msg(this.getClass().getName() + \" \" + e);\n }\n }", "public void run()\n{\n try {\n InputStreamReader in = new InputStreamReader(input_stream);\n int c;\n if(is_synchronized){\n\t while ((c = in.read()) != -1) {\n\t synchronized(lock){\n\t contents.append((char) c);\n\t }\n\t }\n }\n else{\n\t while ((c = in.read()) != -1) {\n\t contents.append((char) c);\n\t }\n }\n }\n catch (Exception e) {\n //that's ok\n }\n}", "public void run() {\n\t\tGenRandomString generator = new GenRandomString();\n\t\tStringToInt converter = new StringToInt();\n\t\t\n\t\tint rawData;\n\t\t\n\t\twhile(true) {\n\t\t\t\n\t\t\trawData = converter.convert(generator.generate());\n\t\t\t\n\t\t\t//synchronization to make sure that queue is filled up in the correct order.\n\t\t\tsynchronized(GlobalInfo.enqueueLock){\n\t\t\t\tSystem.out.format(\"%d got the lock.\\n\",deviceNumber);\n\t\t\t\tGlobalInfo.inputs[deviceNumber] = rawData;\n\t\t\t\tGlobalInfo.pipeLine.add(GlobalInfo.inputs);\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\ttry {\n\t\t\t\tThread.sleep(10000);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "default Tuple2<Optional<U>, EagerFutureStream<U>> splitAtHeadFutureStream() {\n\t\tTuple2 split = splitAtHead();\n\t\treturn split;\n\t}", "public void drain() {\r\n if (getAndIncrement() == 0) {\r\n SimpleQueue<T> simpleQueue = this.queue;\r\n int i = this.consumed;\r\n int i2 = this.bufferSize;\r\n int i3 = i2 - (i2 >> 2);\r\n boolean z = this.sourceMode != 1;\r\n int i4 = 1;\r\n int i5 = i;\r\n SimpleQueue<T> simpleQueue2 = simpleQueue;\r\n int i6 = i5;\r\n while (true) {\r\n if (simpleQueue2 != null) {\r\n long j = LongCompanionObject.MAX_VALUE;\r\n InnerSubscription[] innerSubscriptionArr = (InnerSubscription[]) this.subscribers.get();\r\n boolean z2 = false;\r\n for (InnerSubscription innerSubscription : innerSubscriptionArr) {\r\n long j2 = innerSubscription.get();\r\n if (j2 != Long.MIN_VALUE) {\r\n j = Math.min(j2 - innerSubscription.emitted, j);\r\n z2 = true;\r\n }\r\n }\r\n long j3 = 0;\r\n if (!z2) {\r\n j = 0;\r\n }\r\n while (true) {\r\n if (j == j3) {\r\n break;\r\n }\r\n boolean z3 = this.done;\r\n try {\r\n Object poll = simpleQueue2.poll();\r\n boolean z4 = poll == null;\r\n if (!checkTerminated(z3, z4)) {\r\n if (z4) {\r\n break;\r\n }\r\n int length = innerSubscriptionArr.length;\r\n for (int i7 = 0; i7 < length; i7++) {\r\n InnerSubscription innerSubscription2 = innerSubscriptionArr[i7];\r\n if (!innerSubscription2.isCancelled()) {\r\n innerSubscription2.downstream.onNext(poll);\r\n innerSubscription2.emitted++;\r\n }\r\n }\r\n if (z) {\r\n i6++;\r\n if (i6 == i3) {\r\n ((Subscription) this.upstream.get()).request((long) i3);\r\n i6 = 0;\r\n }\r\n }\r\n j--;\r\n if (innerSubscriptionArr != this.subscribers.get()) {\r\n break;\r\n }\r\n j3 = 0;\r\n } else {\r\n return;\r\n }\r\n } catch (Throwable th) {\r\n Throwable th2 = th;\r\n Exceptions.throwIfFatal(th2);\r\n ((Subscription) this.upstream.get()).cancel();\r\n simpleQueue2.clear();\r\n this.done = true;\r\n signalError(th2);\r\n return;\r\n }\r\n }\r\n if (checkTerminated(this.done, simpleQueue2.isEmpty())) {\r\n return;\r\n }\r\n }\r\n this.consumed = i6;\r\n i4 = addAndGet(-i4);\r\n if (i4 != 0) {\r\n if (simpleQueue2 == null) {\r\n simpleQueue2 = this.queue;\r\n }\r\n } else {\r\n return;\r\n }\r\n }\r\n }\r\n }", "public int processBlock(byte[] in, int inOff, byte[] out, int outOff) throws IllegalStateException;", "default int readBlocking(byte[] buffer) {\n return readBlocking(buffer, 0, buffer.length);\n }", "protected int populateBuffer()\n {\n interlock.beginReading();\n // System.out.println(\"populateBuffer: 2\");\n return byteBuffer.limit();\n }", "public void putNext(Tuple tuple) throws IOException {\n\t\tint sqlPos = 1;\n\t\ttry {\n\t\t\tint size = tuple.size();\n\t\t\tfor (int i = 0; i < size; i++) {\n\t\t\t\ttry {\n\t\t\t\t\tObject field = tuple.get(i);\n\t\t\t\t\tif(field != null){\n\t\t\t\t\t\tif(\"\\\\N\".equalsIgnoreCase(field.toString())){\n\t\t\t\t\t\t\tfield = null;\n\t\t\t\t\t\t}\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\n\t\t\t\t\tswitch (DataType.findType(field)) {\n\t\t\t\t\tcase DataType.NULL:\n\t\t\t\t\t\tps.setNull(sqlPos, java.sql.Types.VARCHAR);\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase DataType.BOOLEAN:\n\t\t\t\t\t\tps.setBoolean(sqlPos, (Boolean) field);\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase DataType.INTEGER:\n\t\t\t\t\t\tps.setInt(sqlPos, (Integer) field);\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase DataType.LONG:\n\t\t\t\t\t\tps.setLong(sqlPos, (Long) field);\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase DataType.FLOAT:\n\t\t\t\t\t\tps.setFloat(sqlPos, (Float) field);\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase DataType.DOUBLE:\n\t\t\t\t\t\tps.setDouble(sqlPos, (Double) field);\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase DataType.DATETIME:\n\t\t\t\t\t\tps.setTimestamp(sqlPos, new Timestamp(((DateTime) field).getMillis()));\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase DataType.BYTEARRAY:\n\t\t\t\t\t\tbyte[] b = ((DataByteArray) field).get();\n\t\t\t\t\t\tps.setBytes(sqlPos, b);\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase DataType.CHARARRAY:\n\t\t\t\t\t\tps.setString(sqlPos, (String) field);\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase DataType.BYTE:\n\t\t\t\t\t\tps.setByte(sqlPos, (Byte) field);\n\t\t\t\t\t\tsqlPos++;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase DataType.MAP:\n\t\t\t\t\tcase DataType.TUPLE:\n\t\t\t\t\tcase DataType.BAG:\n\t\t\t\t\t\tthrow new RuntimeException(\"Cannot store a non-flat tuple \"\n\t\t\t\t\t\t\t\t+ \"using DbStorage\");\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tthrow new RuntimeException(\"Unknown datatype \"\n\t\t\t\t\t\t\t\t+ DataType.findType(field));\n\n\t\t\t\t\t}\n\n\t\t\t\t} catch (ExecException ee) {\n\t\t\t\t\tthrow new RuntimeException(ee);\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tps.addBatch();\n\t\t\tcount++;\n\t\t\tif (count > batchSize) {\n\t\t\t\tcount = 0;\n\t\t\t\tps.executeBatch();\n\t\t\t\tps.clearBatch();\n\t\t\t\tps.clearParameters();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\ttry {\n\t\t\t\tlog\n\t\t\t\t.error(\"Unable to insert record:\" + tuple.toDelimitedString(\"\\t\"),\n\t\t\t\t\t\te);\n\t\t\t} catch (ExecException ee) {\n\t\t\t\t// do nothing\n\t\t\t}\n\t\t\tif (e.getErrorCode() == 1366) {\n\t\t\t\t// errors that come due to utf-8 character encoding\n\t\t\t\t// ignore these kind of errors TODO: Temporary fix - need to find a\n\t\t\t\t// better way of handling them in the argument statement itself\n\t\t\t} else {\n\t\t\t\tthrow new RuntimeException(\"JDBC error\", e);\n\t\t\t}\n\t\t}\n\t}" ]
[ "0.58862126", "0.54370713", "0.5398741", "0.53637075", "0.5337538", "0.5250834", "0.51789045", "0.51751995", "0.51275057", "0.50590163", "0.50197715", "0.49804032", "0.49772727", "0.49489948", "0.4930272", "0.48988062", "0.48804915", "0.4879152", "0.48458487", "0.48133403", "0.48065093", "0.46729442", "0.46426502", "0.46423736", "0.46408242", "0.46334723", "0.46221557", "0.4621597", "0.461495", "0.45917478", "0.4580272", "0.45720577", "0.45681828", "0.4567075", "0.45642924", "0.45611006", "0.45602396", "0.4539663", "0.4536728", "0.45350754", "0.4532179", "0.45319235", "0.45247024", "0.45234358", "0.45233122", "0.45189765", "0.45080444", "0.4504485", "0.44970137", "0.44946823", "0.44777608", "0.44716907", "0.44715768", "0.44639567", "0.44594997", "0.4451203", "0.44356957", "0.44308668", "0.44164997", "0.44148916", "0.44107562", "0.4406833", "0.44049445", "0.4404304", "0.43955353", "0.43904048", "0.4384075", "0.43740186", "0.43712956", "0.43615428", "0.43568772", "0.4354145", "0.43483078", "0.43435678", "0.433789", "0.4331943", "0.4329943", "0.43217444", "0.4319032", "0.43155357", "0.43151972", "0.43129882", "0.43038866", "0.42972082", "0.42839408", "0.4279446", "0.42727348", "0.42717806", "0.4263177", "0.4262612", "0.42604285", "0.42560902", "0.42424098", "0.42371228", "0.42344645", "0.42276487", "0.42275745", "0.42154232", "0.42138338", "0.42054307" ]
0.5465796
1
This function generates a punctuation based on the timer value using the template generated by setupDataTemplate
private Punctuation createPunctuation( Tuple inputTuple, long value) { //This input came from the timer. Generate punctuation // based on the timer value, where the time value is // (,last), indicating that all values from the beginning // to `last' have been seen. Note this assumes the // attribute is strictly non-decreasing. Element eChild; Text tPattern; short nodeType; //Create a new punctuation element Punctuation spe = new Punctuation(false); for (int iAttr=0; iAttr<tupleDataSample.size(); iAttr++) { //Node ndSample = tupleDataSample.getAttribute(iAttr); Object ndSample = tupleDataSample.getAttribute(iAttr); if (ndSample instanceof BaseAttr) { spe.appendAttribute(((BaseAttr)ndSample).copy()); } else if (ndSample instanceof Node) { nodeType = ((Node)ndSample).getNodeType(); if (nodeType == Node.ATTRIBUTE_NODE) { Attr attr = doc.createAttribute(((Node)ndSample).getNodeName()); attr.appendChild(doc.createTextNode("*")); spe.appendAttribute(attr); } else { String stName = ((Node)ndSample).getNodeName(); if (stName.compareTo("#document") == 0) stName = new String("document"); Element ePunct = doc.createElement(stName); ePunct.appendChild(doc.createTextNode("*")); spe.appendAttribute(ePunct); } } } //tPattern = doc.createTextNode("(," +Long.toString(value) + ")"); //hack /*tPattern = doc.createTextNode(Long.toString(value)); eChild = doc.createElement("wid_from_"+widName); eChild.appendChild(tPattern); spe.appendAttribute(eChild); tPattern = doc.createTextNode("*"); eChild = doc.createElement("wid_to_"+widName); eChild.appendChild(tPattern); spe.appendAttribute(eChild);*/ spe.appendAttribute(new StringAttr(value)); spe.appendAttribute(new StringAttr("*")); return spe; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String generaTemp(){\n return \"t$\"+temp++;\n }", "public static String generaTemp(){\n return \"t$\"+temp++;\n }", "public static String generaTemp(){\n return \"t$\"+temp++;\n }", "public static String generaTemp(){\n return \"t$\"+temp++;\n }", "private String creatNewText() {\n\t\tRandom rnd = new Random();\n\t\treturn \"Some NEW teXt U9\" + Integer.toString(rnd.nextInt(999999));\n\t}", "@Override\r\n public String speak() {\r\n String word = \"\";\r\n Time.getInstance().time += 1;\r\n if (Time.getInstance().time == 1) {\r\n word = \"One day Neznaika decided to become an artist.\";\r\n }\r\n if (Time.getInstance().time == 101) {\r\n word = \"This story happened once day with Neznaika.\";\r\n }\r\n if (Time.getInstance().time == 201) {\r\n word = \"One day Neznaika wanted to become a musician.\";\r\n }\r\n if (Time.getInstance().time == 401) {\r\n word = \"One day Neznaika wanted to become a poet.\";\r\n }\r\n System.out.println(word);\r\n return word;\r\n }", "private String punctuationHandler(String parsedText) {\n\n final String REGEX1 =\n \"( *)([\\\".,\\\\/#!$%\\\\?\\\\^&\\\\*;:{}=_`\\'~()\\\\[\\\\]])( *)([\\\".,\\\\/#!$%\\\\?\\\\^&\\\\*;:{}=_`\\'~()\\\\[\\\\]])*(\\\\D)\";\n final String REGEX2 =\n \"(\\\\D)( *)([\\\".,\\\\/#!$%\\\\?\\\\^&\\\\*;:{}=_`~()\\\\[\\\\]])( *)([\\\".,\\\\/#!$%\\\\?\\\\^&\\\\*;:{}=\\\\-_`~()\\\\[\\\\]])*\";\n\n return parsedText.replaceAll(REGEX1, \" $5\")\n .replaceAll(REGEX2, \"$1 \");\n }", "private void generate()\n {\n for (int i = 0; i < this.syllables; i++) {\n Word word = getNextWord();\n this.text += word.getWord();\n if (i < this.syllables - 1) {\n this.text += \" \";\n }\n }\n }", "@Action\n public void addWrappedText() {\n if (Math.random() < .33) {\n addWrappedTextEndChar();\n } else if (Math.random() < .5) {\n addWrappedTextRandom();\n } else {\n addWrappedTextSmall();\n }\n }", "java.lang.String getPunctuationToAppend();", "public String randomTextGenerator() {\n\n\t\tprefixArr = currPrefix.split(\"\\\\s\");\n\t\tHashMap<Integer, String> probSuffix = new HashMap<>();\n\t\tPrefix prefix = new Prefix(prefixArr.length, data, debug);\n\t\tLinkedList<String> text = new LinkedList<>();\n\t\tfor (int j = 0; j < prefixArr.length; j++) {\n\t\t\ttext.add(prefixArr[j]);\n\t\t}\n\t\tint count = 0;\n\t\tString word1 = \"\";\n\t\twhile (count < numWords) {\n\t\t\tint i = 0;\n\t\t\tint j = 0;\n\t\t\tint keyCount = 0;\n\t\t\tprobSuffix.clear();\n\t\t\twhile (keyCount < data.size()) {\n\t\t\t\tword1 = data.get(keyCount);\n\t\t\t\tif (word1.equals(prefixArr[i])) {\n\t\t\t\t\ti++;\n\t\t\t\t\tkeyCount++;\n\t\t\t\t\tif (i == prefixArr.length) {\n\t\t\t\t\t\tif (keyCount < data.size()) {\n\t\t\t\t\t\t\tprobSuffix.put(j, data.get(keyCount));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tj++;\n\t\t\t\t\t\ti = 0;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\ti = 0;\n\t\t\t\t\tkeyCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcount=getResult(probSuffix, prefix, text,count);\n\t\t\t\n\t\t}\n\t\treturn result;\n\t}", "@FXML\n void createParagraph(ActionEvent event) {\n paragraph.clear();\n\n\n String userNameString = userName.getText();\n String basedString = based.getText();\n String experienceGainedString = experienceGained.getText();\n String yearsExperienceString = yearsExperience.getText();\n String skillsString = skills.getText();\n String fuelsWorkString = fuelsWork.getText();\n\n\n String paragraphString = \"My name is {0}. I am a self-employed graphic designer working from {1}. \" +\n \"With diverse experience in {2} along with {3} years as a Graphic Designer, I have the creativity and \" +\n \"{4} skills to provide you with a unique design solution whatever your business. My work \" +\n \"is driven by concepts, guided by passion and fuelled by {5}. I take great pleasure in \" +\n \"watching my clients develop and discover the new opportunities that await them. I create artwork to help you \"+\n \"effectively communicate with your audience. My job is to get you seen, and more importantly… remembered!\";\n\n String formattedParagraph = MessageFormat.format(paragraphString, userNameString, basedString, experienceGainedString,\n yearsExperienceString, skillsString, fuelsWorkString);\n\n\n paragraph.setText(formattedParagraph);\n\n }", "@Test\n public void testSetLabelTextTimeCurrent() {\n System.out.println(\"setLabelTextTimeCurrent\");\n \n String text = \"00:01\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"00:02\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"00:03\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"00:04\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"00:05\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"00:04\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"00:03\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"00:02\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"00:01\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"00:00\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n text = \"GOOOAL!!!\";\n jpPreviewPlayer.setLabelTextTimeCurrent(text);\n TimeUtil.skipToMyLou(1);\n \n }", "StringTemplate createStringTemplate();", "public String generateString() {\n List<Trip<String, String, String>> sequence = super.generateSequence(startTrip, endTrip);\n sequence = sequence.subList(1, sequence.size()-1);\n String generated = \"\";\n for (int i = 0; i<sequence.size()-2; i++) generated += sequence.get(i).getThird() + \" \";\n return generated.substring(0, generated.length()-1);\n }", "public PrintText(String c, int t) {\n ToPrint = c;\n times = t;\n }", "public abstract SpannableString getText(long presentationTimeUs);", "@Override\n \t\t\tpublic String apply(Element timeElement) {\n \t\t\t\treturn GoogleShowtimeService.this.removeSpecialChars(timeElement.text());\n \n \t\t\t}", "private String getTextWithoutDecTemplate(String text){\n\t\tif(text.contains(\"${\")){\n\t\t\tif(text.indexOf(\"}$\") < text.length() - 2)\n\t\t\t\ttext = text.substring(0,text.indexOf(\"${\")) + text.substring(text.indexOf(\"}$\") + 2);\n\t\t\telse\n\t\t\t\ttext = text.substring(0,text.indexOf(\"${\"));\n\t\t}\n\t\treturn text;\n\t}", "@Override\n protected String execute(long currentTime) {\n String record = String.format(TEMPLATE, currentTime);\n return record;\n }", "private static String createDueTime(final int seconds) {\n return String.format(\n Locale.getDefault(), \"_$%010d$_\",\n System.currentTimeMillis() / 1000 + seconds\n );\n }", "private String gettxt(String num) {\n\t\tString str=\"Full Time\";\n\t\tif(num.equals(\"1\"))\n\t\t\tstr = \"Volunteer\";\n\t\telse if(num.equals(\"2\")){\n\t\t\tstr =\"Part Time\";\n\t\t}\n\t\telse if(num.equals(\"4\")){\n\t\t\tstr =\"Internship\";\n\t\t}\n\t\telse if(num.equals(\"5\")){\n\t\t\tstr =\"Freelancer\";\n\t\t}\n\t\t\n\t\treturn str;\n\t}", "public String generateSentence() {\n // If our map is empty return the empty string\n if (model.size() == 0) {\n return \"\";\n }\n\n ArrayList<String> startWords = model.get(\"_begin\");\n ArrayList<String> endWords = model.get(\"_end\");\n\n // Retrieve a starting word to begin our sentence\n int rand = ThreadLocalRandom.current().nextInt(0, startWords.size());\n\n String currentWord = startWords.get(rand);\n StringBuilder sb = new StringBuilder();\n\n while (!endWords.contains(currentWord)) {\n sb.append(currentWord + \" \");\n ArrayList<String> nextStates = model.get(currentWord);\n\n if (nextStates == null) return sb.toString().trim() + \".\\n\";\n\n rand = ThreadLocalRandom.current().nextInt(0, nextStates.size());\n currentWord = nextStates.get(rand);\n }\n\n sb.append(currentWord);\n\n return sb.toString() + \"\\n\";\n\n\n }", "public static String punctuateSequence(List<String> elements, String insertion)\r\n/* 53: */ {\r\n/* 54: 51 */ String result = \"\";\r\n/* 55: 52 */ int size = elements.size();\r\n/* 56: 53 */ if (size == 1) {\r\n/* 57: 54 */ result = result + (String)elements.get(0);\r\n/* 58: */ } else {\r\n/* 59: 57 */ for (int i = 0; i < size; i++)\r\n/* 60: */ {\r\n/* 61: 58 */ result = result + (String)elements.get(i);\r\n/* 62: 59 */ if (i != size - 1) {\r\n/* 63: 61 */ if (i == size - 2)\r\n/* 64: */ {\r\n/* 65: 62 */ if (size == 2) {\r\n/* 66: 63 */ result = result + \" \" + insertion + \" \";\r\n/* 67: */ } else {\r\n/* 68: 66 */ result = result + \", \" + insertion + \" \";\r\n/* 69: */ }\r\n/* 70: */ }\r\n/* 71: */ else {\r\n/* 72: 70 */ result = result + \", \";\r\n/* 73: */ }\r\n/* 74: */ }\r\n/* 75: */ }\r\n/* 76: */ }\r\n/* 77: 74 */ return result;\r\n/* 78: */ }", "@Override\n public int playTTSText(String speech, int bPreempt) {\n Log.e(\"test_TTS\", \"playTTSText\" + \"_\" + speech + \"_\" + bPreempt);\n\n return 1;\n }", "@Override\n public int playTTSText(String speech, int bPreempt) {\n Log.e(\"test_TTS\", \"playTTSText\" + \"_\" + speech + \"_\" + bPreempt);\n\n return 1;\n }", "String getPunctuation();", "public String randomText(int Length) {\n\t\t\t\t\tString s = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \";\n\t\t\t\t\tRandom rand = new Random();\n\t\t\t\t\tStringBuilder sb = new StringBuilder(Length);\n\t\t\t\t\tfor (int i = 0; i < Length; i++) {\n char a = s.charAt(rand.nextInt(s.length()));\n String c = String.valueOf(a);\n\t\t\t\t\t\t if ((i == (Length - 1)) && c.equals(\" \")) { sb.append(\".\"); } \n\t\t\t\t\t\t else { sb.append(a); }\n\t\t\t\t\t\t }\n\t\t\t\t\treturn sb.toString();\n\t\t\t\t}", "@Override\n public String hienThiTT() {\n String thongTin = \"\";\n thongTin = \"ho ten: \" + this.hoTen + \", tuoi: \" + this.tuoi + \", dia chi: \" + this.diaChi\n + \", sdt: \" + this.sdt + \", mon day: \" + this.monDay + \", to bo mon: \" + this.toBoMon;\n \n System.out.println(thongTin);\n return thongTin;\n }", "private void createTimeLabel(WritableSheet sheet, int number)\n throws WriteException {\n WritableFont times10pt = new WritableFont(WritableFont.TIMES, 10);\n // Define the cell format\n times = new WritableCellFormat(times10pt);\n // Lets automatically wrap the cells\n times.setWrap(true);\n\n // create create a bold font with unterlines\n WritableFont times10ptBoldUnderline = new WritableFont(WritableFont.TIMES, 10, WritableFont.BOLD, false,\n UnderlineStyle.SINGLE);\n timesBoldUnderline = new WritableCellFormat(times10ptBoldUnderline);\n // Lets automatically wrap the cells\n timesBoldUnderline.setWrap(true);\n\n CellView cv = new CellView();\n cv.setFormat(times);\n cv.setFormat(timesBoldUnderline);\n cv.setAutosize(true);\n\n // Write a few headers\n addCaption(sheet, 0, 0, \"File\");\n for (int index = 0; index < number; index++) {\n if (number == 1) {\n addCaption(sheet, index + 1, 0, \"Time\");\n } else {\n addCaption(sheet, index + 1, 0, \"Time \" + index);\n }\n }\n\n }", "private void createTimeLabel(WritableSheet sheet)\n throws WriteException {\n WritableFont times10pt = new WritableFont(WritableFont.TIMES, 10);\n // Define the cell format\n times = new WritableCellFormat(times10pt);\n // Lets automatically wrap the cells\n times.setWrap(true);\n\n // create create a bold font with unterlines\n WritableFont times10ptBoldUnderline = new WritableFont(WritableFont.TIMES, 10, WritableFont.BOLD, false,\n UnderlineStyle.SINGLE);\n timesBoldUnderline = new WritableCellFormat(times10ptBoldUnderline);\n // Lets automatically wrap the cells\n timesBoldUnderline.setWrap(true);\n\n CellView cv = new CellView();\n cv.setFormat(times);\n cv.setFormat(timesBoldUnderline);\n cv.setAutosize(true);\n\n // Write a few headers\n addCaption(sheet, 0, 0, \"File\");\n addCaption(sheet, 1, 0, \"Time\");\n\n }", "String template();", "private static void tick(boolean changeTextWithHandler) {\n mCalendar = Calendar.getInstance(TimeZone.getDefault());\n if (format == null) return;\n CharSequence time = DateFormat.format(format, mCalendar);\n if (letterCaseType == LETTER_LOWERCASE) {\n time = time.toString().toLowerCase(Locale.ENGLISH);\n } else if (letterCaseType == LETTER_UPPERCASE) {\n time = time.toString().toUpperCase(Locale.ENGLISH);\n }\n CharSequence clockText = allowHtml ? (Html.fromHtml(time.toString())) : time;\n if (changeTextWithHandler){\n setClockTextOnHandler(clockText);\n }else{\n thix.setText(clockText);\n }\n }", "protected String createText() {\r\n\t\t// Default text is 1 based.\r\n\t\tNumberFormat formatter = NumberFormat.getFormat(\"#,###\");\r\n\t\tHasRows display = getDisplay();\r\n\t\tRange range = display.getVisibleRange();\r\n\t\tint pageStart = range.getStart() /*+ 1*/;\r\n\t\tint pageSize = range.getLength();\r\n\t\tint dataSize = display.getRowCount();\r\n\t\tint endIndex = Math.min(dataSize, pageStart + pageSize /*- 1*/);\r\n\t\tendIndex = Math.max(pageStart, endIndex);\r\n\t\tif(endIndex==0)\r\n\t\t\tpageStart = 0;\r\n\t\telse\r\n\t\t\tpageStart = pageStart + 1;\r\n\t\tString text = formatter.format(pageStart) + \"-\"\r\n\t\t\t\t+ formatter.format(endIndex);\r\n\t\treturn text;\r\n\t}", "public String render()\n {\n if(getHungerCountdown() <= 0 && getHungerCountdown() > -5){\n return \"s\";\n }\n else if (getHungerCountdown() > 0){\n return \"S\";\n }\n else{\n return null;\n }\n }", "private void createFinalTimeLabel(WritableSheet sheet)\n throws WriteException {\n WritableFont times10pt = new WritableFont(WritableFont.TIMES, 10);\n // Define the cell format\n times = new WritableCellFormat(times10pt);\n // Lets automatically wrap the cells\n times.setWrap(true);\n\n // create create a bold font with unterlines\n WritableFont times10ptBoldUnderline = new WritableFont(WritableFont.TIMES, 10, WritableFont.BOLD, false,\n UnderlineStyle.SINGLE);\n timesBoldUnderline = new WritableCellFormat(times10ptBoldUnderline);\n // Lets automatically wrap the cells\n timesBoldUnderline.setWrap(true);\n\n CellView cv = new CellView();\n cv.setFormat(times);\n cv.setFormat(timesBoldUnderline);\n cv.setAutosize(true);\n\n // Write a few headers\n addCaption(sheet, 0, 0, \"File\");\n addCaption(sheet, 1, 0, \"Time\");\n\n }", "private void genRunwayName(Group root, String runwayId, Integer helperHeight){\n Point runwayPos = controller.getRunwayPos(runwayId);\n Dimension runwayDim = controller.getRunwayDim(runwayId);\n\n //text color and text font\n javafx.scene.text.Font font = new javafx.scene.text.Font(\"SansSerif\", runwayDim.height/2);\n Color fontColor = convertToJFXColour(Settings.RUNWAY_NAME_COLOUR);\n\n // rotate to make the string flat on the runway\n Rotate flatRotation = new Rotate(-90,0,-1,0, Rotate.X_AXIS);\n\n //offset for the id\n Integer idOffset = 16;\n //offset for the letter;\n Double letterOffset = 30.5;\n //offset for putting the letter which has a smaller font higher\n Integer letterHeightOffset = 10;\n\n if(runwayId.length() == 2){\n Text text = new Text(runwayId);\n text.setFill(fontColor);\n text.setFont(font);\n text.setTranslateX(runwayPos.x - runwayDim.height/2 + idOffset);\n text.setTranslateZ(-runwayPos.y + runwayNameOffset);\n text.setTranslateY(-helperHeight);\n\n Rotate rotate = new Rotate(controller.getBearing(runwayId), runwayDim.height/2 - idOffset,0, -runwayNameOffset, Rotate.Y_AXIS);\n text.getTransforms().add(rotate);\n text.getTransforms().add(flatRotation);\n\n text.setCache(true);\n text.setCacheHint(CacheHint.QUALITY);\n root.getChildren().add(text);\n\n }else{\n Text newRunwayId = new Text(runwayId.substring(0,2));\n newRunwayId.setFill(fontColor);\n newRunwayId.setFont(font);\n Text letter = new Text(runwayId.charAt(2) + \"\");\n letter.setFill(fontColor);\n letter.setFont(new javafx.scene.text.Font(\"SansSerif\", runwayDim.height/2-10));\n\n newRunwayId.setTranslateX(runwayPos.x - runwayDim.height/2 + idOffset);\n newRunwayId.setTranslateZ(-runwayPos.y + runwayNameOffset);\n newRunwayId.setTranslateY(-helperHeight);\n\n Rotate IdRotate = new Rotate(controller.getBearing(runwayId), runwayDim.height/2 - idOffset,0, - runwayNameOffset, Rotate.Y_AXIS);\n newRunwayId.getTransforms().add(IdRotate);\n\n letter.setTranslateX(runwayPos.x - runwayDim.height/2 + letterOffset);\n letter.setTranslateZ(-runwayPos.y + runwayNameOffset - runwayDim.height/2 + letterHeightOffset);\n letter.setTranslateY(-helperHeight);\n\n Rotate letterRotate = new Rotate(controller.getBearing(runwayId), runwayDim.height/2 - letterOffset,0, - runwayNameOffset + runwayDim.height/2 - letterHeightOffset, Rotate.Y_AXIS);\n letter.getTransforms().add(letterRotate);\n\n newRunwayId.getTransforms().add(flatRotation);\n letter.getTransforms().add(flatRotation);\n\n newRunwayId.setCache(true);\n newRunwayId.setCacheHint(CacheHint.QUALITY);\n\n letter.setCache(true);\n letter.setCacheHint(CacheHint.QUALITY);\n\n root.getChildren().add(newRunwayId);\n root.getChildren().add(letter);\n }\n }", "public abstract void substitutedWords(long ms, int n);", "public void countdown(final int picture_num){\n// t1.speak(\"The background has been captured\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"Please step into the camera view and position yourself so that you are visible fully\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"Your front view image will be taken in 3 seconds\", TextToSpeech.QUEUE_ADD, null);\n// while (t1.isSpeaking());\n// t1.speak(\"Your front view has been captured\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"Please turn slowly to your left\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"Your right view image will be taken in 3 seconds\", TextToSpeech.QUEUE_ADD, null);\n// while (t1.isSpeaking());\n// t1.speak(\"Your right view has been captured\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"Please turn slowly to your left\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"Your back view image will be taken in 3 seconds\", TextToSpeech.QUEUE_ADD, null);\n// while (t1.isSpeaking());\n// t1.speak(\"Your back view has been captured\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"Please turn slowly to your left\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"Your left view image will be taken in 3 seconds\", TextToSpeech.QUEUE_ADD, null);\n// while (t1.isSpeaking());\n// t1.speak(\"Your left view has been captured\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"All your images have been captured\", TextToSpeech.QUEUE_ADD, null);\n// t1.speak(\"Please proceed with confirming your images\", TextToSpeech.QUEUE_ADD, null);\n// while (t1.isSpeaking());\n\n t1.speak(\"Please place your phone at a stable angle to the wall\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Please step aside so that the background is captured\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"The background will be captured in 3 seconds\", TextToSpeech.QUEUE_ADD, null);\n while (t1.isSpeaking());\n\n CountDownTimer cdt = new CountDownTimer(4000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n\n //try disabling the whole voice thing first, move it to new tts activity, then try old method, then try new method\n\n t1.speak(String.valueOf(millisUntilFinished/1000),TextToSpeech.QUEUE_ADD, null);\n while(t1.isSpeaking());\n }\n\n public void onFinish() {\n mCameraView.takePicture();\n //pictures[picture_num] = true;\n //picture_num++;\n\n t1.speak(\"The background has been captured\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Please step into the camera view and position yourself so that you are visible fully\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Your front view image will be taken in 3 seconds\", TextToSpeech.QUEUE_ADD, null);\n while (t1.isSpeaking());\n\n //next picture\n\n CountDownTimer cdt = new CountDownTimer(4000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n\n //try disabling the whole voice thing first, move it to new tts activity, then try old method, then try new method\n\n t1.speak(String.valueOf(millisUntilFinished/1000),TextToSpeech.QUEUE_ADD, null);\n while(t1.isSpeaking());\n }\n\n public void onFinish() {\n mCameraView.takePicture();\n //pictures[picture_num] = true;\n //picture_num++;\n\n //next picture\n\n t1.speak(\"Your front view has been captured\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Please turn slowly to your left\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Your right view image will be taken in 3 seconds\", TextToSpeech.QUEUE_ADD, null);\n while (t1.isSpeaking());\n\n CountDownTimer cdt = new CountDownTimer(4000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n\n //try disabling the whole voice thing first, move it to new tts activity, then try old method, then try new method\n\n t1.speak(String.valueOf(millisUntilFinished/1000),TextToSpeech.QUEUE_ADD, null);\n while(t1.isSpeaking());\n }\n\n public void onFinish() {\n mCameraView.takePicture();\n //pictures[picture_num] = true;\n //picture_num++;\n\n //next picture\n\n t1.speak(\"Your right view has been captured\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Please turn slowly to your left\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Your back view image will be taken in 3 seconds\", TextToSpeech.QUEUE_ADD, null);\n while (t1.isSpeaking());\n\n CountDownTimer cdt = new CountDownTimer(4000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n\n //try disabling the whole voice thing first, move it to new tts activity, then try old method, then try new method\n\n t1.speak(String.valueOf(millisUntilFinished/1000),TextToSpeech.QUEUE_ADD, null);\n while(t1.isSpeaking());\n }\n\n public void onFinish() {\n mCameraView.takePicture();\n //pictures[picture_num] = true;\n //picture_num++;\n\n //next picture\n\n t1.speak(\"Your back view has been captured\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Please turn slowly to your left\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Your left view image will be taken in 3 seconds\", TextToSpeech.QUEUE_ADD, null);\n while (t1.isSpeaking());\n\n\n CountDownTimer cdt = new CountDownTimer(4000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n\n //try disabling the whole voice thing first, move it to new tts activity, then try old method, then try new method\n\n t1.speak(String.valueOf(millisUntilFinished/1000),TextToSpeech.QUEUE_ADD, null);\n while(t1.isSpeaking());\n }\n\n public void onFinish() {\n mCameraView.takePicture();\n //pictures[picture_num] = true;\n //picture_num++;\n\n //next picture\n\n t1.speak(\"Your left view has been captured\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"All your images have been captured\", TextToSpeech.QUEUE_ADD, null);\n t1.speak(\"Please proceed with confirming your images\", TextToSpeech.QUEUE_ADD, null);\n while (t1.isSpeaking());\n\n\n }\n };\n cdt.start();\n\n }\n };\n cdt.start();\n\n }\n };\n cdt.start();\n\n\n }\n };\n //cdt.start();\n\n\n }\n };\n cdt.start();\n }", "private Tooltip generateToolTip(ELesxFunction type) {\n Tooltip tool = new Tooltip();\n StringBuilder text = new StringBuilder();\n if (type == ELesxFunction.PERIOD) {\n text.append(\"Una fecha puede ser invalida por:\\n\")\n .append(\" - Fecha incompleta.\\n\")\n .append(\" - Fecha inicial es posterior a la final.\");\n }\n else {\n text.append(\"La función Suma determina:\\n\")\n .append(\" - Sumatoria total de los precios del recurso seleccionado.\\n\")\n .append(\" - Suma el total de la sumatoria del punto anterior si son varios recursos\\n\")\n .append(\" - Ignora las Fechas de los precios.\");\n }\n tool.setText(text.toString());\n return tool;\n }", "protected String t() {\n return this.isAngry() ? \"mob.wolf.growl\" : (this.random.nextInt(3) == 0 ? (this.isTamed() && this.datawatcher.getFloat(18) < (this.getMaxHealth() / 2) ? \"mob.wolf.whine\" : \"mob.wolf.panting\") : \"mob.wolf.bark\");\n }", "public void timer()\n{\n textSize(13);\n controlP5.getController(\"time\").setValue(runtimes);\n line(400, 748, 1192, 748);\n fill(255,0,0);\n for (int i =0; i<25; i++)\n {\n line(400+i*33, 743, 400+i*33, 753);\n text(i, 395 +i*33, 768);\n }\n if ((runtimes < 1 || runtimes > 28800) && s == true)\n {\n //origint = 0;\n runtimes = 1;\n //pausets = 0;\n runtimep = 0;\n } else if (runtimes > 0 && runtimes < 28800 && s == true)\n {\n runtimep = runtimes;\n runtimes = runtimes + speed;\n }\n timeh= runtimes/1200;\n timem= (runtimes%1200)/20;\n}", "@Override\n\tpublic String genResult() {\n\t\tCollections.sort(meanTimes, new Comparator<Time>() {\n\n\t\t\t@Override\n\t\t\tpublic int compare(Time a, Time b) {\n\t\t\t\treturn a.toString().compareTo(b.toString());\n\t\t\t}\n\t\t});\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(realLaps()).append(\"; \");\n\t\tsb.append(totalTime()).append(\"; \");\n\t\tLinkedList<Time> times = new LinkedList<>();\n\t\tif(!startTimes.isEmpty()) times.add(startTimes.getFirst());\n\t\tfor(Time t: meanTimes) times.addLast(t);\n\t\tif(!finishTimes.isEmpty()) times.addLast(finishTimes.getFirst());\n\t\tint i = 0;\n\t\tif(startTimes.isEmpty()) {\n\t\t\ti++;\n\t\t\tsb.append(\"; \");\n\t\t}\n\t\tfor (; i < maxLaps; i++) {\n\t\t\tif (times.size() > 1) {\n\t\t\t\tTime t = times.removeFirst();\n\t\t\t\tsb.append(Time.diff(times.getFirst(), t).toString());\n\t\t\t}\n\t\t\tsb.append(\"; \");\n\t\t}\n\t\tString out = sb.toString();\n\t\treturn out.substring(0, out.length() - 2);\n\n\t}", "public String randomGenertateContent(){\n\t\tString []temp = {\"This\",\"Is\",\"Random\",\"Randomize\",\"Content\",\"Random\",\"Randomize\",\"Random\",\"Randomly\",\"Random Text\"};\n\t\tRandom random = new Random();\n\t\tint numOfWord = (int) (random.nextInt(20 - 1 + 1) + 1);\n\t\tString output = \"\";\n\t\tfor(int i=0;i<numOfWord;i++){\n\t\t\tint index = (int) (random.nextInt(temp.length - 2 + 1));\n\t\t\toutput+= temp[index] + \" \";\n\t\t}\n\t\treturn output;\n\t}", "private String getChallenge() {\n String challenge = null;\n\n int freq = getRandomNumberInRange(1, 5);\n\n if (freq == 1) {\n challenge = getString(R.string.challenge_box_jumps) + getRandomNumberInRange(1,5) + getString(R.string.times_suffix);\n }\n else if (freq == 2) {\n challenge = getString(R.string.challenge_push_ups) + getRandomNumberInRange(1,5) + getString(R.string.times_suffix);\n }\n else if (freq == 3) {\n challenge = getString(R.string.challenge_sit_ups) + getRandomNumberInRange(1,5) + getString(R.string.times_suffix);\n }\n else if (freq == 4) {\n challenge = getString(R.string.challenge_squats) + getRandomNumberInRange(1,5) + getString(R.string.times_suffix);\n }\n else if (freq == 5) {\n challenge = getString(R.string.challenge_planking) + getRandomNumberInRange(1,5) + getString(R.string.minutes_suffix);\n }\n return challenge;\n }", "@Override\n public void run() {\n textTimer.setText(String.valueOf(currentTime));\n }", "public void generateTimes() {\n\n\t\tLocalTime currentTime = PropertiesConfig.getMorningSessionBegin();\n\t\tfor (Talk talk : morningSession.getTalks()) {\n\t\t\ttalk.setTime(currentTime);\n\t\t\tcurrentTime = currentTime.plusMinutes(talk.getLength());\n\t\t}\n\n\t\tTalk lunch = new Talk(PropertiesConfig.LUNCH_TITLE);\n\t\tlunch.setTime(PropertiesConfig.getLunchBegin());\n\t\tlunchSession.addTalk(lunch);\n\n\t\tcurrentTime = PropertiesConfig.getAfternoonSessionBegin();\n\t\tfor (Talk talk : afternoonSession.getTalks()) {\n\t\t\ttalk.setTime(currentTime);\n\t\t\tcurrentTime = currentTime.plusMinutes(talk.getLength());\n\t\t}\n\n\t\tTalk meetEvent = new Talk(PropertiesConfig.MEET_EVENT_TITLE);\n\t\tmeetEvent.setTime(currentTime);\n\t\tmeetSession.addTalk(meetEvent);\n\t}", "@Override\r\n\tpublic String getFortune() {\n\t\tString[] s= {\"have a nice day :)\",\r\n\t\t\t\t\"attaboy!\",\r\n\t\t\t\t\"good fortune to you <3\"\r\n\t\t};\r\n\t\tint x;\r\n\t\tx=((int)(Math.random()*9))%3;\r\n\t\t\r\n\t\treturn s[x] ;\r\n\t}", "public String getStartText() {\n return \"Thursday 20 to 7\";\n }", "@java.lang.Override\n public java.lang.String getPunctuationToAppend() {\n java.lang.Object ref = punctuationToAppend_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n punctuationToAppend_ = s;\n }\n return s;\n }\n }", "public String getRandomText(int numChars)\n {\n if (myText == null) {\n return \"\";\n }\n StringBuilder sb = new StringBuilder();\n int randomIndex = myRandom.nextInt(myText.length() - myNum);\n String randomLetter = myText.substring(randomIndex, randomIndex + myNum);\n sb.append(randomLetter);\n for (int k = 0; k < numChars - myNum; k++) {\n ArrayList<String> letters = getFollows(randomLetter);\n if (letters.size() == 0)\n break;\n randomIndex = myRandom.nextInt(letters.size());\n String ourTab = letters.get(randomIndex);\n sb.append(ourTab);\n //updated the random letter by adding a new letter to it\n randomLetter = (sb.toString()).substring((sb.toString()).length()-myNum);\n }\n return sb.toString();\n }", "private void prepareQuestionTimer() {\n timerQuestion = new Timer(1000, new ActionListener() {\n\n @Override\n public void actionPerformed(ActionEvent evt) {\n if (questionStartTime == null)\n return;\n DateFormat df = new SimpleDateFormat(\"mm:ss\");\n Date currentDate = new Date();\n // Time elapsed\n long timeElapsed = currentDate.getTime() - questionStartTime.getTime();\n // Show timer\n String timeStr = df.format(new Date(timeElapsed));\n try {\n labelTimeQuestion.setText(\"\" + (Integer.parseInt(labelTimeQuestion.getText()) - 1));\n } catch(NumberFormatException e) {\n labelTimeQuestion.setText(\"15\");\n }\n labelTimeQuestion.repaint();\n if (labelTimeQuestion.getText().equals(\"0\")) {\n verifyQuestion(Answer.NO_ANSWER);\n challengeModel.nextAnswer(null);\n labelTimeQuestion.setText(\"15\");\n }\n }\n \n });\n }", "public String dimeTuTiempo()\n {\n String cadResultado=\"\";\n if (horas<10)\n {\n cadResultado=cadResultado+\"0\";\n }\n cadResultado=cadResultado+horas;\n cadResultado=cadResultado+\":\";\n if(minutos<10)\n {\n cadResultado=cadResultado+\"0\";\n }\n cadResultado=cadResultado+minutos;\n \n return cadResultado;\n }", "public void computeParagraph(){\r\n\r\n\t\tstrBuff = new StringBuffer();\r\n\r\n\t\t//For else for ER2 rule of inserting the first letter of my last name twice before each consonant\r\n\t\tfor(int i = 0; i < paragraph.length(); i++){\r\n\r\n\t\t\tif(paragraph.charAt(i) == 'a' || paragraph.charAt(i) == 'e' || paragraph.charAt(i) == 'i'\r\n\t\t\t\t|| paragraph.charAt(i) == 'o' || paragraph.charAt(i) == 'u' || paragraph.charAt(i) == 'A'\r\n\t\t\t\t|| paragraph.charAt(i) == 'E' || paragraph.charAt(i) == 'I' || paragraph.charAt(i) == 'O'\r\n\t\t\t\t|| paragraph.charAt(i) == 'U' || paragraph.charAt(i) == ' ' || paragraph.charAt(i) == '.'\r\n\t\t\t\t|| paragraph.charAt(i) == '!' || paragraph.charAt(i) == '?'){\r\n\t\t\t\tstrBuff.append(paragraph.charAt(i));\r\n\t\t\t}\r\n\r\n\t\t\telse{\r\n\t\t\t\tstrBuff.append(\"OO\");\r\n\t\t\t\tstrBuff.append(paragraph.charAt(i));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tnewParagraph = strBuff.toString();\r\n\r\n\t\tcount = 0;\r\n\r\n\t\t//For for ER2 rule of counting the number of characters in the initial text excluding the number of vowels\r\n\t\tfor(int i = 0; i < paragraph.length(); i++){\r\n\t\t\tif(paragraph.charAt(i) != 'a' && paragraph.charAt(i) != 'e' && paragraph.charAt(i) != 'i'\r\n\t\t\t\t&& paragraph.charAt(i) != 'o' && paragraph.charAt(i) != 'u' && paragraph.charAt(i) != 'A'\r\n\t\t\t\t&& paragraph.charAt(i) != 'E' && paragraph.charAt(i) != 'I' && paragraph.charAt(i) != 'O'\r\n\t\t\t\t&& paragraph.charAt(i) != 'U'){\r\n\t\t\t\t\tcount++;\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t}", "private String createTextCompanyWithVisitTimes(final List<Object[]> listCompanyAndVisitTimes) {\n StringBuilder sb = new StringBuilder();\n for (Object[] object : listCompanyAndVisitTimes) {\n sb.append(\"; \" + object[0].toString() + \"(\" + object[1].toString() + \")\");\n }\n return sb.toString().replaceFirst(\"; \", \"\");\n }", "public java.lang.String getPunctuationToAppend() {\n java.lang.Object ref = punctuationToAppend_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n punctuationToAppend_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "private void updateTextBox(){\n\t\tString tmpWord = game.getTempAnswer().toString();\n\t\tString toTextBox = \"\";\n\t\tStringBuilder sb = new StringBuilder(tmpWord);\n\n\t\t//if a letter is blank in the temp answer make it an underscore. Goes for as long as the word length\n\t\tfor (int i = 0; i<tmpWord.length();i++){\n\t\t\tif(sb.charAt(i) == ' ')\n\t\t\t\tsb.setCharAt(i, '_');\n\t\t}\n\t\ttoTextBox = sb.toString();\n\t\ttextField.setText(toTextBox);\n\t\tlblWord.setText(toTextBox);\n\t}", "public static String getRandomText(int wordCount, int paragraphs) {\n StringBuilder sb = new StringBuilder();\n int wordSize = 0;\n String[] parts = new String[] {};\n int i = 1000;\n\n while (wordSize < wordCount) {\n if (i >= parts.length) {\n i = 0;\n parts = getRandomIpsumBlock().split(\" \");\n }\n sb.append(parts[i]);\n if (wordSize + 1 < wordCount) {\n sb.append(\" \");\n } else if (!parts[i].endsWith(\".\")) {\n sb.append(\".\");\n }\n i++;\n wordSize++;\n }\n\n String text = sb.toString();\n ArrayList<Integer> dots = findAll(text, \".\");\n\n for (int j = 0; j < paragraphs - 1; j++) {\n if (dots.size() <= 2) {\n break;\n }\n\n int randomIndex = RandomNumberGenerator.getRandomInt(0, dots.size() - 1);\n Integer index = dots.get(randomIndex);\n text = insert(text, index + 2, \"\\n\\n\");\n\n for (int k = randomIndex + 1; k < dots.size(); k++) {\n dots.set(k, dots.get(k) + 2);\n }\n dots.remove(randomIndex);\n\n\n\n }\n\n return text.replaceAll(\",\\\\.\", \"\\\\.\");\n }", "private String renderTTThroughput(PetriNetView pnmldata, double[] data) {\n\t\tif (data.length == 0) {\n\t\t\treturn \"n/a\";\n\t\t}\n\n\t\tint transCount = data.length;\n\t\tArrayList result = new ArrayList();\n\t\t// add headers to table\n\t\tresult.add(\"Transition\");\n\t\tresult.add(\"Throughput\");\n\t\tDecimalFormat f = new DecimalFormat();\n\t\tf.setMaximumFractionDigits(5);\n\t\tfor (int i = 0; i < transCount; i++) {\n\t\t\tif (pnmldata.getTransitionViews()[i].isTimed()) {\n\t\t\t\tresult.add(pnmldata.getTransitionViews()[i].getName());\n\t\t\t\tresult.add(f.format(data[i]));\n\t\t\t}\n\n\t\t}\n\n\t\treturn ResultsHTMLPane.makeTable(result.toArray(), 2, false, true,\n\t\t\t\ttrue, true);\n\t}", "private String generateString() {\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\r\n\t\twhile (currentIndex < expression.length\r\n\t\t\t\t&& (Character.isLetterOrDigit(expression[currentIndex]) || expression[currentIndex] == '_')) {\r\n\t\t\tsb.append(expression[currentIndex]);\r\n\t\t\tcurrentIndex++;\r\n\t\t}\r\n\r\n\t\treturn sb.toString().toLowerCase();\r\n\t}", "public ViewAnimationText(AnimationOperations model, int tempo, Appendable ap) {\r\n this.model = model;\r\n this.unit = \"s\";\r\n this.tempo = tempo;\r\n this.out = out;\r\n this.ap = ap;\r\n }", "public static String formatText(String t) {\r\n if (t.length() > 0) {\r\n char chars[] = t.toCharArray();\r\n for (int index = 0; index < chars.length; index++)\r\n if (chars[index] == '_') {\r\n chars[index] = ' ';\r\n if (index + 1 < chars.length && chars[index + 1] >= 'a' && chars[index + 1] <= 'z')\r\n chars[index + 1] = (char) ((chars[index + 1] + 65) - 97);\r\n }\r\n\r\n if (chars[0] >= 'a' && chars[0] <= 'z')\r\n chars[0] = (char) ((chars[0] + 65) - 97);\r\n return new String(chars);\r\n } else {\r\n return t;\r\n }\r\n }", "String getDelayPattern();", "private String getTimingString() {\n return DateTimeHandler.STANDARD_DATETIME_FORMAT.format(deadline);\n }", "private String getPlayTimeString() {\n double fltPlayPositionInFrames = (fltPlayPercent/100.0f) * lngTimelineDataAmountInRmsFrames;\n double fltTime = (double)(fltPlayPositionInFrames * fltRmsFramePeriodInMs)/1000.0f;\n return new DecimalFormat(\"000.00\").format(fltTime); // String.format(\"%3.1f\", fltTime);\n }", "@FXML\r\n\t void countDownMessage2() throws InterruptedException {\n\t\t \tdisplayMessage.setText(\"3\"); \r\n\t\t \ttext = displayMessage.getText();\r\n\t\t timeSeconds = Integer.parseInt(text);\r\n\t\t \r\n\t\t Timer clock = new Timer();\r\n\t\t clock.scheduleAtFixedRate(new TimerTask() {\r\n\t\t public void run() {\r\n\t\t if(timeSeconds >= 0)\r\n\t\t {\r\n\t\t \tdisplayMessage.setText(Integer.toString(timeSeconds));\r\n\t\t timeSeconds--; \r\n\t\t }\r\n\t\t else {\r\n\t\t clock.cancel();\r\n\t\t displayMessage.setText(\"DupMe!\");\r\n\t\t try {\r\n\t\t\t\t\t\t\t\tcountDown2();\r\n\t\t\t\t\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t\t\t}\r\n\t\t \r\n\t\t //do something here after says GO!\r\n\t\t wordCount.setVisible(true);\r\n\t\t wordMax.setVisible(true);\r\n\t\t slash.setVisible(true);\r\n\t\t counterBox.setVisible(true);\r\n\t\t yourPattern.setVisible(true);\r\n\t\t lastPattern.setVisible(true);\r\n\t\t }\r\n\t\t }\r\n\t\t }, 1000,1000);\r\n }", "Node getTemplateTextNode();", "private static String generateStringFromEntry(Entry<String, Long> entry) {\n\n\t\treturn entry.getKey() + WORD_FREQUENCY_DELIMITER + entry.getValue();\n\t}", "public static String punct(String w) {\n int len = w.length();\n String newW = \"\"; //just letters\n String start= \"\"; //string of start punctuations\n String end = \"\"; //string of end punctuations\n for (int i = 0; i < len; i++) {\n if (endPunct.indexOf(w.substring(i, i+1)) != -1) {\n end += w.substring(i, i+1); } //if there is an end punctuation put it in the end NOT counting apostrophes \n else if (startPunct.indexOf(w.substring(i,i+1)) != -1) {\n start += w.substring(i, i+1); } //if there is a start punctution, put it in start\n else {\n newW += w.substring(i, i+1); } //string of just the letters \n }\n return start + newW + end; }", "public static String repeater(char value,int times){\n String res=\"\";\n for (int i = 0; i < times; i++) {\n res= res+value;\n }\n return res;\n }", "public void test() {\r\n PropertiesSubstitutor ps = new PropertiesSubstitutor(MockParametersCallbacks.NAME);\r\n\r\n char[] fillC = new char[1000];\r\n Arrays.fill(fillC, '-');\r\n String fill = new String(fillC);\r\n\r\n String line = \"Text ${subst1} $subst2 \" + fill + \":$end //\";\r\n String exp = \"Text subst1 subst2 \" + fill + \":end //\";\r\n\r\n for (int i = 0; i < 100000; i++) {\r\n String s = ps.substitute(line);\r\n assertEquals(exp, s);\r\n }\r\n }", "private static String timeLine()\n {\n return String.format(STR_FORMAT_1 + STR_FORMAT_2, TIME_STR, TIME);\n }", "@Override\r\n\tpublic String smoke() {\n\t\treturn \"我是会抽烟的好老师\"+t.name;\r\n\t}", "public MultipleStrings(int num, double probabilityOfControl) {\n r = new Random(42);\n str = new String[num];\n for (int i = 0; i < num; i++)\n str[i] = generateString(r.nextDouble() < probabilityOfControl);\n last = -1;\n }", "String getTemplate();", "private void generateTts() {\n File mediaStorageDir = new File(\n Environment.getExternalStorageDirectory(),\n resources.getTtsStorageFolder());\n \n if (!mediaStorageDir.exists())\n {\n if (!mediaStorageDir.mkdirs())\n {\n Log.w(TAG, \"Failed to create mediadir\");\n }\n else\n {\n Log.d(TAG, \"Created mediadir\" + mediaStorageDir.getAbsolutePath());\n }\n }\n\n File mediaFile = new File(mediaStorageDir.getPath() + File.separator + resources.getTtsFileName());\n Log.d(TAG, \"TTS path : \" + mediaFile.getAbsolutePath());\n\n HashMap<String, String> hashTts = new HashMap<>();\n hashTts.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, \"ttsToFile\");\n t1.setSpeechRate(Float.parseFloat(resources.getTtsSpeechRate()));\n t1.synthesizeToFile(message, hashTts, mediaFile.getAbsolutePath());\n\n }", "@Override\n public void onTick(long millisUntilFinished) {\n mCurrentTimer -= 1000;\n mTimer.setText(String.valueOf((int) (millisUntilFinished / 1000)));\n }", "private HTMLElement generateIntroText(IntroText element, int indentLevel) {\n \t\tHTMLElement textElement = generateTextElement(\n \t\t\t\tIIntroHTMLConstants.ELEMENT_PARAGRAPH, null,\n \t\t\t\tIIntroHTMLConstants.SPAN_CLASS_TEXT, element.getText(),\n \t\t\t\tindentLevel);\n \t\treturn textElement;\n \t}", "@Override\n public void run() {\n text_tracking.setText(tt);\n }", "@Override\n public void run() {\n text_tracking.setText(tt);\n }", "private static String generateOneTRData(Map<String, String> emailMap, String[] datas) {\n // Replace TR template data\n String trTemplate = emailMap.get(EmailConstant.EMAIL_TR_TEMPLATE);\n trTemplate = trTemplate.replace(EmailConstant.EMAIL_COURSE_NAME_REPLACE, datas[0]).replace(EmailConstant.EMAIL_ROOM_REPLACE, datas[1])\n .replace(EmailConstant.EMAIL_TIME_REPLACE, datas[2]).replace(EmailConstant.EMAIL_TRAINER_REPLACE, datas[3]);\n return trTemplate;\n }", "private void startTimer() {\n\n //call renewWord function once the timer is on\n renewWord();\n countDownTimer = new MyCountDown(totalTimeCountInMilliseconds, 50);\n countDownTimer.start();\n }", "public TextController createToolTipText(ControllerCore genCode) {\n\t\ttoolTipTextTXT = new TextController(\"toolTipText\", getParentController(controlItemSCSCLC), genCode) {\n\t\t\t@Override\n\t\t\tpublic void initialize() {\n\t\t\t\tsetLinkedController(toolTipText$1LBL);\n\t\t\t\tsetProperty(\"toolTipText\");\n\t\t\t\tsuper.initialize();\n\t\t\t}\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tif (null != fieldBindManager)\n\t\t\t\t\t\tfieldBindManager = new XjcFieldBindingManager(this);\n\t\t\t\t\tgetControl().addFocusListener(new XjcFocusListener(this));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\treturn toolTipTextTXT;\n\t}", "public void printWithTemplate(String text) {\n String line = \"____________________________________________________________\";\n\n out.println(line);\n out.println(text);\n out.println(line);\n }", "public void play() {\n //Set up the timer if needed\n if (!dataGame.isTrainingMode()) {\n timer = new Timer();\n secondsPassed = 65;\n TimerTask task = new TimerTask() {\n public void run() {\n secondsPassed--;\n //Before the game starts, countdown:\t\t\t\t\t\n if (secondsPassed > 63) {\n dataGame.notifyObserverTime(\"Be ready !\");\n } else if (secondsPassed == 63) {\n dataGame.notifyObserverTime(Integer.toString(3));\n } else if (secondsPassed == 62) {\n dataGame.notifyObserverTime(Integer.toString(2));\n } else if (secondsPassed == 61) {\n dataGame.notifyObserverTime(Integer.toString(1));\n } else if (secondsPassed == 60) {\n dataGame.notifyObserverTime(\"GO !\");\n pickNewWord();\n } else if (secondsPassed == 0) {\n dataGame.notifyObserverTime(\"STOP\");\n stop(false);\n } else {\n dataGame.notifyObserverTime(Integer.toString(secondsPassed));\n }\n }\n };\n timer.scheduleAtFixedRate(task, 100, 1000); //After 100ms, the timer starts, it decreases every seconds\n } else {\n pickNewWord();\n }\n }", "public String timerPause(){\n return mTimer;\n }", "public Builder clearPunctuationToAppend() {\n bitField0_ = (bitField0_ & ~0x00000010);\n punctuationToAppend_ = getDefaultInstance().getPunctuationToAppend();\n onChanged();\n return this;\n }", "public void update() {\n if(this.getLine(0) != \"\") this.setLine(0, \"\");\n if(this.getLine(0) != plugin.getGameManager().getAlivePlayers().size() + \" §7Joueurs\") this.setLine(1, plugin.getGameManager().getAlivePlayers().size() + \" §7Joueurs\");\n if(this.getLine(0) != Team.getTeams().size() + \" §7Equipes\") this.setLine(2, Team.getTeams().size() + \" §7Equipes\");\n if(this.getLine(0) != \" \") this.setLine(3, \" \");\n\n /* Timer part */\n if(plugin.getGameManager().hasStarted()) {\n this.setLine(4, \"§eTimer: §r\" + getFormattedTimer(plugin.getTimerManager().getMinutesLeft(), plugin.getTimerManager().getSecondsLeft()) + \" [§bE\" + getFormattedEpisode(plugin.getTimerManager().getEpisode()) + \"§r]\");\n\n String text = \"\";\n List<Integer> timers = new ArrayList<>();\n if(!plugin.getGameManager().isPvpActivated())\n timers.add(plugin.getTimerManager().getMinutesPvpLeft());\n if(!plugin.getGameManager().isRolesActivated())\n timers.add(plugin.getTimerManager().getMinutesRolesLeft());\n if(!plugin.getGameManager().isKitsActivated())\n timers.add(plugin.getTimerManager().getMinutesKitsLeft());\n if(!plugin.getBorderManager().isShrinking())\n timers.add(plugin.getTimerManager().getMinutesBorderLeft());\n\n try {\n int min = timers\n .stream()\n .filter(v -> v != -1)\n .mapToInt(v -> v)\n .min()\n .orElseThrow(NoSuchElementException::new);\n\n if(min == plugin.getTimerManager().getMinutesPvpLeft() && !plugin.getGameManager().isPvpActivated())\n text = \"Pvp\";\n else if(min == plugin.getTimerManager().getMinutesRolesLeft() && !plugin.getGameManager().isRolesActivated())\n text = \"Equipes\";\n else if(min == plugin.getTimerManager().getMinutesKitsLeft() && !plugin.getGameManager().isKitsActivated())\n text = \"Kits\";\n else if(min == plugin.getTimerManager().getMinutesBorderLeft() && !plugin.getBorderManager().isShrinking())\n text = \"Bordure\";\n\n if(!text.equals(\"\")) {\n this.setLine(5, \"§c\" + text + \": §r< \" + (min + 1) + \"min\");\n }\n } catch (NoSuchElementException e) {\n this.removeLine(5);\n }\n }\n }", "private void updateCountdownText() {\r\n int minutes = (int) (timeLeftInMillis / 1000) / 60;\r\n int seconds = (int) (timeLeftInMillis / 1000) % 60;\r\n\r\n String timeFormatted = String.format(Locale.getDefault(), \"%02d:%02d\", minutes, seconds);\r\n\r\n mTimer.setText(timeFormatted);\r\n }", "protected String elaboraTemplate(String testoIn) {\n return testoIn;\n }", "@Override\n public void valueChanged(String control_val) {\n if (samplePlayer.isPaused()) {\n // our string will be hh:mm:ss.m\n try {\n String[] units = control_val.split(\":\"); //will break the string up into an array\n int hours = Integer.parseInt(units[0]); //first element\n int minutes = Integer.parseInt(units[1]); //second element\n float seconds = Float.parseFloat(units[2]); // thirsd element\n float audio_seconds = 360 * hours + 60 * minutes + seconds; //add up our values\n\n float audio_position = audio_seconds * 1000;\n setAudioSliderPosition(audio_position);\n } catch (Exception ex) {\n }\n }\n // Write your DynamicControl code above this line \n }", "@Override\r\n\t\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\tNoteInJson[] pattern=gpt.getPattern();\r\n\t\t\t\t\t\t\t\t\t\tif(change_tempo){\r\n\t\t\t\t\t\t\t\t\t\t\tPatternMaker.changeSpeed(pattern, ratio);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tgotoPractice(pattern);\r\n\t\t\t\t\t\t\t\t\t}", "private String calculaTempo(Date dtTileLine) {\n\t\treturn \"2 minutos atrás (\"+dtTileLine.toString()+\")\";\n\t}", "private void initAutoTextView() {\n autotxtv.next();\n sCount++;\n autotxtv.setText(sCount % 2 == 0 ? \" 『 “光华戈十” 益行者计划---_李四』上线了!\"\n : \"『停下脚步聆听孩子的声音』上线了!\");\n handler.sendEmptyMessageDelayed(1,2000);\n }", "public abstract void newSpeechNoise(long ms, int n);", "private String multipleStartTimes() {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tif (startTimes.size() > 1) {\n\t\t\tsb.append(\"Flera starttider? \");\n\t\t\tfor (int i = 1; i < startTimes.size(); i++) {\n\t\t\t\tsb.append(startTimes.get(i) + \" \");\n\t\t\t}\n\t\t\tsb.append(\"; \");\n\t\t}\n\t\treturn sb.toString();\n\t}", "@Override\n public double ringNotes(){\n double ret = 0;\n for (int i = 0; i < pStrings.length; i++){\n for (int a = 0; a < pStrings[i].length; a++){\n pStrings[i][a].tic();\n ret += pStrings[i][a].sample();\n \n }\n }\n return ret;\n }", "@Override\n\tprotected String formatted(Walue _) {\n\t\treturn \"\";\n\t}", "public void manageSymptomInput(double input) {\n dataManager.getLast30MinutesActivity();\n if (symptomInputList.size() == 0) {\n// timeStamp = new SimpleDateFormat(\"dd/MM/yyyy HH:mm:ss\", Locale.UK).format(new Date());\n symptom = new Symptom(new Timestamp(System.currentTimeMillis()));\n // A symptom occured. get the weather data and start a timer for ending the registration of a symptom\n dataManager.fetchWeatherData();\n isCountDown = true;\n\n// SimpleDateFormat format = new SimpleDateFormat(\"yyyyMMdd\", Locale.UK);\n\n\n// dataManager.movesStorylineDay(format.format(new Date()),true);\n\n\n countDownTimer = new CountDownTimer(15000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n // If an exception is caught and it is not a network exception try to get weather again\n if (isWeatherException) {\n dataManager.fetchWeatherData();\n }\n Log.i(TAG, \"seconds remaining: \" + millisUntilFinished / 1000);\n }\n\n public void onFinish() {\n// Runnable r = new Runnable() {\n// @Override\n// public void run() {\n// new Handler(Looper.getMainLooper()).post(new Runnable() {\n// @Override\n// public void run() {\n//\n//\n// }\n// });\n// }\n// };\n// new Thread(r).start();\n\n Gson gson = new Gson();\n dataManager.getSymptomContext().deleteObservers();\n String sContext = gson.toJson(dataManager.getSymptomContext(), SymptomContext.class);\n\n symptom.setContext(sContext);\n Log.i(TAG, \"Symptom context: \" + symptom.getContext());\n\n symptom.setIntensity(Collections.max(symptomInputList));\n diary = DiaryManager.getInstance().getActiveDiary();\n symptom.setDiary(diary);\n\n int symptomT = symptomInputList.size() - 1;\n TreeMap<Integer, String> symptomTypes =diary.getSymptomTypes();\n if (!symptomTypes.isEmpty()) {\n for (TreeMap.Entry<Integer, String> st : symptomTypes.entrySet()) {\n int position = st.getKey();\n String type = st.getValue();\n Log.i(TAG, \"symptom type\" + type);\n\n if (position == symptomT) {\n Log.i(TAG, \"symptom type\" + position);\n symptom.setSymptomType(type);\n }\n }\n }\n saveSymptomInput();\n\n\n// //TODO save the completed symptom in the db\n// if (symptom.isValid()) {\n// Log.i(TAG, \"Symptom saved\");\n// }\n isCountDown = false;\n }\n }.start();\n// Log.i(TAG, timeStamp);\n }\n if (symptomInputList.size() < 4) {\n symptomInputList.add(input);\n Log.i(TAG, \" \" + symptomInputList.size());\n } else {\n Log.i(TAG, \"Measurement completed\");\n }\n }", "private void appendCountdown(Notification.Builder builder, String originalText) {\n long countdown = InCallPresenter.getInstance().getAutoDeclineCountdown();\n if (countdown < 0) {\n return;\n }\n StringBuilder sb = new StringBuilder();\n sb.append(originalText).append(\" (\").append(countdown).append(\")\");\n builder.setContentText(sb.toString());\n }" ]
[ "0.5679672", "0.5679672", "0.5679672", "0.5679672", "0.5470603", "0.53962725", "0.53863746", "0.5373059", "0.5370336", "0.5341289", "0.5304", "0.51642793", "0.513596", "0.50812024", "0.5067533", "0.50459", "0.50262564", "0.5016996", "0.50049275", "0.5003814", "0.50023305", "0.4937173", "0.49038455", "0.48881483", "0.48840612", "0.48840612", "0.4881992", "0.48652253", "0.4864078", "0.48582458", "0.48386765", "0.48359054", "0.48313212", "0.48266825", "0.4825562", "0.48142904", "0.4781254", "0.4770986", "0.47657514", "0.47307867", "0.47272018", "0.47209403", "0.47006378", "0.46953255", "0.46925673", "0.46822459", "0.46582276", "0.4652411", "0.46480045", "0.46440816", "0.46412456", "0.46240756", "0.46108872", "0.46104693", "0.45994276", "0.4598503", "0.45812717", "0.4575523", "0.45700273", "0.4569363", "0.4568536", "0.45680812", "0.45613676", "0.45595786", "0.4558993", "0.45565754", "0.45487916", "0.4545712", "0.45437694", "0.45330736", "0.4531248", "0.4528823", "0.45285642", "0.45275858", "0.4524979", "0.45230672", "0.45213038", "0.45197332", "0.45060247", "0.45060247", "0.45044395", "0.44997382", "0.44964", "0.4488719", "0.4485039", "0.4484876", "0.44847143", "0.4483822", "0.44764602", "0.4470209", "0.4466141", "0.44660392", "0.44643614", "0.445841", "0.444799", "0.44463748", "0.44458413", "0.4441938", "0.4440605", "0.44403273" ]
0.6834624
0
TODO Autogenerated method stub
@Override public Subject getSvcSubjectById(int id) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0.6080555", "0.6076938", "0.6041293", "0.6024541", "0.6019185", "0.5998426", "0.5967487", "0.5967487", "0.5964935", "0.59489644", "0.59404725", "0.5922823", "0.5908894", "0.5903041", "0.5893847", "0.5885641", "0.5883141", "0.586924", "0.5856793", "0.58503157", "0.58464456", "0.5823378", "0.5809384", "0.58089525", "0.58065355", "0.58065355", "0.5800514", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57912874", "0.57896614", "0.5789486", "0.5786597", "0.5783299", "0.5783299", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5773351", "0.5760369", "0.5758614", "0.5758614", "0.574912", "0.574912", "0.574912", "0.57482654", "0.5732775", "0.5732775", "0.5732775", "0.57207066", "0.57149917", "0.5714821", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57132614", "0.57115865", "0.57045746", "0.5699", "0.5696016", "0.5687285", "0.5677473", "0.5673346", "0.56716853", "0.56688815", "0.5661065", "0.5657898", "0.5654782", "0.5654782", "0.5654782", "0.5654563", "0.56536144", "0.5652585", "0.5649566" ]
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.settings, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.actions, menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.actions_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_actions, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.action_bar_menu, menu);\r\n\t\tmMenu = menu;\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.act_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn true;\r\n //return super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\r\n\t inflater.inflate(R.menu.action_bar_all, menu);\r\n\t return super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\tMenuInflater muu= getMenuInflater();\n\t\tmuu.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\t\t\n\t\t\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.adventure_archive, menu);\r\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.archive_menu, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.main, menu);\n \t\tsuper.onCreateOptionsMenu(menu, inflater);\n \t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.action_menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater bow=getMenuInflater();\n\t\tbow.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\t\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\t\t\n\t\t/* Inflate the menu; this adds items to the action bar if it is present */\n\t\tgetMenuInflater().inflate(R.menu.act_main, menu);\t\t\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.menu, menu);\n\t\t\treturn true; \n\t\t\t\t\t\n\t\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.main, menu);\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) \n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_bar, menu);\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_item, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\t//menu.clear();\n\t\tinflater.inflate(R.menu.soon_to_be, menu);\n\t\t//getActivity().getActionBar().show();\n\t\t//getActivity().getActionBar().setBackgroundDrawable(\n\t\t\t\t//new ColorDrawable(Color.rgb(223, 160, 23)));\n\t\t//return true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n this.getMenuInflater().inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main, menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu( Menu menu, MenuInflater inflater )\n\t{\n\t\tsuper.onCreateOptionsMenu( menu, inflater );\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n \t// We must call through to the base implementation.\r\n \tsuper.onCreateOptionsMenu(menu);\r\n \t\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_menu, menu);\r\n\r\n return true;\r\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.inter_main, menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu (Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.custom_action_bar, menu);\n\t\treturn true;\n\t}", "public void initMenubar() {\n\t\tremoveAll();\n\n\t\t// \"File\"\n\t\tfileMenu = new FileMenuD(app);\n\t\tadd(fileMenu);\n\n\t\t// \"Edit\"\n\t\teditMenu = new EditMenuD(app);\n\t\tadd(editMenu);\n\n\t\t// \"View\"\n\t\t// #3711 viewMenu = app.isApplet()? new ViewMenu(app, layout) : new\n\t\t// ViewMenuApplicationD(app, layout);\n\t\tviewMenu = new ViewMenuApplicationD(app, layout);\n\t\tadd(viewMenu);\n\n\t\t// \"Perspectives\"\n\t\t// if(!app.isApplet()) {\n\t\t// perspectivesMenu = new PerspectivesMenu(app, layout);\n\t\t// add(perspectivesMenu);\n\t\t// }\n\n\t\t// \"Options\"\n\t\toptionsMenu = new OptionsMenuD(app);\n\t\tadd(optionsMenu);\n\n\t\t// \"Tools\"\n\t\ttoolsMenu = new ToolsMenuD(app);\n\t\tadd(toolsMenu);\n\n\t\t// \"Window\"\n\t\twindowMenu = new WindowMenuD(app);\n\n\t\tadd(windowMenu);\n\n\t\t// \"Help\"\n\t\thelpMenu = new HelpMenuD(app);\n\t\tadd(helpMenu);\n\n\t\t// support for right-to-left languages\n\t\tapp.setComponentOrientation(this);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp=getMenuInflater();\n\t\tblowUp.inflate(R.menu.welcome_menu, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.listing, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.item, menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.resource, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.home_action_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.template, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n Log.d(\"onCreateOptionsMenu\", \"create menu\");\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.socket_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_menu, menu);//Menu Resource, Menu\n\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n updateMenuItemsVisibility(menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t// \n\t\tMenuInflater mi = getMenuInflater();\n\t\tmi.inflate(R.menu.thumb_actv_menu, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.swag_list_activity_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\treturn true;\n\t}", "public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){\n }", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.jarvi, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {\n menuInflater.inflate(R.menu.main, menu);\n\n }", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.add__listing, menu);\r\n\t\treturn true;\r\n\t}", "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actmain, menu);\r\n return true;\r\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.buat_menu, menu);\n\t\treturn true;\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.layout.menu, menu);\n\t\treturn true;\n\t}", "@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\n\t\n\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\n\treturn super.onCreateOptionsMenu(menu);\n}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ichat, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n\t{\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tinflater.inflate(R.menu.expenses_menu, menu);\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp = getMenuInflater();\n\t\tblowUp.inflate(R.menu.status, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ui_main, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\n return true;\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }" ]
[ "0.7246451", "0.7201833", "0.7195169", "0.7176824", "0.71071094", "0.7039687", "0.70379424", "0.7011622", "0.70095545", "0.69799995", "0.6945173", "0.69389343", "0.6933555", "0.69172555", "0.69172555", "0.68906796", "0.688355", "0.687496", "0.6874772", "0.68613136", "0.68613136", "0.68613136", "0.68613136", "0.6852252", "0.6846455", "0.6818823", "0.6816676", "0.68122935", "0.68119055", "0.68119055", "0.6805087", "0.68003947", "0.6797015", "0.67904633", "0.6789411", "0.67871827", "0.6782913", "0.67593676", "0.6756442", "0.6747255", "0.6742987", "0.6742987", "0.6740183", "0.67392707", "0.67249876", "0.67237884", "0.67217875", "0.67217875", "0.6719964", "0.6711429", "0.6706682", "0.67035955", "0.6699167", "0.66980296", "0.6696009", "0.6694031", "0.66855574", "0.66825926", "0.66825926", "0.6682556", "0.66795844", "0.6678825", "0.6676161", "0.66680866", "0.66665506", "0.66625977", "0.6657122", "0.6657122", "0.6657122", "0.6656225", "0.6653723", "0.6653723", "0.6653723", "0.66520125", "0.6651581", "0.6649255", "0.6648212", "0.6646545", "0.6646233", "0.66460145", "0.6645477", "0.6644324", "0.66441935", "0.6642723", "0.66420346", "0.66412085", "0.6638387", "0.6633755", "0.66334134", "0.66321", "0.663127", "0.663127", "0.663127", "0.6628276", "0.6627496", "0.6626989", "0.6625628", "0.6623483", "0.6620039", "0.66181844", "0.66181844" ]
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n //\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // Back button clicked\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // app icon in action bar clicked; goto parent activity.\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n switch (id) {\r\n case android.R.id.home:\r\n // app icon in action bar clicked; go home\r\n this.finish();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // app icon in action bar clicked; go home\n finish();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n Log.e(\"clik\", \"action bar clicked\");\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n\t public boolean onOptionsItemSelected(MenuItem item) {\n\t int id = item.getItemId();\n\t \n\t\t\tif (id == android.R.id.home) {\n\t\t\t\t// Respond to the action bar's Up/Home button\n\t\t\t\t// NavUtils.navigateUpFromSameTask(this);\n\t\t\t\tonBackPressed();\n\t\t\t\treturn true;\n\t\t\t}\n\t \n\t \n\t return super.onOptionsItemSelected(item);\n\t }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n switch (item.getItemId()) {\r\n // Respond to the action bar's Up/Home button\r\n case android.R.id.home:\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n finish();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n\n switch (item.getItemId()) {\n case android.R.id.home:\n\n // app icon in action bar clicked; goto parent activity.\n this.finish();\n return true;\n default:\n\n return super.onOptionsItemSelected(item);\n\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n\n switch (item.getItemId()) {\n case android.R.id.home:\n\n // app icon in action bar clicked; goto parent activity.\n this.finish();\n return true;\n default:\n\n return super.onOptionsItemSelected(item);\n\n }\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tonBackPressed();\n\t\t\treturn true;\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle presses on the action bar items\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n case R.id.action_clear:\n return true;\n case R.id.action_done:\n\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n onActionHomePressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId())\n {\n case android.R.id.home :\n super.onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId ()) {\n case android.R.id.home:\n onBackPressed ();\n return true;\n\n default:\n break;\n }\n return super.onOptionsItemSelected ( item );\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t switch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\t// app icon in action bar clicked; go home \n\t\t\tIntent intent = new Intent(this, Kelutral.class); \n\t\t\tintent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); \n\t\t\tstartActivity(intent); \n\t\t\treturn true;\t\t\n\t case R.id.Search:\n\t \treturn onSearchRequested();\n\t\tcase R.id.AppInfo:\n\t\t\t// Place holder menu item\n\t\t\tIntent newIntent = new Intent(Intent.ACTION_VIEW,\n\t\t\t\t\tUri.parse(\"http://forum.learnnavi.org/mobile-apps/\"));\n\t\t\tstartActivity(newIntent);\n\t\t\treturn true;\n\t\tcase R.id.Preferences:\n\t\t\tnewIntent = new Intent(getBaseContext(), Preferences.class);\n\t\t\tstartActivity(newIntent);\n\t\t\treturn true;\t\n\t }\n\t return false;\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n\n case android.R.id.home:\n onBackPressed();\n return true;\n\n }\n return super.onOptionsItemSelected(item);\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // Intent homeIntent = new Intent(this, MainActivity.class);\n // homeIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n // startActivity(homeIntent);\n finish();\n return true;\n default:\n return (super.onOptionsItemSelected(item));\n }\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // setResult and close the activity when Action Bar Up Button clicked.\n if (item.getItemId() == android.R.id.home) {\n setResult(RESULT_CANCELED);\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // This ID represents the Home or Up button. In the case of this\n // activity, the Up button is shown. Use NavUtils to allow users\n // to navigate up one level in the application structure. For\n // more details, see the Navigation pattern on Android Design:\n //\n // http://developer.android.com/design/patterns/navigation.html#up-vs-back\n //\n \tgetActionBar().setDisplayHomeAsUpEnabled(false);\n \tgetFragmentManager().popBackStack();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId()) {\n case android.R.id.home:\n super.onBackPressed();\n return true;\n\n default:\n // If we got here, the user's action was not recognized.\n // Invoke the superclass to handle it.\n return super.onOptionsItemSelected(item);\n\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if(id == android.R.id.home){\n onBackPressed();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n\n }\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@RequiresApi(api = Build.VERSION_CODES.M)\n @Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tif(item.getItemId()==android.R.id.home)\r\n\t\t{\r\n\t\t\tgetActivity().onBackPressed();\r\n\t\t}\r\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if(item.getItemId()==android.R.id.home){\n super.onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n return false;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n //Back arrow\n case android.R.id.home:\n onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // android.R.id.home是Android内置home按钮的id\n finish();\n break;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n super.onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n this.onBackPressed();\n return false;\n }\n return false;\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n switch (item.getItemId()) {\r\n\r\n case android.R.id.home:\r\n /*Intent i= new Intent(getApplication(), MainActivity.class);\r\n i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);\r\n startActivity(i);*/\r\n onBackPressed();\r\n finish();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id){\n case android.R.id.home:\n this.finish();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Pass the event to ActionBarDrawerToggle, if it returns\n // true, then it has handled the app icon touch event\n if (mDrawerToggle.onOptionsItemSelected(item)) {\n return true;\n }\n\n // Handle your other action bar items...\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n NavUtils.navigateUpFromSameTask(getActivity());\n return true;\n case R.id.action_settings:\n Intent i = new Intent(getActivity(), SettingsActivity.class);\n startActivity(i);\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n //Fixes the Up Button\n if(id == android.R.id.home) {\n BuildRoute.this.finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()){\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return true;\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n if (id == android.R.id.home) {\n NavUtils.navigateUpFromSameTask(this);\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\r\n case android.R.id.home:\r\n onBackPressed();\r\n break;\r\n }\r\n return true;\r\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tif (item.getItemId() == android.R.id.home) {\n\t\t\tfinish();\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n onBackPressed();\n\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n if ( id == android.R.id.home ) {\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == R.id.home) {\r\n NavUtils.navigateUpFromSameTask(this);\r\n return true;\r\n }\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == R.id.action_about) {\r\n AboutDialog();\r\n return true;\r\n }\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == R.id.action_exit) {\r\n finish();\r\n return true;\r\n }\r\n\r\n\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n//noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n// finish the activity\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item)\n {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if( id == android.R.id.home ) // Back button of the actionbar\n {\n finish();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n\t\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\t\tswitch (item.getItemId()) {\r\n\t\t\tcase android.R.id.home:\r\n\t\t\t\tfinish();\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\treturn super.onOptionsItemSelected(item);\r\n\t\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n\n this.finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n return true;\n }\n return false;\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n if(id == android.R.id.home){\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n if (item.getItemId() == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\r\n\t\tcase android.R.id.home:\r\n\t\t\tsetResult(RESULT_OK, getIntent());\r\n\t\t\tfinish();\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n finish();\n return true;\n default:\n // If we got here, the user's action was not recognized.\n // Invoke the superclass to handle it.\n return super.onOptionsItemSelected(item);\n\n }\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\tbreak;\n\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n\n case android.R.id.home:\n this.finish();\n return true;\n }\n return true;\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\tif (id == android.R.id.home) {\n\t\t\tfinish();\n\t\t\treturn true;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n if (id == android.R.id.home) {\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n //NavUtils.navigateUpFromSameTask(this);\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // todo: goto back activity from here\n finish();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n // Handle item selection\r\n switch (item.getItemId()) {\r\n case android.R.id.home:\r\n onBackPressed();\r\n return true;\r\n\r\n case me.cchiang.lookforthings.R.id.action_sample:\r\n// Snackbar.make(parent_view, item.getTitle() + \" Clicked \", Snackbar.LENGTH_SHORT).show();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n\n\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tonBackPressed();\n\t\t\treturn true;\n\t\tcase R.id.scan_menu:\n\t\t\tonScan();\n\t\t\tbreak;\n\t\tcase R.id.opt_about:\n\t\t\t//onAbout();\n\t\t\tbreak;\n\t\tcase R.id.opt_exit:\n\t\t\tfinish();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t\treturn true;\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n super.onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n this.finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(@NonNull MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n\n case android.R.id.home:\n finish();\n return true;\n\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if(id==android.R.id.home){\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\r\n\t switch (item.getItemId()) {\r\n\t \t// back to previous page\r\n\t case android.R.id.home:\r\n\t finish();\r\n\t return true;\r\n\t }\r\n\t return super.onOptionsItemSelected(item);\r\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == android.R.id.home) {\r\n // finish the activity\r\n onBackPressed();\r\n return true;\r\n }\r\n\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == android.R.id.home) {\r\n // finish the activity\r\n onBackPressed();\r\n return true;\r\n }\r\n\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId())\n {\n case android.R.id.home:\n this.finish();\n return (true);\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id){\n case R.id.home:{\n NavUtils.navigateUpFromSameTask(this);\n return true;\n }\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n switch(item.getItemId())\n {\n case android.R.id.home:\n super.onBackPressed();\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\treturn true;\n\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n\r\n int id = item.getItemId();\r\n if(id==android.R.id.home){\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }" ]
[ "0.79041183", "0.7805934", "0.77659106", "0.7727251", "0.7631684", "0.7621701", "0.75839096", "0.75300384", "0.74873656", "0.7458051", "0.7458051", "0.7438486", "0.742157", "0.7403794", "0.7391802", "0.73870087", "0.7379108", "0.7370295", "0.7362194", "0.7355759", "0.73454577", "0.734109", "0.73295504", "0.7327726", "0.73259085", "0.73188347", "0.731648", "0.73134047", "0.7303978", "0.7303978", "0.7301588", "0.7298084", "0.72932935", "0.7286338", "0.7283324", "0.72808945", "0.72785115", "0.72597474", "0.72597474", "0.72597474", "0.725962", "0.7259136", "0.7249966", "0.7224023", "0.721937", "0.7216621", "0.72045326", "0.7200649", "0.71991026", "0.71923256", "0.71851367", "0.7176769", "0.7168457", "0.71675026", "0.7153402", "0.71533287", "0.71352696", "0.71350807", "0.71350807", "0.7129153", "0.7128639", "0.7124181", "0.7123387", "0.7122983", "0.71220255", "0.711715", "0.711715", "0.711715", "0.711715", "0.7117043", "0.71169263", "0.7116624", "0.71149373", "0.71123946", "0.7109806", "0.7108778", "0.710536", "0.7098968", "0.70981944", "0.7095771", "0.7093572", "0.7093572", "0.70862055", "0.7082207", "0.70808214", "0.7080366", "0.7073644", "0.7068183", "0.706161", "0.7060019", "0.70598614", "0.7051272", "0.70374316", "0.70374316", "0.7035865", "0.70352185", "0.70352185", "0.7031749", "0.703084", "0.7029517", "0.7018633" ]
0.0
-1
/ Navigation view new methods handler
@SuppressWarnings("StatementWithEmptyBody") @Override public boolean onNavigationItemSelected(MenuItem item) { // Handle navigation view item clicks here. int id = item.getItemId(); if(id == R.id.nav_main_page){ Intent intent = new Intent(this, MainActivity.class); startActivity(intent); } else if (id == R.id.nav_all_bookings) { Intent intent = new Intent(this, AllBookingsActivity.class); startActivity(intent); } else if (id == R.id.nav_clocking) { Intent intent = new Intent(this, NewClockingActivity.class); startActivity(intent); } else if (id == R.id.nav_settings) { return true; } else if (id == R.id.nav_backup) { Intent intent = new Intent(this, BackupActivity.class); startActivity(intent); } else if (id == R.id.nav_logout) { //Logout user, remove him from the helper Intent intent = new Intent(this, LoginActivity.class); helper.setId(null); helper.setDisplayname(null); helper.setEmail(null); startActivity(intent); } DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); drawer.closeDrawer(GravityCompat.START); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void navigation() {\n }", "@Override\n\tpublic void onNaviViewLoaded() {\n\t\t\n\t}", "@Override\r\n\tpublic void navigate() {\n\t\t\r\n\t}", "@Override\n public void onStartNavi(int arg0) {\n\n }", "@Override\n\tpublic void rightNavClick() {\n\t\t\n\t}", "public void menu4Method() {\n }", "public interface TypeView extends BaseView {\n void getNewListEnd();\n\n void getNewListSuccess(List<New> news, int page);\n\n void getNewListError(String message, int page);\n}", "@Override\n\tpublic void staticFindViewByView() {\n\t\t\n\t}", "@Override\r\n\tpublic void onNaviTurnClick() {\n\r\n\t}", "@Override\r\n\tpublic void onStartNavi(int arg0) {\n\r\n\t}", "@Override\r\n\tpublic void onNaviSetting() {\n\r\n\t}", "public void menu(){\n super.goToMenuScreen();\n }", "private void implementListener() {\n binding.nvView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem menuItem) {\n setNavigationView(menuItem);\n return false;\n }\n });\n }", "@Override\n public void showLoginView() {\n calledMethods.add(\"showLoginView\");\n }", "public void menu3Method() {\n }", "public abstract void mo8519a(View view);", "public void goToLogIn (View view){\n }", "@Override\n\tpublic void onStartNavi(int arg0) {\n\n\t}", "void mo12147a(View view);", "@Override\r\n\tpublic void goToShowList() {\n\t\t\r\n\t}", "public void onAddByWebSitePressed( ) {\n Router.Instance().changeView(Router.Views.AddFromWebSite);\n }", "@Override\n\tpublic void onNaviTurnClick() {\n\t\t\n\t}", "@FXML private void transitionView(ActionEvent event) {\n\t\t// id button caller\n\t\tString btn = ((Button) event.getSource()).getId();\n\t\tNavigationController.PREVIOUS = NavigationController.STARTMENU;\n\t\t// send load request\n\t\tif (btn.equals(\"newgame\"))\n\t\t\tNavigationController.loadView(NavigationController.GAMECREATION);\n\t\tif (btn.equals(\"loadgame\"))\n\t\t\tNavigationController.loadView(NavigationController.SAVELOAD);\n\n\t\t// if this spot is reached: do nothing\n\t}", "@Override\n public void onClick(View arg0)\n {\n\n ExtendedNewController extendedNewController = new ExtendedNewController();\n startNewControllerActivity(extendedNewController, 0, 0);\n }", "@Override\n\tpublic void view() {\n\t\t\n\t}", "public interface MainView extends BaseView{\n\n void addMoreMoviesToTheList(List<MovieInfoModel> movieInfoModelList);\n void showMovieList(List<MovieInfoModel> movieInfoModelList);\n void resetPageNumberToDefault();\n void showNoMovieInfo();\n\n}", "NavigationFlow createNavigationFlow();", "private void initNavigation() {\n\t\tuINavigationView = (MyUINavigationView) findViewById(R.id.action_bar);\n\t\tImageButton btnLeftText = uINavigationView.getBtn_left();\n\t\tButton btnRightText = uINavigationView.getBtn_right();\n\t\tbtnRightText.setVisibility(View.GONE);\n\t\tbtnLeftText.setOnClickListener(new OnClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tfinish();\n\t\t\t}\n\t\t});\n//\t\tbtnRightText.setOnClickListener(new OnClickListener() {\n//\n//\t\t\t@Override\n//\t\t\tpublic void onClick(View v) {\n//\t\t\t\t// TODO Auto-generated method stub\n//\t\t\t\tsetPersonalInfo();\n//\t\t\t}\n//\t\t});\n\t}", "public interface RestaurantNavigationListener {\n void OnRestarutantDetails(Restaurant restaurant);\n void OnRestaurantList();\n}", "public Menu createViewMenu();", "@Override\n public void onGetNavigationText(int arg0, String arg1) {\n\n }", "@Override\n\tpublic void staticByViewListener() {\n\t\t\n\t}", "public myView() {\n initComponents();\n CreatMenu();\n }", "public void afterClickHistory(View view) {\n }", "@Override\n\tpublic void onCalculateRouteSuccess() {\n\t\tnaviActivity();\n\t}", "public void events(View v){\n }", "public void menu2Method() {\n }", "private void addViews() {\n\t}", "public interface NavigationInterface {\n\n /**\n * Called when a new directory is opened by the user.\n *\n * @param dirFile The file that points to the new directory\n * that has just been loaded.\n */\n public void onNewDirLoaded(File dirFile);\n\n /**\n * Called when a new file is opened by the user.\n *\n * @param file The file that was just opened.\n */\n public void onFileOpened(File file);\n\n /**\n * Called when the user navigates back to the parent directory.\n *\n * @param dirFile The file that points to the parent directory that\n * was just opened.\n */\n public void onParentDirLoaded(File dirFile);\n\n /**\n * Called when a file or folder fails to open.\n *\n * @param file The file/folder that failed to open.\n */\n public void onFileFolderOpenFailed(File file);\n\n /**\n * Called when a file or folder fails to open.\n *\n * @param imagePath The file/folder that failed to open.\n */\n public void getImagePath(String imagePath);\n\n}", "private void buildLeftHandNavNar() {\n\t\tsetCurrentSelectedDefinitionObjId(null);\n\t\tsetCurrentSelectedParamerterObjId(null);\n\t\tsetCurrentSelectedFunctionObjId(null);\n\t\tgetFunctionArgumentList().clear();\n\t\tgetFunctionArgNameMap().clear();\n\t\trightHandNavPanel.clear();\n\t\tNavPills navPills = new NavPills();\n\t\tnavPills.setStacked(true);\n\t\t\n\t\tgeneralInformation = new AnchorListItem();\n\t\t//includeLibrary = new AnchorListItem();\n\t\tparameterLibrary = new AnchorListItem();\n\t\tdefinitionLibrary = new AnchorListItem();\n\t\tfunctionLibrary = new AnchorListItem();\n\t\tviewCQL = new AnchorListItem();\n\t\t\n\t\tgeneralInformation.setIcon(IconType.INFO);\n\t\tgeneralInformation.setText(\"General Information\");\n\t\tgeneralInformation.setTitle(\"General Information\");\n\t\tgeneralInformation.setActive(true);\n\t\t\n\t\t//includeLibrary.setIcon(IconType.INFO);\n\t\t//includeLibrary.setText(\"Inlude library\");\n\t\t//includeLibrary.setTitle(\"Inlude library\");\n\t\t//includeLibrary.setActive(true);\n\t\t\n\t\tparameterLibrary.setIcon(IconType.PENCIL);\n\t\tparameterLibrary.setTitle(\"Parameter\");\n\t\tparamBadge.setText(\"\" + viewParameterList.size());\n\t\tAnchor paramAnchor = (Anchor) (parameterLibrary.getWidget(0));\n\t\t// Double Click causing issues.So Event is not propogated\n\t\tparamAnchor.addDoubleClickHandler(new DoubleClickHandler() {\n\t\t\t@Override\n\t\t\tpublic void onDoubleClick(DoubleClickEvent event) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tevent.stopPropagation();\n\t\t\t}\n\t\t});\n\t\tparamLabel.setStyleName(\"transparentLabel\");\n\t\tparamAnchor.add(paramLabel);\n\t\tparamBadge.setPull(Pull.RIGHT);\n\t\t//paramBadge.setMarginLeft(45);\n\t\tparamAnchor.add(paramBadge);\n\t\tparamAnchor.setDataParent(\"#navGroup\");\n\t\tparamAnchor.setDataToggle(Toggle.COLLAPSE);\n\t\tparameterLibrary.setHref(\"#collapseParameter\");\n\t\t\n\t\tparameterLibrary.add(paramCollapse);\n\t\t\n\t\tdefinitionLibrary.setIcon(IconType.PENCIL);\n\t\tdefinitionLibrary.setTitle(\"Define\");\n\t\tdefineBadge.setText(\"\" + viewDefinitions.size());\n\t\tAnchor defineAnchor = (Anchor) (definitionLibrary.getWidget(0));\n\t\t// Double Click causing issues.So Event is not propogated\n\t\tdefineAnchor.addDoubleClickHandler(new DoubleClickHandler() {\n\t\t\t@Override\n\t\t\tpublic void onDoubleClick(DoubleClickEvent event) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tevent.stopPropagation();\n\t\t\t}\n\t\t});\n\t\tdefineLabel.setStyleName(\"transparentLabel\");\n\t\tdefineAnchor.add(defineLabel);\n\t\tdefineBadge.setPull(Pull.RIGHT);\n\t\t//defineBadge.setMarginLeft(52);\n\t\tdefineAnchor.add(defineBadge);\n\t\tdefineAnchor.setDataParent(\"#navGroup\");\n\t\tdefinitionLibrary.setDataToggle(Toggle.COLLAPSE);\n\t\tdefinitionLibrary.setHref(\"#collapseDefine\");\n\t\t\n\t\tdefinitionLibrary.add(defineCollapse);\n\t\t\n\t\tfunctionLibrary.setIcon(IconType.PENCIL);\n\t\t/* functionLibrary.setText(\"Functions\"); */\n\t\tfunctionLibrary.setTitle(\"Functions\");\n\t\t\n\t\tfunctionBadge.setText(\"\" + viewFunctions.size());\n\t\tAnchor funcAnchor = (Anchor) (functionLibrary.getWidget(0));\n\t\t// Double Click causing issues.So Event is not propogated\n\t\tfuncAnchor.addDoubleClickHandler(new DoubleClickHandler() {\n\t\t\t@Override\n\t\t\tpublic void onDoubleClick(DoubleClickEvent event) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tevent.stopPropagation();\n\t\t\t}\n\t\t});\n\t\tfunctionLibLabel.setStyleName(\"transparentLabel\");\n\t\tfuncAnchor.add(functionLibLabel);\n\t\tfunctionBadge.setPull(Pull.RIGHT);\n\t\t\n\t\t//functionBadge.setMarginLeft(57);\n\t\tfuncAnchor.add(functionBadge);\n\t\tfuncAnchor.setDataParent(\"#navGroup\");\n\t\tfunctionLibrary.setDataToggle(Toggle.COLLAPSE);\n\t\tfunctionLibrary.setHref(\"#collapseFunction\");\n\t\t\n\t\tfunctionLibrary.add(functionCollapse);\n\t\t\n\t\tviewCQL.setIcon(IconType.BOOK);\n\t\tviewCQL.setText(\"View CQL\");\n\t\tviewCQL.setTitle(\"View CQL\");\n\t\t\n\t\tnavPills.add(generalInformation);\n\t\t//snavPills.add(includeLibrary);\n\t\tnavPills.add(parameterLibrary);\n\t\t\n\t\tnavPills.add(definitionLibrary);\n\t\tnavPills.add(functionLibrary);\n\t\tnavPills.add(viewCQL);\n\t\t\n\t\tnavPills.setWidth(\"200px\");\n\t\t\n\t\tmessagePanel.add(successMessageAlert);\n\t\tmessagePanel.add(warningMessageAlert);\n\t\tmessagePanel.add(errorMessageAlert);\n\t\tmessagePanel.add(warningConfirmationMessageAlert);\n\t\tmessagePanel.add(globalWarningConfirmationMessageAlert);\n\t\tmessagePanel.add(deleteConfirmationMessgeAlert);\n\t\t\n\t\t// rightHandNavPanel.add(messagePanel);\n\t\trightHandNavPanel.add(navPills);\n\t}", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "public void in_macha(View view) {\n }", "public void onMenuNew() {\n handleMenuOpen(null);\n }", "public void verHistorialCitas(View view){\n\n }", "interface View extends BaseView {\n //specific methods for each view\n void onTranslation(Sentence sentence);\n }", "@Override\n public void onClick(View v) {\n startNavigation();\n }", "@Override\r\n\tpublic void onGetNavigationText(int arg0, String arg1) {\n\r\n\t}", "public interface SplashView {\n\n void goToMain();\n void gotoLogin();\n\n}", "@Override\r\n\tpublic void navigate( UserFields fields ) {\n\t\t\r\n\t}", "public interface IHomeView extends BaseIView {\n /**\n * 加载页面\n * @param status\n */\n void loadView(int status);\n}", "public abstract void addCustomPages();", "View mo73990a(View view);", "public interface SplashView {\n //跳转到引导页面\n void jumpToGuide();\n\n //跳转到登录页面\n void jumpToLogin();\n\n //跳转到主页面\n void jumpToMain();\n}", "public void onMainClick(){\r\n\t\tmyView.advanceToMain();\r\n\t}", "@Override\r\n\tpublic void mypage() {\n\t\t\r\n\t}", "void view();", "private void setNavigationViewActionListener() {\n navigationView.setNavigationItemSelectedListener(\n item -> {\n Runnable r = HomeController.getHomeControllerInstance().getNavigationViewOnOptionsItemSelected(this, item.getItemId());\n try {\n r.run();\n }catch(NullPointerException e){\n Utilities.stampaToast(SettingsActivity.this, \"Si è verificato un errore.\\nRiprova tra qualche minuto\");\n }\n return false;\n }\n );\n }", "@Override\n public void onViewCreate() {\n }", "public void goHome();", "@Override\n public void onInitNaviSuccess() {\n\n }", "@Override\n\tprotected void RefreshView() {\n\t\t\n\t}", "@Override\r\n\tpublic void onInitNaviSuccess() {\n\r\n\t}", "private void AddUIViewAndHandlers()\n\t{\n\t\t// Set view and autocomplete text\t\t\n\t\tSetViewAndAutoCompleteText(VIEW_ID_COMMAND);\n\t\tSetViewAndAutoCompleteText(VIEW_ID_KEY);\n\t\t\n\t\t// Set handler\n\t\tmCommandViewHandler = MakeViewHandler(VIEW_ID_COMMAND);\t\t\n\t\tmKeyViewHandler = MakeViewHandler(VIEW_ID_KEY);\n\t}", "public interface HomeView extends BaseView {\n void getListData();\n}", "public void goToUserProfile (View view){\n }", "@Override\n\tpublic void InitView() {\n\t\t\n\t}", "public void onAddByMapPressed( ) {\n Router.Instance().changeView(Router.Views.AddWithMap);\n }", "public void onCreateClick(){\r\n\t\tmyView.advanceToCreate();\r\n\t}", "public static void testAddTodoView(){\n }", "public void onClickHome (View v)\n{\n goHome (this);\n}", "void showTodoView();", "public interface IMainView extends MvpView {\n void setMyLocation();\n void setRefresh();\n void scanLock();\n void getNearSeller();\n void feedback();\n void sellerDetail(Long uid);\n void buyBoxFun();\n}", "void favoriteView();", "@Override\n\tpublic void onGetNavigationText(int arg0, String arg1) {\n\n\t}", "public void ClickAceptar(View view){\n\n }", "public interface SignUpView {\n void onSignedUp(SignUpResponseBody body);\n void onSignedUpError();\n void navigateToApp();\n}", "public void register (View view)\n {\n //omer\n }", "@Override\n\t\t\tpublic void onPageSelected(int arg0) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void onPageSelected(int arg0) {\n\t\t\t\t\n\t\t\t}", "public void viewReference(ActionEvent actionEvent) {\n }", "View getActiveView();", "@Override\n public boolean onNavigationItemSelected(@NonNull MenuItem item) {\n Class framentClass = null;\n switch (item.getItemId()) {\n case R.id.navigation_search:\n/* getSupportActionBar().setTitle(\"Catalog\");\n fragment = catalogFragment;\n framentClass = AdminHomePage.class;*/\n intent = new Intent(AdminHomePage.this, AdminHomePage.class);\n startActivity(intent);\n overridePendingTransition(R.anim.slide_out, R.anim.slide_in);\n break;\n\n case R.id.navigation_master:\n showCustomLoadingDialog();\n intent = new Intent(AdminHomePage.this, AdminCategoryActivity.class);\n startActivity(intent);\n overridePendingTransition(R.anim.slide_out, R.anim.slide_in);\n break;\n\n case R.id.navigation_helpCenter:\n intent = new Intent(AdminHomePage.this, HelpCenterActivity.class);\n startActivity(intent);\n // generateRandomNumber();\n // overridePendingTransition(R.anim.slide_out, R.anim.slide_in);\n// getSupportActionBar().setTitle(\"Help Center\");\n// fragment = helpCenterFragment;\n// framentClass = HelpCenterFragment.class;\n break;\n }\n try {\n fragment = (Fragment) framentClass.newInstance();\n android.support.v4.app.FragmentManager fragmentManager = getSupportFragmentManager();\n fragmentManager.beginTransaction().replace(R.id.home_container, fragment).commit();\n setTitle(\"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n return false;\n }", "void onNavigationItemClicked(Element element);", "@Override\n public void onNaviInfoUpdate(NaviInfo arg0) {\n \n }", "@Override\n\t\tpublic void openMenu() {\n\t\t}", "private void navigationViewHandler(NavigationView navigationView) {\n View headerView = navigationView.getHeaderView(0);\n if (headerView != null) {\n circleImgViewProfilePic = (CircleImageView) headerView.findViewById(R.id.circleImgViewProfilePic);\n circleImgViewCamera = (CircleImageView) headerView.findViewById(R.id.circleImgViewCamera);\n TextView txtUserFullName = (TextView) headerView.findViewById(R.id.txtUserFullName);\n setProfilePic(circleImgViewProfilePic, null);\n\n circleImgViewCamera.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n profilePicImageChooser();\n }\n });\n\n txtUserFullName.setText(userProfile.getFirstName() + \" \" + userProfile.getLastName());\n }\n }", "private void gotoCheckInListView() {\n }", "public void clickedPresentationNew() {\n\t\t\n\t}", "public interface IPeopleView extends BaseView{\n void oninsertStaffAdd(String data);\n\n void ondeleteStaffAdd(String data);\n\n void onupdateStaffAdd(String data);\n\n void onauditStaffAdd(String data);\n\n void OngetStaffAddList(List<PeopleBean> data);\n\n void ongetStaffAddDetail(PeopleBean data);\n\n\n void onGgetParentDepartmentStaffList(List<MeParentBean> data);\n}", "private void MenuHOOKS() {\n drawerLayout = findViewById(R.id.drawer_layout);\n navigationView = findViewById(R.id.navigation_view);\n burger_icon = findViewById(R.id.burger_icon);\n contentView = findViewById(R.id.content);\n\n //Navigation Drawer\n navigationView.bringToFront();\n navigationView.setNavigationItemSelectedListener(this);\n navigationView.setCheckedItem(R.id.nav_home);\n\n burger_icon.setOnClickListener(this);\n\n //Animation Function\n animateNavigationDrawer();\n\n }", "@Override\n public void onPageSelected(int arg0) {\n }", "public interface HomePageView extends BaseView{\n Context getContext();\n\n void getSummary(SummaryBean.Data repest);\n\n void getUserinfo(UserInfoBean.Data userInfo);\n\n}", "@Override\n public void onClick(View view) {\n Navigation.findNavController(view).navigate(R.id.addEventFragment);\n }", "protected void navigationMenu(AbstractActivity activity) {\n Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);\n setSupportActionBar(toolbar);\n DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);\n ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(\n activity, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);\n drawer.setDrawerListener(toggle);\n toggle.syncState();\n\n NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);\n navigationView.setNavigationItemSelectedListener(activity);\n }", "public void onViewLoaded(XViewLink link, XView view);", "public interface RegistView extends MvpView{\n public void afterRegist(UserResult userResult);\n}", "public interface IMyNewFirendView {\n\n public void onMyNewFirendGetFriendApplyListSuccess(List<ContactsFriend> datas);\n public void onMyNewFirendGetFriendApplyListFaile(String msg);\n\n public void onMyNewFirendConfirmApplySuccess(int confirm);\n public void onMyNewFirendConfirmApplyFaile(String msg, int confirm);\n\n}", "@Override\n public void onClick()\n {\n Instance instance = null;\n final AbstractUIField uiField = super.getModelObject();\n if (uiField.getInstanceKey() != null) {\n Menu menu = null;\n try {\n instance = uiField.getInstance();\n menu = Menu.getTypeTreeMenu(instance.getType());\n } catch (final EFapsException e) {\n throw new RestartResponseException(new ErrorPage(e));\n }\n if (menu == null) {\n final Exception ex = new Exception(\"no tree menu defined for type \" + instance.getType().getName());\n throw new RestartResponseException(new ErrorPage(ex));\n }\n\n Page page;\n try {\n page = new ContentContainerPage(menu.getUUID(), uiField.getInstanceKey(),\n getPage() instanceof StructurBrowserPage);\n } catch (final EFapsException e) {\n page = new ErrorPage(e);\n }\n this.setResponsePage(page);\n }\n }", "public NavigationController getNavigationController();", "public interface LessionView {\n\n /**\n * 失败提示\n */\n void refreshFailed();\n\n /**\n * 刷新当前求教程活动(求教程榜首)\n *\n * @param lessionActivity\n */\n void refreshActivityTopic(LessionActivity lessionActivity);\n\n /**\n * 通知listview: 数据已刷新\n */\n void notifyRefreshListView();\n\n /**\n * 设置投票页面数据\n *\n * @param voteLessionList\n */\n void setVoteLession(List<CandidateLession> voteLessionList);\n\n /**\n * 设置投票页面数据\n *\n * @param rankingLessionList\n */\n void setRankingLession(List<CandidateLession> rankingLessionList);\n\n /**\n * 刷新倒计时\n *\n * @param time\n */\n void refreshCountDown(String time);\n\n /**\n * 刷新图片到图库中\n *\n * @param filePath\n */\n void mediaRefresh(String filePath);\n\n /**\n * 显示提示信息\n *\n * @param text\n */\n void showMessage(String text);\n\n /**\n * 显示提示信息\n *\n * @param resId\n */\n void showMessage(@StringRes int resId);\n\n /**\n * 转到登录界面\n */\n void gotoLoginPage();\n}", "public void ViewBookInfo(View v) {\n }" ]
[ "0.72241455", "0.6740849", "0.6369403", "0.6236305", "0.62347436", "0.6197563", "0.61398804", "0.6076751", "0.60517406", "0.60485965", "0.603379", "0.6022334", "0.60068893", "0.5993033", "0.5975116", "0.5964429", "0.59634906", "0.5961038", "0.5960021", "0.5951589", "0.5917945", "0.5900837", "0.58978176", "0.5897715", "0.5893571", "0.5886197", "0.5863764", "0.58419335", "0.5830809", "0.58283526", "0.58214635", "0.5812786", "0.58043116", "0.58040375", "0.5796593", "0.5792886", "0.5790438", "0.57895863", "0.578677", "0.5783456", "0.5782726", "0.5782229", "0.576224", "0.575965", "0.5748309", "0.5746888", "0.5741752", "0.5723705", "0.5715446", "0.57134795", "0.5703193", "0.5700255", "0.56974095", "0.5678908", "0.56778485", "0.5668681", "0.5660316", "0.5657043", "0.565575", "0.5651996", "0.56504655", "0.56471115", "0.56429213", "0.56393594", "0.56374204", "0.56371444", "0.5632458", "0.56142366", "0.5609331", "0.5605375", "0.56022567", "0.56020504", "0.55975026", "0.55910337", "0.55822927", "0.5580213", "0.5572745", "0.5571668", "0.5571668", "0.5568312", "0.55560726", "0.55555", "0.5553496", "0.5549048", "0.5543168", "0.55423474", "0.5541405", "0.55402315", "0.55328214", "0.55295557", "0.55180734", "0.5518036", "0.55167574", "0.5504612", "0.55040693", "0.55030066", "0.55002934", "0.5496168", "0.5489496", "0.54862946", "0.54844755" ]
0.0
-1
/ Method for saving data
public void saveSettings(View v) { SharedPreferences sharedPref = this.getPreferences(Context.MODE_PRIVATE); // get shared preferences SharedPreferences.Editor editor = sharedPref.edit(); int seconds_rec = Integer.parseInt(time_recording.getText().toString()); int notif_occ = Integer.parseInt(time_occurance.getText().toString()); editor.putInt(getString(R.string.time_recording_seconds), seconds_rec); // save values to a sp editor.putInt(getString(R.string.time_notification_minutes), notif_occ); editor.commit(); // commit the differences Intent intent = new Intent(this, MainActivity.class); startActivity(intent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void saveData() {\n }", "public void saveData ( ) {\n\t\tinvokeSafe ( \"saveData\" );\n\t}", "private void saveData() {\n\t\tdataSaver.save(data);\n\t}", "public void save() {\n DataBuffer.saveDataLocally();\n\n //TODO save to db must be done properly\n DataBuffer.save(session);\n\n //TODO recording saved confirmation\n }", "protected void saveValues() {\n dataModel.persist();\n }", "public void save();", "public void save();", "public void save();", "public void save();", "public void save() {\t\n\t\n\t\n\t}", "void save();", "void save();", "void save();", "private void saveData() {\n readViews();\n final BookEntry bookEntry = new BookEntry(mNameString, mQuantityString, mPriceString, mSupplier, mPhoneString);\n AppExecutors.getInstance().diskIO().execute(new Runnable() {\n @Override\n public void run() {\n // Insert the book only if mBookId matches DEFAULT_BOOK_ID\n // Otherwise update it\n // call finish in any case\n if (mBookId == DEFAULT_BOOK_ID) {\n mDb.bookDao().insertBook(bookEntry);\n } else {\n //update book\n bookEntry.setId(mBookId);\n mDb.bookDao().updateBook(bookEntry);\n }\n finish();\n }\n });\n }", "public void saveData() {\n\t\t//place to save notes e.g to file\n\t}", "public void saveData(){\r\n file.executeAction(modelStore);\r\n }", "public void saveData(){\n SerializableManager.saveSerializable(this,user,\"userInfo.data\");\n SerializableManager.saveSerializable(this,todayCollectedID,\"todayCollectedCoinID.data\");\n SerializableManager.saveSerializable(this,CollectedCoins,\"collectedCoin.data\");\n uploadUserData uploadUserData = new uploadUserData(this);\n uploadUserData.execute(this.Uid);\n System.out.println(Uid);\n\n }", "void saveData() throws SerializerException;", "@Override\r\n\tpublic void save() {\n\r\n\t\ts.save();\r\n\r\n\t}", "public void save() {\n UTILS.write(FILE.getAbsolutePath(), data);\n }", "@Override\n public void save() {\n \n }", "@Override\n\tpublic void save() {\n\t\t\n\t}", "@Override\n\tpublic void save() {\n\t\t\n\t}", "void saveSaves(Object data, Context context);", "@Override\n public void save()\n {\n \n }", "private void saveData() {\n\t\tthis.dh = new DataHelper(this);\n\t\tthis.dh.updateData(String.valueOf(mData.getText()), i.getId());\n\t\tthis.dh.close();\n\t\tToast\n\t\t\t\t.makeText(ctx, \"Changes saved successfully...\",\n\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\n\t\tIntent myIntent = new Intent(EditActivity.this, StartActivity.class);\n\t\tEditActivity.this.startActivity(myIntent);\n\t\tfinish();\n\t}", "public void saveData() {\n throw new UnsupportedOperationException(\"Not yet supported\");\n }", "public void save() {\n }", "public boolean save(Data model);", "@Override\n\tpublic void save(DataKey arg0) {\n\t\t\n\t}", "@Override\n public void saveValues() {\n \n }", "@Override\n public void Save() {\n\t \n }", "@Override\r\n\tpublic void save() {\n\r\n\t}", "@Override\r\n\tpublic void save() {\n\r\n\t}", "private void saveData() {\n // Actualiza la información\n client.setName(nameTextField.getText());\n client.setLastName(lastNameTextField.getText());\n client.setDni(dniTextField.getText());\n client.setAddress(addressTextField.getText());\n client.setTelephone(telephoneTextField.getText());\n\n // Guarda la información\n DBManager.getInstance().saveData(client);\n }", "@Override\n public void save() {\n\n }", "public void saveData() {\n try {\n JsonWriter jw = new JsonWriter(openFileOutput(DATA_FILE, Context.MODE_PRIVATE));\n jw.write(user);\n jw.close();\n } catch(Exception e) {\n Log.i(\"Exception :\", e.toString());\n }\n }", "private void saveData(){\n\t\tdataBase=mHelper.getWritableDatabase();\n\t\tContentValues values=new ContentValues();\n\t\t\n\t\tvalues.put(DbHelper.KEY_NNAME,nname);\n\t\t//values.put(DbHelper.KEY_LNAME,lname );\n\t\t\n\t\tSystem.out.println(\"\");\n\t\tif(isUpdate)\n\t\t{ \n\t\t\t//update database with new data \n\t\t\tdataBase.update(DbHelper.TABLE_NOTE, values, DbHelper.KEY_ID+\"=\"+id, null);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//insert data into database\n\t\t\tdataBase.insert(DbHelper.TABLE_NOTE, null, values);\n\t\t}\n\t\t//close database\n\t\tdataBase.close();\n\t\tfinish();\n\t\t\n\t\t\n\t}", "private void saveData() {\r\n\t\tif(mFirstname.getText().toString().trim().length() > 0 &&\r\n\t\t\t\tmLastname.getText().toString().trim().length() > 0 &&\r\n\t\t\t\tmEmail.getText().toString().trim().length() > 0) {\r\n\t\t\tmPrefs.setFirstname(mFirstname.getText().toString().trim());\r\n\t\t\tmPrefs.setLastname(mLastname.getText().toString().trim());\r\n\t\t\tmPrefs.setEmail(mEmail.getText().toString().trim());\r\n\t\t\tif(mMaleBtn.isChecked())\r\n\t\t\t\tmPrefs.setGender(0);\r\n\t\t\telse if(mFemaleBtn.isChecked())\r\n\t\t\t\tmPrefs.setGender(1);\r\n\t\t\tif(!mCalendarSelected.after(mCalendarCurrent)) \r\n\t\t\t\tmPrefs.setDateOfBirth(mCalendarSelected.get(Calendar.YEAR), \r\n\t\t\t\t\t\tmCalendarSelected.get(Calendar.MONTH), \r\n\t\t\t\t\t\tmCalendarSelected.get(Calendar.DAY_OF_MONTH));\r\n\t\t\tToast.makeText(getActivity(), R.string.msg_changes_saved, Toast.LENGTH_LONG).show();\r\n\t\t} else \r\n\t\t\tToast.makeText(getActivity(), R.string.msg_registration_empty_field, Toast.LENGTH_LONG).show();\r\n\t}", "public void save() {\n //write lift information to datastore\n LiftDataAccess lda = new LiftDataAccess();\n ArrayList<Long>newKeys = new ArrayList<Long>();\n for (Lift l : lift) {\n newKeys.add(lda.insert(l));\n }\n\n //write resort information to datastore\n liftKeys = newKeys;\n dao.update(this);\n }", "public boolean save();", "public void saveExtraData() {}", "@Override\r\n\tpublic void save() throws SaveException {\n\t\t\r\n\t}", "public void save() {\n ProductData.saveData(tree);\n }", "abstract public void saveData(Bundle bundle);", "public void save()\n\t{\n\t\tfor(PlayerData pd : dataMap.values())\n\t\t\tpd.save();\n\t}", "@Override\r\n\tpublic final void saveObjectData() throws BillingSystemException{\n\t}", "public boolean save(T data) throws MIDaaSException;", "@Override\n\tpublic void save() {\n\t\tSystem.out.println(\"save method\");\n\t}", "protected abstract void doSave();", "public void saveFormData() {\r\n if(!saveRequired) return;\r\n if(cvHierarchyData != null && cvHierarchyData.size()>0) {\r\n SponsorHierarchyBean sponsorHierarchyBean;\r\n for(int index=0; index<cvHierarchyData.size(); index++) {\r\n try {\r\n sponsorHierarchyBean = (SponsorHierarchyBean)cvHierarchyData.get(index);\r\n if(sponsorHierarchyBean.getAcType() != null) {\r\n if(sponsorHierarchyBean.getAcType() == TypeConstants.UPDATE_RECORD) {\r\n queryEngine.update(queryKey,sponsorHierarchyBean);\r\n }else if(sponsorHierarchyBean.getAcType() == TypeConstants.INSERT_RECORD) {\r\n queryEngine.insert(queryKey,sponsorHierarchyBean);\r\n }else if(sponsorHierarchyBean.getAcType() == TypeConstants.DELETE_RECORD) {\r\n queryEngine.delete(queryKey,sponsorHierarchyBean);\r\n }\r\n }\r\n }catch(CoeusException coeusException){\r\n coeusException.printStackTrace();\r\n }\r\n }\r\n }\r\n saveRequired = false;\r\n }", "private void saveData() {\n\n SharedPreferences sharedPreferences=getSharedPreferences(\"userInfo\", Context.MODE_PRIVATE);\n SharedPreferences.Editor editor=sharedPreferences.edit();\n\n editor.putString(\"name\",name.getText().toString());\n editor.putString(\"regnum\",regnum.getText().toString());\n editor.putInt(\"count\", count);\n editor.apply();\n\n }", "public static void save()\n\t{\n writeMap();\n\t}", "private static void saveData(String data) {\n }", "public void saveData(){\n reporter.info(\"Save edited form\");\n clickOnElement(LOCATORS.getBy(COMPONENT_NAME,\"SAVE_BUTTON\"));\n }", "public void saveData() {\n if (dataComplete()) {\n if(validLengths())\n {\n Item old_item = items.get(item_index);\n int item_purchase_status = 0;\n if (!item_purchased.isChecked()) {\n item_purchase_status = 1;\n }\n\n ds.open();\n Item new_item = new Item(old_item.id, item_name.getText().toString(), item_category.getText().toString(),\n item_description.getText().toString(), Double.parseDouble(item_price.getText().toString()), item_purchase_status);\n boolean success = ds.editEntry(new_item);\n ds.close();\n\n if (success) {\n exit();\n } else {\n empty_error.setVisibility(empty_error.INVISIBLE);\n overflow_error.setVisibility(overflow_error.INVISIBLE);\n unexpected_error.setVisibility(unexpected_error.VISIBLE);\n }\n }\n else\n {\n empty_error.setVisibility(empty_error.INVISIBLE);\n unexpected_error.setVisibility(unexpected_error.INVISIBLE);\n overflow_error.setVisibility(overflow_error.VISIBLE);\n }\n } else {\n unexpected_error.setVisibility(unexpected_error.INVISIBLE);\n overflow_error.setVisibility(overflow_error.INVISIBLE);\n empty_error.setVisibility(empty_error.VISIBLE);\n }\n }", "private void saveData() {\n // Save data to ReminderData class\n reminderData.setMinutes(timePicker.getMinute());\n reminderData.setDataHours(timePicker.getHour());\n reminderData.setNotificationText(reminderText.getText().toString());\n reminderData.saveDataToSharedPreferences();\n }", "void save() {\n gameModelPoDao.saveToFile(file.getAbsolutePath(), gameModelPo);\n }", "private void saveFunction() {\n }", "private boolean saveData() {\n // get data from input controls\n collectDataFromUI();\n\n if (!validateData()) return false;\n\n boolean isTransfer = mCommon.transactionEntity.getTransactionType().equals(TransactionTypes.Transfer);\n if (!isTransfer) {\n mCommon.resetTransfer();\n }\n\n // Transaction. Need the id for split categories.\n\n if (!saveTransaction()) return false;\n\n // Split Categories\n\n if (mCommon.convertOneSplitIntoRegularTransaction()) {\n saveTransaction();\n }\n\n if(!mCommon.isSplitSelected()) {\n // Delete any split categories if split is unchecked.\n mCommon.removeAllSplitCategories();\n }\n if (!saveSplitCategories()) return false;\n\n return true;\n }", "private void save() {\r\n\t\tif (Store.save()) {\r\n\t\t\tSystem.out.println(\" > The store has been successfully saved in the file StoreData.\\n\");\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\" > An error occurred during saving.\\n\");\r\n\t\t}\r\n\t}", "public void storeData() {\n try {\n ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(\"DB/Guest.ser\"));\n out.writeInt(guestList.size());\n out.writeInt(Guest.getMaxID());\n for (Guest guest : guestList)\n out.writeObject(guest);\n //System.out.printf(\"GuestController: %,d Entries Saved.\\n\", guestList.size());\n out.close();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "public void save() {\n super.storageSave(listPedidosAssistencia.toArray());\n }", "protected void save() {\n close();\n if(saveAction != null) {\n saveAction.accept(getObject());\n }\n }", "@Override\n\tpublic void saveData()\n\t{\n ssaMain.d1.pin = ssaMain.tmp_pin1;\n ssaMain.d1.balance = ssaMain.tmp_balance1;\n System.out.println(\"Your account has been established successfully.\");\n\t}", "private void saveToFileData() {//Context context) {\n try {\n FileOutputStream fileOutputStream = openFileOutput(fileNameData, Context.MODE_PRIVATE);\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream);\n objectOutputStream.writeObject(Data.userData);\n objectOutputStream.close();\n fileOutputStream.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public void save() {\n\t\tFileOutputStream fos;\n\t\ttry {\n\t\t\tfos = new FileOutputStream(\"studentData.dat\");\n\n\t\t\tObjectOutputStream oos;\n\t\t\ttry {\n\t\t\t\toos = new ObjectOutputStream(fos);\n\n\t\t\t\toos.writeObject(studentList);\n\t\t\t\toos.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.println(\"File is finished writing to the hard drive\");\n\t}", "protected void saveData(DataModel[] models) throws Exception {\n }", "private void saveData() {\n try {\n Student student = new Student(firstName.getText(), lastName.getText(),\n form.getText(), stream.getText(), birth.getText(),\n gender.getText(), Integer.parseInt(admission.getText()),\n Integer.parseInt(age.getText()));\n\n\n if (action.equalsIgnoreCase(\"new\") && !assist.checkIfNull(student)) {\n\n dao.insertNew(student);\n JOptionPane.showMessageDialog(null, \"Student saved !\", \"Success\", JOptionPane.INFORMATION_MESSAGE);\n\n } else if (action.equalsIgnoreCase(\"update\") && !assist.checkIfNull(student)) {\n dao.updateStudent(student, getSelected());\n JOptionPane.showMessageDialog(null, \"Student Updated !\", \"Success\", JOptionPane.INFORMATION_MESSAGE);\n }\n\n prepareTable();\n prepareHistory();\n buttonSave.setVisible(false);\n admission.setEditable(true);\n }catch (Exception e)\n {}\n }", "public void save(HashMap<Integer, T> data) {\n\t\tthis.data.putAll(data);\n\t}", "@Override\n\tpublic void saveData(Object objectsToSave, String path) {\n\t\t\n\t\ttry {\n\t\t\tString objects = (String) objectsToSave;\n\t\t\tFileOutputStream fileOutputStream = new FileOutputStream(path);\n\t\t\tfileOutputStream.write(objects.getBytes());\n\t\t\tfileOutputStream.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "private void save() {\n Toast.makeText(ContactActivity.this, getString(R.string.save_contact_toast), Toast.LENGTH_SHORT).show();\n\n String nameString = name.getText().toString();\n String titleString = title.getText().toString();\n String emailString = email.getText().toString();\n String phoneString = phone.getText().toString();\n String twitterString = twitter.getText().toString();\n \n if (c != null) {\n datasource.editContact(c, nameString, titleString, emailString, phoneString, twitterString);\n }\n else {\n \tc = datasource.createContact(nameString, titleString, emailString, phoneString, twitterString);\n }\n }", "private boolean savingData(Track track){\n return sqLiteController.SAVE_TRACK_DATA(track);\n }", "private void actuallyWriteData() {\r\n\t\t// Get rid of old data. Getting rid of trips, trip patterns, and blocks\r\n\t\t// is a bit complicated. Need to delete them in proper order because\r\n\t\t// of the foreign keys. Because appear to need to use plain SQL\r\n\t\t// to do so successfully (without reading in objects and then\r\n\t\t// deleting them, which takes too much time and memory). Therefore\r\n\t\t// deleting of this data is done here before writing the data.\r\n\t\tlogger.info(\"Deleting old blocks and associated trips from database...\");\r\n\t\tBlock.deleteFromSandboxRev(session);\r\n\r\n\t\tlogger.info(\"Deleting old trips from database...\");\r\n\t\tTrip.deleteFromSandboxRev(session);\r\n\r\n\t\tlogger.info(\"Deleting old trip patterns from database...\");\r\n\t\tTripPattern.deleteFromSandboxRev(session);\r\n\t\t\r\n\t\t// Now write the data to the database.\r\n\t\t// First write the Blocks. This will also write the Trips, TripPatterns,\r\n\t\t// Paths, and TravelTimes since those all have been configured to be\r\n\t\t// cascade=CascadeType.ALL .\r\n\t\tlogger.info(\"Saving {} blocks (plus associated trips) to database...\", \r\n\t\t\t\tgtfsData.getBlocks().size());\r\n\t\tint c = 0;\r\n\t\tfor (Block block : gtfsData.getBlocks()) {\r\n\t\t\tlogger.debug(\"Saving block #{} with blockId={} serviceId={} blockId={}\",\r\n\t\t\t\t\t++c, block.getId(), block.getServiceId(), block.getId());\r\n\t\t\twriteObject(block);\r\n\t\t}\r\n\t\t\r\n\t\tlogger.info(\"Saving routes to database...\");\r\n\t\tRoute.deleteFromSandboxRev(session);\r\n\t\tfor (Route route : gtfsData.getRoutes()) {\r\n\t\t\twriteObject(route);\r\n\t\t}\r\n\t\t\r\n\t\tlogger.info(\"Saving stops to database...\");\r\n\t\tStop.deleteFromSandboxRev(session);\r\n\t\tfor (Stop stop : gtfsData.getStops()) {\r\n\t\t\twriteObject(stop);\r\n\t\t}\r\n\t\t\r\n\t\tlogger.info(\"Saving agencies to database...\");\r\n\t\tAgency.deleteFromSandboxRev(session);\r\n\t\tfor (Agency agency : gtfsData.getAgencies()) {\r\n\t\t\twriteObject(agency);\r\n\t\t}\r\n\r\n\t\tlogger.info(\"Saving calendars to database...\");\r\n\t\tCalendar.deleteFromSandboxRev(session);\r\n\t\tfor (Calendar calendar : gtfsData.getCalendars()) {\r\n\t\t\twriteObject(calendar);\r\n\t\t}\r\n\t\t\r\n\t\tlogger.info(\"Saving calendar dates to database...\");\r\n\t\tCalendarDate.deleteFromSandboxRev(session);\r\n\t\tfor (CalendarDate calendarDate : gtfsData.getCalendarDates()) {\r\n\t\t\twriteObject(calendarDate);\r\n\t\t}\r\n\t\t\r\n\t\tlogger.info(\"Saving fare rules to database...\");\r\n\t\tFareRule.deleteFromSandboxRev(session);\r\n\t\tfor (FareRule fareRule : gtfsData.getFareRules()) {\r\n\t\t\twriteObject(fareRule);\r\n\t\t}\r\n\t\t\r\n\t\tlogger.info(\"Saving fare attributes to database...\");\r\n\t\tFareAttribute.deleteFromSandboxRev(session);\r\n\t\tfor (FareAttribute fareAttribute : gtfsData.getFareAttributes()) {\r\n\t\t\twriteObject(fareAttribute);\r\n\t\t}\r\n\t\t\r\n\t\tlogger.info(\"Saving frequencies to database...\");\r\n\t\tFrequency.deleteFromSandboxRev(session);\r\n\t\tfor (Frequency frequency : gtfsData.getFrequencies()) {\r\n\t\t\twriteObject(frequency);\r\n\t\t}\r\n\t\t\r\n\t\tlogger.info(\"Saving transfers to database...\");\r\n\t\tTransfer.deleteFromSandboxRev(session);\r\n\t\tfor (Transfer transfer : gtfsData.getTransfers()) {\r\n\t\t\twriteObject(transfer);\r\n\t\t}\r\n\t}", "public void save(List<T> data) {\n\t\ttry {\n\t\t\tFile file = new File(getFileLocation());\n\t\t\tif (!file.getParentFile().exists()) {\n\t\t\t\tfile.getParentFile().mkdirs();\n\t\t\t}\n\t\t\tFileWriter fw = new FileWriter(getFileLocation());\n\t\t\tBufferedWriter bw = new BufferedWriter(fw);\n\t\t\tbw.write(gson.toJson(data));\n\t\t\tbw.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "private void saveToDb() {\r\n ContentValues values = new ContentValues();\r\n values.put(DbAdapter.KEY_DATE, mTime);\r\n if (mPayeeText != null && mPayeeText.getText() != null)\r\n \tvalues.put(DbAdapter.KEY_PAYEE, mPayeeText.getText().toString());\r\n if (mAmountText != null && mAmountText.getText() != null)\r\n \tvalues.put(DbAdapter.KEY_AMOUNT, mAmountText.getText().toString());\r\n if (mCategoryText != null && mCategoryText.getText() != null)\r\n \tvalues.put(DbAdapter.KEY_CATEGORY, mCategoryText.getText().toString());\r\n if (mMemoText != null && mMemoText.getText() != null)\r\n \tvalues.put(DbAdapter.KEY_MEMO, mMemoText.getText().toString());\r\n if (mTagText != null && mTagText.getText() != null)\r\n \tvalues.put(DbAdapter.KEY_TAG, mTagText.getText().toString());\r\n\r\n \tif (Utils.validate(values)) {\r\n \t\tmDbHelper.open();\r\n \t\tif (mRowId == null) {\r\n \t\t\tlong id = mDbHelper.create(values);\r\n \t\t\tif (id > 0) {\r\n \t\t\t\tmRowId = id;\r\n \t\t\t}\r\n \t\t} else {\r\n \t\t\tmDbHelper.update(mRowId, values);\r\n \t\t}\r\n \t\tmDbHelper.close();\r\n \t}\r\n\t}", "public void saveInformation(){\n market.saveInformationOfMarket();\n deckProductionCardOneBlu.saveInformationOfProductionDeck();\n deckProductionCardOneGreen.saveInformationOfProductionDeck();\n deckProductionCardOneViolet.saveInformationOfProductionDeck();\n deckProductionCardOneYellow.saveInformationOfProductionDeck();\n deckProductionCardThreeBlu.saveInformationOfProductionDeck();\n deckProductionCardThreeGreen.saveInformationOfProductionDeck();\n deckProductionCardThreeYellow.saveInformationOfProductionDeck();\n deckProductionCardThreeViolet.saveInformationOfProductionDeck();\n deckProductionCardTwoBlu.saveInformationOfProductionDeck();\n deckProductionCardTwoGreen.saveInformationOfProductionDeck();\n deckProductionCardTwoViolet.saveInformationOfProductionDeck();\n deckProductionCardTwoYellow.saveInformationOfProductionDeck();\n\n\n }", "public interface SaveData {\n\tvoid saveChildAccountData (ChildAccount childAccount) throws JsonGenerationException, JsonMappingException, IOException;\n\n\tvoid saveDataFileBasedParentAccountData (DataFileBasedParentAccount parentAccount) throws JsonGenerationException, JsonMappingException, IOException;\n}", "private void saveData(){\n\t\tsynchronized(onlineAllInfoList){\n\t\t\tRecorder.save(onlineAllInfoList, onlineAllInfoListFileName);\n\t\t}\n\t\t//System.out.println(\"Saving onlineCompetitionInfoList...\");System.out.flush();\n\t\tsynchronized(onlineCompetitionInfoList){\n\t\t\tRecorder.save(onlineCompetitionInfoList, onlineCompetitionInfoListFileName);\t\t\t\n\t\t}\n\t\t//System.out.println(\"Saving competitionList...\");System.out.flush();\n\t\tsynchronized(competitionList){\n\t\t\tRecorder.save(competitionList, competitionInfoListFileName);\n\t\t}\n\t\t//System.out.println(\"Saving allAIInfoList...\");System.out.flush();\n\t\tsynchronized(allAIInfoList){\n\t\t\tRecorder.save(allAIInfoList, allInfoListFileName);\t\t\t\n\t\t}\n\t\t//System.out.println(\"Saving waitingInfoList...\");System.out.flush();\n\t\tsynchronized(waitingInfoList){\n\t\t\tRecorder.save(waitingInfoList, waitingInfoListFileName);\t\t\t\n\t\t}\n\t\t//System.out.println(\"Saving sortedAIInfoPool...\");System.out.flush();\n\t\tsynchronized(sortedAIInfoPool){\n\t\t\tRecorder.save(sortedAIInfoPool, sortedInfoListFileName);\t\t\t\n\t\t}\n\t}", "private void saveData() {\n\t\tlogger.trace(\"saveData() is called\");\n\t\t\n\t\tObjectOutputStream out = null;\n\t\ttry {\n\t\t\tFileOutputStream fileOut = new FileOutputStream(\"server-info.dat\");\n\t\t\tout = new ObjectOutputStream(fileOut);\n\t\t\tout.writeObject(jokeFile);\n\t\t\tout.writeObject(kkServerPort);\n\t\t\tout.flush();\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.err.println(\"saving server-info.dat file is encountering an error for some reason.\");\n\t\t\tlogger.error(\"saving server-info.dat file is encountering an error for some reason.\");\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"saving server-info.dat file is encountering an error for some reason.\");\t\n\t\t\tlogger.error(\"saving server-info.dat file is encountering an error for some reason.\");\n\t\t} \n\t\tfinally {\n\t\t\tif (out != null){\n\t\t\t\ttry{\n\t\t\t\t\tout.close();\n\t\t\t\t}\n\t\t\t\tcatch (IOException e){\n\t\t\t\t\tSystem.err.println(\"saving server-info.dat file is encountering an error for some reason.\");\n\t\t\t\t\tlogger.error(\"saving server-info.dat file is encountering an error for some reason.\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic void save(CorsoDiLaurea corso) {\n\t\t\n\t}", "private boolean saveData()\r\n {\n if (tableDataValid())\r\n {\r\n // get the modified rows\r\n Vector vecModifiedRows = getModifiedRows() ;\r\n if (vecModifiedRows != null)\r\n {\r\n System.out.println(\"obtd modified rows successfuly\") ;\r\n }\r\n\r\n HashMap hashStoredProcedure = (HashMap)tableStructureBeanPCDR.getHashStoredProceduresForThisTable();\r\n if(hashStoredProcedure == null)\r\n System.out.println(\"hashStoredProcedure == null\");\r\n //Get the update stored procedure associated witht this table.\r\n StoredProcedureBean updateStoredProcedure =\r\n (StoredProcedureBean)hashStoredProcedure.get(new Integer(1));\r\n\r\n RequestTxnBean requestTxnBean = new RequestTxnBean();\r\n requestTxnBean.setAction(\"MODIFY_DATA\");\r\n requestTxnBean.setStoredProcedureBean(updateStoredProcedure);\r\n requestTxnBean.setRowsToModify(vecModifiedRows) ;\r\n\r\n // the servlet will return if the saving process was successful or not\r\n Boolean success = (Boolean)getDataFromServlet(requestTxnBean) ;\r\n if (success == null) // Error while saving data\r\n {\r\n String msg = coeusMessageResources.parseMessageKey(\r\n \"saveFail_exceptionCode.1102\");\r\n\r\n CoeusOptionPane.showInfoDialog(msg);\r\n return false;\r\n }\r\n else\r\n {//Data Saved Successfully\r\n saveRequired = false;\r\n return true;\r\n }\r\n\r\n }// end if data validation\r\n else\r\n {\r\n return false;\r\n }\r\n }", "private void save() {\n Saver.saveTeam(team);\n }", "public static void SaveProcessedData()\n\t{\n\t\tSystem.out.println(\"\\r\\n... Saving processed Data....\");\n\t\t\n\t\tString date = new SimpleDateFormat(\"yyyyMMddhhmm\").format(new Date());\n\t\tString generalInput = \"FeatureExpressionCollection=\" + FeatureExpressionCollection.GetCount() + \";\" + FeatureExpressionCollection.GetLoc() + \";\" + FeatureExpressionCollection.GetMeanLofc() + \";\" + FeatureExpressionCollection.numberOfFeatureConstants;\n\t\t\n\t\t// Save files\n\t\ttry \n\t\t{\n\t\t\tFileUtils.write(new File(date + \"_\" + featuresPath), FeatureExpressionCollection.SerializeFeatures());\n\t\t\tFileUtils.write(new File(date + \"_\" + methodsPath), MethodCollection.SerializeMethods());\n\t\t\tFileUtils.write(new File(date + \"_\" + filesPath), FileCollection.SerializeFiles());\n\t\t\tFileUtils.write(new File(date + \"_\" + generalPath), generalInput);\n\t\t} \n\t\tcatch (IOException e) \n\t\t{\n\t\t\tSystem.out.println(\"ERROR: Could not save processed data files\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tSystem.out.println(\"... done!\");\n\t}", "public void save(){\r\n\t\tmanager.save(this);\r\n\t}", "public static void saveData() throws FileNotFoundException {\t\n\t\t\t\n\tScanner inputStream = new Scanner(new File(\"bookings.dat\"));\n\t\ttry {\n\t\t\t\n\t\t\tBookingList.surName = inputStream.nextLine();\n\t\t\tBookingList.tableNo = inputStream.nextLine();\n\t\t\tBookingList.sittingTime = inputStream.nextLine();\n\t\t\tBookingList.partyOf = inputStream.nextLine();\n\t\t\t\t\n\t\t\tBooking<?> bookingData = new Booking<Object>(null, surName, tableNo, sittingTime, partyOf);\n\t\t\tb1.insert(bookingData);\n\t\t\t\t\n\t\t}finally {\n\t\t\tinputStream.close();\n\t\t}\n\t\t\t\n\t}", "private void saveData(){\n databaseReference.setValue(new Teacher(0, \"\", 0.0));\n }", "void save(String key, Object data, int expirySeconds) throws BusinessException;", "private void createSaveData(){\n try {\n File f = new File(filePath, highScores);\n FileWriter output = new FileWriter(f);\n BufferedWriter writer = new BufferedWriter(output);\n\n writer.write(\"0-0-0-0-0\");\n writer.newLine();\n writer.write(\".....-.....-.....-.....-.....\");\n writer.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "@Override\n\tprotected void save() throws Exception {\n\t\t//turn the list of data into a unique list of tickets\n\t\tMap<String, ExtTicketVO> tickets= new HashMap<>(data.size());\n\t\tfor (SOHDRFileVO dataVo : data) {\n\t\t\t//035 are harvests and all we care about\n\t\t\tif (\"035\".equals(dataVo.getSoType())) {\n\t\t\t\tExtTicketVO vo = transposeTicketData(dataVo, new ExtTicketVO());\n\t\t\t\ttickets.put(vo.getTicketId(), vo);\n\t\t\t}\n\t\t}\n\n\t\tpopulateTicketDBData(tickets);\n\n\t\ttickets = removeGhostRecords(tickets);\n\n\t\t//don't bother with the rest of this class if we have no tickets\n\t\tif (tickets.isEmpty()) return;\n\n\t\tdecomissionUnits(tickets.keySet()); //ticket\n\n\t\tpurgePartShipments(tickets.keySet()); //calls purgeShipments to cascade deletion\n\n\t\tsetDispositionCode(tickets); //ticket_data attr_dispositionCode\tNONREPAIRABLE\n\n\t\tcorrectLedgerEntries(tickets);\n\t}", "public JSONObject save();", "public void saveValue() {\n String[] idCol = assignedDataObject.getIdentifyTemplate().getIdentifyColumnNames();\n if (!(idCol.length == 1 && name.equals(idCol[0]))) { // method \"copy\" must not change unique key name! For any other methods it is not needed to save from frame.\n if (this.getText().equals(\"\")) {\n assignedDataObject.setInt(name, 0);\n } else {\n assignedDataObject.setInt(name, this.getIntValue());\n }\n }\n }", "void save(Bill bill);", "void saveUserData(User user);", "public void onSaveClick() {\n Log.d(\"database\", \"onSaveClick invoked.\");\n Prediction p = new Prediction(0, resultStringToSave, byteArrayToSave);\n Log.d(\"database\", \"Prediction before adding to db... id: ? prediction string: \" + resultStringToSave + \" bytearr: \" + byteArrayToSave);\n PredictionDatabase.insert(p);\n // save to db\n }", "public void save()\n\t{\n\t\tif(entity != null)\n\t\t\t((SaveHandler)DimensionManager.getWorld(0).getSaveHandler()).writePlayerData(entity);\n\t}", "private void saveData() {\n SharedPreferences sharedPreferences = getSharedPreferences(SHARED_PREFS, MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n Gson gson = new Gson();\n String jsonItem = gson.toJson(reminderItems);\n editor.putString(REMINDER_ITEM, jsonItem);\n editor.apply();\n }", "public boolean saveOrUpdate(Data model);", "public void save(){\n\t\tlowresModelManager.save();\n\t}", "public void saveToDB() {\n \twipeDB();\n\t\tSQLiteDatabase db = nodeData.getReadableDatabase();\n\t\tContentValues values = new ContentValues();\n\t\tfor (int i = 0; i < wallpapers.size(); i++) {\n\t\t\tvalues.put(EventDataSQLHelper.NODE, nodeToString(wallpapers.get(i)));\n\t\t\ttry {\t\t\t\t\n\t\t\t\tdb.insertOrThrow(EventDataSQLHelper.TABLE, null, values);\n\t\t\t\tLog.d(\"AddToDB\", nodeToString(wallpapers.get(i)));\n\t\t\t} catch (SQLException e) {\n\t\t\t\tLog.d(\"AddToDB\", \"\" + e.getMessage());\n\t\t\t}\n\t\t}\n\t\tdb.close();\n }", "private void save() {\n File personFile = mainApp.getFilmFilePath();\n if (personFile != null) {\n mainApp.saveFilmDataToFile(personFile);\n } else {\n saveAs();\n }\n }" ]
[ "0.84589875", "0.80953604", "0.802833", "0.7754033", "0.7746354", "0.7715641", "0.7715641", "0.7715641", "0.7715641", "0.77117556", "0.76782", "0.76782", "0.76782", "0.76665825", "0.7617072", "0.7580429", "0.75735396", "0.7534864", "0.7481204", "0.7445024", "0.74399704", "0.741502", "0.741502", "0.7402932", "0.7401364", "0.73966813", "0.7375788", "0.7352334", "0.73433495", "0.73234254", "0.73116857", "0.73025566", "0.7261097", "0.7261097", "0.7248146", "0.72314435", "0.7210871", "0.7210552", "0.7129529", "0.71151036", "0.70962584", "0.7086529", "0.7043144", "0.7024175", "0.70031464", "0.6991397", "0.6982533", "0.6978777", "0.697444", "0.6956939", "0.691741", "0.6911951", "0.689869", "0.68795544", "0.6866711", "0.68660116", "0.6853908", "0.6851901", "0.6830632", "0.68158853", "0.68086654", "0.67935956", "0.67824465", "0.6776893", "0.6774631", "0.67603636", "0.67555696", "0.674895", "0.6745431", "0.67080164", "0.67034113", "0.6702134", "0.6666133", "0.66642094", "0.6660606", "0.6648979", "0.66417384", "0.6627168", "0.6625103", "0.66121006", "0.6606843", "0.6597659", "0.6593975", "0.6592841", "0.6578532", "0.65738267", "0.65726966", "0.65683436", "0.656472", "0.6563195", "0.6561371", "0.6539708", "0.6534669", "0.6528289", "0.652596", "0.65231967", "0.6513456", "0.6512365", "0.650893", "0.6508248", "0.65014285" ]
0.0
-1
Constructor. Sets the attributes to their initial values.
public ADLSCORMValidator(String iValidator) { mLogger = Logger.getLogger("org.adl.util.debug.validator"); mLogger.entering("ADLSCORMValidator", "ADLSCORMValidator()"); mLogger.finest(" iValidator coming in is " + iValidator); mDocument = null; mIsIMSManifestPresent = true; mIsWellformed = false; mIsValidToSchema = false; mSchemaLocation = null; mIsValidToApplicationProfile = false; mIsExtensionsUsed = false; mValidatorType = iValidator; mIsRootElement = false; mSchemaLocExists = false; mDeclaredNamespaces = new ArrayList<String>(); mLogger.exiting("ADLSCORMValidator", "ADLSCORMValidator()"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Attr() {\n\t\t\tsuper();\n\t\t}", "public ConstructorsDemo() \n\t {\n\t x = 5; // Set the initial value for the class attribute x\n\t }", "protected void init() {\n super.init();\n uriExpr = null;\n uri = null;\n nameExpr = null;\n name = null;\n qname = null;\n attrExpr = null;\n attr = null;\n emptyExpr = null;\n empty = false;\n }", "public AttributeMap()\r\n\t{\r\n\t\tsuper();\r\n\t}", "public Person() {\n\t\tname \t= \"\";\n\t\taddress = \"\";\n\t\tcity \t= \"\";\n\t\tage \t= 0;\n\t}", "protected void initialize() {\n\t\tthis.position = Point3D.ZERO;\n\t\t// reset subclasses properties if any\n\t\treset();\n\t}", "public InitialData(){}", "public AttributeContainer() {\n super();\n }", "protected void init() {\n setUUIDString();\n setNoteCreatedAt();\n setNoteUpdatedAt();\n setCreator(ParseUser.getCurrentUser());\n addAuthor(ParseUser.getCurrentUser());\n setACL(new ParseACL(ParseUser.getCurrentUser()));\n }", "public IRAttribute ( ) {\n\t\tsuper();\n\t}", "private void initializeLiveAttributes() {\n\t\tnumOctaves = createLiveAnimatedInteger(null, SVG_NUM_OCTAVES_ATTRIBUTE, 1);\n\t\tseed = createLiveAnimatedNumber(null, SVG_SEED_ATTRIBUTE, 0f);\n\t\tstitchTiles = createLiveAnimatedEnumeration(null, SVG_STITCH_TILES_ATTRIBUTE, STITCH_TILES_VALUES, (short) 2);\n\t\ttype = createLiveAnimatedEnumeration(null, SVG_TYPE_ATTRIBUTE, TYPE_VALUES, (short) 2);\n\t}", "@objid (\"4bb3363c-38e1-48f1-9894-6dceea1f8d66\")\n public void init() {\n }", "DefaultAttribute()\n {\n }", "public AttributeSet() {\n\n elements = new Hashtable();\n }", "public void initialize() {\n\n fechaDeLaVisita.set(LocalDate.now());\n\n if (medico.get() != null) {\n medico.get().clear();\n } else {\n medico.set(new Medico());\n }\n\n turnoVisita.set(\"\");\n visitaAcompanadaSN.set(false);\n lugarVisita.set(\"\");\n if (causa.get() != null) {\n causa.get().clear();\n } else {\n causa.set(new Causa());\n }\n\n if (promocion.get() != null) {\n promocion.get().clear();\n } else {\n promocion.set(new Promocion());\n }\n\n observacion.set(\"\");\n persistida.set(false);\n persistidoGraf.set(MaterialDesignIcon.SYNC_PROBLEM.graphic());\n\n fechaCreacion.set(LocalDateTime.now());\n\n }", "protected void initialize() {\n // Attribute Load\n this.attributeMap.clear();\n this.attributeMap.putAll(this.loadAttribute());\n // RuleUnique Load\n this.unique = this.loadRule();\n // Marker Load\n this.marker = this.loadMarker();\n // Reference Load\n this.reference = this.loadReference();\n }", "final private void setupAttributes() {\r\n\t\tmAttributes.add(new com.org.multigear.mginterface.engine.Configuration.Attr(ATTR_BASE_DPI, DEFAULT_BASE_DPI));\r\n\t\tmAttributes.add(new com.org.multigear.mginterface.engine.Configuration.Attr(ATTR_BASE_DENSITY, DEFAULT_BASE_DENSITY));\r\n\t\tmAttributes.add(new com.org.multigear.mginterface.engine.Configuration.Attr(ATTR_BASE_SCREEN, DEFAULT_BASE_SCREEN));\r\n\t\tmAttributes.add(new com.org.multigear.mginterface.engine.Configuration.Attr(ATTR_PROPORTION_FROM, DEFAULT_PROPORTION_FROM));\r\n\t\tmAttributes.add(new com.org.multigear.mginterface.engine.Configuration.Attr(ATTR_PROPORTION_MODE, DEFAULT_PROPORTION_MODES));\r\n\t\tmAttributes.add(new com.org.multigear.mginterface.engine.Configuration.Attr(ATTR_BACKGROUND_COLOR, DEFAULT_BACKGROUND_COLOR));\r\n\t\tmAttributes.add(new com.org.multigear.mginterface.engine.Configuration.Attr(ATTR_CALIBRATE_DPI, DEFAULT_CALIBRATE_DPI));\r\n\t\tmAttributes.add(new com.org.multigear.mginterface.engine.Configuration.Attr(ATTR_RESTORER_NOTIFICATION, new Object()));\r\n\t}", "private void initRequestAttributes(){\n\t\tmThrowedExceptions \t= new ArrayList<Exception>();\n\t\tmResponseCode\t\t= -1;\n\t}", "public void initializeDefault() {\n\t\tthis.numAuthorsAtStart = 5;\n\t\tthis.numPublicationsAtStart = 20;\n\t\tthis.numCreationAuthors = 0;\n\t\tthis.numCreationYears = 10;\n\n\t\tyearInformation = new DefaultYearInformation();\n\t\tyearInformation.initializeDefault();\n\t\tpublicationParameters = new DefaultPublicationParameters();\n\t\tpublicationParameters.initializeDefault();\n\t\tpublicationParameters.setYearInformation(yearInformation);\n\t\tauthorParameters = new DefaultAuthorParameters();\n\t\tauthorParameters.initializeDefault();\n\t\ttopicParameters = new DefaultTopicParameters();\n\t\ttopicParameters.initializeDefault();\n\t}", "@Override\r\n\tprotected void init() {\n\t\tupdateValues();\r\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override public void init()\n\t\t{\n\t\t}", "protected Book() {\n this.title = \"Init\";\n this.author = \"Init\";\n this.bookCategories = new HashSet<>(10);\n }", "private void initFields() {\n\n tipPercent = 0.0;\n noPersons = 1;\n totalPay = 0.0;\n totalTip = 0.0;\n totalPerPerson = 0.0;\n\n }", "public void initialize()\n {\n }", "public AttributeForm() \n {\n initComponents();\n mJerseyNumberUpDown.setModel(new SpinnerNumberModel(0,0,99,1));\n \n m_Parser = new InputParser();\n m_Attributes = new JComboBox[8];\n m_Attributes[0] = m_RSBox;\n m_Attributes[1] = m_RPBox;\n m_Attributes[2] = m_MSBox;\n m_Attributes[3] = m_HPBox;\n m_Attributes[4] = m_PS_BC_PI_KABox;\n m_Attributes[5] = m_PC_REC_QU_KABox;\n m_Attributes[6] = m_ACCBox;\n m_Attributes[7] = m_APBBox;\n\n m_SimAttrs = new JSpinner[4];\n m_SimAttrs[0] = m_Sim1UpDown;\n m_SimAttrs[1] = m_Sim2UpDown;\n m_SimAttrs[2] = m_Sim3UpDown;\n m_SimAttrs[3] = m_Sim4UpDown;\n \n m_DoneInit = true;\n setCurrentState(StateEnum.QB);\n \n }", "public void constructor() {\n setEdibleAnimals();\n }", "public EncodingAlgorithmAttributesImpl() {\n this(null, null);\n }", "public static void initializeClassAttributes() {\n\t\tAboraSupport.findAboraClass(IntegerVarArray.class).setAttributes( new Set().add(\"CONCRETE\").add(\"PSEUDOCOPY\"));\n\t}", "private void initClassAttributes(){ \r\n\t\tanyMissingValue = new boolean[3];\r\n\t\tanyMissingValue[0] = false; \r\n\t\tanyMissingValue[1] = false;\r\n\t\tanyMissingValue[2] = false;\r\n\t\tnumInputAttributes = Attributes.getInputNumAttributes();\r\n\t\tnumOutputAttributes = Attributes.getOutputNumAttributes();\r\n\t\tnumUndefinedAttributes = Attributes.getNumAttributes() - (numInputAttributes+numOutputAttributes);\r\n\t\tintNominalValues = new int[3][];\r\n\t\tnominalValues = new String[3][];\r\n\t\trealValues = new double[3][];\r\n\t\tmissingValues = new boolean[3][];\r\n\t\tnominalValues[0] = new String[numInputAttributes];\r\n\t\tnominalValues[1] = new String[numOutputAttributes];\r\n\t\tnominalValues[2] = new String[numUndefinedAttributes];\r\n\t\tintNominalValues[0] = new int[numInputAttributes];\r\n\t\tintNominalValues[1] = new int[numOutputAttributes];\r\n\t\tintNominalValues[2] = new int[numUndefinedAttributes];\r\n\t\trealValues[0] = new double[numInputAttributes];\r\n\t\trealValues[1] = new double[numOutputAttributes];\r\n\t\trealValues[2] = new double[numUndefinedAttributes];\r\n\t\tmissingValues[0] = new boolean[numInputAttributes];\r\n\t\tmissingValues[1] = new boolean[numOutputAttributes];\r\n\t\tmissingValues[2] = new boolean[numUndefinedAttributes];\r\n\r\n\t\tfor(int i=0;i<numInputAttributes;i++) missingValues[0][i]=false; \r\n\t\tfor(int i=0;i<numOutputAttributes;i++) missingValues[1][i]=false; \r\n\t\tfor(int i=0;i<numUndefinedAttributes; i++) missingValues[2][i]=false;\r\n\r\n\t}", "@Override\n\tprotected void initializeAllLiveAttributes() {\n\t\tsuper.initializeAllLiveAttributes();\n\t\tinitializeLiveAttributes();\n\t}", "@Override\n\t\tprotected void initialise() {\n\n\t\t}", "public Car () {\n\n Make = \"\";\n Model = \"\";\n Year = 2017;\n Price = 0.00;\n }", "public Car() {\r\n this(\"\", \"\", \"\", 0, Category.EMPTY, 0.00, \"\", 0, \"\", 0.00, \"\", DriveTrain.EMPTY,\r\n Aspiration.EMPTY, 0.00, 0.00, 0.00, 0.00, 0.0, 0.0, 0.0, 0.0, 0.0);\r\n }", "protected void initialize() {\n\t\tsetBodyColor(Color.BLACK);\r\n\t\tsetGunColor(Color.BLACK);\r\n\t\tsetRadarColor(Color.BLACK);\r\n\t\tsetScanColor(Color.BLUE);\r\n\t\tsetBulletColor(Color.RED);\r\n\t}", "public AttrObject(){\t\r\n\tvalue = null;\r\n }", "private void init()\n\t{\n\t\tsetModel(new Model(Id.model, this, null));\n\t\tsetEnviroment(new Enviroment(Id.enviroment, this, model()));\n\t\tsetVaccinationCenter(new VaccinationCenter(Id.vaccinationCenter, this, model()));\n\t\tsetCanteen(new Canteen(Id.canteen, this, vaccinationCenter()));\n\t\tsetRegistration(new Registration(Id.registration, this, vaccinationCenter()));\n\t\tsetExamination(new Examination(Id.examination, this, vaccinationCenter()));\n\t\tsetVaccination(new Vaccination(Id.vaccination, this, vaccinationCenter()));\n\t\tsetWaitingRoom(new WaitingRoom(Id.waitingRoom, this, vaccinationCenter()));\n\t\tsetSyringes(new Syringes(Id.syringes, this, vaccination()));\n\t}", "public MyPractice()\n\t{\n\t\t//Unless we specify values all data members\n\t\t//are a zero, false, or null\n\t}", "public void init() {\n \n }", "@Override\n\tpublic void initializeValues() {\n\n\t}", "public Attribute(String title) {\n \t\tthis.title = title;\n \t\tconflictMagnitude = 0;\n \t}", "public Person()\n\t{\n\t\tthis.age = -1;\n\t\tthis.name = \"Unknown\";\n\t}", "public void init() {\r\n resources = new Vector<ResourcesElement>();\r\n informations = new Vector<InformationElement>();\r\n output = null;\r\n spec = DEFAULT_SPEC;\r\n version = null;\r\n codeBase = null;\r\n href = null;\r\n allPermissions = false;\r\n j2eePermissions = false;\r\n isComponent = false;\r\n applicationDesc = null;\r\n appletDesc = null;\r\n installerDesc = null;\r\n }", "protected void initialize() {\n \t\n }", "private void initReservedAttributes()\n {\n addIgnoreProperty(ATTR_IF_NAME);\n addIgnoreProperty(ATTR_REF);\n addIgnoreProperty(ATTR_UNLESS_NAME);\n addIgnoreProperty(ATTR_BEAN_CLASS);\n addIgnoreProperty(ATTR_BEAN_NAME);\n }", "@Override\n public void initialize() {\n this.product = new Product(this.productId,this.productName,this.productPrice,this.productInv,this.productMin,this.productMax);\n productTitleLabel.setText(\"Modify Product\");\n }", "public void initDefaultValues() {\n }", "@Override\n\t\tpublic void init() {\n\t\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "public void initialize() {\n // empty for now\n }", "private void init() throws Exception{\n mapper = new ObjectMapper();\n\n // Create the linkRequest\n attribute = AttributeFixture.standardAttribute();\n\n\n }", "public void init() {\n\t\t}", "public Car()\n {\n \tsuper();\n bodyType = null;\n noOfDoors = 0;\n noOfSeats = 0;\n }", "public Zeffit()\n {\n // TODO: initialize instance variable(s)\n }", "public Student() {\n//\t\tname = \"\";\n//\t\tage = 0;\n\t\t\n\t\t\n\t\t//call constructors inside of other constructors\n\t\tthis(999,0);\n\t}", "public void resetAttributes()\r\n\t{\r\n\t\t// TODO Keep Attribute List upto date\r\n\t\tintelligence = 0;\r\n\t\tcunning = 0;\r\n\t\tstrength = 0;\r\n\t\tagility = 0;\r\n\t\tperception = 0;\r\n\t\thonor = 0;\r\n\t\tspeed = 0;\r\n\t\tloyalty = 0;\r\n\t}", "private void initValues() {\n \n }", "public void initialize(){\n\t\t//TODO: put initialization code here\n\t\tsuper.initialize();\n\t\t\n\t}", "public void initialize() {\r\n\t\tsetValue(initialValue);\r\n\t}", "public Book () {\n\t\tsuper ();\n\t\t_title = \"\";\n\t\t_text = \"\";\n\t\t_publisher = null;\n\t\t_oid = 0;\n\t\t_author = null;\n\t\t_Isbn = \"\";\n\t}", "public void initAttributes(ObservableList<Item> items) {\n this.items = items;\n }", "public void init() {\r\n\t\t// to override\r\n\t}", "public Person() {\r\n setPersonID(null);\r\n setAssocUserName(null);\r\n setFirstName(null);\r\n setLastName(null);\r\n setGender(null);\r\n setFatherID(null);\r\n setMotherID(null);\r\n setSpouseID(null);\r\n }", "private void init() {\n cloudAmount = null;\n cloudGenus = null;\n cloudAltitude = null;\n cloudDescription = null;\n }", "public Airplane() { \n\n\t\t//The Airplane constructor calls the Flyingobject constructor\n\t\tsuper();\n\n\t\t//Sets its attributes to default values\n\t\tthis.brand = \"\";\n\t\tthis.price = 0.0; \n\t\tthis.horsePower = 0; \n\t}", "@Override\r\n\tpublic void init() { \r\n\t\t\r\n\t\tsession = -1;\r\n\t\t\r\n\t\tProgressDif = 0;\r\n\t\tnoisFact = 0;\r\n\t\tcompromiseFact = 0;\r\n\t\t\r\n\t\tcompromiseLearn = 20;\r\n\t\tprogressLearn = 10;\r\n\t\tnoisLearn = 0.2;\r\n\t\t\r\n\t\treservationPanic = 0.2;\r\n\t\tmyBids = new ArrayList<Pair<Bid,Double>>();\r\n\t\topponentBidsA = new Vector<ArrayList<Pair<Bid,Double>>>();\r\n\t\topponentBidsB = new Vector<ArrayList<Pair<Bid,Double>>>();\r\n\r\n\t\tdf = utilitySpace.getDiscountFactor();\r\n\t\tif (df==0) df = 1; \r\n\r\n\t\ttry {\r\n\t\t\tinitStates();\r\n\t\t} catch (Exception e) {\r\n \t\t\te.printStackTrace();\r\n\t\t}\t\t\r\n\t}", "public void initialize() {\n\t\tcompartmentName = new SimpleStringProperty(compartment.getName());\t\t\n\t\tcompartmentId = new SimpleStringProperty(compartment.getId());\n\t\tcompartmentSBOTerm = new SimpleStringProperty(compartment.getSBOTermID());\n\t}", "public AttributeDiscretization() {\n\n }", "private void setInititalValues() {\n drone.setTranslateX(INITIAL_X_POSITION);\n drone.setTranslateY(INITIAL_Y_POSITION);\n drone.setTranslateZ(INITIAL_Z_POSITION);\n\n // set initial orientation to z-axis (into the screen)\n setxOrientation(0);\n setyOrientation(0);\n setzOrientation(1);\n setYawAngle(0);\n setRollAngle(0);\n setPitchAngle(0);\n setSpeed(TelloDefaultValues.DEFAULT_SPEED);\n }", "public Student() {\r\n\t\t\r\n\t\t//populating country options\r\n\t\t//can also be done using a properties file\r\n\t\t\r\n\t\t/*\r\n\t\t * countryOptions = new LinkedHashMap<String, String>();\r\n\t\t * \r\n\t\t * countryOptions.put(\"BR\", \"Brazil\"); countryOptions.put(\"IN\", \"India\");\r\n\t\t * countryOptions.put(\"US\", \"United States\"); countryOptions.put(\"CA\",\r\n\t\t * \"Canada\");\r\n\t\t */\r\n\t\t\r\n\t\t\r\n\t}", "public Gini() {\r\n\t\thmAttrNames = new HashMap<String, Integer>();\r\n\t\tbuildAttrNamesSet();\r\n\t}", "protected void initialize() {}", "protected void initialize() {}", "public void setAttributes(Attributes attributes) {\n this.attributes = attributes;\n }", "public InitialState() {\r\n\t\t}", "public void initDefaultValues() {\n setOrderActive(1);\n setProductQuantity(1);\n setBillingPhone1Blocked(0);\n setBillingPhone2Blocked(0);\n setOrderAvailabilityStatus(1);\n setDeliveryStatus(1);\n setMailedReminderToVendorStatus(0);\n setOrderCancelRequestStatus(0);\n setOrderCancellationToVendorStatus(0);\n setDisputeRaisedStatus(0);\n setOrderAcceptNewsletter(1);\n setOrderAcceptPromotionalMaterial(1);\n setBillingAdvanceAmount(0);\n setBillingBalanceAmount(0);\n setBillingGrossAmount(0f);\n setBillingMarginAmount(0f);\n setBillingNettCost(0f);\n setBillingPaymentGatewayRate(0f);\n setBillingStateId(0);\n setBillingTaxrate(0f);\n setBillingTotalAmount(0f);\n setCarYear(0);\n setCustomint1(0);\n setCustomint2(0);\n setCustPaymentMode(0);\n setCustPaymentStatus(0);\n setInvoiceId(0);\n setVendorPaymentMode(0);\n setShipmentRate(0);\n setShipmentCountryId(0);\n setShipmentCityId(0);\n setOrderType(0);\n setOrderStatus(0);\n setOrderRefundType(0);\n setOrderPriority(0);\n setOrderBulkType(0);\n setOrderCorporateType(0);\n setShipmentCityId(0);\n setShipmentCountryId(0);\n setShipmentRate(0f);\n setShipmentStateId(0);\n setOrderCancellationType(0);\n }", "protected NodeProperties() {\r\n }", "@Override\r\n\tpublic final void init() {\r\n\r\n\t}", "public Book() {\n\t\ttitle = null;\n\t\tauthor = null;\n\t}", "public void init(Map<String, String> attributes) {\r\n\r\n\t\tif (attributes.containsKey(\"p0\"))\r\n\t\t\tp0 = new Vec(attributes.get(\"p0\"));\r\n\t\tif (attributes.containsKey(\"p1\"))\r\n\t\t\tp1 = new Vec(attributes.get(\"p1\"));\r\n\t\tif (attributes.containsKey(\"p2\"))\r\n\t\t\tp2 = new Vec(attributes.get(\"p2\"));\r\n\t\tif (attributes.containsKey(\"p3\"))\r\n\t\t\tp3 = new Vec(attributes.get(\"p3\"));\r\n\r\n\t\tp4 = Vec.add(Vec.add(Vec.sub(p1, p0), Vec.sub(p3, p0)), p0);\r\n\t\tp5 = Vec.add(Vec.add(Vec.sub(p2, p0), Vec.sub(p3, p0)), p0);\r\n\t\tp6 = Vec.add(Vec.add(Vec.sub(p5, p3), Vec.sub(p4, p3)), p3);\r\n\r\n\t\tbase = new Rectangle(p0, p1, p3, attributes);\r\n\t\tfacep0p2p1 = new Rectangle(p0, p2, p1, attributes);\r\n\t\tfacep0p2p3 = new Rectangle(p0, p2, p3, attributes);\r\n\t\tfacep3p4p5 = new Rectangle(p3, p5, p4, attributes);\r\n\t\tfacep4p1p6 = new Rectangle(p4, p1, p6, attributes);\r\n\t\ttop = new Rectangle(p5, p2, p6, attributes);\r\n\r\n\t\tsuper.init(attributes);\r\n\t}", "public void init() {\r\n\r\n\t}", "public ClassificationAttributesDTO()\n\t{\n\t\tsuper();\n\t}", "public DefaultAttribute( byte[] upId )\n {\n setUpId( upId );\n }", "protected void init()\n {\n Timestamp now = new Timestamp(System.currentTimeMillis());\n timestampCreated = now;\n timestampModified = now;\n createdByAgent = AppContextMgr.getInstance() == null? null : (AppContextMgr.getInstance().hasContext() ? Agent.getUserAgent() : null);\n modifiedByAgent = null;\n }", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "public Attributes(String values) {\n\t\tsetAttributes(values);\n\t}", "public Attendance()\t//constructor, it exists as method in Attendance class\r\n\t{\r\n\t\tthis.name = \"NULL\";\t//initiates name\r\n\t\tthis.year = 0;\t\t//initiates year\r\n\t\tthis.student_id = \"NULL\";\t//initiates student_id\r\n\t\tthis.missed = 0;\t//initiates missed\r\n\t}", "public Movie()\n {\n // initialise instance variables\n name = \"\";\n director = \"\";\n fileSize = 0;\n duration = 0;\n }", "public Student() { //Default Constructor\n\t\tthis.roll_no=0;\n\t\tthis.full_name=\"\";\n\t\tthis.grade=\"\";\n\t}", "public Student() {\n\t\tthis.firstName = \"no name entered\";\n\t\tthis.lastName = \"no name entered\";\n\t\tthis.wId = \"no WID\";\n\t\tthis.labScore = 0;\n\t\tthis.projScore = 0;\n\t\tthis.examScore = 0;\n\t\tthis.codeLabScore = 0;\n\t\tthis.finalExamScore = 0;\n\t\tthis.scorePercent = 0;\n\t}", "protected void initialize() {\n\t\tright = left = throttle = turn = forward = 0;\n\t}", "public void initialise() {\n\t\tm_country_id = 0;\n\t\tm_country_name = \"\";\n\t\tm_error_string = \"\";\n\t}", "public AttributeBornMchMother() {\n }", "private void init() {\n setMinutes(new int[] {});\n setHours(new int[] {});\n setDaysOfMonth(new int[] {});\n setMonths(new int[] {});\n setDaysOfWeek(new int[] {});\n }", "public void initialize( )\n\t{\n\t\twakeupOn( m_WakeupCondition );\n\n\t\tColor3f objColor = new Color3f( 1.0f, 0.1f, 0.2f );\n\t\tColor3f black = new Color3f( 0.0f, 0.0f, 0.0f );\n\t\tcollideMaterial = new Material( objColor, black, objColor, black, 80.0f );\n\n\t\tobjColor = new Color3f( 0.0f, 0.1f, 0.8f );\n\t\tmissMaterial = new Material( objColor, black, objColor, black, 80.0f );\n\n\t\tobjectAppearance.setMaterial( missMaterial );\n\t}", "protected void initialize() {\n \tsetSetpoint(0.0);\n }", "protected void initialize() {\r\n }", "protected void initialize() {\r\n }", "public Attributes(int n, int m) {\n\t\tnominalAttributes = new Object[n];\n\t\trealValuedAttributes = new double[m];\n\t}" ]
[ "0.679318", "0.67514896", "0.6717265", "0.6579464", "0.6545503", "0.6516585", "0.65135765", "0.650238", "0.64560807", "0.64548934", "0.641091", "0.6386073", "0.6362271", "0.635163", "0.6329165", "0.6319235", "0.63185424", "0.6285736", "0.625154", "0.62428427", "0.62258494", "0.62230104", "0.6208525", "0.62029403", "0.61897516", "0.61892617", "0.61814046", "0.6179481", "0.61736405", "0.6158202", "0.61511725", "0.6146981", "0.6132042", "0.61279345", "0.61276335", "0.6115206", "0.6103323", "0.608233", "0.6071774", "0.60629797", "0.6061224", "0.60563046", "0.6047879", "0.6047163", "0.60451984", "0.6043648", "0.6040099", "0.6032348", "0.6028595", "0.6007404", "0.600275", "0.5984565", "0.5984051", "0.598265", "0.5978417", "0.5977071", "0.59698975", "0.5968869", "0.59684944", "0.59671754", "0.5962758", "0.596265", "0.59625405", "0.5960624", "0.59603745", "0.5935594", "0.59286404", "0.5928405", "0.5924346", "0.5924", "0.5922503", "0.5890651", "0.5890651", "0.58856577", "0.58854574", "0.5884022", "0.5877768", "0.5871895", "0.58665824", "0.5865621", "0.5864078", "0.58633816", "0.5861866", "0.5858735", "0.58555293", "0.58555293", "0.58555293", "0.58508056", "0.5849758", "0.58491516", "0.58488476", "0.5848802", "0.5848171", "0.58302504", "0.5830151", "0.58278996", "0.5826829", "0.58157086", "0.5814983", "0.5814983", "0.5814687" ]
0.0
-1
This method cleans up the temporary folder used by the CPValidator for extraction of the test subject package. This method loops through the temporary PackageImport folder to remove all files that have been extracted during the content package extract.
public void cleanImportDirectory(String iPath) { try { File theFile = new File(iPath); File allFiles[] = theFile.listFiles(); for (File allFile : allFiles) { if (allFile.isDirectory()) { cleanImportDirectory(allFile.toString()); allFile.delete(); } else { allFile.delete(); } } } catch (NullPointerException npe) { mLogger.severe(iPath + " did not exist and was not cleaned!!"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override public void cleanupTempCheckpointDirectory() throws IgniteCheckedException {\n try {\n try (DirectoryStream<Path> files = Files.newDirectoryStream(cpDir.toPath(), TMP_FILE_MATCHER::matches)) {\n for (Path path : files)\n Files.delete(path);\n }\n }\n catch (IOException e) {\n throw new IgniteCheckedException(\"Failed to cleanup checkpoint directory from temporary files: \" + cpDir, e);\n }\n }", "private void cleanTempFolder() {\n File tmpFolder = new File(getTmpPath());\n if (tmpFolder.isDirectory()) {\n String[] children = tmpFolder.list();\n for (int i = 0; i < children.length; i++) {\n if (children[i].startsWith(TMP_IMAGE_PREFIX)) {\n new File(tmpFolder, children[i]).delete();\n }\n }\n }\n }", "private void cleanup() {\n File tmpdir = new File(System.getProperty(\"java.io.tmpdir\"));\n File[] backupDirs = tmpdir.listFiles(file -> file.getName().contains(BACKUP_TEMP_DIR_PREFIX));\n if (backupDirs != null) {\n for (File file : backupDirs) {\n try {\n FileUtils.deleteDirectory(file);\n log.info(\"removed temporary backup directory {}\", file.getAbsolutePath());\n } catch (IOException e) {\n log.error(\"failed to delete the temporary backup directory {}\", file.getAbsolutePath());\n }\n }\n }\n }", "@AfterClass\n public static void teardown() {\n logger.info(\"teardown: remove the temporary directory\");\n\n // the assumption is that we only have one level of temporary files\n for (File file : directory.listFiles()) {\n file.delete();\n }\n directory.delete();\n }", "private void tearDown() {\n if (tempDir != null) {\n OS.deleteDirectory(tempDir);\n tempFiles.clear();\n tempDir = null;\n }\n }", "private void emptyTestDirectory() {\n // Delete the files in the /tmp/QVCSTestFiles directory.\n File tempDirectory = new File(TestHelper.buildTestDirectoryName(TEST_SUBDIRECTORY));\n File[] files = tempDirectory.listFiles();\n if (files != null) {\n for (File file : files) {\n if (file.isDirectory()) {\n File[] subFiles = file.listFiles();\n for (File subFile : subFiles) {\n if (subFile.isDirectory()) {\n File[] subSubFiles = subFile.listFiles();\n for (File subSubFile : subSubFiles) {\n subSubFile.delete();\n }\n }\n subFile.delete();\n }\n }\n file.delete();\n }\n }\n }", "public void clean()\r\n {\r\n // DO NOT TOUCH\r\n // System.out.println(unzipedFilePath);\r\n\r\n // only clean if there was a successful unzipping\r\n if (success)\r\n {\r\n // only clean if the file path to remove matches the zipped file.\r\n if (unzippedFilePath.equals(zippedFilePath.substring(0,\r\n zippedFilePath.length() - 4)))\r\n {\r\n // System.out.println(\"to be implmented\");\r\n for (File c : outputDir.listFiles())\r\n {\r\n // System.out.println(c.toString());\r\n if (!c.delete())\r\n {\r\n System.out.println(\"failed to delete\" + c.toString());\r\n }\r\n }\r\n outputDir.delete();\r\n outputDir = null;\r\n }\r\n }\r\n }", "@AfterClass\r\n\tpublic static void cleanupBoogiePrinterFiles() {\r\n\r\n\t\tfinal File root = getRootFolder(ROOT_FOLDER);\r\n\r\n\t\tCollection<File> files = TestUtil.getFiles(root, new String[] { \".bpl\" });\r\n\t\tfiles = TestUtil.filterFiles(files, TEMPORARY_BOOGIE_FILENAME_PATTERN);\r\n\r\n\t\tif (files.isEmpty()) {\r\n\t\t\tSystem.out.println(\r\n\t\t\t\t\tString.format(\"No cleanup of %s necessary, no files matching the pattern %s have been found\",\r\n\t\t\t\t\t\t\tROOT_FOLDER, TEMPORARY_BOOGIE_FILENAME_PATTERN));\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tSystem.out.println(String.format(\"Begin cleanup of %s\", ROOT_FOLDER));\r\n\t\tfor (final File f : files) {\r\n\t\t\ttry {\r\n\t\t\t\tif (f.delete()) {\r\n\t\t\t\t\tSystem.out.println(String.format(\"Sucessfully deleted %s\", f.getAbsolutePath()));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tSystem.out.println(String.format(\"Deleteing %s failed\", f.getAbsolutePath()));\r\n\t\t\t\t}\r\n\t\t\t} catch (final SecurityException e) {\r\n\t\t\t\tSystem.err.println(String.format(\"Exception while deleting file %s\", f));\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@AfterClass\n\tpublic static void cleanup() {\n\t\ttestDir.delete();\n\t\tfile.delete();\n\t}", "@AfterClass\n\tpublic static void cleanUp() throws IOException {\n\t\tLpeFileUtils.removeDir(tempDir.getAbsolutePath());\n\t}", "public static void cleanUpCustomTempDirectories(){\n\n\t\tif(tempDirectoryList != null){\n\t\t\tlog.info(\"Removing custom temp directories\");\n\t\t\ttry {\n\t\t\t\tfor(File tempFile : tempDirectoryList)\n\t\t\t\t\tif(tempFile.exists()){\n\t\t\t\t\t\tlog.info(\"Deleting : \" + tempFile.getCanonicalPath());\n\t\t\t\t\t\tdeleteDirectory(tempFile);\n\t\t\t\t\t}\n\t\t\t\t// also remove all file references from ArrayList\n\t\t\t\ttempDirectoryList.clear();\n\t\t\t} catch (IOException e) {e.printStackTrace();}\n\t\t}\n\t\telse\n\t\t\tlog.info(\"No custom temp directory created.\");\n\t\tlog.info(\"Finished removing custom temp directories\");\n\t}", "public void deleteTmpDirectory() {\n\t\tdeleteTmpDirectory(tmpDir);\n\t}", "@After\n\tpublic void tearDown() throws Exception {\n\t\tFileUtils.cleanDirectory(new File(this.tempFolderPath));\n\t}", "private void clearFiles() {\r\n File file = new File(\"test_files/upload\");\r\n File[] files = file.listFiles();\r\n for (File delFile : files) {\r\n delFile.delete();\r\n }\r\n file = new File(\"test_files/stress.jar\");\r\n file.delete();\r\n }", "protected void cleanup() {\n // if the java runtime is holding onto any files in the build dir, we\n // won't be able to delete them, so we need to force a gc here\n System.gc();\n\n if (deleteFilesOnNextBuild) {\n // delete the entire directory and all contents\n // when we know something changed and all objects\n // need to be recompiled, or if the board does not\n // use setting build.dependency\n //Base.removeDir(tempBuildFolder);\n \n // note that we can't remove the builddir itself, otherwise\n // the next time we start up, internal runs using Runner won't\n // work because the build dir won't exist at startup, so the classloader\n // will ignore the fact that that dir is in the CLASSPATH in run.sh\n Base.removeDescendants(tempBuildFolder);\n \n deleteFilesOnNextBuild = false;\n } else {\n // delete only stale source files, from the previously\n // compiled sketch. This allows multiple windows to be\n // used. Keep everything else, which might be reusable\n if (tempBuildFolder.exists()) {\n String files[] = tempBuildFolder.list();\n for (String file : files) {\n if (file.endsWith(\".c\") || file.endsWith(\".cpp\") || file.endsWith(\".s\")) {\n File deleteMe = new File(tempBuildFolder, file);\n if (!deleteMe.delete()) {\n System.err.println(\"Could not delete \" + deleteMe);\n }\n }\n }\n }\n }\n \n // Create a fresh applet folder (needed before preproc is run below)\n //tempBuildFolder.mkdirs();\n }", "private void deleteTempFiles() {\n\t\tfor (int i = 0; i < prevPrevTotalBuckets; i++) {\n\t\t\ttry {\n\t\t\t\tString filename = DatabaseCatalog.getInstance().getTempDirectory() + \"/\" + instanceHashcode + \"_\"\n\t\t\t\t\t\t+ (passNumber - 1) + \"_\" + i;\n\t\t\t\tFile file = new File(filename);\n\t\t\t\tfile.delete();\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "@AfterClass\n public static void cleanup() throws IOException {\n File directory = new File(TMP_DIR_BASE);\n File dirname = directory.getParentFile();\n final String basename = directory.getName() + \"[0-9]+\";\n File[] files = dirname.listFiles(new FilenameFilter() {\n @Override\n public boolean accept(File dir, String name) {\n return name.matches(basename);\n }\n });\n for (File file : files) {\n if (file.delete() == false) {\n throw new IOException(\"Can't delete \" + file);\n }\n }\n }", "public void deleteTemporaryFiles() {\n if (!shouldReap()) {\n return;\n }\n\n for (File file : temporaryFiles) {\n try {\n FileHandler.delete(file);\n } catch (UncheckedIOException ignore) {\n // ignore; an interrupt will already have been logged.\n }\n }\n }", "protected static void cleanUpWorkingDir() {\n final Path testControllerPath =\n Paths.get(SystemPersistence.manager.getConfigurationPath().toString(), TEST_CONTROLLER_FILE);\n try {\n Files.deleteIfExists(testControllerPath);\n } catch (final Exception e) {\n logger.info(\"Problem cleaning {}\", testControllerPath, e);\n }\n\n final Path testControllerBakPath =\n Paths.get(SystemPersistence.manager.getConfigurationPath().toString(), TEST_CONTROLLER_FILE_BAK);\n try {\n Files.deleteIfExists(testControllerBakPath);\n } catch (final Exception e) {\n logger.info(\"Problem cleaning {}\", testControllerBakPath, e);\n }\n }", "@After\n public void after() throws Exception\n {\n Files.walkFileTree(tempDir, new SimpleFileVisitor<Path>() {\n @Override\n public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) throws IOException {\n Files.delete(file);\n return(FileVisitResult.CONTINUE);\n }\n @Override\n public FileVisitResult postVisitDirectory(final Path dir, final IOException exc) throws IOException {\n Files.delete(dir);\n return(FileVisitResult.CONTINUE);\n }\n });\n // Check that it has been cleared.\n if(tempDir.toFile().exists()) { throw new AssertionError(\"cleanup failed: \" + tempDir); }\n tempDir = null;\n }", "@AfterClass\n public static void cleanup() throws Exception {\n fs.delete(new Path(baseDir), true);\n }", "private static void cleanAutomationResults() {\n \tLOG.info(\"Deleting unneccessary automation results.\");\n \t\n \t// Stop the graph database because it gets deleted\n \tDBUtil.closeGraph();\n \t\n \t// Remove clustering results\n \tFileUtil.deleteFileOrDirectory(clArgs.clusteringOutDir);\n \t\n \t// Remove graph database\n \tFileUtil.deleteFileOrDirectory(DBUtil.getNeo4jPath());\n }", "protected void tearDown() {\r\n (new File(dest, \"RenameFieldTest.java\")).delete();\r\n (new File(dest, \"UsesFieldTest.java\")).delete();\r\n (new File(dest, \"InheritFieldTest.java\")).delete();\r\n (new File(root + \"\\\\XDateChooser.java\")).delete();\r\n }", "public static void cleanOldTemp(String rootOutput){\r\n\t\tif(new File(rootOutput).exists()){\r\n\t\t\tLog.log(\"cleanOldTemp \"+rootOutput);\r\n\t\t\tPath pathToBeDeleted = Paths.get(rootOutput);\r\n\t\t\ttry {\r\n\t\t\t\tFiles.walk(pathToBeDeleted)\r\n\t\t\t\t .sorted(Comparator.reverseOrder())\r\n\t\t\t\t .map(Path::toFile)\r\n\t\t\t\t .forEach(File::delete);\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\tLog.error(e);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@AfterClass\n public static void deleteOutputDir() throws OfficeException {\n\n // Delete the output directory\n FileUtils.deleteQuietly(new File(OUTPUT_DIR));\n }", "public synchronized void cleanup() {\n\t\tString[] children = mStorageDirectory.list();\n\t\tif (children != null) { // children will be null if the directory does\n\t\t\t\t\t\t\t\t// not exist.\n\t\t\tfor (int i = 0; i < children.length; i++) { // remove too small file\n\t\t\t\tFile child = new File(mStorageDirectory, children[i]);\n\t\t\t\tif (!child.equals(new File(mStorageDirectory, NOMEDIA))\n\t\t\t\t\t\t&& child.length() <= MIN_FILE_SIZE_IN_BYTES) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tchild.delete();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void cleanDirs() {\n\t\tfor (File f : files) {\n\t\t\tFileUtils.deleteDir(f.toString());\n\t\t}\n\t}", "public void cleanUp() {\n if (penv != null) {\n penv.cleanup();\n }\n List<ONDEXGraph> indexed = new LinkedList<ONDEXGraph>();\n Set<String> graphFolders = new HashSet<String>();\n for (Entry<ONDEXGraph, String> ent : indexedGraphs.entrySet()) {\n if (!indeciesToRetain.contains(ent.getValue())) graphFolders.add(new File(ent.getValue()).getParent());\n indexed.add(ent.getKey());\n }\n for (ONDEXGraph graph : indexed) removeIndex(graph, null);\n for (String graphDir : graphFolders) {\n try {\n DirUtils.deleteTree(graphDir);\n } catch (IOException e) {\n }\n }\n }", "File prepareTempSourceDirectory() throws FileNotFoundException, IOException{\n\t\tFile tempfile = null;\n\t\tFile tempdir = null;\n\t\ttempfile = File.createTempFile(\"temp\", \"Delete\");\n\t\ttempdir = tempfile.getParentFile();\n\t\ttempfile.delete();\n\t\ttempdir = new File(tempdir, \"SAFS_UPDATE\");\n\t\ttempdir.mkdir();\n\n\t\tFile[] files = tempdir.listFiles();\n\t\tif(files != null && files.length > 0){\n\t\t\tfor(File file:files){\n\t\t\t\tif(file.isDirectory()) {\n\t\t\t\t\ttry{\n\t\t\t\t\t\tFileUtilities.deleteDirectoryRecursively(file.getAbsolutePath(), false);\n\t\t\t\t\t}catch(Throwable x){\n\t\t\t\t\t\t// java.lang.NoClassDefFoundError\n\t\t\t\t\t\terrors.println(x.getClass().getName()+\": \"+x.getMessage());\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\ttry{\n\t\t\t\t\t\tfile.delete();\n\t\t\t\t\t}catch(Throwable x){\n\t\t\t\t\t\terrors.println(x.getClass().getName()+\": \"+x.getMessage());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif(tempdir==null || !tempdir.isDirectory()) throw new IOException(\"Cannot deduce a root source directory for HTTP extraction.\");\n\t\treturn tempdir;\n\t}", "public void tempcheck(){\r\n \t//clear last data\r\n if(workplace!=null){\r\n \tFile temp = new File(workplace +\"/temp\");\r\n \tif(temp.exists()){\r\n \t\tFile[] dels = temp.listFiles();\r\n \t\tif(dels[0]!=null){\r\n \t\t\tfor(int i=0; i<dels.length; i++){\r\n \t\t\t\tif(dels[i].isFile()){\r\n \t\t\t\t\tdels[i].delete();\r\n \t\t\t\t}else{\r\n \t\t\t\t\tFile[] delss = dels[i].listFiles();\r\n \t\t\t\t\tif(delss[0]!=null){\r\n \t\t\t\t\t\tfor(int k=0; k<delss.length; k++){\r\n \t\t\t\t\t\t\tdelss[k].delete();\r\n \t\t\t\t\t\t}\r\n \t\t\t\t\t}\r\n \t\t\t\t\tdels[i].delete();\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t}\r\n \ttemp.delete();\r\n }\r\n }", "private void cleanupStagingDir() {\n if (getApplicationId() != null) {\n dagUtils.cleanMr3Dir(getStagingDir(), sessionConf);\n }\n sessionScratchDir = null;\n }", "@Test\n\tpublic void removeUnneededDirectory() throws IOException {\n\t\tfinal Path targetDir = _temp.toPath().resolve(\"target\");\n\t\tfinal Path fsTargetDir = targetDir.resolve(DIR_FIRSTSPIRIT_5);\n\t\tfinal Path installerTar = new File(getClass().getResource(TEST_INSTALLER_TAR_GZ).getFile()).toPath();\n\t\tServerInstaller.decompressInstaller(targetDir, installerTar);\n\t\tassertTrue(fsTargetDir.toFile().exists(), DIR_FIRSTSPIRIT_5 + \" dir should exist\");\n\n\t\t// test\n\t\tServerInstaller.removeUnneededDirectory(targetDir);\n\n\t\t// verify\n\t\tassertFalse(fsTargetDir.toFile().exists(), DIR_FIRSTSPIRIT_5 + \" dir should have been deleted\");\n\t}", "public static void deleteTempMapset() {\r\n if ((getGrassMapsetFolder() != null) && (getGrassMapsetFolder().length() > 2)) {\r\n String tmpFolder;\r\n tmpFolder = new String(getGrassMapsetFolder().substring(0, getGrassMapsetFolder().lastIndexOf(File.separator)));\r\n if (new File(tmpFolder).exists()) {\r\n deleteDirectory(new File(tmpFolder));\r\n }\r\n }\r\n }", "protected void tearDown() throws Exception {\n\t\tthis.tmpDir.clear();\r\n\t}", "private void removeTempData(CopyTable table)\n\t{\n\t\tFile dataFile = new File(config.getTempDirectory(), table.getTempFilePrefix() + \"_data.csv\");\n\t\tFile countFile = new File(config.getTempDirectory(), table.getTempFilePrefix() + \"_count.txt\");\n\t\tFile metaDataFile = new File(config.getTempDirectory(), table.getTempFilePrefix() + \"_metadata.ser\");\n\t\t\n\t\tdataFile.delete();\n\t\tcountFile.delete();\n\t\tmetaDataFile.delete();\n\t\t\n\t\tFile tempDir = new File(config.getTempDirectory());\n\t\ttempDir.delete();\n\t}", "public void cleanup() {\r\n\t\tsuper.cleanup();\r\n\t\tfor (int i = 0; i < _composites.size(); i++) {\r\n\t\t\t_composites.get(i).cleanup();\t\r\n\t\t}\r\n\t}", "public static void cleanFolder(File outputFolder)\n {\n File[] files = outputFolder.listFiles();\n for (File file : files)\n {\n if (file.isDirectory())\n {\n cleanFolder(file);\n }\n else\n {\n if (file.delete())\n {\n Main.out(\"Deleted: \" + file);\n }\n else\n {\n Main.warn(\"Failed to delete file: \" + file);\n }\n }\n }\n }", "private void deleteTempHTMLFile()\n {\n File file = new File(\"resources/tempHTML\" +Thread.currentThread().getName() +\".html\");\n file.delete();\n }", "protected void tearDown() throws Exception {\n\t\tdeployer.deleteDir(unitTestDir);\n\t\tassertFalse(new File(unitTestDir, \"composition.groovy\").exists());\n\t}", "private void cleanOutputFolder(String output) {\n \t\tFile[] files = new File[1];\n \t\tfiles[0] = new File(output);\n \t\tcleanFolder(files);\n \t}", "public void deleteStorage() {\n deleteReportDir(reportDir_);\n reportDir_ = null;\n deleteReportDir(leftoverDir_);\n leftoverDir_ = null;\n }", "private void cleanReporter(){\n File file = new File(\"test-report.html\");\n file.delete();\n\n }", "@Override\n\t\t\tpublic void run() {\n\t\t\t\tFile dir = new File(\"src/reports\");\n\t\t\t\tfor (File file : dir.listFiles())\n\t\t\t\tif (!file.isDirectory())\n\t\t\t\tfile.delete();\n\t\t\t\t}", "private void removeLocalDockerImageFiles(PluginPackages pluginPackage) {\n String versionPath = SystemUtils.getTempFolderPath() + pluginPackage.getName() + \"-\"\n + pluginPackage.getVersion() + \"/\";\n File versionDirectory = new File(versionPath);\n try {\n log.info(\"Delete directory: {}\", versionPath);\n FileUtils.deleteDirectory(versionDirectory);\n } catch (IOException e) {\n log.error(\"Remove plugin package file failed: {}\", e);\n throw new WecubeCoreException(\"3107\", \"Remove plugin package file failed.\");\n }\n }", "private static void deleteTempFolder(String folderName) throws IOException {\n Path tempFolderPath = Paths.get(folderName);\n\n if (Files.exists(tempFolderPath) && Files.isDirectory(tempFolderPath)) {\n Files.walk(tempFolderPath)\n .sorted(Comparator.reverseOrder())\n .map(Path::toFile)\n .forEach(File::delete);\n }\n }", "protected static void deleteTrash() {\n\t\tArrays.stream(new File(\".\").listFiles())\n\t\t\t.filter(f -> f.getName().startsWith(\"_tmp.\"))\n\t\t\t.forEach(File::delete);\n\t}", "public static synchronized void removeArchiveFiles() {\n System.out.println(Thread.currentThread().getName() + \"********************************************************* TestHelper.removeArchiveFiles\");\n String firstDestinationDirName = System.getProperty(USER_DIR)\n + File.separator\n + QVCSConstants.QVCS_PROJECTS_DIRECTORY\n + File.separator\n + getTestProjectName();\n File firstDestinationDirectory = new File(firstDestinationDirName);\n\n String secondDestinationDirName = firstDestinationDirName + File.separator + \"subProjectDirectory\";\n File secondDestinationDirectory = new File(secondDestinationDirName);\n\n String thirdDestinationDirName = secondDestinationDirName + File.separator + \"subProjectDirectory2\";\n File thirdDestinationDirectory = new File(thirdDestinationDirName);\n\n String fourthDestinationDirName = firstDestinationDirName + File.separator + QVCSConstants.QVCS_CEMETERY_DIRECTORY;\n File fourthDestinationDirectory = new File(fourthDestinationDirName);\n\n String fifthDestinationDirName = firstDestinationDirName + File.separator + QVCSConstants.QVCS_DIRECTORY_METADATA_DIRECTORY;\n File fifthDestinationDirectory = new File(fifthDestinationDirName);\n\n String sixthDestinationDirName = firstDestinationDirName + File.separator + QVCSConstants.QVCS_BRANCH_ARCHIVES_DIRECTORY;\n File sixthDestinationDirectory = new File(sixthDestinationDirName);\n\n deleteDirectory(sixthDestinationDirectory);\n deleteDirectory(fifthDestinationDirectory);\n deleteDirectory(fourthDestinationDirectory);\n deleteDirectory(thirdDestinationDirectory);\n deleteDirectory(secondDestinationDirectory);\n deleteDirectory(firstDestinationDirectory);\n }", "private static void cleanUpGlobalStateAndFileStore() {\n FileUtils.deleteDirectory(Paths.get(GLOBAL_STATE_DIR));\n }", "@After\n public final void tearDown() throws Throwable\n {\n myLog.debug( \"entering...\" );\n\n try\n {\n if ( Files.exists( Testconstants.ROOT_DIR ) )\n {\n Helper.deleteDirRecursive( Testconstants.ROOT_DIR );\n }\n \n Files.deleteIfExists( myExcludeFile );\n \n myLog.debug( \"leaving...\" );\n }\n catch ( Throwable t )\n {\n myLog.error( \"Throwable caught in tearDown()\", t );\n throw t;\n }\n }", "private void tearDownCPE() {\n nonThreadedProcessingUnit.stopCasProcessors(false);\n nonThreadedCasConsumerProcessingUnit.stopCasProcessors(false);\n nonThreadedProcessingUnit.cleanup();\n nonThreadedCasConsumerProcessingUnit.cleanup();\n }", "public void cleanUp() {\r\n\t\tscalerStore.cleanUp();\r\n\t\tv2Store.cleanUp();\r\n\t\tv3Store.cleanUp();\r\n\t\tv4Store.cleanUp();\r\n\t\tvnStore.cleanUp();\r\n\t\tm22Store.cleanUp();\r\n\t\tm23Store.cleanUp();\r\n\t\tm24Store.cleanUp();\r\n\t\tm32Store.cleanUp();\r\n\t\tm33Store.cleanUp();\r\n\t\tm34Store.cleanUp();\r\n\t\tm42Store.cleanUp();\r\n\t\tm43Store.cleanUp();\r\n\t\tm44Store.cleanUp();\r\n\t\tmnnStore.cleanUp();\r\n\t}", "protected void cleaningUp() {\n\t}", "private void setUp() {\n if (tempDir != null) {\n tearDown();\n }\n tempDir = new File(OS.getTmpPath() + \"imagecompare\" + System.nanoTime());\n tempDir.mkdir();\n tempDir.deleteOnExit();\n tempFiles.clear();\n log.debug(\"using temp directory \" + tempDir.getAbsolutePath());\n\n }", "private void clearClipsDirectory(){\n /* Citation : http://helpdesk.objects.com.au/java/how-to-delete-all-files-in-a-directory#:~:text=Use%20the%20listFiles()%20method,used%20to%20delete%20each%20file. */\n File directory = new File(Main.CREATED_CLIPS_DIRECTORY_PATH);\n File[] files = directory.listFiles();\n if(files != null){\n for(File file : files){\n if(!file.delete()) System.out.println(\"Failed to remove file \" + file.getName() + \" from \" + Main.CREATED_CLIPS_DIRECTORY_PATH);\n }\n }\n }", "public void clean(){\n preprocessorActionsPerFile.clear();\n }", "public void dispose() {\n Collection<File> values = compareFiles.values();\n for (File file : values) {\n file.delete();\n }\n\n compareFiles.clear();\n }", "@AfterSuite\n\tpublic void tearDown() {\n\t\tremoveSingleFileOrAllFilesInDirectory(\"file\", \"./Logs/Log4j.log\");\n\n\t\t// Flushing extent report after completing all test cases\n\t\treports.endTest(extent);\n\t\treports.flush();\n\t}", "private void cleanOutputFiles() throws DeviceNotAvailableException {\n CLog.d(\"Remove output file: %s\", mOutputFile);\n String extStore = mTestDevice.getMountPoint(IDevice.MNT_EXTERNAL_STORAGE);\n mTestDevice.executeShellCommand(String.format(\"rm %s/%s\", extStore, mOutputFile));\n }", "@After\n\tpublic void setupClean() {\n\n\t\tString server = serverRequirement.getConfig().getName();\n\t\tif (FuseServerManipulator.isServerStarted(server)) {\n\t\t\tFuseServerManipulator.stopServer(server);\n\t\t}\n\t\tnew ProjectExplorer().deleteAllProjects();\n\t}", "private void deleteCacheFiles() {\n\n\t\t// get the directory file\n\t\tFile cache = new File(Constants.CACHE_DIR_PATH);\n\n\t\t// check if we got the correct instance of that directory file.\n\t\tif (!cache.exists() || !cache.isDirectory())\n\t\t\treturn;\n\n\t\t// gets the list of files in the directory\n\t\tFile[] files = cache.listFiles();\n\t\t// deleting\n\n\t\tdeleteFiles(cache);\n\t\tfiles = null;\n\t\tcache = null;\n\n\t}", "@Override\n protected void performCleanup() {\n }", "protected void tearDown()\n {\n super.tearDown();\n ClassLoader classLoader = getClass().getClassLoader();\n File folder = null;\n try\n {\n folder = new File(classLoader.getResource(\"levels\").toURI().getPath());\n } catch (URISyntaxException e)\n {\n e.printStackTrace();\n }\n File[] listOfFiles = folder.listFiles();\n\n for (File f : listOfFiles)\n {\n if (!f.getPath().contains(\"level1.txt\") && !f.getPath().contains(\"level2.txt\") &&\n !f.getPath().contains(\"level3.txt\"))\n {\n try\n {\n Files.delete(f.toPath());\n } catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n }\n }", "public synchronized void cleanupSimple() {\n\t\tfinal int maxNumFiles = 1000;\n\t\tfinal int numFilesToDelete = 50;\n\n\t\tString[] children = mStorageDirectory.list();\n\t\tif (children != null) {\n\t\t\tif (children.length > maxNumFiles) {\n\t\t\t\tfor (int i = children.length - 1, m = i - numFilesToDelete; i > m; i--) {\n\t\t\t\t\tFile child = new File(mStorageDirectory, children[i]);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tchild.delete();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void cleanAll() {\r\n\t\ttos.clear();\r\n\t\tbcs.clear();\r\n\t\tccs.clear();\r\n\t\tattachments.clear();\r\n\t\tinLines.clear();\r\n\t\tsubject= null;\r\n\t\ttext= null;\r\n\t\tfrom= null;\r\n\t}", "public void cleanUp() {\r\n\t\tsuper.cleanUp() ;\r\n\t}", "protected void deleteTmpDirectory(File file) {\n\t\tif (file.exists() && file.canWrite()) {\n\t\t\tif (file.isDirectory()) {\n\t\t\t\tFile[] files = file.listFiles();\n\t\t\t\tfor (File child : files) {\n\t\t\t\t\tif (child.isDirectory()) {\n\t\t\t\t\t\tdeleteTmpDirectory(child);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tchild.delete();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfile.delete();\n\t\t}\n\t}", "public void clear()\n {\n normalImports.clear();\n wildcardImports.clear();\n }", "public void cleanup() {\n try {\n if (processingUnits != null) {\n for (int i = 0; i < processingUnits.length; i++) {\n processingUnits[i].cleanup();\n }\n }\n\n if (dbgCtrlThread != null) {\n dbgCtrlThread.stop();\n }\n\n if (casConsumerPU != null) {\n casConsumerPU.cleanup();\n }\n casConsumerPU = null;\n\n if (collectionReader != null) {\n collectionReader.close();\n }\n collectionReader = null;\n\n if (producer != null) {\n producer.cleanup();\n }\n producer = null;\n producerResult = null;\n\n if (consumerDeployList != null) {\n consumerDeployList.clear();\n }\n consumerDeployList = null;\n\n if (analysisEngines != null) {\n analysisEngines.clear();\n }\n analysisEngines = null;\n\n if (annotatorDeployList != null) {\n annotatorDeployList.clear();\n }\n annotatorDeployList = null;\n\n if (annotatorList != null) {\n annotatorList.clear();\n }\n annotatorList = null;\n\n if (consumerList != null) {\n consumerList.clear();\n }\n consumerList = null;\n\n if (consumers != null) {\n consumers.clear();\n }\n consumers = null;\n\n processingUnits = null;\n processingUnitResults = null;\n casprocessorList = null;\n // this.enProcSt = null;\n stats = null;\n statusCbL = null;\n // this.tcas = null;\n casPool = null;\n // this.restoredProcTr = null;\n checkpointData = null;\n procTr = null;\n cpeFactory = null;\n } catch (Exception e) {\n UIMAFramework.getLogger(this.getClass()).logrb(Level.FINER, this.getClass().getName(),\n \"process\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE, \"UIMA_CPM_exception__FINER\",\n new Object[] { Thread.currentThread().getName(), e.getMessage() });\n\n }\n }", "public void clean(IProgressMonitor mon) throws CoreException{\r\n \t\tif (project!=null){\r\n \t\t\t/**\r\n \t\t\t * closes processes so they don't have locks on resources we'd like to delete\r\n \t\t\t * and they can then be restarted with the newly generated files\r\n \t\t\t */\r\n \t\t\tcloseAllProcesses();\r\n \t\t\tclean(true);\r\n \t\t\tproject.refreshLocal(IResource.DEPTH_ONE, mon);\r\n \t\t\tdeleteCabalProblems();\r\n \t\t\tBuildWrapperPlugin.deleteAllProblems(project);\r\n \t\t\tcabalFileChanged();\r\n \t\t\toutlines.clear();\r\n \t\t\tif (SandboxHelper.isSandboxed(this)){\r\n \t\t\t\ttry {\r\n \t\t\t\t\tSandboxHelper.installDeps(this);\r\n \t\t\t\t} catch (CoreException ce){\r\n \t\t\t\t\tBuildWrapperPlugin.logError(BWText.error_sandbox,ce);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\tsynchronize(false);\r\n \t\t}\r\n \t}", "private void resetTemporary(){\n temporaryConstants = null;\n temporaryVariables = null;\n }", "@Test\n public void testInitialCleanup() throws Exception{\n File f = new File(path);\n assertTrue(f.exists());\n assertTrue(f.isDirectory());\n File[] files = f.listFiles();\n // Expect all files were deleted\n assertTrue(files.length == 0);\n }", "private static File prepareTempFolder() {\n File result;\n try {\n result = java.nio.file.Files.createTempDirectory(\n DCOSService.class.getSimpleName()).toFile();\n System.out.println(result.toString());\n\n return result;\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "@BeforeMethod()\n @AfterClass(groups = \"close\")\n public void cleanup()\n throws Exception\n {\n this.cleanup(AbstractTest.CI.DM_PATHTYPE); // as first, so that local attributes of path types are deleted!\n this.cleanup(AbstractTest.CI.PRG_MQL);\n this.cleanup(AbstractTest.CI.DM_ATTRIBUTE);\n this.cleanup(AbstractTest.CI.DM_RELATIONSHIP);\n this.cleanup(AbstractTest.CI.DM_RULE);\n this.cleanup(AbstractTest.CI.DM_TYPE);\n }", "protected void doCleanup(File jarFile, String suitePath) {\n if (jarFile != null) {\n jarFile.delete();\n };\n if (suitePath != null) {\n new File(suitePath + \".suite\").delete();\n new File(suitePath + \".suite.api\").delete();\n }\n }", "public static void clean(Task task, String localTemp) {\n\t\tif (state.getErrCode() == null) S3IO.uploadDir(task.getOutputPath(), localTemp);\n\t\ttry {\n\t\t\tFileUtils.deleteDirectory(new File(localTemp));\n\t\t\tFileUtils.deleteDirectory(task.getTaskType() == TaskType.MAP_TASK\n\t\t\t ? new File(MAP_INPUT_DIR + task.getTaskId()) : new File(REDUCE_INPUT_DIR + task.getTaskId()));\n\t\t} catch (IOException e) {\n\t\t\tlogger.error(\"Exception occoured while deleting input files and local temporary directory \\n\"\n\t\t\t + e.getLocalizedMessage());\n\t\t\tstate.setErrCode(state.getTsk() == TaskType.MAP_TASK ? ERR_CODE.EXCEPTION_DELETING_TEMP_DIR_MAP\n\t\t\t : ERR_CODE.EXCEPTION_DELETING_TEMP_DIR_REDUCE);\n\t\t}\n\n\t}", "@Test\n\tpublic void cleanupTargetDirectory() throws IOException {\n\t\tfinal Path targetDir = _temp.toPath().resolve(\"target\");\n\t\tfinal Path installerTar = new File(getClass().getResource(TEST_INSTALLER_TAR_GZ).getFile()).toPath();\n\t\tFileUtil.mkDirs(targetDir);\n\t\tArchiveUtil.decompressTarGz(installerTar, targetDir);\n\n\t\t// test\n\t\tassertTrue(targetDir.toFile().list().length > 0, \"target dir should exist with children\");\n\t\tServerInstaller.cleanupTargetDirectory(targetDir);\n\n\t\t// verify\n\t\tassertFalse(targetDir.toFile().exists(), \"target dir should not exist\");\n\t}", "public void removeAllPackages() {\r\n myPackages.clear();\r\n }", "private void cleanFolder(File[] files) {\n \t\t\n \t\tif (files != null) {\n \t\t\t// Iterate the files\n \t\t\tfor (int i = 0; i < files.length; i++) {\n \t\t\t\tFile f = files[i];\n \t\t\t\t// If the file is a directory, remove its contents recursively\n \t\t\t\tif (f.isDirectory()) {\n \t\t\t\t\tcleanFolder(f.listFiles());\n \t\t\t\t}\n \t\t\t\t// Remove the file if it is a class file\n \t\t\t\tif (f.getName().endsWith(\".class\"))\n \t\t\t\t\tf.delete();\n \t\t\t}\n \t\t}\n \t}", "public void testCleanFile() {\n shouldCleanFile(\"jasmine1/jasmineTestBefore.js\");\n\n // Given a jasmine file with a fdescribe() and an fit().\n shouldCleanFile(\"jasmine2/jasmineTestBefore.js\");\n }", "public static synchronized void emptyDerbyTestDirectory(final String derbyTestDirectory) {\n System.out.println(Thread.currentThread().getName() + \"********************************************************* TestHelper.emptyDerbyTestDirectory\");\n // Delete the files in the derbyTestDirectory directory.\n File tempDirectory = new File(derbyTestDirectory);\n File[] files = tempDirectory.listFiles();\n if (files != null) {\n for (File file : files) {\n if (file.isDirectory()) {\n File[] subFiles = file.listFiles();\n for (File subFile : subFiles) {\n if (subFile.isDirectory()) {\n File[] subSubFiles = subFile.listFiles();\n for (File subSubFile : subSubFiles) {\n subSubFile.delete();\n }\n }\n subFile.delete();\n }\n }\n file.delete();\n }\n }\n }", "private void cleanTempImages(String[] images) {\n for (int i = 1; i < images.length; i++) {\n File f = new File(images[i]);\n f.deleteOnExit();\n }\n }", "private static void clearCache(File cacheDir)\n {\n // Get the list of the files in the cache folder\n final File[] files = cacheDir.listFiles();\n\n // Perform a for loop to delete/remove all files\n for (File file : files)\n {\n file.delete();\n }\n // end of for (int i=0; i<files.length; i++)\n }", "@After\r\n public void cleanTestObject()\r\n {\r\n testLongTermStorage.resetInventory();\r\n }", "public void cleanup() {\r\n }", "@AfterClass (alwaysRun = true)\r\n\tpublic void cleanApp() throws Exception{\r\n\r\n\t\ttry {\r\n\t\t\tUtility.destroyUsers(xlTestDataWorkBook);\r\n\t\t\tUtility.destroyTestVault();\r\n\r\n\t\t}//End try\r\n\r\n\t\tcatch(Exception e){\r\n\t\t\tthrow e;\r\n\t\t}//End Catch\r\n\t}", "static void clean(Configuration conf) throws IOException {\n if (!debug(conf)) {\n int iteration = getCurrentIteration(conf);\n for (int i = 0; i <= iteration; i++) {\n deleteIfExists(conf, OUTPUT_BASE + i);\n deleteIfExists(conf, OUTPUT_BASE + i + TEMP_SUFFIX);\n deleteIfExists(conf, SCHEMA_BASE + i);\n }\n deleteIfExists(conf, \"input\");\n }\n }", "public synchronized static void cleanOldFiles() {\n\t\tGregorianCalendar yesterday = new GregorianCalendar();\n\t\tyesterday.roll(GregorianCalendar.HOUR_OF_DAY,-4);\n\t\tcleanOldFiles(yesterday.getTime());\n\t}", "public void deleteGeneratedFiles();", "static void clean(TreeDeleter treeDeleter, Path outputBase) {\n Path stashDir = getStashBase(outputBase);\n if (!stashDir.isDirectory()) {\n return;\n }\n Path stashTrashDir = stashDir.getChild(\"__trash\");\n try {\n stashDir.renameTo(stashTrashDir);\n } catch (IOException e) {\n // If we couldn't move the stashdir away for deletion, we need to delete it synchronously\n // in place, so we can't use the treeDeleter.\n treeDeleter = null;\n stashTrashDir = stashDir;\n }\n try {\n if (treeDeleter != null) {\n treeDeleter.deleteTree(stashTrashDir);\n } else {\n stashTrashDir.deleteTree();\n }\n } catch (IOException e) {\n logger.atWarning().withCause(e).log(\"Failed to clean sandbox stash %s\", stashDir);\n }\n }", "public static void unloadTempData() throws Exception {\n\t\tunloadTempData(new HashSet<String>());\n\t}", "public void deleteTemporaryProject() throws CoreException{\n\t\tString versionName = DataManager.getProjectVersion();\n\t\tajdtHandler.deleteProject(versionName);\n\t\t\n\t\tif(versionName.contains(\"_Old\")){\n\t\t\tversionName = versionName.replace(\"_Old\", \"\");\n\t\t\tajdtHandler.deleteProject(versionName);\n\t\t}\n\t\t\n\t}", "public void cleanUp(){\n //Clean up the parent class, i.e. close pipes.\n super.cleanUp();\n }", "public void cleanup() {\n try {\n resManager.stopVirtualNodes();\n } catch (Exception e) {\n logger.error(ITConstants.TS + \": \" + DEL_VM_ERR, e);\n }\n logger.info(\"Cleanup done\");\n }", "public void cleanup() {\n if (cleaned) {\n return;\n }\n for (val cleanup : cleanups) {\n cleanup.accept(this);\n }\n clear(true);\n cleanups.clear();\n attributes.clear();\n if (parent != null) {\n parent.remove(this);\n }\n cleaned = true;\n }", "public static void clearTempPartList() {\r\n\r\n tempPartList.clear();\r\n }", "public void cleanup()\n {\n CogTool.delayedWorkMgr.doDelayedWork(true);\n }", "@After\n\tpublic void cleanUp() {\n\t\tsuper.unload();\n\n\t\t// shutdown the database\n\t\tif (db != null) {\n\t\t\tdb.shutDownDb();\n\t\t}\n\t\tassertTrue(Files.deleteDir(tmpDir));\n\t}", "protected void deleteZipAndFiles() throws IOException {\n FileUtils.deleteDirectory(new File(workspace + \"\\\\\" + zipName.replace(\".zip\", \"\")));\n FileUtils.forceDelete(new File(workspace + \"\\\\\" + zipName));\n uploadStatus = \"Cleaning up :)\";\n System.out.println(\"Done!\");\n }", "public void delete() {\n if (tempFile != null) {\n tempFile.delete();\n }\n }", "public void excludeAllFiles(){\n for(Map.Entry<String,File> entry : dataSourcesDirectories.entrySet()){\n \n //Get directory\n File dir = entry.getValue();\n \n //List files contained in this directory\n File[] listOfFiles = dir.listFiles();\n \n //Delete each file contained in this directory\n for(File file : listOfFiles)\n file.delete();\n \n //Delete directory\n dir.delete();\n \n }\n \n //For each directory created for each service\n for(Map.Entry<String,File> entry : servicesDirectories.entrySet()){\n \n //Get directory\n File dir = entry.getValue();\n \n //List files contained in this directory\n File[] listOfFiles = dir.listFiles();\n \n //Delete each file contained in this directory\n for(File file : listOfFiles)\n file.delete();\n \n //Delete directory\n dir.delete();\n \n }\n \n //Finally, delete sessionDirectory\n if(sessionDirectory != null)\n sessionDirectory.delete();\n \n }" ]
[ "0.7266242", "0.7189942", "0.70978177", "0.7004806", "0.69229555", "0.671068", "0.65480155", "0.64863247", "0.64788616", "0.64400756", "0.6426232", "0.6411408", "0.6409356", "0.6398345", "0.6364571", "0.6315769", "0.62886226", "0.6211717", "0.6208365", "0.6077676", "0.6058527", "0.6043838", "0.6033457", "0.6026995", "0.60264504", "0.5939501", "0.58362085", "0.5820624", "0.58173335", "0.57943547", "0.57216674", "0.56978536", "0.5678859", "0.56187403", "0.55960447", "0.5594341", "0.55905724", "0.5582448", "0.55794007", "0.55743337", "0.55649287", "0.55580467", "0.5545434", "0.5538796", "0.5537107", "0.5525646", "0.5521085", "0.55113864", "0.5507343", "0.54832166", "0.5467793", "0.5466918", "0.54504764", "0.544889", "0.5435375", "0.5431311", "0.54288995", "0.5428741", "0.542548", "0.5420569", "0.5417494", "0.53851557", "0.5381353", "0.5376942", "0.53763425", "0.5369731", "0.5362735", "0.5355792", "0.5346875", "0.5339521", "0.5336671", "0.533486", "0.53248113", "0.53229666", "0.53049034", "0.52991337", "0.52967185", "0.52852124", "0.5267151", "0.5264304", "0.52639085", "0.52596146", "0.5257337", "0.5245362", "0.52282274", "0.5224089", "0.52119726", "0.52056754", "0.5198107", "0.5189015", "0.51875997", "0.51834095", "0.51822394", "0.5180838", "0.5177921", "0.51661056", "0.51609975", "0.5159509", "0.5154423", "0.5153573" ]
0.5919542
26
This method provides the outcome of the validate at the time of call. The returned object serves as the storage for the checks performed during validation and their outcomes. This object serves as an efficent means for passing the outcome of the validation activites throughout the utilizing system.
public IValidatorOutcome getADLValidatorOutcome() { mLogger.entering("ADLSCORMValidator", "getADLValidatorOutcome()"); // create an instance of the ADLValidator object with the current state of // of the ADLSCORMValidator attributes values ADLValidatorOutcome outcome = new ADLValidatorOutcome(getDocument(), getIsIMSManifestPresent(), getIsWellformed(), getIsValidToSchema(), getIsValidToApplicationProfile(), getIsExtensionsUsed(), getIsRequiredFiles(), getIsRootElement()); mLogger.exiting("ADLSCORMValidator", "getADLValidatorOutcome()"); return outcome; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ValidationResponse validate();", "@Override\n protected Result validate() {\n return successful(this);\n }", "@Override\n public SmokeTestResult validate() {\n SmokeTestResult result = new SmokeTestResult(id, state, elapsedNs, msg);\n\n LOGGER.trace(String.format(\"validate: result [%s] line [%s %s]\", result, id, testDef.getCmd()));\n\n return result;\n }", "public void validate() {}", "public Boolean getValidate(){\n return validated;\n }", "public boolean getValidation() {\n return validate;\n }", "public abstract boolean validate();", "public interface ValidatorResult {\n\n\tpublic void addError(String error);\n\n\tpublic List<String> getErrors();\n\n\tpublic boolean isFailedBusinessRules();\n}", "void validate();", "void validate();", "public void validate(){\n if (validated){\n validated = false;\n } else {\n validated = true;\n }\n }", "public interface ValidatingRule extends NormalisationRule\n{\n /**\n * Performs validation for the given stage by validating the input object using the criteria\n * defined for this rule.\n * \n * @param stage\n * A URI denoting the stage to use. This stage must be a valid stage for this type of\n * rule based on the result of validForStage(stage)\n * @param input\n * The input object to be validated by this rule.\n * @return True if the validation succeeded, or false otherwise.\n * @throws InvalidStageException\n * If the given stage was not valid.\n * @throws ValidationFailedException\n * If the validation failed.\n * @throws QueryAllException\n * If the validation process did not complete.\n */\n boolean normaliseByStage(URI stage, Object input) throws InvalidStageException, ValidationFailedException,\n QueryAllException;\n \n /**\n * Validates the given input object in the stage after query creation, but before query parsing.\n * \n * @param input\n * The input object to be validated.\n * @return True if the input object was valid and false otherwise.\n * @throws ValidationFailedException\n * If the validation failed.\n */\n boolean stageAfterQueryCreation(Object input) throws ValidationFailedException;\n \n /**\n * Validates the given input object in the stage after query parsing, but before query\n * submission to the provider.\n * \n * @param input\n * The input object to be validated.\n * @return True if the input object was valid and false otherwise.\n * @throws ValidationFailedException\n * If the validation failed.\n */\n boolean stageAfterQueryParsing(Object input) throws ValidationFailedException;\n \n /**\n * Validates the given input object in the stage after the RDF results have been imported from\n * the results for a provider, but before they have been merged into a pool with results from\n * other providers.\n * \n * @param input\n * The input object to be validated.\n * @return True if the input object was valid and false otherwise.\n * @throws ValidationFailedException\n * If the validation failed.\n */\n boolean stageAfterResultsImport(Object input) throws ValidationFailedException;\n \n /**\n * Validates the given input object in the stage after the combined RDF statements in the pool\n * have been serialised to the results document.\n * \n * @param input\n * The input object to be validated.\n * @return True if the input object was valid and false otherwise.\n * @throws ValidationFailedException\n * If the validation failed.\n */\n boolean stageAfterResultsToDocument(Object input) throws ValidationFailedException;\n \n /**\n * Validates the given input object in the stage after the RDF results have been merged into a\n * pool of RDF statements, but before they have been serialised to the results document.\n * \n * @param input\n * The input object to be validated.\n * @return True if the input object was valid and false otherwise.\n * @throws ValidationFailedException\n * If the validation failed.\n */\n boolean stageAfterResultsToPool(Object input) throws ValidationFailedException;\n \n /**\n * Validates the given input object in the stage after results have been returned from a\n * provider, but before they have been parsed into RDF statements.\n * \n * @param input\n * The input object to be validated.\n * @return True if the input object was valid and false otherwise.\n * @throws ValidationFailedException\n * If the validation failed.\n */\n boolean stageBeforeResultsImport(Object input) throws ValidationFailedException;\n \n /**\n * Validates the given input object in the stage where query variables are being normalised\n * based on the context of the provider.\n * \n * @param input\n * The input object to be validated.\n * @return True if the input object was valid and false otherwise.\n * @throws ValidationFailedException\n * If the validation failed.\n */\n boolean stageQueryVariables(Object input) throws ValidationFailedException;\n}", "public boolean isValidated(){\n return getValidatedFlag();\n }", "public Boolean validate(R answerFromTest);", "public RefactoringStatus getValidationStatus() {\n return fValidationStatus;\n }", "protected abstract boolean isValidate();", "public interface IValidationHelper extends StateRestorer {\n\n\t/**\n\t * Initialization of the objects needed for the validation process.\n\t *\n\t * @throws HDIVException if there is an initialization error.\n\t */\n\tvoid init();\n\n\t/**\n\t * Checks if the values of the parameters received in the request <code>request</code> are valid. These values are valid if and only if\n\t * the noneditable parameters haven't been modified.<br>\n\t *\n\t * @param context request context\n\t * @return {@link ValidatorHelperResult} with true value If all the parameter values of the request <code>request</code> pass the the\n\t * HDIV validation. False, otherwise.\n\t * @throws HDIVException If the request doesn't pass the HDIV validation an exception is thrown explaining the cause of the error.\n\t */\n\tValidatorHelperResult validate(ValidationContext context);\n\n\t/**\n\t * It is called in the pre-processing stage of each user request.\n\t *\n\t * @param request HTTP servlet request\n\t */\n\tvoid startPage(RequestContextHolder request);\n\n\t/**\n\t * It is called in the post-processing stage of each user request.\n\t *\n\t * @param request HTTP servlet request\n\t */\n\tvoid endPage(RequestContextHolder request);\n\n\t/**\n\t * Internal Hdiv request\n\t * @param request HTTP servlet request\n\t * @param response HTTP servlet response\n\t * @return true if internal\n\t */\n\tboolean isInternal(HttpServletRequest request, HttpServletResponse response);\n\n\t/**\n\t * Find internal errors\n\t * @param t\n\t * @param target\n\t * @return\n\t */\n\tList<ValidatorError> findCustomErrors(final Throwable t, String target);\n\n\t/**\n\t * Check whether all the errors are legal\n\t * @param errors\n\t * @return\n\t */\n\tboolean areErrorsLegal(List<ValidatorError> errors);\n\n\tboolean processEditableValidationErrors(final RequestContextHolder request, final List<ValidatorError> errors);\n\n}", "public boolean isValidate() {\r\r\r\r\r\r\n return validate;\r\r\r\r\r\r\n }", "void validate() throws ValidationException;", "public ReportResult validateStages() {\n\t\tReportResult report = new ReportResult(scriptName + \" Script Report\");\n\n\t\tLocation lastApplicableLocation; // The last location that the entity was moved to\n\t\tif (getActionsForStage(1).containsKey(StageAction.START)) {\n\t\t\treport.addCheckMessage(\"Stage 1 contains a starting point for the entity\", ResultType.SUCCESS);\n\t\t\tlastApplicableLocation = ((LocationComponent) getActionsForStage(1).get(StageAction.START)).getValue();\n\t\t} else {\n\t\t\treport.addCheckMessage(\"Stage 1 does NOT contain a starting point for the entity\", ResultType.ERROR);\n\t\t\treturn report; // Further validation requires a starting position as reference\n\t\t}\n\n\t\tfor (int i = 1; i <= amountOfStages; i++) {\n\t\t\tMap<StageAction, StageComponent> actions = getActionsForStage(i);\n\n\t\t\tif (actions.isEmpty()) {\n\t\t\t\treport.addCheckMessage(\"Stage \" + i + \" is redundant: Has no actions\", ResultType.WARN);\n\t\t\t\tcontinue; // Without any actions, there is nothing more to validate here\n\t\t\t}\n\n\t\t\tint stopActionOccurrences = 0;\n\t\t\tfor (StageAction action : actions.keySet()) {\n\t\t\t\tif (action.equals(StageAction.WALK_TO)) {\n\t\t\t\t\tLocation location = ((LocationComponent) actions.get(action)).getValue();\n\t\t\t\t\tif (location.distance(lastApplicableLocation) > 20) {\n\t\t\t\t\t\treport.addCheckMessage(\"A \" + StageAction.WALK_TO.name()\n\t\t\t\t\t\t\t\t\t\t+ \" (Stage \" + i + \") action is more than 20 blocks from the last location, \"\n\t\t\t\t\t\t\t\t\t\t+ \"which will cause an execution error\",\n\t\t\t\t\t\t\t\tResultType.ERROR);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treport.addCheckMessage(\n\t\t\t\t\t\t\t\t\"The entity at Stage \" + i + \" walks no more than 20 blocks from the last location\",\n\t\t\t\t\t\t\t\tResultType.SUCCESS);\n\t\t\t\t\t}\n\n\t\t\t\t\tlastApplicableLocation = location;\n\t\t\t\t} else if (action.equals(StageAction.STOP)) {\n\t\t\t\t\tstopActionOccurrences++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (stopActionOccurrences == 0) {\n\t\t\t\treport.addCheckMessage(\"The script has no stop action meaning the entity won't despawn\",\n\t\t\t\t\t\tResultType.WARN);\n\t\t\t} else if (stopActionOccurrences > 1) {\n\t\t\t\treport.addCheckMessage(\"The script has a redundant stop action: More than 1 stop action found\",\n\t\t\t\t\t\tResultType.WARN);\n\t\t\t} else {\n\t\t\t\treport.addCheckMessage(\"There is a single stop action to end the script properly\", ResultType.SUCCESS);\n\t\t\t}\n\t\t}\n\n\t\treturn report;\n\t}", "protected void validate() {\n // no op\n }", "public String validate() {\n\t\treturn \"valid\";\n\t}", "public void validate() throws ValidationException {\r\n/* 522 */ Validator validator = new Validator();\r\n/* 523 */ validator.validate(this);\r\n/* */ }", "public ValidationData getValidationData() {\n return validationData;\n }", "public String getValidation() {\n return this.validation;\n }", "protected void validate() {\n // no implementation.\n }", "public List<ValidationError> validate() {\n\n List<ValidationError> errors = new ArrayList<>();\n\n // isActive\n if (this.isActive != null && !this.isActive.equals(\"\") && this.getIsActiveAsBoolean() == null) {\n errors.add(new ValidationError(\"isActive\", \"isActive is not correctly formated, should be a true or false\"));\n }\n\n // actorTypeRefId\n if (this.actorTypeRefId != null && !this.actorTypeRefId.equals(\"\") && this.getActorType() == null) {\n errors.add(new ValidationError(\"actorTypeRefId\", String.format(\"ActorType %s does not exist\", this.actorTypeRefId)));\n }\n\n // login\n if (this.login != null && !this.login.equals(\"\")) {\n Actor testActor = ActorDao.getActorByUid(this.login);\n if (testActor != null) {\n Actor actor = ActorDao.getActorByRefId(this.refId);\n if (actor != null) { // edit\n if (!testActor.id.equals(actor.id)) {\n errors.add(new ValidationError(\"login\", \"The login \\\"\" + this.login + \"\\\" is already used by another actor\"));\n }\n } else { // create\n errors.add(new ValidationError(\"login\", \"The login \\\"\" + this.login + \"\\\" is already used by another actor\"));\n }\n }\n }\n\n return errors.isEmpty() ? null : errors;\n }", "@Override\r\n\tpublic void validate() {\n\t\t\r\n\t}", "public MLTableJobInput validationData() {\n return this.validationData;\n }", "public void validate() {\n\t\tthis.invalidated = false;\n\t}", "@Override\n\tpublic void validate()\n\t{\n\n\t}", "long invalidations();", "public boolean getValidity();", "public static int getRulesPassed(){\r\n\t\treturn rulesPassed;\r\n\t}", "public abstract void validate(List<String> validationMessages);", "@Override\r\n public void validate() {\r\n }", "boolean validate(IAcceptor<? super AbstractDiagnostic> result);", "public interface Validate<R> {\n\n /**\n * Compares the original answer to the expected result\n *\n * @param answerFromTest -- The value produced from the test\n * @return (T) -- The result is correct and this portion of test should be passed\n */\n public Boolean validate(R answerFromTest);\n}", "public boolean validate(){\n return true;\n }", "public void validate() throws ValidationException {\n\t}", "Boolean getIsValid();", "@Override\n\tpublic void validate() {\n\t}", "public CompletionStage<Result> validate()\n {\n IRequestValidator requestValidator=new CertValidateRequestValidator();\n return handleRequest(request(),requestValidator, JsonKeys.CERT_VALIDATE);\n }", "@Test\n\tpublic void testValidate()\n\t{\n\t\tSystem.out.println(\"validate\");\n\t\tUserTypeCode userTypeCode = new UserTypeCode();\n\t\tuserTypeCode.setCode(\"Test\");\n\t\tuserTypeCode.setDescription(\"Test\");\n\n\t\tValidationModel validateModel = new ValidationModel(userTypeCode);\n\t\tvalidateModel.setConsumeFieldsOnly(true);\n\n\t\tValidationResult result = ValidationUtil.validate(validateModel);\n\t\tSystem.out.println(\"Any Valid consume: \" + result.toString());\n\t\tif (result.valid() == false) {\n\t\t\tAssert.fail(\"Failed validation when it was expected to pass.\");\n\t\t}\n\t\tSystem.out.println(\"---------------------------\");\n\n\t\tvalidateModel = new ValidationModel(userTypeCode);\n\t\tresult = ValidationUtil.validate(validateModel);\n\t\tSystem.out.println(\"Faild: \" + result.toString());\n\t}", "public List<String> validate()\n {\n List<String> errs = new ArrayList<String>();\n\n if (StringUtils.isEmpty(startingUrl))\n errs.add(\"Missing starting URL.\");\n else\n {\n String[] schemes = {\"http\", \"https\"};\n UrlValidator urlValidator = new UrlValidator(schemes);\n if (!urlValidator.isValid(startingUrl))\n errs.add(\"Invalid starting URL.\");\n }\n\n if (StringUtils.isEmpty(outputPath))\n errs.add(\"Missing output path.\");\n else\n {\n try\n {\n Path path = Paths.get(outputPath);\n File dir = path.toFile();\n if (!dir.exists())\n dir.mkdirs();\n else if (!dir.isDirectory())\n errs.add(\"Output path exists but is not a directory.\");\n }\n catch (Exception ex)\n {\n errs.add(\"Invalid output path or unable to create the directory.\");\n }\n }\n\n if (StringUtils.isEmpty(resultFile))\n errs.add(\"Missing result file.\");\n else if (errs.isEmpty())\n {\n // Only do this check if the output path is valid.\n try\n {\n Paths.get(outputPath, resultFile);\n }\n catch (Exception ex)\n {\n errs.add(\"Invalid result file.\");\n }\n }\n\n if (numThreads < CrawlerImpl.MIN_THREADS)\n numThreads = CrawlerImpl.MIN_THREADS;\n\n if (crawlTimeoutSeconds < MIN_CRAWL_TIMEOUT_SECONDS)\n crawlTimeoutSeconds = MIN_CRAWL_TIMEOUT_SECONDS;\n\n return errs;\n }", "ValidationError getValidationError();", "public Collection fullValidationCheck ()\n\t{\n\t\tArrayList list = new ArrayList();\n\t\tIterator iterator = getFullValidationList().iterator();\n\n\t\twhile (iterator.hasNext())\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\t((ValidationComponent)iterator.next()).validate();\n\t\t\t}\n\t\t\tcatch (ModelValidationException e)\n\t\t\t{\n\t\t\t\tlist.add(e);\n\t\t\t}\n\t\t}\n\n\t\treturn Collections.unmodifiableCollection(list);\n\t}", "public Set<YValidationAspekt> validateComponent() {\r\n\t\tthis.foundErrors = EnumSet.noneOf(YValidationAspekt.class);\r\n\t\tthis.foundWarnings = EnumSet.noneOf(YValidationAspekt.class);\r\n\r\n\t\tassertModelSpecification();\r\n\t\tassertModelImplementation();\r\n\r\n\t\tassertIdAndVarName();\r\n\t\tassertProperties();\r\n\r\n\t\treturn this.foundErrors;\r\n\t}", "protected void executeValidation(XPath xpath, Document dom, EDLValidation validation, EDLContext edlContext) throws Exception {\n\t\tif (XPATH_TYPE.equals(validation.getType())) {\n\t\t\tBoolean result = (Boolean)xpath.evaluate(validation.getExpression(), dom, XPathConstants.BOOLEAN);\n\t\t\t// if validation returns false, we'll flag the error\n\t\t\tif (!result) {\n\t\t\t\tString key = validation.getKey();\n\t\t\t\tif (!StringUtils.isEmpty(key)) {\n\t\t\t\t\tMap<String, String> fieldErrors = (Map<String, String>)edlContext.getRequestParser().getAttribute(RequestParser.GLOBAL_FIELD_ERRORS_KEY);\n\t\t\t\t\tfieldErrors.put(key, validation.getMessage());\n\n\t\t\t\t\t// set invalid attribute to true on corresponding field\n\t\t\t\t\t//TODO remove - handled this in the widgets\n//\t\t\t\t\tElement edlElement = EDLXmlUtils.getEDLContent(dom, false);\n//\t\t\t\t\tElement edlSubElement = EDLXmlUtils.getOrCreateChildElement(edlElement, \"data\", true);\n//\t\t\t\t\tNodeList versionNodes = edlSubElement.getChildNodes();\n//\t\t\t\t\tfor (int i = 0; i < versionNodes.getLength(); i++) {\n//\t\t\t\t\t\tElement version = (Element) versionNodes.item(i);\n//\t\t\t\t\t\tString current = version.getAttribute(\"current\");\n//\t\t\t\t\t\tif (current == \"true\") {\n//\t\t\t\t\t\t\tNodeList fieldNodes = version.getChildNodes();\n//\t\t\t\t\t\t\tfor (int j = 0; j < fieldNodes.getLength(); j++) {\n//\t\t\t\t\t\t\t\tElement field = (Element) fieldNodes.item(j);\n//\t\t\t\t\t\t\t\tString fieldName = field.getAttribute(\"name\");\n//\t\t\t\t\t\t\t\tif(fieldName.equals(key)) {\n//\t\t\t\t\t\t\t\t\tfield.setAttribute(\"invalid\", \"true\");\n//\t\t\t\t\t\t\t\t\tbreak;\n//\t\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t}\n//\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tList globalErrors = (List)edlContext.getRequestParser().getAttribute(RequestParser.GLOBAL_ERRORS_KEY);\n\t\t\t\t\tglobalErrors.add(validation.getMessage());\n\t\t\t\t}\n\t\t\t\tedlContext.setInError(true);\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new WorkflowRuntimeException(\"Illegal validation type specified. Only 'xpath' is currently supported.\");\n\t\t}\n\t}", "public void validate () { throw new RuntimeException(); }", "public Iterator<String> validate() {\r\n\t\tValidityReport vr = ONT_MODEL.validate();\r\n\t\t\r\n\t\tCollection<String> reports = new ArrayList<String>();\r\n\t\t\r\n\t\tfor(Iterator riter = vr.getReports(); riter.hasNext();)\r\n\t\t{\r\n\t\t\tValidityReport.Report r = (ValidityReport.Report)riter.next();\r\n\t\t\tString msg =\"\";\r\n\t\t\tif(r.isError())\r\n\t\t\t\tmsg += \"[ERROR]\";\r\n\t\t\telse\r\n\t\t\t\tmsg += \"[WARNING]\";\r\n\t\t\tmsg+=\"[\"+r.getType()+\"]\";\r\n\t\t\tmsg+=r.getDescription();\r\n\t\t\treports.add(msg);\r\n\t\t}\r\n\t\t\r\n\t\treturn reports.iterator();\r\n\t}", "public ValidationResult(Result overallResult,\n\t\t\tHashMap<Object, Result> results) {\n\t\tthis.overallResult = overallResult;\n\t\tthis.results = results != null ? results\n\t\t\t\t: new HashMap<Object, Result>();\n\t}", "public boolean validate() {\n return true;\n }", "public boolean validate() {\n return true;\n }", "public Employee validate() throws ValidationException {\n\n\n nameValidator();\n roleValidator();\n\n if (validationException.isEmpty()) return employee;\n throw validationException;\n }", "boolean getValid();", "public boolean validateModel(){\r\n System.out.println(\"Validated!\");\r\n return true;\r\n }", "@Override\n\tpublic void validate(Object arg0, Errors arg1) {\n\n\t}", "public final boolean isValidate() {\n\t\treturn validate;\n\t}", "protected boolean validateView() {\n\t\tValidationReport report = new ValidationReport();\n\t\tview.validate(report);\n\t\t// Displays the validation report result\n\t\tview.display(report);\n\t\t// Result\n\t\treturn report.isOk();\n\t}", "@Override\r\n\tpublic void Validate() {\n\r\n\t}", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\r\n success.validate();\r\n }\r\n }", "void checkValid();", "public interface ValidationCheck extends Configurable {\n\n /**\n * Validates the concept.\n *\n * @param concept the concept\n * @return the validation result\n */\n public ValidationResult validate(Concept concept);\n\n /**\n * Validates the descriptor.\n *\n * @param descriptor the descriptor\n * @return the validation result\n */\n public ValidationResult validate(Descriptor descriptor);\n\n /**\n * Validates the code.\n *\n * @param code the code\n * @return the validation result\n */\n public ValidationResult validate(Code code);\n\n /**\n * Validates the atom.\n *\n * @param atom the atom\n * @return the validation result\n */\n public ValidationResult validate(Atom atom);\n\n /**\n * Validates the concept merge.\n *\n * @param concept1 the concept1\n * @param concept2 the concept2\n * @return the validation result\n */\n public ValidationResult validateMerge(Concept concept1,\n Concept concept2);\n\n}", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\t\t\n\t\t\n\t}", "@Override\n\tpublic void selfValidate() {\n\t\t\n\t}", "@Override\r\n\tprotected void validate() {\n\t}", "public List<String> validate() {\n\t\t\n\t\tList<String> validationMessages = new ArrayList<String>();\n\t\tvalidate(validationMessages);\n\t\treturn validationMessages;\n\t}", "public TestResult validate(License license, ValidationParameters validationParameters);", "public void validate() throws Exception {\n }", "public abstract List<Requirement> getFailedChecks();", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "@Override\r\n public void validate() {\n\r\n }", "public final File getValidationOutputFolder() {\n\t\treturn validationOutputFolder;\n\t}", "public ValidationResult validateContract() {\n return validateContract(apiContract);\n }", "public abstract void validate () throws ModelValidationException;", "private static void processValidation(boolean passed, String property, CHECK check) {\n if (!passed) {\n LOG.error(\"'{}' failed in {} validation\", property, check);\n HealthCheck.setFailed();\n } else {\n LOG.info(\"'{}' passed\", property);\n }\n }", "public Document getDocumentForValidation() {\n return documentForValidation;\n }", "public ID getValidation() { \r\n\t\tID retVal = this.getTypedField(47, 0);\r\n\t\treturn retVal;\r\n }", "public static void startValidation() {\n errList = new ArrayList<>();\n }", "public interface Validable {\n /**\n * @param levelOfSecurityBroken - 0,1,2,3,4 levels of security\n */\n void onValidationSuccess(int levelOfSecurityBroken);\n\n /**\n * when validation in progress, if user goes with invalid path, this method is invoked\n */\n void onValidationFailed();\n\n void onSequenceRestart();\n\n}", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\t\t\n\t}", "protected boolean getValidatedFlag() {\n createFlags();\n return flags[VALIDATED];\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }", "public void validate() throws org.apache.thrift.TException {\n if (success != null) {\n success.validate();\n }\n }" ]
[ "0.7176253", "0.65692043", "0.6425916", "0.6421367", "0.61614007", "0.61101884", "0.6086305", "0.608321", "0.5988265", "0.5988265", "0.59042895", "0.59035057", "0.5899039", "0.58508074", "0.5848275", "0.5848087", "0.5842279", "0.57903254", "0.57563317", "0.57334405", "0.5732299", "0.5658524", "0.56534016", "0.56100106", "0.5580149", "0.55762196", "0.55756253", "0.55693436", "0.5545575", "0.55342454", "0.55211", "0.5508449", "0.5496349", "0.5491491", "0.5491405", "0.54725116", "0.54687804", "0.5464554", "0.54632944", "0.5456654", "0.5439759", "0.54317915", "0.5430729", "0.5413619", "0.5408774", "0.53973556", "0.53697073", "0.53681785", "0.536211", "0.53513885", "0.53507406", "0.5350272", "0.5348233", "0.5348233", "0.5331065", "0.5324968", "0.532252", "0.53182113", "0.53144133", "0.5305716", "0.5295987", "0.52902836", "0.528982", "0.5287954", "0.52832335", "0.5278073", "0.5276733", "0.5259504", "0.5252425", "0.52468944", "0.5241807", "0.52320933", "0.52320933", "0.52320933", "0.52320933", "0.5228172", "0.522545", "0.52240825", "0.5217042", "0.52153826", "0.5211597", "0.521136", "0.52098876", "0.52052855", "0.52051073", "0.51969343", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507", "0.51949507" ]
0.68055385
1
This method returns the document created during a parse. A parse for wellformedness creates a document object while the parse for validation against the controlling documents creates a seperate document object.
public Document getDocument() { return mDocument; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Document getDocument() {\n\t\t// If the document has not been parsed yet, do it now\n\t\tif (this.document == null) {\n\t\t\ttry {\n\t\t\t\tthis.document = parseLinkingConfiguration(this.configuration);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\treturn this.document;\n\t}", "public WalkerDocument newDocument() { return newDocument((IOptions)null); }", "SingleDocumentModel getCurrentDocument();", "Rule Document() {\n // Push 1 DocumentNode onto the value stack\n return Sequence(\n WhiteSpace(),\n ZeroOrMore(Header()),\n ZeroOrMore(Definition()),\n EOI,\n actions.pushDocumentNode());\n }", "public OpenDefinitionsDocument getDocument() { return _document; }", "public Document newDocument() {\n\t\treturn new org.apache.xerces.dom.DocumentImpl();\n\t}", "public BasicDBObject getDocument () {\n\t\tBasicDBObject myDoc = new BasicDBObject(\"ID\",this.ID);\t\t\n\t\tmyDoc.append(\"CompanyID\", this.CompanyID);\n\t\tmyDoc.append(\"FormType\",this.FormType);\n\t\tmyDoc.append(\"FieldID\",this.FieldID);\n\t\tmyDoc.append(\"Context\", this.Context);\n\t\treturn myDoc;\n\t}", "public Document createDefaultDocument()\n {\n return new MoeSyntaxDocument(projectResolver, documentListener);\n }", "private Document createDocumentForTest() {\r\n\r\n EntityManager em = com.topcoder.service.studio.contest.bean.MockEntityManager.EMF.createEntityManager();\r\n em.getTransaction().begin();\r\n\r\n FilePath path = new FilePath();\r\n path.setModifyDate(new Date());\r\n path.setPath(\"path\");\r\n\r\n StudioFileType studioFileType = new StudioFileType();\r\n studioFileType.setDescription(\"description\");\r\n studioFileType.setExtension(\"extension\");\r\n studioFileType.setImageFile(true);\r\n studioFileType.setSort(1);\r\n em.persist(studioFileType);\r\n\r\n MimeType mimeType = new MimeType();\r\n mimeType.setDescription(\"description\");\r\n mimeType.setStudioFileType(studioFileType);\r\n mimeType.setMimeTypeId(1L);\r\n em.persist(mimeType);\r\n\r\n DocumentType type = new DocumentType();\r\n type.setDescription(\"description\");\r\n type.setDocumentTypeId(1L);\r\n em.persist(type);\r\n\r\n em.getTransaction().commit();\r\n em.close();\r\n\r\n Document document = new Document();\r\n document.setOriginalFileName(\"originalFileName\");\r\n document.setSystemFileName(\"systemFileName\");\r\n document.setPath(path);\r\n document.setMimeType(mimeType);\r\n document.setType(type);\r\n document.setCreateDate(new Date());\r\n\r\n return document;\r\n }", "public Document readDocument();", "public Document getDocument()\n\t{\n\t\treturn document;\n\t}", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\r\n\t\treturn document;\r\n\t}", "public Document getDocument() {\n return doc;\n }", "public Object getContent() {\n\t\tManageProperties properties = ManageProperties.getInstance();\n\t\tDocument gateDoc = null;\n\t\ttry {\n\t\t\tgateDoc = (Document) Factory.createResource(\"gate.corpora.DocumentImpl\", Utils.featureMap(\"encoding\", properties.getValue(PropertiesFields.ENCODING.toString())));\n\t\t\tDocumentType doc = xmldoc.getDocument();\n\t\t\tgateDoc.setContent(new DocumentContentImpl(doc.getText()));\n\t\t\tAnnotationSet defaultSet = gateDoc.getAnnotations();\n\t\t\tTokensType tokens = doc.getTokens();\n\t\t\tIterator<TokenType> iterTokens = tokens.getToken().iterator();\n\t\t\twhile(iterTokens.hasNext()) {\n\t\t\t\tTokenType token = iterTokens.next();\n\t\t\t\tFeatureMap tokenFeatures = Factory.newFeatureMap();\n\t\t\t\ttokenFeatures.put(\"string\", token.getForm());\n\t\t\t\ttokenFeatures.put(\"root\", token.getLemma());\n\t\t\t\ttokenFeatures.put(\"category\", token.getCategory());\n\t\t\t\tdefaultSet.add(token.getBeginspan().longValue(), token.getEndspan().longValue(), \"Token\", tokenFeatures);\n\t\t\t}\n\t\t\t\n\t\t\tIterator<SentenceType> iterSentences = doc.getSentence().iterator();\n\t\t\twhile(iterSentences.hasNext()) {\n\t\t\t\tSentenceType sent = iterSentences.next();\n\t\t\t\tdefaultSet.add(sent.getBeginspan().longValue(), sent.getEndspan().longValue(), \"Sentence\", Factory.newFeatureMap());\n\t\t\t}\n\t\t} catch (ResourceInstantiationException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (InvalidOffsetException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn (gateDoc);\n\t}", "public String getDocument() {\n\t\treturn document;\n\t}", "Object create(Document doc) throws IOException, SAXException, ParserConfigurationException;", "public Document getTemplateAsDocument() {\n // Creates a blank document\n Document doc = new Document();\n\n // Fills the document with data\n // Includes the id if one exists\n if (id != null)\n doc.append(\"_id\", new ObjectId(id));\n doc.append(\"userID\", new ObjectId(userID));\n // Creates the array if it is not already created\n if (questions == null)\n questions = new ArrayList<Question>();\n\n doc.append(\"questions\",\n (List<Document>) (questions.stream().map(x -> x.getQuestionAsDocument()).collect(Collectors.toList())));\n\n // Returns the filled document\n return doc;\n }", "public static Document getDocument(InputSource in){\t\t\n\t\ttry {\n\t\t\tDocumentBuilderFactory docbuilderf = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder docb = docbuilderf.newDocumentBuilder();\n\t\t\treturn docb.parse(in);\n\t\t} catch (SAXException e) {\n\t\t\t// TODO Parseprobleem... Invalide bestand.\n\t\t\tthrow new RuntimeException(e);\n\t\t} catch (IOException e) {\n\t\t\t// TODO IOException, bestand bestaat niet of doet iets anders.\n\t\t\te.printStackTrace();\n\t\t\tthrow new RuntimeException(e);\n\t\t} catch (ParserConfigurationException e) {\n\t\t\t// Configuratie zou moeten werken\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}", "protected Document createDefaultModel() {\n return new PlainDocument();\n }", "public Document getDocument() {\n\t\treturn doc;\n\t}", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\n\t\treturn document;\n\t}", "public Document getDocument() {\n\t\treturn document;\n\t}", "public abstract WalkerDocument newDocument(IOptions options);", "public Document getDocument() throws FIFException {\n try {\n DOMParser parser = new DOMParser();\n ParsingErrorHandler handler = new ParsingErrorHandler();\n parser.setErrorHandler(handler);\n parser.setEntityResolver(new EntityResolver());\n parser.parse(new InputSource(new StringReader(text)));\n\n if (handler.isError()) {\n logger.error(\n \"XML Parsing Errors while generating XML document \"\n + \"for message: \"\n + text);\n throw new FIFException(\n \"XML parser reported the following errors:\\n\"\n + handler.getErrors());\n }\n return (parser.getDocument());\n } catch (SAXException e) {\n throw new FIFException(\"Cannot parse message string \" + text, e);\n } catch (IOException e) {\n throw new FIFException(\"Cannot parse message string \" + text, e);\n }\n }", "public Document getDocument()\n\t{\n\t\treturn this.document;\n\t}", "public Document getDocument() {\n return this.document;\n }", "public static String getDoc() {\n return doc;\n }", "public String getDocument() {\n\t\treturn null;\r\n\t}", "public RMDocument getDocument() { return _parent!=null? _parent.getDocument() : null; }", "public Document getDocument() {\n return _document;\n }", "public Document getDocument()\n {\n return m_Document;\n }", "public WalkerDocument newDocument(DocumentTag adapter) { return newDocument(adapter, null); }", "com.google.firestore.v1beta1.Precondition getCurrentDocument();", "public Document getDocument() {\n\t\treturn this.doc;\n\t}", "public static XMLDocument create()\n {\n return new XMLDocument();\n }", "protected synchronized DocumentBuilder getDocumentBuilder() throws ParserConfigurationException {\r\n if (documentBuilder != null) {\r\n return documentBuilder;\r\n } else {\r\n // create the document builder\r\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\r\n factory.setNamespaceAware(true);\r\n this.documentBuilder = factory.newDocumentBuilder();\r\n return this.documentBuilder;\r\n }\r\n }", "public Document getDocument()\n {\n return field.getDocument();\n }", "public Document getDocument() {\r\n return mDocument;\r\n }", "public abstract WalkerDocument newDocument(DocumentTag adapter, IOptions options);", "public Document getDocumentForValidation() {\n return documentForValidation;\n }", "public void newDocument();", "Documentable createDocumentable();", "public MarkupDocument getReport ()\n\t{\n\t\tif (markupDocument == null)\n\t\t\tinterprete ();\n\t\treturn markupDocument;\n\t}", "public Document getCurrentDocument() {\n\t\tif(currentDocument.size()>0) {\n\t\t\t\n\t\t\tif (index != -1) {\n\t\t\t\treturn currentDocument.get(index);\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "protected DocumentBuilder getBuilder() {\n /** @todo check for rentrency problems when reusing the parser **/\n if (builder == null) {\n try {\n builder = Parser.getDocumentBuilder(new ParserErrorHandler());\n }\n catch (ParserConfigurationException ex) {\n Logger logger = Logger.getLogger(this.getClass());\n logger.error(ex);\n throw new EJBException(ex);\n }\n }\n return builder;\n }", "public Document getDocument() {\n return editor.getDocument();\n }", "public Document getDocument(MimeMediaType asMimeType) {\r\n StructuredTextDocument adv = (StructuredTextDocument) StructuredDocumentFactory.newStructuredDocument(asMimeType, getMessageType());\r\n\r\n if (adv instanceof XMLElement) {\r\n ((XMLElement) adv).addAttribute(\"xmlns:jxta\", \"http://jxta.org\");\r\n }\r\n\r\n Element e;\r\n e = adv.createElement(handlernameTag, getHandlerName());\r\n adv.appendChild(e);\r\n if (getCredential() != null) {\r\n try {\r\n StructuredDocumentUtils.copyElements(adv, adv, (getCredential()).getDocument(asMimeType));\r\n } catch (Exception ce) {\r\n if (LOG.isEnabledFor(Priority.WARN)) {\r\n LOG.warn(\"Got an Exception during credential creation \", ce);\r\n }\r\n }\r\n }\r\n e = adv.createElement(payloadTag, getPayload());\r\n adv.appendChild(e);\r\n return adv;\r\n }", "public Duc2002Document getParsedDocument(Document document) throws Exception {\n\t\tDuc2002Document ducDoc=new Duc2002Document();\n\t\t// iterate through child elements of root\n\t\tElement root = document.getRootElement();\n\t\tfor ( Iterator i = root.elementIterator(); i.hasNext(); ) {\n\t\t\tElement element = (Element) i.next();\n\t\t\tString elementName=element.getQualifiedName();\n\t\t\tif(elementName.equals(\"DOCNO\"))\n\t\t\t\tducDoc.setDocNo(element.getStringValue());\n\t\t\telse if(elementName.equals(\"HEAD\"))\n\t\t\t\tducDoc.setTopic(element.getStringValue());\n\t\t\telse if(elementName.equals(\"TEXT\"))\n\t\t\t{\n\t\t\t\tducDoc.setText(element.getStringValue());\n\t\t\t\tString[] sentences = new String[element.elements().size()];\n\t\t\t\tint[] sentenceWordCounts = new int[element.elements().size()];\n\t\t\t\tint no=0;\n\t\t\t\tfor(Iterator j=element.elementIterator(); j.hasNext();) {\n\t\t\t\t\tElement sentence = (Element) j.next();\n\t\t\t\t\tsentences[no]=sentence.getStringValue();\n\t\t\t\t\tfor(Iterator k=sentence.attributeIterator(); k.hasNext(); ) {\n\t\t\t\t\t\tAttribute attribute=(Attribute) k.next();\n\t\t\t\t\t\tif(attribute.getQualifiedName().equals(\"wdcount\"))\n\t\t\t\t\t\t\tsentenceWordCounts[no]=Integer.parseInt(attribute.getStringValue());\n\t\t\t\t\t}\n\t\t\t\t\tno++;\n\t\t\t\t}\n\t\t\t\tducDoc.setSentences(sentences);\n\t\t\t\tducDoc.setSentenceWordCounts(sentenceWordCounts);\n\t\t\t}\n\t\t}\n\t\treturn ducDoc;\n\t}", "@Override\n public DocumentServiceEntry getNewDocument() {\n UserService userService = UserServiceFactory.getUserService();\n DocumentServiceEntry doc = new DocumentServiceEntry();\n doc.setTitle(\"Untitled Document\");\n doc.setIdentifier(doc.getTitle().replaceAll(\"[^a-zA-Z0-9_\\\\-\\\\.]\", \"\"));\n doc.setAuthor(userService.getCurrentUser().getEmail());\n doc.setEditor(userService.getCurrentUser().getNickname());\n return doc;\n }", "public boolean isDocument() {\n\n return this.document;\n }", "public DocumentReport() {\n\n\t\tLOGGER.info(\"Create Document Processor\");\n\n\t\tresultsXMLWriter = new ResultsXMLWriter();\n\t\tgaugesWriter = new GaugeJSONWriter();\n\t\tgaugesWriter.setMode(processMode.toString());\n\t\tgaugesXMLWriter = new GaugeXMLWriter();\n\t\tstylesXMLWriter = new StylesXMLWriter();\n\t\tstylesWriter = new StylesJSONWriter();\n\t\tstylesWriter.setMode(processMode.toString());\n\t\t\n\t\txPathWriter = new XPathJSONWriter();\n\t\txPathDotWriter = new DotWriter();\n\t\txPathXMLWriter = new XMLWriter();\n\t\txPathWriter.setMode(processMode.toString());\n\t\t\n//\t\tdotWriter = new DotWriter();\n\t}", "Parse createParse();", "public File getDisplayDocument() {\n\t\tswitch (type) {\n\t\t\tcase SOURCE : return doc.getSourceDocument();\n\t\t\tcase TARGET : return doc.getWorkingDocument();\n\t\t}\n\t\treturn null;\n\t}", "public Document setUpDocumentToParse() throws ParserConfigurationException, SAXException, IOException{\n\t\tFile file = new File (dataFilePath);\n\t\tDocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();\n\t\tDocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();\n\t\tDocument document = documentBuilder.parse(file);\n\n\t\treturn document;\n\t}", "protected File getCurrentDocument() {\n\n return (File)stage.getProperties().get(GlobalConstants.CURRENT_DOCUMENT_PROPERTY_KEY);\n }", "public DocumentBuilder newDocumentBuilder()\n throws ParserConfigurationException {\n return(new DocumentBuilderImpl(this.isNamespaceAware(),\n this.isValidating()));\n }", "public Gedcomx getDocument() {\n return doc;\n }", "public Element getDocument() {\n\t\t\n\t\tElement retval = getRoot();\n\t\t\n\t\tList<Element> children;\n\t\t\n\t\tif ( retval.getName().equals(\"ROOT\") && (children = retval.getAllChildren()).size() > 0 )\n\t\t\tretval = children.get(0);\n\t\t\n\t\treturn retval;\n\n\t}", "public DocumentManipulator() {\n\t\ttry {\n\t\t\tthis.document = XMLUtils.buildDocument();\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (SAXException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (ParserConfigurationException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t//-- Init Xpath\n\t\tinit();\n\t}", "public Document getAsXMLDOM () {\r\n\r\n //code description\r\n\r\n return document;\r\n\r\n }", "com.google.firestore.v1beta1.PreconditionOrBuilder getCurrentDocumentOrBuilder();", "private Document getModelDocument(InputStream inStream)\n throws IOException {\n assert inStream != null;\n\n try {\n // Create a document builder that validates the XML input using our schema\n SAXBuilder builder = new SAXBuilder();\n builder.setFeature(\"http://xml.org/sax/features/validation\", true);\n builder.setFeature(\n \"http://apache.org/xml/features/validation/schema\", true);\n builder.setFeature(\n \"http://apache.org/xml/features/validation/schema-full-checking\",\n true);\n builder.setProperty(\"http://apache.org/xml/properties/schema/external-\"\n + \"noNamespaceSchemaLocation\", schemaUrl.toString());\n return builder.build(inStream);\n }\n catch (JDOMException exc) {\n log.log(Level.SEVERE, \"Exception parsing input\", exc);\n throw new IOException(\"Exception parsing input: \" + exc.getMessage());\n }\n }", "@Override\n @NotNull\n public XmlDocument getDocument() {\n final XmlDocument document = findChildByClass(XmlDocument.class);\n assert document != null;\n return document;\n }", "@Override\n public Document createState(Payload payload) {\n // TODO: Use a pool of Documents so that they can be reused\n // TODO: Consider moving this to super class\n return new org.apache.lucene.document.Document();\n }", "private void createDocument() {\n\t\t\tDocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\r\n\t\t\ttry {\r\n\t\t\t//get an instance of builder\r\n\t\t\tDocumentBuilder db = dbf.newDocumentBuilder();\r\n\r\n\t\t\t//create an instance of DOM\r\n\t\t\tdom = db.newDocument();\r\n\r\n\t\t\t}catch(ParserConfigurationException pce) {\r\n\t\t\t\t//dump it\r\n\t\t\t\tSystem.out.println(\"Error while trying to instantiate DocumentBuilder \" + pce);\r\n\t\t\t\tSystem.exit(1);\r\n\t\t\t}\r\n\r\n\t\t}", "@Override\r\n protected void parseDocuments()\r\n {\n\r\n }", "public Document getDisplayDOM() {\n\t\tswitch (type) {\n\t\t\tcase SOURCE : return doc.getSourceDOM();\n\t\t\tcase TARGET : return doc.getWorkingDOM();\n\t\t}\n\t\treturn null;\n\t}", "public String getDocument() throws Exception;", "protected Document() {/* intentionally empty block */}", "@DISPID(-2147417094)\n @PropGet\n com4j.Com4jObject document();", "@Override\n\tpublic Document getDocument(Document document) {\n\t\treturn null;\n\t}", "private void createDocument(){\n\t\tDocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n\t\ttry {\n\t\t//get an instance of builder\n\t\tDocumentBuilder db = dbf.newDocumentBuilder();\n\n\t\t//create an instance of DOM\n\t\tdom = db.newDocument();\n\n\t\t}catch(ParserConfigurationException pce) {\n\t\t\t//dump it\n\t\t\tSystem.out.println(\"Error while trying to instantiate DocumentBuilder \" + pce);\n\t\t\tSystem.exit(1);\n\t\t}\n }", "IDocument getDocument(File file);", "public RtfDocument optimize()\n {\n m_stylesheet = m_doc.getStyleSheet();\n\n // RTF files with Wordpad may not have a stylesheet.\n // m_defaultParaProperties = m_stylesheet.getStyle(0).getTextProperties();\n\n optimizeDocument(m_doc);\n\n return m_doc;\n }", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument();", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument();", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument();", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }", "TestDocument getDocument(DocumentReference reference);", "public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n if (documentBuilder_ == null) {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n } else {\n return documentBuilder_.getMessage();\n }\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n if (documentBuilder_ == null) {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n } else {\n return documentBuilder_.getMessage();\n }\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n if (documentBuilder_ == null) {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n } else {\n return documentBuilder_.getMessage();\n }\n }", "public static DocumentBuilder createDocumentBuilder() {\n\t\treturn createDocumentBuilder(DefaultEntityResolver.getInstance());\n\t}", "public URL getDocument() {\r\n return this.document;\r\n }", "@Override\n\tpublic DocumentView getDocument() {\n\t\treturn null;\n\t}", "public Document getDoc2() {\r\n return doc2;\r\n }", "public static Document getDocument(InputStream in){\t\t\n\t\ttry {\n\t\t\tDocumentBuilderFactory docbuilderf = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder docb = docbuilderf.newDocumentBuilder();\n\t\t\treturn docb.parse(in);\n\t\t} catch (SAXException e) {\n\t\t\t// TODO Parseprobleem... Invalide bestand.\n\t\t\tthrow new RuntimeException(e);\n\t\t} catch (IOException e) {\n\t\t\t// TODO IOException, bestand bestaat niet of doet iets anders.\n\t\t\te.printStackTrace();\n\t\t\tthrow new RuntimeException(e);\n\t\t} catch (ParserConfigurationException e) {\n\t\t\t// Configuratie zou moeten werken\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}", "public static Document newDocument() throws XMLException{\n\t\ttry{\n\t\t\tfinal DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\t\t\t\n\t\t\tfinal DocumentBuilder builder = factory.newDocumentBuilder();\n\t\t\tfinal Document doc = builder.newDocument();\n\t\t\treturn doc;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\tthrow new XMLException(e);\n\t\t}\n\t}", "public Map<String, Object> getDocument() {\n return document;\n }", "public static Document parse(InputStream is) throws IOException\n {\n return parse(is, false);\n }", "public Document getDoc1() {\r\n return doc1;\r\n }", "@Override\n public Document getMutableDocument() {\n return this;\n }", "private static Document createDocumentMenuLogic(User user) {\n\n\t\tboolean onMenu = true;\n\n\t\twhile(onMenu) {\n\n\t\t\tmenuHandler.clrscr();\n\t\t\tint maxChoice = menuHandler.createDocumentMenu();\n\n\t\t\tint intChoice = menuHandler.intRangeInput(\"Please input a number in range [1, \" + maxChoice + \"]\", 1, maxChoice);\n\n\t\t\t// Check exit option\n\t\t\tif(intChoice == maxChoice) {\n\t\t\t\tonMenu = false;\n\t\t\t\treturn null;\n\t\t\t} else {\n\n\t\t\t\tint numPages = menuHandler.intGTEInput(\"Please input the number of pages the document has (must be > 0)\", 1);\n\t\t\t\t\n\t\t\t\tString docName;\n\t\t\t\tdo {\n\t\t\t\t\tdocName = menuHandler.inputString(\"Please input the document name (cannot be empty)\");\n\t\t\t\t\t\n\t\t\t\t\tif(checkDuplicateDocName(user, docName)) {\n\t\t\t\t\t\tSystem.out.println(\"Duplicate doc name, please pick another\");\n\t\t\t\t\t} else break;\n\t\t\t\t} while(true);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t// Parse user selection and create document\n\t\t\t\tif(intChoice == 1) {\n\t\t\t\t\tdocuments.put(\"Doc\" + documents.size(), objectHandler.createDocument(docName, numPages, '4', 'B'));\n\t\t\t\t} else if(intChoice == 2) {\n\t\t\t\t\tdocuments.put(\"Doc\" + documents.size(), objectHandler.createDocument(docName, numPages, '4', 'C'));\n\t\t\t\t} else if(intChoice == 3) {\n\t\t\t\t\tdocuments.put(\"Doc\" + documents.size(), objectHandler.createDocument(docName, numPages, '3', 'B'));\n\t\t\t\t} else if(intChoice == 4) {\n\t\t\t\t\tdocuments.put(\"Doc\" + documents.size(), objectHandler.createDocument(docName, numPages, '3', 'C'));\n\t\t\t\t}\n\n\t\t\t\tonMenu = false;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Return latest document\n\t\treturn documents.get(\"Doc\" + (documents.size() - 1));\n\t}", "public XDoc getDoc() {\r\n\t\treturn doc;\r\n\t}", "public static LazyDocument getDocumentImpl(DocumentInfo doc) \n {\n while (doc instanceof StrippedNode)\n doc = (DocumentInfo)((StrippedNode)doc).getUnderlyingNode();\n \n if (doc instanceof LazyDocument)\n return (LazyDocument)doc;\n else\n return null;\n }" ]
[ "0.7053769", "0.6940739", "0.63983506", "0.6296246", "0.62676346", "0.62253034", "0.61806476", "0.61722326", "0.61509955", "0.61506647", "0.61249924", "0.61050117", "0.61050117", "0.60877925", "0.60853904", "0.6076843", "0.60650665", "0.60604787", "0.6059958", "0.60502857", "0.60494274", "0.6046073", "0.60240173", "0.6020391", "0.6020391", "0.60151356", "0.60062414", "0.5998718", "0.59955883", "0.5993888", "0.5963472", "0.5963416", "0.5957354", "0.5945544", "0.59357893", "0.5925632", "0.5924792", "0.5918618", "0.58821243", "0.5873663", "0.58256555", "0.58092785", "0.5808772", "0.5783257", "0.5780555", "0.57789016", "0.57737917", "0.5767063", "0.57667065", "0.576448", "0.57573575", "0.575095", "0.5726229", "0.57256913", "0.5724543", "0.5712613", "0.5705717", "0.5702501", "0.5702163", "0.5677081", "0.5655558", "0.5648327", "0.5628611", "0.5623847", "0.5584921", "0.55818474", "0.5578709", "0.55732316", "0.5572719", "0.55681354", "0.5564493", "0.5552774", "0.5546615", "0.5543963", "0.5540366", "0.55370724", "0.552021", "0.55190986", "0.55190986", "0.55190986", "0.5496778", "0.5496778", "0.5496778", "0.54963094", "0.54871017", "0.54871017", "0.54871017", "0.5460672", "0.5455605", "0.5455209", "0.54488945", "0.5448297", "0.5447362", "0.54257226", "0.542201", "0.541728", "0.5413429", "0.54085976", "0.540714", "0.5399008" ]
0.57270557
52
This method returns whether or not the XML instance contained extension elements and/or attributes. The value false indicates that the XML instance does not contain extended elements and/or attributes, true indicates that the XML instance did.
public boolean getIsExtensionsUsed() { return mIsExtensionsUsed; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isExtensionElement();", "public Boolean getIsExtensible() { \n\t\treturn getIsExtensibleElement().getValue();\n\t}", "public boolean isExtended() {\n return extended;\n }", "public boolean getExtendable()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENDABLE$22);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(EXTENDABLE$22);\r\n }\r\n if (target == null)\r\n {\r\n return false;\r\n }\r\n return target.getBooleanValue();\r\n }\r\n }", "public boolean isExtension() {\n\t\treturn true;\n\t}", "public boolean hasExtensions() {\n return (buffer.get(0) & 0x10) == 0x010;\n }", "public boolean isExtended() {\n return isExtended;\n }", "public boolean isSetExtendable()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(EXTENDABLE$22) != null;\r\n }\r\n }", "@objid (\"e20e1709-9e0b-4c6a-bf6c-3f3e7b57cdfe\")\n @Override\n boolean isExtension();", "public BooleanDt getIsExtensibleElement() { \n\t\tif (myIsExtensible == null) {\n\t\t\tmyIsExtensible = new BooleanDt();\n\t\t}\n\t\treturn myIsExtensible;\n\t}", "public boolean extended() {\n // WRITE CODE BETWEEN THESE LINES -------------------------------------------------------- //\n // TODO: return the value of the m_extended flag.\n \n // ^^-----------------------------------------------------------------------------------^^ //\n return false;\n }", "public boolean isExtending()\n {\n return this.extending;\n }", "public boolean isSetExtLst()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(EXTLST$14) != 0;\n }\n }", "protected boolean isEmptyXmlTagExpanded() {\n return false;\n }", "boolean hasAttributes();", "boolean hasAttributes();", "public boolean isSetExtLst()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(EXTLST$28) != 0;\n }\n }", "public static boolean extendedEphemeralTypesEnabled() {\n return Boolean.getBoolean(EXTENDED_TYPES_ENABLED_PROPERTY);\n }", "protected boolean isExtendedNode(Node node) {\r\n\r\n String nodeName = node.getNodeName();\r\n\r\n if (nodeName.equalsIgnoreCase(ExtendedXmlParser.INSERT_AFTER_OP)\r\n || nodeName.equalsIgnoreCase(ExtendedXmlParser.INSERT_BEFORE_OP)\r\n || nodeName.equalsIgnoreCase(ExtendedXmlParser.REMOVE_OP)\r\n || nodeName.equalsIgnoreCase(ExtendedXmlParser.REPLACE_OP)\r\n || nodeName.equalsIgnoreCase(ExtendedXmlParser.MODIFY_FORM)\r\n || nodeName.equalsIgnoreCase(ExtendedXmlParser.MODIFY_ATTRIBUTE)\r\n || nodeName.equalsIgnoreCase(ExtendedXmlParser.ADD_REMOTE_REFERENCE)\r\n || nodeName.equalsIgnoreCase(ExtendedXmlParser.REMOVE_REMOTE_REFERENCE)\r\n || nodeName.equalsIgnoreCase(ExtendedXmlParser.MODIFY_REMOTE_REFERENCE)) {\r\n return true;\r\n }\r\n return false;\r\n }", "public static boolean hasElements() {\n return content.size() > 0;\n }", "boolean hasExtensionFeedItem();", "public org.apache.xmlbeans.XmlBoolean xgetExtendable()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlBoolean target = null;\r\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(EXTENDABLE$22);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(EXTENDABLE$22);\r\n }\r\n return target;\r\n }\r\n }", "boolean hasExtensionText();", "public boolean hasExtra() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "@java.lang.Override\n public boolean hasAttributes() {\n return attributes_ != null;\n }", "public boolean hasExtra() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean isLifeExtensionPossible () \n\t{\n\t\tObject oo = get_Value(COLUMNNAME_IsLifeExtensionPossible);\n\t\tif (oo != null) \n\t\t{\n\t\t\t if (oo instanceof Boolean) \n\t\t\t\t return ((Boolean)oo).booleanValue(); \n\t\t\treturn \"Y\".equals(oo);\n\t\t}\n\t\treturn false;\n\t}", "Boolean supportsMultipleExtensions();", "public boolean hasAttributes() {\n return attributesBuilder_ != null || attributes_ != null;\n }", "public boolean isValid() {\n try {\n validate();\n } catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "protected boolean isStructureKnown() {\n\t\ttry {\n\t\t\treturn ((OpenableElementInfo) getElementInfo()).isStructureKnown();\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isExtensionListInDescription() {\n\t return useExtensionsInDescription;\n }", "public boolean isExtendedScope() {\n return (flags & EXTENDEDSCOPE) != 0;\n }", "public boolean visit(SimpleExtensionElement node) {\n return visit((CommonTypeDerivation)node);\n }", "public boolean isElementDefinition()\n {\n return elementDefinition;\n }", "public boolean isElementDefinition()\n {\n return elementDefinition;\n }", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "private boolean hasExtension(String namespace, TOSCAPlan buildPlan) {\n\t\treturn Utils.hasChildElementWithAttribute(buildPlan.getBpelExtensionsElement(), \"namespace\", namespace);\n\t}", "boolean hasAdGroupExtensionSetting();", "boolean hasElement();", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isSetEx() {\n return this.ex != null;\n }", "@XmlAnyElement ( lax = true )\n @JsonSerialize ( using = AnyElementSerializer.class )\n public List<Object> getExtensionElements() {\n return extensionElements;\n }", "boolean hasCustomerExtensionSetting();", "public final boolean hasXmlTreePathValue ()\r\n {\r\n return _value.isXmlTreePath();\r\n }", "public boolean isElement() {\r\n return element;\r\n }", "public boolean hasExtendedRetractableBlade() {\n for (Mounted m : getEquipment()) {\n if (!m.isInoperable() && (m.getType() instanceof MiscType) && m.getType().hasFlag(MiscType.F_CLUB) && m.getType().hasSubType(MiscType.S_RETRACTABLE_BLADE) && m.curMode().equals(\"extended\")) {\n return true;\n }\n }\n return false;\n }", "public boolean getNeedClosingTag() {\n\t\treturn (end_element);\n\t}", "public boolean hasExtendedPublicKey() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "public String getExtensionAttributes()\n {\n return extensionAttributes;\n }", "public boolean hasAnnotatedBusiness(){\r\n\t\tList bus = this.rootDoc.selectNodes(\"a-business\") ;\r\n\t\t\r\n\t\treturn !bus.isEmpty() ;\r\n\t}", "@Override\r\n\t\tpublic boolean hasAttributes()\r\n\t\t\t{\n\t\t\t\treturn false;\r\n\t\t\t}", "public boolean hasExtensions() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: sun.security.x509.X509CRLEntryImpl.hasExtensions():boolean, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.hasExtensions():boolean\");\n }", "boolean hasTigTag();", "public boolean isSetAttrs() {\n return this.attrs != null;\n }", "public boolean isRootElementValid() {\r\n\t\tboolean result = false;\r\n\r\n\t\tNode rootNode = mDocument.getDocumentElement();\r\n\t\tString rootNodeName = rootNode.getLocalName();\r\n\t\tString rootNodeNamespace = rootNode.getNamespaceURI();\r\n\r\n\t\tif (rootNodeName.equals(\"manifest\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.24\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t} else if (rootNodeName.equals(\"lom\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.30\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "boolean hasExtra();", "public boolean hasExtendedPublicKey() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "public Boolean getMustSupport() { \n\t\treturn getMustSupportElement().getValue();\n\t}", "private boolean validateAttributes(ScanningContext context) {\n // We only need to check if it's a non-framework file (and an XML file; skip .png's)\n if (!isFramework() && SdkUtils.endsWith(getFile().getName(), DOT_XML)) {\n ValidatingResourceParser parser = new ValidatingResourceParser(context, false);\n try {\n IAbstractFile file = getFile();\n return parser.parse(file.getOsLocation(), file.getContents());\n } catch (Exception e) {\n context.needsFullAapt();\n }\n\n return false;\n }\n\n return true;\n }", "@XmlAnyAttribute\n @JsonSerialize (using = AnyAttributeSerializer.class)\n public Map<QName, String> getExtensionAttributes() {\n return extensionAttributes;\n }", "private boolean isIgnoredByTag(ExtensionContext context) {\n AnnotatedElement element = context.getElement().get();\n return isIgnoredByTag(element);\n }", "public boolean isPistonExtension() {\n return this.type == Type.PISTONEXTENSION;\n }", "public boolean hasX() {\n return xBuilder_ != null || x_ != null;\n }", "public boolean hasX() {\n return xBuilder_ != null || x_ != null;\n }", "public boolean hasTags() {\n return fieldSetFlags()[4];\n }", "public boolean hasContent() {\n return fieldSetFlags()[8];\n }", "public boolean hasE() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean getStructureRequired() {\n // Get server.properties's contentTypeGroupingInCX key value\n String contentTypesGrouping = PSServer.getProperty(SERVER_PROP_GROUP_CONTENTTYPES);\n\n // If server.properties contentTypeGroupingInCX key value (\"true\" to\n // turn on and other\n // than true to turn off)is set then toggle the content type grouping\n // feature.\n if (contentTypesGrouping != null)\n return contentTypesGrouping.trim().equalsIgnoreCase(\"true\");\n else\n return false;\n }", "public boolean hasE() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "boolean isUsingTPExtension();", "public boolean isDnAttributes()\n {\n return dnAttributes;\n }", "public final boolean hasAttribute ()\r\n {\r\n return _value.hasAttribute();\r\n }", "public boolean isEmbedded() {\n return !getElement().getOwnerDocument().getBody().getClassName()\n .contains(ApplicationConnection.GENERATED_BODY_CLASSNAME);\n }", "public boolean hasAttachment() {\n\t\treturn Objects.nonNull(attachment);\n\t}", "public boolean hasMimeType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean hasTags() {\n return isTagged();\n }", "public boolean hasE() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean hasExoskeleton() {\r\n\t\tList<Item> inventory = new ArrayList<Item>();\r\n\t\tinventory=this.getInventory();\r\n\t\tfor (Item item:inventory) {\r\n\t\t\tif (item instanceof ExoskeletonItem) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean hasE() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasMimeType() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "private boolean areAllChildrenIgnored(ExtensionContext context) {\n if (enabledTags.isEmpty()) {\n LOGGER.info(\"Test class {} with tags {} does not have any tag restrictions by tags: {}\",\n context.getDisplayName(), declaredTags, enabledTags);\n return false;\n } else {\n if (CollectionUtils.containsAny(enabledTags, declaredTags) || declaredTags.isEmpty()) {\n LOGGER.info(\"Test class {} with tags {} does not have any tag restrictions by tags: {}. Checking method tags ...\",\n context.getDisplayName(), declaredTags, enabledTags);\n for (Method method : testClass.getDeclaredMethods()) {\n if (method.getAnnotation(Test.class) == null) {\n continue;\n }\n if (!isWrongClusterType(method) && !isIgnoredByTag(method)) {\n LOGGER.info(\"One of the test group {} is enabled for test: {} with tags {} in class: {}\",\n enabledTags, method.getName(), declaredTags, context.getDisplayName());\n return false;\n }\n }\n }\n }\n LOGGER.info(\"None test from class {} is enabled for tags {}\", context.getDisplayName(), enabledTags);\n return true;\n }", "public boolean hasData() {\n return (tags != null && tags.length() > 0);\n }", "boolean hasCampaignExtensionSetting();", "public boolean hasContent() {\n return fieldSetFlags()[1];\n }", "public boolean hasNested() {\n return ((bitField0_ & 0x00000100) == 0x00000100);\n }", "public boolean isSetExtraData2() {\n return this.extraData2 != null;\n }", "public boolean hasSubTaxa() {\n\t\treturn !children.isEmpty();\n\t}", "org.apache.xmlbeans.XmlBoolean xgetIsManaged();", "boolean hasCustomFeatures();", "public boolean isNamespaceAware() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.NAMESPACES_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "public boolean isValidating() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.VALIDATION_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "public boolean anyMetadataEnabled() {\n\n boolean result = false;\n ConfigurationSection ymlMetadata = getConfig().getConfigurationSection(\"metadata\");\n if (ymlMetadata != null) {\n for (String key : ymlMetadata.getKeys(false)) {\n if (ymlMetadata.isBoolean(key) && ymlMetadata.getBoolean(key)) {\n result = true;\n break;\n }\n }\n }\n return result;\n }", "public boolean hasContent() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }" ]
[ "0.7696486", "0.71820414", "0.6781567", "0.67795825", "0.6747316", "0.674652", "0.6657864", "0.6623829", "0.6545224", "0.64333457", "0.6325484", "0.628922", "0.6224183", "0.6217792", "0.617347", "0.617347", "0.6163628", "0.611309", "0.6045705", "0.6019828", "0.6007252", "0.5968874", "0.59346527", "0.590307", "0.589092", "0.5850415", "0.5835149", "0.5834263", "0.58248734", "0.5784596", "0.5772203", "0.57646435", "0.5755689", "0.5743972", "0.5732204", "0.5732204", "0.57188344", "0.57010573", "0.56742567", "0.56450874", "0.5628223", "0.5628223", "0.5628223", "0.5628223", "0.5628223", "0.5626931", "0.5626931", "0.56062883", "0.5539302", "0.5535662", "0.5530639", "0.5527674", "0.5514888", "0.55043375", "0.5497398", "0.54924273", "0.54838586", "0.548038", "0.546666", "0.5465553", "0.5460175", "0.5460054", "0.5457729", "0.54427487", "0.543986", "0.54376817", "0.5434525", "0.54184103", "0.5408612", "0.53673285", "0.53673285", "0.5366149", "0.5364269", "0.53423285", "0.53385603", "0.5336457", "0.5330584", "0.5324227", "0.5321972", "0.53173435", "0.53034127", "0.52991676", "0.529085", "0.5283502", "0.5277054", "0.5272032", "0.5265475", "0.5261365", "0.5246762", "0.52427435", "0.5239701", "0.52374905", "0.52316004", "0.5227539", "0.5224134", "0.52151614", "0.52096623", "0.5207191", "0.52035713", "0.5202734" ]
0.6154135
17
This method returns a boolean describing if the required IMS manifest is at the root of the package.
public boolean getIsIMSManifestPresent() { return mIsIMSManifestPresent; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isTopLevel(File file) {\n String name = file.getName();\n return name.equals(APP_PNG)\n || name.equals(APP_XML)\n || name.endsWith(FEATURES_XML)\n || name.endsWith(JAR)\n || file.isDirectory();\n }", "public boolean isRoot() {\n\t\treturn pathFragments.isEmpty();\n\t}", "boolean hasPackageName();", "protected final boolean isRoot() {\n return _metaData.isRoot(this);\n }", "public boolean isPackage()\n {\n ensureLoaded();\n return m_flags.isPackage();\n }", "public boolean isRooted() {\n try {\n File file = new File(\"/system/app/Superuser.apk\");\n if (file.exists()) {\n return true;\n }\n } catch (Exception e1) {\n // ignore\n }\n return false;\n }", "boolean existsInManifest(Path path);", "boolean isPackageInstaller(String packageName);", "public boolean currentDirectoryIsOnRoot() {\n\t\treturn getCurrentDirectory().equals(getVirtualRoot());\n\t}", "boolean isSystemPackage(String packageName);", "public boolean isRoot() {\n return getName().getPath().equals(SEPARATOR);\n }", "private boolean checkPackageExist(Context context, String pkg) {\n final PackageManager packageManager = context.getPackageManager();\n try {\n ApplicationInfo applicationInfo = packageManager.getApplicationInfo(pkg, 0);\n return true;\n } catch (Exception e) {\n e.printStackTrace();\n return false;\n }\n }", "public boolean isRootElementValid() {\r\n\t\tboolean result = false;\r\n\r\n\t\tNode rootNode = mDocument.getDocumentElement();\r\n\t\tString rootNodeName = rootNode.getLocalName();\r\n\t\tString rootNodeNamespace = rootNode.getNamespaceURI();\r\n\r\n\t\tif (rootNodeName.equals(\"manifest\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.24\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t} else if (rootNodeName.equals(\"lom\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.30\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "private static boolean insideValidDirectory(String pkgName, Path infoFile) {\n String[] packages = pkgName.split(\":\");\n Path current = infoFile.getParent();\n for (int i = packages.length - 1; i >= 0; --i) {\n if (current != null && !current.getFileName().toString().equals(packages[i])) return false;\n if (current == null) return false;\n current = current.getParent();\n }\n return true;\n }", "boolean hasDirName();", "public static boolean isRoot(String path) {\n return path != null && path.equals(SHARE_ROOT);\n }", "public boolean is_EpubDir() {\n\t\tEntry dir = null;\n\t\ttry {\n\t\t\tdir = _mApi.metadata(PATH, 0, null, true, null);\n\t\t} catch (DropboxException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tif (dir != null)\n\t\t\tif (dir.isDir)\n\t\t\t\treturn true;\n\t\treturn false;\n\n\t}", "boolean hasPackageid();", "boolean hasPackageid();", "public boolean isRoot()\r\n\t{\r\n\t\treturn (m_parent == null);\r\n\t}", "public boolean isRoot() {\n return isIndex() && parts.length == 0;\n }", "public static boolean isInstalledOnSDCard(Application app) {\n try {\n String packageName = app.getPackageName();\n PackageInfo info = app.getPackageManager().getPackageInfo(packageName, 0);\n String dir = info.applicationInfo.sourceDir;\n\n for (String path : INTERNAL_PATH) {\n if (path.equals(dir.substring(0, path.length())))\n return false;\n }\n } catch (PackageManager.NameNotFoundException exp) {\n throw new IllegalArgumentException(exp);\n }\n return true;\n }", "public static boolean isPackageInstalled(Context context, String packageName) {\n PackageManager pm = context.getPackageManager();\n try {\n if (pm != null) {\n List<ApplicationInfo> packages = pm.getInstalledApplications(0);\n for (ApplicationInfo packageInfo : packages) {\n if (packageInfo.packageName.equals(packageName)) {\n return true;\n }\n }\n }\n } catch (Exception e) {\n Log.e(TAG, \"Error: \" + e.getMessage());\n }\n return false;\n }", "private final boolean m878a() {\n try {\n ApplicationInfo applicationInfo = this.f1350b.getPackageManager().getApplicationInfo(this.f1350b.getPackageName(), 128);\n return (applicationInfo == null || applicationInfo.metaData == null || !Boolean.TRUE.equals(applicationInfo.metaData.get(\"com.android.vending.splits.required\"))) ? false : true;\n } catch (PackageManager.NameNotFoundException e) {\n f1349a.mo44091d(\"App '%s' is not found in the PackageManager\", this.f1350b.getPackageName());\n return false;\n }\n }", "public static boolean hasUpdateCenter(File asInstallRoot) {\n return getUpdateCenterLauncher(asInstallRoot) != null;\n }", "public boolean isRoot() {\r\n return (_parent == null);\r\n }", "public static boolean isInstalled()\n\t{\n\t\treturn PackageUtils.exists(General.PKG_MESSENGERAPI);\n\t}", "boolean isRoot()\n {\n return this.parent == null;\n }", "@Override\n\tpublic boolean isRoot() {\n\t\treturn false;\n\t}", "public boolean isSetPackagename() {\n return this.packagename != null;\n }", "public boolean checkSetup(){\n return checkSetup(folderName);\n }", "boolean hasInodeDirectory();", "public boolean hasTaskContext() {\n\t\tFile folder = new File(folderPath);\n\t\t\n\t\tFile[] zipFiles = folder.listFiles(zipfilter);\n\t\t\n\t\tif ((zipFiles.length > 0)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean isRoot() {\n return !hasParent();\n }", "boolean isAppInstalled(String bundleId);", "public boolean hasDirName() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean isRoot(){\n\t\treturn bound.isRoot();\n\t}", "public boolean isValidateRoot()\r\n\t{\r\n\t\treturn(true);\r\n\t}", "public boolean handles(DeploymentContext context) {\n // Scans for pu roots in the \"lib\" dir of an application.\n // We do not scan for PU roots in root of .ear. JPA 2.0 spec will clarify that it is not a portable use case.\n // It is not portable use case because JavaEE spec implies that jars in root of ears are not visible by default\n // to components (Unless an explicit Class-Path manifest entry is present) and can potentially be loaded by\n // different class loaders (corresponding to each component that refers to it) thus residing in different name\n // space. It does not make sense to make them visible at ear level (and thus in a single name space)\n boolean isJPAApplication = false;\n ApplicationHolder holder = context.getModuleMetaData(ApplicationHolder.class);\n ReadableArchive appRoot = context.getSource();\n if (holder != null && holder.app != null) {\n isJPAApplication = scanForPURootsInLibDir(appRoot, holder.app.getLibraryDirectory());\n\n if(!isJPAApplication) {\n if(DeploymentUtils.useV2Compatibility(context) ) {\n //Scan for pu roots in root of ear\n isJPAApplication = scanForPURRootsInEarRoot(context, holder.app.getModules());\n }\n }\n }\n return isJPAApplication;\n }", "boolean isInstalled();", "public boolean hasDirName() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean isManifestMatch(InputStream manifestContent) {\n\t\treturn true;\n\t}", "public boolean isMixPackagesPresent()\n\t{\n\t\ttry\n\t\t{\n\t\t\tArrayList<Integer> versions = new ArrayList<Integer>();\n\t\t\t\n\t\t\tif(PackageInformation.getInstance().collectPkgInfoFromUPM())\n\t\t\t{\n\t\t\t\tVector<ApplicationVersion> firmwareInfo = PackageInformation.getInstance().getAppVersionsFromSpot();\n\t\t\t\tif(firmwareInfo != null && !firmwareInfo.isEmpty())\n\t\t\t\t{\n\t\t\t\t\tversions.clear();\n\t\t\t\t\tint buildVersion = getBuildVersion(firmwareInfo);\n\t\t\t\t\t\n\t\t\t\t\tif(buildVersion != 0)\n\t\t\t\t\t{\n\t\t\t\t\t\tif(buildVersion == Version.DELTA_F.getVersion())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tversions.add(Version.DELTA_C.getVersion());\n\t\t\t\t\t\t\treturn isOtherPackages(versions, firmwareInfo);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(buildVersion == Version.DELTA_E.getVersion())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tversions.add(Version.DELTA_C.getVersion());\n\t\t\t\t\t\t\treturn isOtherPackages(versions, firmwareInfo);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(buildVersion == Version.DELTA_C.getVersion())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tversions.add(Version.DELTA_F.getVersion());\n\t\t\t\t\t\t\tversions.add(Version.DELTA_E.getVersion());\n\t\t\t\t\t\t\treturn isOtherPackages(versions, firmwareInfo);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tlogger.error(\"Failed to collect package information\");\n\t\t\t}\n\t\t}\n\t\tcatch(InterruptedException e)\n\t\t{\n\t\t\tlogger.error(e.getMessage());\n\t\t}\n\t\treturn false;\n\t}", "public boolean hasPath() {\n try {\n aStarPath();\n } catch (PathNotFoundException e){\n return false;\n }\n return true;\n }", "public static Boolean isTopActivity(String packageName){\n if(TextUtils.isEmpty(packageName)) {\n return false;\n }\n\n ActivityManager activityManager = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE);\n List<RunningTaskInfo> tasksInfo = activityManager.getRunningTasks(1);\n if(!checkLists(tasksInfo)) {\n return false;\n }\n try {\n return packageName.equals(tasksInfo.get(0).topActivity.getPackageName());\n }catch(Exception e) {\n e.printStackTrace();\n return false;\n }\n }", "private boolean appInstalledOrNot(String uri) {\n PackageManager pm = getActivity().getPackageManager();\n boolean app_installed;\n try {\n pm.getPackageInfo(uri, PackageManager.GET_ACTIVITIES);\n app_installed = true;\n } catch (PackageManager.NameNotFoundException e) {\n app_installed = false;\n }\n return app_installed;\n }", "public boolean isPublic() {\n return shortName != null && !shortName.endsWith(\"Bundle\");\n }", "public boolean isPresent() {\n return platform.isPresent() || application.isPresent();\n }", "boolean isTopLevel();", "@Override\n public boolean packageExists(String name) {\n return head.packageExists(name) || tail.packageExists(name);\n }", "public boolean isNonMarketAppsAllowed() {\n\t\treturn Settings.Secure.getInt(getContentResolver(), Settings.Secure.INSTALL_NON_MARKET_APPS, 0) > 0;\r\n\t}", "private boolean expandZippedApplication(InputStream stream, ApplicationDescription desc)\n throws IOException {\n boolean isSelfContained = false;\n ZipInputStream zis = new ZipInputStream(stream);\n ZipEntry entry;\n File appDir = new File(appsDir, desc.name());\n if (!FilePathValidator.validateFile(appDir, appsDir)) {\n throw new ApplicationException(\"Application attempting to create files outside the apps directory\");\n }\n while ((entry = zis.getNextEntry()) != null) {\n if (!entry.isDirectory()) {\n byte[] data = ByteStreams.toByteArray(zis);\n zis.closeEntry();\n if (FilePathValidator.validateZipEntry(entry, appDir)) {\n File file = new File(appDir, entry.getName());\n if (isTopLevel(file)) {\n createParentDirs(file);\n write(data, file);\n } else {\n isSelfContained = true;\n }\n } else {\n throw new ApplicationException(\"Application Zip archive is attempting to leave application root\");\n }\n }\n }\n zis.close();\n return isSelfContained;\n }", "boolean hasFileLoc();", "@Override\r\n public boolean includeManifest() {\r\n return true;\r\n }", "public boolean hasPermission(Uri uri)\n\t{\n\t\treturn getPermissibleRoot(uri) != null;\n\t}", "boolean isIncludeExecutable();", "public boolean isValidateRoot() {\n/* 246 */ return true;\n/* */ }", "public boolean isRootVisible()\n {\n return rootVisible;\n }", "public boolean isRootVisible()\n {\n return rootVisible;\n }", "boolean isNamespaceRunning(String namespace);", "public boolean hasTaskContextModel() {\n\t\tFile folder = new File(folderPath);\n\t\t\n\t\tFile[] jsonFiles = folder.listFiles(jsonfilter);\n\t\t\n\t\tif ((jsonFiles.length >0)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean isRootContextNode();", "public boolean isPackageInstalled(String packageName) {\n boolean flag = false;\n List<PackageInfo> packageInfoList = mPackageManager.getInstalledPackages(0);\n for (int i = 0; i < packageInfoList.size(); i++) {\n if (packageName.equals(packageInfoList.get(i).packageName)) {\n flag = true;\n break;\n }\n }\n\n if (isregister) {\n mContext.unregisterReceiver(mReceiver);\n isregister = false;\n }\n\n return flag;\n }", "public boolean isValidateRoot() {\n/* 463 */ return true;\n/* */ }", "private boolean isLocalRepository() {\n\r\n File file = new File(m_Path.toString() + \"/.magit/Remote\");\r\n return file.exists();\r\n }", "boolean hasFileLocation();", "boolean hasRootFrame();", "public static boolean isAppInstalled(Context context, String packageName) {\n PackageInfo packageInfo;\n try {\n packageInfo = context.getPackageManager().getPackageInfo(packageName, 0);\n } catch (PackageManager.NameNotFoundException e) {\n packageInfo = null;\n e.printStackTrace();\n }\n if (packageInfo == null) {\n // 没有安装\n return false;\n } else {\n // 已经安装\n return true;\n }\n }", "public boolean isInteractionRoot()\n\t{\n\t\treturn this == model.getInteractionRoot();\n\t}", "public boolean getIsFlexApplication()\n {\n return getIsMain() && \n (getIsContainer() || \n (getVersion() >= 4 && getIsSimpleStyleComponent()));\n }", "boolean hasFileInfo();", "boolean hasFileInfo();", "boolean hasAstRoot();", "boolean hasSrcPath();", "protected boolean isPhoneRooted() {\n return RootChecker.isDeviceRooted();\n }", "boolean isFolder();", "public boolean checkRoot() {\n\t\t\treturn (this.getParent().getHeight() == -1);\n\t\t}", "public static boolean isApplicationInstalled(String packageName,\n\t\t\tContext context) {\n\t\ttry {\n\t\t\tcontext.getPackageManager().getApplicationInfo(packageName, 0);\n\t\t} catch (NameNotFoundException e) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "public boolean isValidateRoot() {\n\tComponent parent = getParent();\n\tif (parent instanceof JViewport) {\n\t return false;\n\t}\n return true;\n }", "public boolean isParent(AppFile anItem) { return anItem.isParent(); }", "private boolean hasTFoot() {\r\n\t\treturn null != this.getTFoot();\r\n\t}", "private boolean verifyAsinstalldir(File home) throws ClassNotFoundException{\n if (home!= null && home.isDirectory()) {\n if ( new File(home, \"config\").isDirectory() ) {\n return true;\n } \n }\n throw new ClassNotFoundException(\"ClassCouldNotBeFound\");\n }", "public static Boolean isTopActivity(Context context, String packageName) {\n if (context == null || TextUtils.isEmpty(packageName)) {\n return null;\n }\n\n ActivityManager activityManager = (ActivityManager) context\n .getSystemService(Context.ACTIVITY_SERVICE);\n List<RunningTaskInfo> tasksInfo = activityManager.getRunningTasks(1);\n if (tasksInfo==null||tasksInfo.size()==0) {\n return null;\n }\n try {\n return packageName.equals(tasksInfo.get(0).topActivity\n .getPackageName());\n } catch (Exception e) {\n e.printStackTrace();\n return false;\n }\n }", "public boolean loadBooksFromDirectory() {\n\t\ttry {\n\t\t\t_booksListEntry = (ArrayList<Entry>) _mApi.metadata(PATH, 0, null, true, null).contents;\n\t\t} catch (DropboxException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tif (is_EpubDir() && !_booksListEntry.isEmpty()) {\n\t\t\treturn true;\n\t\t} else\n\t\t\treturn false;\n\t}", "protected boolean isMatchingNamespace(String rootElementNamespace)\n {\n if (namespacePattern != null)\n {\n return namespacePattern.matcher(rootElementNamespace == null ? \"\" : rootElementNamespace).matches();\n }\n else\n {\n return namespace == null ? rootElementNamespace == null : namespace.equals(rootElementNamespace);\n }\n }", "public boolean isRootCat() {\n return cat.equals(Rule.rootCat);\n }", "public static boolean m51366a(Context context) {\n return context != null && !TextUtils.isEmpty(context.getPackageName()) && \"com.xiaomi.xmsf\".equals(context.getPackageName());\n }", "public static boolean m149888a(Context context) {\n String b = m149889b(context);\n if ((b == null || !b.contains(\":\")) && b != null && b.equals(context.getPackageName())) {\n return true;\n }\n return false;\n }", "boolean hasDriveFolder();", "public boolean isSetAppName() {\n return this.appName != null;\n }", "public Boolean isExist() {\n\t\tif(pfDir.exists())\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "public static boolean checkAppFileDirectory(Context context) {\n\t\ttry {\n\t\t\tfinal String imageDir = getAppFilesDirByData(context);\n\t\t\tfinal File imageFileDir = new File(imageDir);\n\t\t\tif (!imageFileDir.exists()) {\n\t\t\t\tfinal boolean isMkdirs = imageFileDir.mkdirs();\n\t\t\t\treturn isMkdirs;\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn false;\n\n\t}", "public static boolean isGoodAppServerLocation(File candidate){\n\tif (null == candidate || !candidate.exists() || !candidate.canRead() ||\n\t\t!candidate.isDirectory() || !hasRequiredChildren(candidate, fileColl)) {\n\t \n\t return false;\n\t}\n File f = new File(candidate.getAbsolutePath()+\"/lib/appserv-rt.jar\");//NOI18N\n if (!f.exists()){\n return false;\n }\n \n\t//now test for AS 9 (J2EE 5.0) which should work for this plugin\n\tif(isGlassFish(candidate)){\n\t return true;//we are as9\n\t}\n\t\n\t//one extra test to detect 8.0 versus 8.1: dom.jar has to be in lib not endorsed anymore:\n////\tFile f = new File(candidate.getAbsolutePath()+\"/lib/dom.jar\");\n////\treturn f.exists();\n return true;\n\t\n }", "private static boolean isPackageDir(WebFile aFile)\n {\n if (!aFile.isDir())\n return false;\n if (aFile.getName().indexOf('.') > 0)\n return false;\n String path = aFile.getPath();\n if (isIgnorePath(path))\n return false;\n return true;\n }", "boolean parentIsRoot()\n {\n return this.parent != null && this.parent.isRoot();\n }", "public boolean hasAppsAccessingStorage() {\n try {\n String extStoragePath = Environment.getExternalStorageDirectory().toString();\n IMountService mountService = getMountService();\n int stUsers[] = mountService.getStorageUsers(extStoragePath);\n if (stUsers != null && stUsers.length > 0) {\n return true;\n }\n List<ApplicationInfo> list = mActivityManager.getRunningExternalApplications();\n if (list != null && list.size() > 0) {\n return true;\n }\n } catch (RemoteException e) {\n e.printStackTrace();\n }\n return false;\n }", "public boolean hasMain() {\n\t\treturn main;\n\t}", "public boolean isQualified() {\n\t\treturn (did != null && fragment != null);\n\t}", "@Override\n\tpublic boolean isIgnored(String fullname) {\n\t\treturn ignorePackages.stream().anyMatch(p -> \n\t\t\tfullname.startsWith(p + DOT) ||\n\t\t\tfullname.equals(p)\n\t\t);\n\t}", "public static boolean isForcePackagePrefixGeneration()\n {\n read_if_needed_();\n \n return _is_force_package_gen;\n }" ]
[ "0.6375503", "0.6353693", "0.62848276", "0.6235081", "0.62073386", "0.6196003", "0.6148165", "0.61356443", "0.6075416", "0.6071602", "0.60275745", "0.5954378", "0.59403527", "0.5933133", "0.58102214", "0.57630265", "0.57567513", "0.57542306", "0.57542306", "0.5746701", "0.57408226", "0.57190746", "0.56945324", "0.5686843", "0.56843513", "0.56804544", "0.5666259", "0.5666056", "0.56273013", "0.56060904", "0.5589826", "0.5576022", "0.5574005", "0.5573118", "0.55729717", "0.55077106", "0.5497138", "0.5496359", "0.5496069", "0.54891837", "0.54827046", "0.54825777", "0.54815376", "0.54546624", "0.5444672", "0.5428434", "0.5414241", "0.5402397", "0.5375883", "0.5369837", "0.535843", "0.5357651", "0.5354822", "0.53524405", "0.5340008", "0.53316975", "0.5328446", "0.53266346", "0.53266346", "0.5325954", "0.5320812", "0.5309026", "0.5299476", "0.5298655", "0.5296083", "0.52910763", "0.5289006", "0.5279253", "0.5271712", "0.52677834", "0.526171", "0.526171", "0.5255664", "0.5254173", "0.5252144", "0.5243077", "0.523491", "0.5227946", "0.5222221", "0.5213692", "0.5210555", "0.52043307", "0.5195801", "0.518257", "0.51787883", "0.5178401", "0.5174417", "0.5173295", "0.5172867", "0.5167244", "0.5166163", "0.5163188", "0.5159435", "0.51588684", "0.51528305", "0.51497775", "0.51435125", "0.5140196", "0.5136949", "0.5135395" ]
0.53505856
54
This method is specific to the Content Package Validator only. This method returns whether or not the content package test subject contains the required schemas at the root of the package needed for the validation parse.
public boolean getIsRequiredFiles() { return mIsRequiredFiles; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRootElementValid() {\r\n\t\tboolean result = false;\r\n\r\n\t\tNode rootNode = mDocument.getDocumentElement();\r\n\t\tString rootNodeName = rootNode.getLocalName();\r\n\t\tString rootNodeNamespace = rootNode.getNamespaceURI();\r\n\r\n\t\tif (rootNodeName.equals(\"manifest\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.24\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t} else if (rootNodeName.equals(\"lom\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.30\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public boolean validatePackage() {\n\t\treturn this.validateID() && this.validateFirstName() && this.validateLastName()\n\t\t\t\t&& this.validateBank() && this.validateBSB() && this.validateAccountNumber();\n\t}", "public boolean isValidateRoot()\r\n\t{\r\n\t\treturn(true);\r\n\t}", "public boolean getStructureRequired() {\n // Get server.properties's contentTypeGroupingInCX key value\n String contentTypesGrouping = PSServer.getProperty(SERVER_PROP_GROUP_CONTENTTYPES);\n\n // If server.properties contentTypeGroupingInCX key value (\"true\" to\n // turn on and other\n // than true to turn off)is set then toggle the content type grouping\n // feature.\n if (contentTypesGrouping != null)\n return contentTypesGrouping.trim().equalsIgnoreCase(\"true\");\n else\n return false;\n }", "public boolean isSetRollup_schemas() {\n return this.rollup_schemas != null;\n }", "public boolean isSetCatalogSchema() {\n return this.catalogSchema != null;\n }", "@BeforeClass\n public static void externalSchemaCheck() {\n assumeTrue(\"can access \" + NameSpace.DC.xsd, canConnect(NameSpace.DC.xsd));\n }", "private static boolean verifyXML(String fileName) throws IOException {\n\t\tSchemaFactory sf = SchemaFactory.newInstance(W3C_XML_SCHEMA);\n\t\tStreamSource xsdFile = new StreamSource(ResourceUtils.getResourceStream(XSD_FILE_PATH));\n\t\tStreamSource xmlFile = new StreamSource(new File(fileName));\n\t\tboolean validXML = false;\n\t\ttry {\n\t\t\tSchema schema = sf.newSchema(xsdFile);\n\t\t\tValidator validator = schema.newValidator();\n\t\t\ttry {\n\t\t\t\tvalidator.validate(xmlFile);\n\t\t\t\tvalidXML = true;\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (!validXML) {\n\t\t\t\tnew IOException(\"File isn't valid against the xsd\");\n\t\t\t}\n\t\t} catch (SAXException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\txsdFile.getInputStream().close();\n\t\t\t// When using a file, this may be null\n\t\t\tif (xmlFile.getInputStream() != null)\n\t\t\t\txmlFile.getInputStream().close();\n\t\t}\n\t\treturn validXML;\n\t}", "public boolean isValidateRoot() {\n/* 246 */ return true;\n/* */ }", "public boolean isSetSchema_name() {\n return this.schema_name != null;\n }", "public boolean isValidateRoot() {\n/* 463 */ return true;\n/* */ }", "public boolean validateEmployeePackage() {\n\t\treturn this.validateID() && this.validateFirstName() && this.validateLastName();\n\t}", "public boolean isSetSchema_id() {\n return this.schema_id != null;\n }", "public boolean canUseSchema(FormatSchema schema)\n/* */ {\n/* 445 */ if (schema == null) {\n/* 446 */ return false;\n/* */ }\n/* 448 */ String ourFormat = getFormatName();\n/* 449 */ return (ourFormat != null) && (ourFormat.equals(schema.getSchemaType()));\n/* */ }", "public boolean isSetSchemaName() {\n return this.schemaName != null;\n }", "public boolean getIsValid() {\n return projectName != null && packageName != null && !projectName.isEmpty() && !packageName.isEmpty();\n }", "private boolean validate() {\r\n\t\ttry {\r\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\t//validate the schema\r\n\t\t\tdbFactory.setValidating(true);\r\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\r\n\t\t\t//handling errors\r\n\t\t\tdBuilder.setErrorHandler(new ErrorHandler() {\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void error(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void fatalError(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void warning(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t\tFile file = new File(tempPath);\r\n\t\t\tFileInputStream fis = new FileInputStream(file);\r\n\t\t\tDocument doc = dBuilder.parse(fis);\r\n\t\t\t//if it matches the schema then parse the temp xml file into the original xml file\r\n\t\t\tdoc.setXmlStandalone(true);\r\n\t\t\tTransformerFactory tf = TransformerFactory.newInstance();\r\n\t\t\tTransformer transformer = tf.newTransformer();\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"ISO-8859-1\");\r\n\t\t\tDOMImplementation domImp = doc.getImplementation();\r\n\t\t\tDocumentType docType = domImp.createDocumentType(\"doctype\", \"SYSTEM\", new File(path).getName().substring(0, new File(path).getName().length() - 4) + \".dtd\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, docType.getSystemId());\r\n\t\t\tDOMSource domSource = new DOMSource(doc);\r\n\t\t\tFileOutputStream fos = new FileOutputStream(new File(path));\r\n\t\t\ttransformer.transform(domSource, new StreamResult(fos));\r\n\t\t\tfos.close();\r\n\t\t\tfis.close();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tcatch (ParserConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new ParserConfigurationException();\r\n\t\t\t} catch (RuntimeException | ParserConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerConfigurationException();\r\n\t\t\t} catch (RuntimeException | TransformerConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerException(e);\r\n\t\t\t} catch (RuntimeException | TransformerException err) {\r\n\t\t\t}\r\n\t\t} catch (SAXException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new SAXException();\r\n\t\t\t} catch (RuntimeException | SAXException err) {\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IOException();\r\n\t\t\t} catch (RuntimeException | IOException err) {\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean isValidateRoot() {\n\tComponent parent = getParent();\n\tif (parent instanceof JViewport) {\n\t return false;\n\t}\n return true;\n }", "private static boolean validate(JAXBContext jaxbCongtext, File file, URL xsdUrl) {\n SchemaFactory schemaFactory = null;\n Schema schema = null;\n Source xmlFile = new StreamSource(file);\n try {\n schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);\n schema = schemaFactory.newSchema(xsdUrl);\n Validator validator = schema.newValidator();\n DocumentBuilderFactory db = newSecuDocBuilderFactory();\n db.setNamespaceAware(true);\n\n DocumentBuilder builder = db.newDocumentBuilder();\n Document doc = builder.parse(file);\n\n DOMSource source = new DOMSource(doc);\n DOMResult result = new DOMResult();\n\n validator.validate(source, result);\n LOGGER.debug(xmlFile.getSystemId() + \" is valid\");\n } catch(Exception ex) {\n LOGGER.error(xmlFile.getSystemId() + \" is NOT valid\", ex);\n return false;\n }\n return true;\n }", "public boolean testInitializedSchema(final String schemaName, final JsonNode objectJson) {\n final var schema = schemaToValidators.get(schemaName);\n Preconditions.checkNotNull(schema, schemaName + \" needs to be initialised before calling this method\");\n\n final var validate = schema.validate(objectJson);\n return validate.isEmpty();\n }", "public boolean schemasEnabled() {\n return schemasEnabled;\n }", "@Test\n public void testConsolidatedSchema() throws IOException {\n BufferedReader br =\n new BufferedReader(new FileReader(OUTPUT_DIRECTORY + File.separator + FILENAME_CONSOLIDATED));\n StringBuilder builder = new StringBuilder();\n String lineContents;\n while ((lineContents = br.readLine()) != null) {\n // The new lines are stripped via FileReader\n builder.append(lineContents);\n builder.append(System.lineSeparator());\n }\n br.close();\n\n // These definitions exist in the test schema file. Ordering is random hence the contains way of testing\n final String schemaFileContents = builder.toString();\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_NAMESPACE));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_ENUM_USERSTATE));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_ENUM_CALLTYPE));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_TABLE_REQUEST));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_TABLE_RESPONSE));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_TABLE_WALLET));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_TABLE_LOOKUP_ERROR));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(TABLE_PROPERTY_WALLET_WITH_NAMESPACE)));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(TABLE_PROPERTY_LOOKUP_ERROR_WITH_NAMESPACE)));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(TABLE_PROPERTY_REQUEST_CALLTYPE_WITH_NAMESPACE)));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(TABLE_PROPERTY_LOOKUP_ERROR_WITHOUT_NAMESPACE));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(TABLE_PROPERTY_REQUEST_CALLTYPE_WITHOUT_NAMESPACE));\n }", "public boolean hasInput() {\n return basePackage != DEFAULT_BASE_PACKAGE\n || !basePackages.isEmpty()\n || bannedImport != null\n || !bannedImports.isEmpty()\n || allowedImport != null\n || !allowedImports.isEmpty()\n || exclusion != null\n || !exclusions.isEmpty();\n }", "public void checkSchema(ResourceSchema schema) throws IOException\n {\n }", "boolean isValid() {\n\t\tif (this.nodeImpl != null) {\n\t\t\t\n\t\t\tfor (AbstractImplementationArtifact ia : this.nodeImpl.getImplementationArtifacts()) {\n\t\t\t\tboolean matched = false;\n\t\t\t\tfor (AbstractImplementationArtifact handledIa : this.ias) {\n\t\t\t\t\tif (ia.equals(handledIa)) {\n\t\t\t\t\t\tmatched = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!matched) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t} else {\n\t\t\t\n\t\t\tfor (AbstractImplementationArtifact ia : this.relationImpl.getImplementationArtifacts()) {\n\t\t\t\tboolean matched = false;\n\t\t\t\tfor (AbstractImplementationArtifact handledIa : this.ias) {\n\t\t\t\t\tif (ia.equals(handledIa)) {\n\t\t\t\t\t\tmatched = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!matched) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t}\n\t}", "public boolean validateBankPackage() {\n\t\treturn this.validateBank() && this.validateBSB() && this.validateAccountNumber();\n\t}", "private boolean validateXmlFileWithSchema(String xmlFilePath, String xsdFilePath) { \n \tassert xmlFilePath != null && !xmlFilePath.isEmpty();\n \tassert xsdFilePath != null && !xsdFilePath.isEmpty();\n \tassert _schemaFactory != null;\n \tassert _loggerHelper != null;\n \t\n try {\n Schema schema = _schemaFactory.newSchema(new File(xsdFilePath));\n Validator validator = schema.newValidator();\n validator.validate(new StreamSource(new File(xmlFilePath)));\n } catch (IOException | SAXException e) {\n \t_loggerHelper.logError(e.getMessage());\n return false;\n }\n return true;\n }", "private boolean isValid (DocFile file) {\n return file != null && Arrays.asList(Constants.VALIDDOCTYPES).contains(file.getFileType());\n }", "public boolean hasMinRequirements() {\n\t\t// FIXME MIN input\n\t\treturn true;\n\t}", "protected boolean isMatchingNamespace(String rootElementNamespace)\n {\n if (namespacePattern != null)\n {\n return namespacePattern.matcher(rootElementNamespace == null ? \"\" : rootElementNamespace).matches();\n }\n else\n {\n return namespace == null ? rootElementNamespace == null : namespace.equals(rootElementNamespace);\n }\n }", "public boolean getIsValidToSchema() {\r\n\t\treturn mIsValidToSchema;\r\n\t}", "public static void fullSchemaChecking(XSGrammarBucket grammarBucket, SubstitutionGroupHandler SGHandler, CMBuilder cmBuilder, XMLErrorReporter errorReporter) {\n/* 362 */ SchemaGrammar[] grammars = grammarBucket.getGrammars();\n/* 363 */ for (int i = grammars.length - 1; i >= 0; i--) {\n/* 364 */ SGHandler.addSubstitutionGroup(grammars[i].getSubstitutionGroups());\n/* */ }\n/* */ \n/* 367 */ XSParticleDecl fakeDerived = new XSParticleDecl();\n/* 368 */ XSParticleDecl fakeBase = new XSParticleDecl();\n/* 369 */ fakeDerived.fType = 3;\n/* 370 */ fakeBase.fType = 3;\n/* */ \n/* */ \n/* 373 */ for (int g = grammars.length - 1; g >= 0; g--) {\n/* 374 */ XSGroupDecl[] redefinedGroups = grammars[g].getRedefinedGroupDecls();\n/* 375 */ SimpleLocator[] rgLocators = grammars[g].getRGLocators();\n/* 376 */ for (int k = 0; k < redefinedGroups.length; ) {\n/* 377 */ XSGroupDecl derivedGrp = redefinedGroups[k++];\n/* 378 */ XSModelGroupImpl derivedMG = derivedGrp.fModelGroup;\n/* 379 */ XSGroupDecl baseGrp = redefinedGroups[k++];\n/* 380 */ XSModelGroupImpl baseMG = baseGrp.fModelGroup;\n/* 381 */ fakeDerived.fValue = derivedMG;\n/* 382 */ fakeBase.fValue = baseMG;\n/* 383 */ if (baseMG == null) {\n/* 384 */ if (derivedMG != null) {\n/* 385 */ reportSchemaError(errorReporter, rgLocators[k / 2 - 1], \"src-redefine.6.2.2\", new Object[] { derivedGrp.fName, \"rcase-Recurse.2\" });\n/* */ }\n/* */ continue;\n/* */ } \n/* 389 */ if (derivedMG == null) {\n/* 390 */ if (!fakeBase.emptiable()) {\n/* 391 */ reportSchemaError(errorReporter, rgLocators[k / 2 - 1], \"src-redefine.6.2.2\", new Object[] { derivedGrp.fName, \"rcase-Recurse.2\" });\n/* */ }\n/* */ \n/* */ continue;\n/* */ } \n/* */ try {\n/* 397 */ particleValidRestriction(fakeDerived, SGHandler, fakeBase, SGHandler);\n/* 398 */ } catch (XMLSchemaException e) {\n/* 399 */ String key = e.getKey();\n/* 400 */ reportSchemaError(errorReporter, rgLocators[k / 2 - 1], key, e\n/* */ \n/* 402 */ .getArgs());\n/* 403 */ reportSchemaError(errorReporter, rgLocators[k / 2 - 1], \"src-redefine.6.2.2\", new Object[] { derivedGrp.fName, key });\n/* */ } \n/* */ } \n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 425 */ SymbolHash elemTable = new SymbolHash();\n/* 426 */ for (int j = grammars.length - 1; j >= 0; j--) {\n/* */ \n/* 428 */ int keepType = 0;\n/* 429 */ boolean fullChecked = (grammars[j]).fFullChecked;\n/* 430 */ XSComplexTypeDecl[] types = grammars[j].getUncheckedComplexTypeDecls();\n/* 431 */ SimpleLocator[] ctLocators = grammars[j].getUncheckedCTLocators();\n/* */ \n/* 433 */ for (int k = 0; k < types.length; k++) {\n/* */ \n/* */ \n/* 436 */ if (!fullChecked)\n/* */ {\n/* 438 */ if ((types[k]).fParticle != null) {\n/* 439 */ elemTable.clear();\n/* */ try {\n/* 441 */ checkElementDeclsConsistent(types[k], (types[k]).fParticle, elemTable, SGHandler);\n/* */ \n/* */ }\n/* 444 */ catch (XMLSchemaException e) {\n/* 445 */ reportSchemaError(errorReporter, ctLocators[k], e\n/* 446 */ .getKey(), e\n/* 447 */ .getArgs());\n/* */ } \n/* */ } \n/* */ }\n/* */ \n/* */ \n/* */ \n/* 454 */ if ((types[k]).fBaseType != null && (types[k]).fBaseType != SchemaGrammar.fAnyType && (types[k]).fDerivedBy == 2 && (types[k]).fBaseType instanceof XSComplexTypeDecl) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 459 */ XSParticleDecl derivedParticle = (types[k]).fParticle;\n/* 460 */ XSParticleDecl baseParticle = ((XSComplexTypeDecl)(types[k]).fBaseType).fParticle;\n/* */ \n/* 462 */ if (derivedParticle == null) {\n/* 463 */ if (baseParticle != null && !baseParticle.emptiable()) {\n/* 464 */ reportSchemaError(errorReporter, ctLocators[k], \"derivation-ok-restriction.5.3.2\", new Object[] { (types[k]).fName, (types[k]).fBaseType\n/* */ \n/* 466 */ .getName() });\n/* */ }\n/* */ }\n/* 469 */ else if (baseParticle != null) {\n/* */ try {\n/* 471 */ particleValidRestriction((types[k]).fParticle, SGHandler, ((XSComplexTypeDecl)(types[k]).fBaseType).fParticle, SGHandler);\n/* */ \n/* */ \n/* */ }\n/* 475 */ catch (XMLSchemaException e) {\n/* 476 */ reportSchemaError(errorReporter, ctLocators[k], e\n/* 477 */ .getKey(), e\n/* 478 */ .getArgs());\n/* 479 */ reportSchemaError(errorReporter, ctLocators[k], \"derivation-ok-restriction.5.4.2\", new Object[] { (types[k]).fName });\n/* */ }\n/* */ \n/* */ }\n/* */ else {\n/* */ \n/* 485 */ reportSchemaError(errorReporter, ctLocators[k], \"derivation-ok-restriction.5.4.2\", new Object[] { (types[k]).fName });\n/* */ } \n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* 492 */ XSCMValidator cm = types[k].getContentModel(cmBuilder);\n/* 493 */ boolean further = false;\n/* 494 */ if (cm != null) {\n/* */ try {\n/* 496 */ further = cm.checkUniqueParticleAttribution(SGHandler);\n/* 497 */ } catch (XMLSchemaException e) {\n/* 498 */ reportSchemaError(errorReporter, ctLocators[k], e\n/* 499 */ .getKey(), e\n/* 500 */ .getArgs());\n/* */ } \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 513 */ if (!fullChecked && further) {\n/* 514 */ types[keepType++] = types[k];\n/* */ }\n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 524 */ if (!fullChecked) {\n/* 525 */ grammars[j].setUncheckedTypeNum(keepType);\n/* 526 */ (grammars[j]).fFullChecked = true;\n/* */ } \n/* */ } \n/* */ }", "public Boolean isValid() {\n if (modApptTitle.getText().isEmpty() || modApptTitle.getText() == null) {\n return false;\n } else if (modApptDescript.getText().isEmpty() || modApptDescript.getText() == null) {\n return false;\n } else if (modApptLocale.getText().isEmpty() || modApptLocale.getText() == null) {\n return false;\n }\n return true;\n }", "public boolean isSchemaVersionMatch() {\n return getVersionForSchema() == latestCodeVersion;\n }", "boolean isSetNamespace();", "ValidationResult isPackageConfigurationValid(PackageConfiguration packageConfiguration, RepositoryConfiguration repositoryConfiguration);", "@Override\n\tpublic boolean validateContent()\n\t{\n\t\treturn true;\n\t}", "public boolean isPackage()\n {\n ensureLoaded();\n return m_flags.isPackage();\n }", "boolean hasPackageName();", "public boolean schemaExists(long schemaID)\n\t{\n\t\tint schemaCount = -1;\n\t\t\n\t\t//Connecting to data base\n \t\tconnect();\n \t\t\n\t\tif (dbConnection == null)\t\t\t\t\t\t\t//failed connection\n \t\t{\n \t\t\treturn false;\n \t\t}\n \t\t\n \t\t//Proceeding, if database connection is successful\n \t\tResultSet rsSchemaCount = null; \t\t\n \t\ttry\n \t\t{\n \t\t\t//Fetching count of the schema ID to be validated from the user schema database\n \t\t\tString schemaQuery = \"SELECT COUNT(*) FROM shareable_schema WHERE schema_id = ?\";\n \t\t\tPreparedStatement prepStmt = dbConnection.prepareStatement(schemaQuery);\n \t\t\tprepStmt.setLong(1, schemaID);\n \t\t\trsSchemaCount = prepStmt.executeQuery();\n \t\t\tif (rsSchemaCount.next())\n \t\t\t\tschemaCount = rsSchemaCount.getInt(1);\n \t\t\trsSchemaCount.close();\n \t\t\tprepStmt.close();\n \t\t}\n \t\tcatch (SQLException sqle)\n \t\t{\n \t\t\trsSchemaCount = null;\n \t\t\tlog.error(\"SQLException occurred while fetching schema ID count from user schema database... \" + sqle.getMessage());\n \t\t}\n \t\t \t\t\n \t\tif (schemaCount > 0)\n \t\t\treturn true;\n \t\telse\n \t\t\treturn false;\n\t}", "public boolean isSetCatalogSchemaVersion() {\n return EncodingUtils.testBit(__isset_bitfield, __CATALOGSCHEMAVERSION_ISSET_ID);\n }", "public boolean isApplicable(ActionSchema a) {\n return this.getFluents().containsAll(a.getPrecondition());\n }", "public boolean hasNamespace() {\n return m_namespaces != null && m_namespaces.size() > 0;\n }", "public boolean checkConstraints(ContentValues contentValues) {\n\t\treturn true;\n\t}", "public boolean isValid() {\n try {\n validate();\n } catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isSetPackagename() {\n return this.packagename != null;\n }", "boolean isSetConstraints();", "public boolean isNotEmpty(){\n return root != null;\n }", "private static void validate(String fileName, String xSchema) throws Exception {\n \t\ttry {\n\t // parse an XML document into a DOM tree\n\t DocumentBuilder parser =\n\t DocumentBuilderFactory.newInstance().newDocumentBuilder();\n\t Document document = parser.parse(new File(fileName));\n\t\n\t // create a SchemaFactory capable of understanding WXS schemas\n\t SchemaFactory factory =\n\t SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);\n\t\n\t // load a WXS schema, represented by a Schema instance\n\t Source schemaFile = new StreamSource(new File(xSchema));\n\t Schema schema = factory.newSchema(schemaFile);\n\t\n\t // create a Validator object, which can be used to validate\n\t // an instance document\n\t Validator validator = schema.newValidator();\n\t\n\t // validate the DOM tree\n\t\n\t validator.validate(new DOMSource(document));\n \t\t} catch(Exception e) {\n \t\t\tXMLValidate.file = fileName.substring(fileName.lastIndexOf(\"/\") + 1).replaceAll(\".xml\", \"\");\n \t\t\tthrow e;\n \t\t}\n \n }", "public static boolean validateDataModel(JAXBContext jaxbCongtext, File file) {\n if(null == jaxbCongtext || null == file) {\n LOGGER.error(\"jaxbCongtext or file cannt be null\");\n return false;\n }\n\n return validate(jaxbCongtext, file,\n SchemaUtil.class.getClassLoader().getResource(\"META-INF/models/datamodel-1.0.xsd\"));\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "boolean hasProofDocument();", "boolean hasProofDocument();", "public SchemaDefinition isSchema(String name){\n return((SchemaDefinition)schemaDefs.get(getDefName(name)));\n }", "@Then(\"verify json schema of given endpoint should be {string}\")\n\tpublic void verify_json_schema_of_given_endpoint_should_be(String sourceSchemaPath) {\n\t\ttry {\n\t\t\t// All of the required schema json files are stored at \"/AutomationBot/src/test/resources/testData/json\"\n\t\t\tboolean result = DataValidator.validateJsonSchema(this.storeResponse, sourceSchemaPath);\n\t\t\tassert(result);\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\tlogger.error(Formatter.getExceptMessage(e));\n\t\t\tassert(false);\n\t\t}\n\t}", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean elementDansSchema(final Element refElement) {\n final Document domdoc = refElement.getOwnerDocument();\n return(domdoc == racine_schema.getOwnerDocument());\n }", "static public int isValidPackage(ByteBuf buf)\n\t{\n\t\t\n\t\tif(!buf.isReadable())\n\t\t{\n\t\t\treturn -1;\n\t\t}\n\t\t\n\t\tbyte stx = 0;\n\t\tint offset = buf.readerIndex();\n\t\tif(buf.readableBytes() < 11)\n\t\t{\n\t\t\tstx = buf.getByte(offset);\n\t\t\tif(stx != EasyPackage.STX )\n\t\t\t{\n\t\t\t\treturn -2;\n\t\t\t}\n\t\t\treturn -1;\n\t\t}\n\t\t\n\t\tstx = buf.getByte(offset);\n\t\t\n\t\tif(stx != EasyPackage.STX)\n\t\t{\n\t\t\treturn -2;\n\t\t}\n\n\t\tbyte format = buf.getByte(offset+1);\n\n\t\tif (format!= EasyPackage.FORMAT_MSGPACK && format!= EasyPackage.FORMAT_JSON){\n\t\t\treturn -2;\n\t\t}\n\n\t\tint headlen = buf.getInt(offset+2);\n\t\t\n\t\tif(headlen > EasyPackage.HEAD_MAX_LEN)\n\t\t{\n\t\t\treturn -2;\n\t\t}\n\n\t\tint bodylen = buf.getInt(offset+6);\n\n\t\tif(bodylen > EasyPackage.BODY_MAX_LEN)\n\t\t{\n\t\t\treturn -2;\n\t\t}\n\t\t\n\t\tif(headlen+bodylen+11 <= buf.readableBytes())\n\t\t{\n\t\t\tbyte etx = buf.getByte(offset+headlen+bodylen+10);\n\t\t\tif(etx != EasyPackage.ETX)\n\t\t\t{\n\t\t\t\treturn -2;\n\t\t\t}\n\t\t\treturn headlen+bodylen+11;\n\t\t}\n\t\telse \n\t\t{\n\t\t\treturn -1;\n\t\t}\n\t}", "boolean requiresConfigSchema();", "@Test\n public void testSeparatedSchemas() throws IOException {\n BufferedReader br = new BufferedReader(new FileReader(OUTPUT_DIRECTORY + File.separator + FILENAME_SEPERATED));\n StringBuilder builder = new StringBuilder();\n String lineContents;\n while ((lineContents = br.readLine()) != null) {\n // The new lines are stripped via FileReader\n builder.append(lineContents);\n builder.append(System.lineSeparator());\n }\n br.close();\n\n // These definitions exist in the test schema file. Ordering is random hence the contains way of testing\n final String schemaFileContents = builder.toString();\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_NAMESPACE));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_ENUM_USERSTATE));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_TABLE_REQUEST));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_TABLE_RESPONSE));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(SCHEMA_TABLE_WALLET)));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(SCHEMA_TABLE_LOOKUP_ERROR)));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(TABLE_PROPERTY_REQUEST_CALLTYPE_WITHOUT_NAMESPACE)));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(SCHEMA_ENUM_CALLTYPE)));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(TABLE_PROPERTY_WALLET_WITH_NAMESPACE));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(TABLE_PROPERTY_LOOKUP_ERROR_WITH_NAMESPACE));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(TABLE_PROPERTY_REQUEST_CALLTYPE_WITH_NAMESPACE));\n }", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "public boolean getSchemaLocExists() {\r\n\t\treturn mSchemaLocExists;\r\n\t}", "@Override\n\tprotected boolean checkDataStructure(Data data) throws ImportitException {\n\t\tdata.setDatabase(39);\n\t\tdata.setGroup(3);\n\t\tboolean validDb = checkDatabaseName(data);\n\t\tboolean validHead = false;\n\t\tboolean validTable = false;\n\t\tboolean existImportantFields = false;\n\t\tif (validDb) {\n\t\t\tList<Field> headerFields = data.getHeaderFields();\n\t\t\tList<Field> tableFields = data.getTableFields();\n\t\t\tvalidHead = false;\n\t\t\tvalidTable = false;\n\t\t\ttry {\n\n\t\t\t\tvalidHead = checkWarehouseGroupProperties(headerFields, data.getOptionCode().useEnglishVariables());\n\t\t\t\tvalidTable = checkFieldList(tableFields, 39, 3, false, data.getOptionCode().useEnglishVariables());\n\t\t\t\tString[] checkDataCustomerPartProperties = checkDataWarehouseGroupProperties(data);\n\t\t\t\texistImportantFields = checkDataCustomerPartProperties.length == 2;\n\n\t\t\t} catch (ImportitException e) {\n\t\t\t\tlogger.error(e);\n\t\t\t\tdata.appendError(Util.getMessage(\"err.structure.check\", e.getMessage()));\n\t\t\t}\n\t\t}\n\t\tif (validTable && validHead && validDb & existImportantFields) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean test(final JsonNode schemaJson, final JsonNode objectJson) {\n final Set<ValidationMessage> validationMessages = validateInternal(schemaJson, objectJson);\n\n if (!validationMessages.isEmpty()) {\n LOGGER.info(\"JSON schema validation failed. \\nerrors: {}\", Strings.join(validationMessages, \", \"));\n }\n\n return validationMessages.isEmpty();\n }", "public boolean canLayout(ILayoutContext context) {\n\t\tPictogramElement pe = context.getPictogramElement();\r\n\t\tif (!(pe instanceof ContainerShape))\r\n\t\t\treturn false;\r\n\t\tEList<EObject> businessObjects = pe.getLink().getBusinessObjects();\r\n\t\treturn businessObjects.size() == 1 && businessObjects.get(0) instanceof Statement;\r\n\t}", "public boolean isQualifyXMLSchemaLanguage() {\n return getPreferenceStore().getBoolean(CONST_XSD_LANGUAGE_QUALIFY);\n }", "private boolean hasRequirements() {\n \t\tif (checkHasRequirements) {\n \t\t\thasRequirements = pullRequired(requiredInput, false);\n \t\t\tcheckHasRequirements = false;\n \t\t}\n \t\treturn hasRequirements;\n \t}", "boolean hasPackageid();", "boolean hasPackageid();", "public static boolean SchemaElementTest(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"SchemaElementTest\")) return false;\n if (!nextTokenIs(b, K_SCHEMA_ELEMENT)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, SCHEMA_ELEMENT_TEST, null);\n r = consumeTokens(b, 2, K_SCHEMA_ELEMENT, L_PAR);\n p = r; // pin = 2\n r = r && report_error_(b, ElementDeclaration(b, l + 1));\n r = p && consumeToken(b, R_PAR) && r;\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "public boolean isValid() {\n\t\t\t// empty fields are invalid by default - which means that every\n\t\t\t// field is required by default.\n\t\t\tif (this.getContents().isEmpty()) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// check whether we have a regex validation and if it matches the\n\t\t\t// fields content.\n\t\t\tif (FieldComposite.this.hasRegexValidation()\n\t\t\t\t\t&& this.getContents().matches(FieldComposite.this.regexValidation.getPattern())) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "@Override\n\t\tpublic boolean isValidSolution() {\n\t\t\treturn super.isValidSolution();\n\t\t}", "@Test\n public void testSeperatedDependencySchema() throws IOException {\n BufferedReader br = new BufferedReader(new FileReader(OUTPUT_DIRECTORY + File.separator + FILENAME_DEPENDENCY));\n StringBuilder builder = new StringBuilder();\n String lineContents;\n while ((lineContents = br.readLine()) != null) {\n // The new lines are stripped via FileReader\n builder.append(lineContents);\n builder.append(System.lineSeparator());\n }\n br.close();\n\n // These definitions exist in the test schema file. Ordering is random hence the contains way of testing\n final String schemaFileContents = builder.toString();\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(SCHEMA_NAMESPACE)));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(SCHEMA_ENUM_USERSTATE)));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(SCHEMA_TABLE_REQUEST)));\n MatcherAssert.assertThat(schemaFileContents, not(CoreMatchers.containsString(SCHEMA_TABLE_RESPONSE)));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_TABLE_WALLET));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_TABLE_LOOKUP_ERROR));\n MatcherAssert.assertThat(schemaFileContents, CoreMatchers.containsString(SCHEMA_ENUM_CALLTYPE));\n }", "public void testGetContentModel()\n\t{\n\t\tString contentModel = TypeDefinition.API_W3C_DOM; // one of the presets available\n\t\t((TypeDefinitionImpl) fTypeDefinition).setContentModel(contentModel);\n\t\tassertEquals(\"The TypeDefinition content model String differs from that set -\", contentModel, fTypeDefinition.getContentModel());\n\t}", "public boolean isManifestMatch(InputStream manifestContent) {\n\t\treturn true;\n\t}", "boolean hasAstRoot();", "public Boolean satisfies(KB kb) {\n\t\t//I flipped the return statements in this, they looked wrong before?\n\t\tCollection<Sentence> sentences = kb.sentences();\n\t\t\n\t\tfor(Sentence s: sentences) {\n\t\t\tif(!(s.isSatisfiedBy(this))) {\n\t\t\t\treturn Boolean.FALSE;\n\t\t\t}\n\n\t\t}\n\t\treturn Boolean.TRUE;\n\t}", "public boolean isRoot() {\n\t\treturn pathFragments.isEmpty();\n\t}", "@Test\n public void testValidateManifest() {\n KicIngester.validateManifest(new File(SCP_DATA_DIR), \"Manifest\",\n KicIngester.getScpFiles(new File(SCP_DATA_DIR),\n SCP_FILENAME_PATTERN));\n }", "protected final boolean isRoot() {\n return _metaData.isRoot(this);\n }", "private boolean validateXmlStringWithSchema(String xmlString, String xsdFilePath) {\n \tassert xmlString != null && !xmlString.isEmpty();\n \tassert xsdFilePath != null && !xsdFilePath.isEmpty();\n \tassert _schemaFactory != null;\n \tassert _loggerHelper != null;\n \t\n \ttry {\n Schema schema = _schemaFactory.newSchema(new File(xsdFilePath));\n Validator validator = schema.newValidator();\n validator.validate(new StreamSource(new StringReader(xmlString)));\n } catch (IOException | SAXException e) {\n \t_loggerHelper.logError(e.getMessage());\n return false;\n }\n return true;\n\t}", "boolean isPresent(ExamPackage examPackage);", "@java.lang.Override\n public boolean hasAvro() {\n return schemaCase_ == 1;\n }", "@java.lang.Override\n public boolean hasAvro() {\n return schemaCase_ == 1;\n }", "boolean isValid() {\n for (int i = 0; i < SIGNATURE.length; i++) {\n if (mem.getByte(i) != SIGNATURE[i]) {\n // Invalid signature\n return false;\n }\n }\n final int specRev = mem.getByte(6);\n if ((specRev != 0x01) && (specRev != 0x04)) {\n // Invalid specification revision\n return false;\n }\n return true;\n }", "public boolean isValidateDTD()\r\n {\r\n return validateDTD;\r\n }", "@java.lang.Override\n public boolean hasParquet() {\n return schemaCase_ == 4;\n }", "@java.lang.Override\n public boolean hasParquet() {\n return schemaCase_ == 4;\n }", "public boolean hasAnnotatedBusiness(){\r\n\t\tList bus = this.rootDoc.selectNodes(\"a-business\") ;\r\n\t\t\r\n\t\treturn !bus.isEmpty() ;\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\teActorEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\t\teItemEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(eDomainSchemaEClass, EDomainSchema.class, \"EDomainSchema\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDomainSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSchema_Ds(), this.getEDataSchema(), null, \"ds\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eControlSchemaEClass, EControlSchema.class, \"EControlSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEControlSchema_Actor(), this.getEActor(), null, \"actor\", null, 1, -1, EControlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDataSchemaEClass, EDataSchema.class, \"EDataSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDataSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 1, 1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDataSchema_Item(), this.getEItem(), null, \"item\", null, 1, -1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificEntityEClass, EDomainSpecificEntity.class, \"EDomainSpecificEntity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificEntity_CommandPriority(), ecorePackage.getEInt(), \"commandPriority\", null, 0, 1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSpecificEntity_Cmd(), this.getEDomainSpecificCommand(), null, \"cmd\", null, 0, -1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificCommandEClass, EDomainSpecificCommand.class, \"EDomainSpecificCommand\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificCommand_CmdId(), ecorePackage.getEInt(), \"cmdId\", null, 0, 1, EDomainSpecificCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eActorEClass, EActor.class, \"EActor\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEActor_KindInteraction(), this.getECoordinationBehavior(), \"kindInteraction\", null, 0, 1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEActor_TypesControlled(), this.getEDomainSpecificType(), null, \"typesControlled\", null, 0, -1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eItemEClass, EItem.class, \"EItem\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEItem_ArisingBehavior(), this.getEArising(), \"arisingBehavior\", null, 0, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEItem_Type(), this.getEDomainSpecificType(), null, \"type\", null, 1, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificTypeEClass, EDomainSpecificType.class, \"EDomainSpecificType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificType_InteractionBehavior(), this.getEInteractionBehavior(), \"interactionBehavior\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEDomainSpecificType_Cardinality(), this.getECardinality(), \"cardinality\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(eArisingEEnum, EArising.class, \"EArising\");\n\t\taddEEnumLiteral(eArisingEEnum, EArising.STATIC);\n\t\taddEEnumLiteral(eArisingEEnum, EArising.DYNAMIC);\n\n\t\tinitEEnum(eCardinalityEEnum, ECardinality.class, \"ECardinality\");\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.ONE);\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.MANY);\n\n\t\tinitEEnum(eInteractionBehaviorEEnum, EInteractionBehavior.class, \"EInteractionBehavior\");\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.SYNC);\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.ASYNC);\n\n\t\tinitEEnum(eCoordinationBehaviorEEnum, ECoordinationBehavior.class, \"ECoordinationBehavior\");\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.LOCAL);\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.DISTRIBUTED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "private boolean startsWithAny(List<String> packagesToTreatAsOpaque, String qualifiedTypeName) {\n for (String packageName : packagesToTreatAsOpaque) {\n if (!Strings.isNullOrEmpty(packageName) && qualifiedTypeName.startsWith(packageName)) {\n return true;\n }\n }\n return false;\n }", "public boolean loadData() {\n try {\n SAXReader reader = new SAXReader();\n Document xmlDoc = reader.read(xmlFile);\n\n Element rootNode = xmlDoc.getRootElement();\n\n rootTreeIterate(rootNode);\n\n } catch (DocumentException ex) {\n logger.error(\"Document loading error:\", ex);\n return false;\n }\n\n return true;\n }", "public void testSchemaImport2() throws Exception{\r\n File file = new File(Resources.asURI(\"importBase.xsd\"));\r\n //create a DOM document\r\n DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();\r\n documentBuilderFactory.setNamespaceAware(true);\r\n Document doc = documentBuilderFactory.newDocumentBuilder().\r\n parse(file.toURL().toString());\r\n\r\n XmlSchemaCollection schemaCol = new XmlSchemaCollection();\r\n XmlSchema schema = schemaCol.read(doc,file.toURL().toString(),null);\r\n assertNotNull(schema);\r\n\r\n }", "boolean hasDocumentType();", "protected boolean isStructureKnown() {\n\t\ttry {\n\t\t\treturn ((OpenableElementInfo) getElementInfo()).isStructureKnown();\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean hasBasis() {\n return basisBuilder_ != null || basis_ != null;\n }" ]
[ "0.61902076", "0.59932435", "0.58430487", "0.5796366", "0.57719886", "0.571505", "0.5697183", "0.55723894", "0.5533151", "0.55267245", "0.55121875", "0.55043525", "0.549785", "0.54960346", "0.548593", "0.54282665", "0.5426909", "0.5390475", "0.5383275", "0.5350673", "0.5333453", "0.53333336", "0.52929616", "0.5280071", "0.5271046", "0.5260521", "0.5232083", "0.5218855", "0.5212172", "0.51333034", "0.5106523", "0.5104213", "0.51031846", "0.5094901", "0.50853336", "0.506025", "0.5059751", "0.5055177", "0.505465", "0.50467914", "0.50416577", "0.50389826", "0.50314397", "0.50312537", "0.50099033", "0.500939", "0.500122", "0.5000466", "0.49854606", "0.49788457", "0.49724782", "0.49724782", "0.49724782", "0.49724782", "0.49724782", "0.49660316", "0.49660316", "0.49647152", "0.49623486", "0.49616858", "0.49616858", "0.49425694", "0.49251586", "0.49106556", "0.49094114", "0.49059802", "0.489749", "0.48934993", "0.48918468", "0.4877504", "0.48749274", "0.48732448", "0.4866623", "0.4866623", "0.48572007", "0.4854703", "0.48458743", "0.4831912", "0.48299253", "0.48086217", "0.48081374", "0.4801825", "0.47944978", "0.4789257", "0.4788014", "0.47872674", "0.47857657", "0.47774425", "0.47769663", "0.477224", "0.47707063", "0.476893", "0.47607788", "0.47553614", "0.4750753", "0.47495195", "0.47484374", "0.47478664", "0.47423002", "0.47360665", "0.47355375" ]
0.0
-1
This method is used by both the MD and CP Validators. It is used to describe if the root element of the test subject belongs to a valid namespace (IMS or IEEE LOM).
public boolean getIsRootElement() { return mIsRootElement; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRootElementValid() {\r\n\t\tboolean result = false;\r\n\r\n\t\tNode rootNode = mDocument.getDocumentElement();\r\n\t\tString rootNodeName = rootNode.getLocalName();\r\n\t\tString rootNodeNamespace = rootNode.getNamespaceURI();\r\n\r\n\t\tif (rootNodeName.equals(\"manifest\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.24\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t} else if (rootNodeName.equals(\"lom\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.30\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "boolean isSetNamespace();", "public static boolean NamespaceNodeTest(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"NamespaceNodeTest\")) return false;\n if (!nextTokenIs(b, K_NAMESPACE_NODE)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, NAMESPACE_NODE_TEST, null);\n r = consumeTokens(b, 2, K_NAMESPACE_NODE, L_PAR, R_PAR);\n p = r; // pin = 2\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "@Test\n\tpublic void test_TCM__OrgJdomNamespace_getNamespace() {\n\t\tfinal Namespace ns = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attr = new Attribute(\"test\", \"value\", ns);\n\t\tfinal Namespace ns2 = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tassertTrue(\"incorrect Namespace\", attr.getNamespace().equals(ns2));\n\n\t}", "protected boolean isMatchingNamespace(String rootElementNamespace)\n {\n if (namespacePattern != null)\n {\n return namespacePattern.matcher(rootElementNamespace == null ? \"\" : rootElementNamespace).matches();\n }\n else\n {\n return namespace == null ? rootElementNamespace == null : namespace.equals(rootElementNamespace);\n }\n }", "public boolean hasNamespace() {\n return m_namespaces != null && m_namespaces.size() > 0;\n }", "boolean isNamespace(Object object);", "public boolean isNamespaceAware () {\n return true;\n }", "public boolean isNamespaceAware() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.NAMESPACES_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "public final boolean isNamespaceAware() {\n return true;\n }", "public boolean isSetNs() {\n return this.ns != null;\n }", "protected boolean compareNamespace(final XNode y, final ArrayReporter rep) {\n\t\tString ux = getNSUri();\n\t\tString uy = y.getNSUri();\n\t\tif (ux == null) {\n\t\t\tif (uy == null) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} else if (ux.equals(uy)) {\n\t\t\treturn true;\n\t\t}\n\t\t//Namespace differs: &{0} and &{1}\n\t\trep.error(XDEF.XDEF288, getXDPosition(), y.getXDPosition());\n\t\treturn false;\n\t}", "protected static boolean isNamespaceAware(org.w3c.dom.Node node) {\n boolean ret=(node.getLocalName() != null);\n \n if (LOG.isLoggable(Level.FINEST)) {\n LOG.finest(\"Is node \"+node+\" namespace aware? \"+ret);\n LOG.finest(\"nodeName=\"+node.getNodeName());\n LOG.finest(\"localName=\"+node.getLocalName());\n LOG.finest(\"namespace=\"+node.getNamespaceURI());\n } \n \n return (ret);\n }", "private boolean isNamespace(int start, int end) {\n int i;\n int nsLen = end - start;\n int offset = tokenStart - start;\n int tokenLen = tokenEnd - tokenStart;\n\n if (tokenLen < nsLen) {\n return false;\n }\n\n for (i = start; i < end; i++) {\n if (data.charAt(i) != data.charAt(i + offset)) {\n return false;\n }\n }\n\n if (nsLen == tokenLen) {\n return true;\n }\n return data.charAt(i + offset) == '.';\n }", "boolean isNamespaceRunning(String namespace);", "@Test\n\tpublic void test_TCM__String_getNamespaceURI() {\n\t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", namespace);\n\t\tassertTrue(\"incorrect URI\", attribute.getNamespaceURI().equals(\"http://some.other.place\"));\n\n\t}", "private boolean ensureXSDTypeNamespaceMappings(Object obj) {\r\n\t\t\r\n\t\tString targetNamespace = null;\r\n\t\t\r\n\t\tif (obj instanceof XSDNamedComponent ) {\r\n\t\t\tXSDNamedComponent namedComponent = (XSDNamedComponent) obj; \r\n\t\t\ttargetNamespace = namedComponent.getTargetNamespace();\r\n\t\t}\r\n\t\t\r\n\t\tif (targetNamespace == null) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t// Now check if the target namespace has a prefix mappings.\r\n\t\tString prefix = BPELUtils.getNamespacePrefix (modelObject, targetNamespace);\r\n\t\tif (prefix != null) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t// We have to map the namespace to a prefix. \r\n\t\tNamespaceMappingDialog dialog = new NamespaceMappingDialog(getShell(),modelObject);\r\n\t\tdialog.setNamespace( targetNamespace );\r\n\t\t\r\n\t\tif (dialog.open() == Window.CANCEL) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t// define the prefix\r\n\t\tBPELUtils.setPrefix( BPELUtils.getProcess(modelObject), targetNamespace, dialog.getPrefix()); \t\t\r\n\t\t\r\n\t\treturn true;\r\n\t}", "@Override\r\n\t\tpublic boolean hasAttributeNS(String namespaceURI, String localName) throws DOMException\r\n\t\t\t{\n\t\t\t\treturn false;\r\n\t\t\t}", "@Test\n\tpublic void test_TCC___String_String_int_OrgJdomNamespace() {\n {\n \t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n \t\t@SuppressWarnings(\"deprecation\")\n\t\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", Attribute.ID_TYPE.ordinal(), namespace);\n \t\tassertTrue(\"incorrect attribute name\", attribute.getName().equals(\"test\"));\n \t\tassertTrue(\"incoorect attribute value\", attribute.getValue().equals(\"value\"));\n \t\tassertTrue(\"incorrect Namespace\", attribute.getNamespace().equals(namespace));\n\n assertEquals(\"incoorect attribute type\", attribute.getAttributeType(), Attribute.ID_TYPE);\n }\n\n\t\t//now test that the attribute cannot be created with a namespace\n\t\t//without a prefix\n final Namespace defaultNamespace = Namespace.getNamespace(\"http://some.other.place\");\n\t\ttry {\n new Attribute(\"test\", \"value\", defaultNamespace);\n\t\t\tfail(\"allowed creation of attribute with a default namespace\");\n\t\t} catch (final IllegalNameException e) {\n\t\t\t// Do nothing\n\t\t} catch (Exception e) {\n\t\t\tfail(\"Unexpected exception \" + e.getClass());\n\t\t}\n\n\t\ttry {\n new Attribute(\"test\", \"value\", (Namespace)null);\n\t\t} catch (Exception e) {\n \t\tfail(\"didn't handle null attribute namespace\");\n\t\t}\n\t}", "@Test\n\tpublic void test_TCC___String_String_OrgJdomNamespace() {\n {\n \t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n \t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", namespace);\n \t\tassertTrue(\"incorrect attribute name\", attribute.getName().equals(\"test\"));\n \t\tassertTrue(\"incoorect attribute value\", attribute.getValue().equals(\"value\"));\n \t\tassertTrue(\"incorrect Namespace\", attribute.getNamespace().equals(namespace));\n\n assertEquals(\"incoorect attribute type\", attribute.getAttributeType(), Attribute.UNDECLARED_TYPE);\n }\n\n\t\t//now test that the attribute cannot be created with a namespace\n\t\t//without a prefix\n final Namespace defaultNamespace = Namespace.getNamespace(\"http://some.other.place\");\n\t\ttry {\n new Attribute(\"test\", \"value\", defaultNamespace);\n\t\t\tfail(\"allowed creation of attribute with a default namespace\");\n\t\t} catch (final IllegalNameException e) {\n\t\t\t// Do nothing\n\t\t} catch (Exception e) {\n\t\t\tfail(\"Unexpected exception \" + e.getClass());\n\t\t}\n\n\t\ttry {\n new Attribute(\"test\", \"value\", (Namespace)null);\n\t\t} catch (Exception e) {\n \t\tfail(\"didn't handle null attribute namespace\");\n\t\t}\n\t}", "org.apache.xmlbeans.XmlNMTOKEN xgetNamespace();", "java.lang.String getNamespace();", "public boolean isValidateRoot() {\n/* 246 */ return true;\n/* */ }", "@Override\r\n\t\tpublic boolean isDefaultNamespace(String namespaceURI)\r\n\t\t\t{\n\t\t\t\treturn false;\r\n\t\t\t}", "public String getNamespace() {\n\t\treturn EPPNameVerificationMapFactory.NS;\n\t}", "public boolean isValidateRoot() {\n/* 463 */ return true;\n/* */ }", "public static boolean isValidNamespace(CharSequence namespace) {\n if (namespace == null) {\n return false;\n }\n\n int position = 0;\n boolean start = true;\n\n while (position < namespace.length()) {\n char c = namespace.charAt(position++);\n if (start) {\n start = false;\n if (!isValidIdentifierStart(c)) {\n return false;\n }\n } else if (c == '.') {\n start = true;\n } else if (!isValidIdentifierAfterStart(c)) {\n return false;\n }\n }\n\n return !start;\n }", "private static String verifyXPathRoot(String schemaNS, String rootProp) throws XMPException {\n\n\t\tif (schemaNS == null || schemaNS.length() == 0) {\n\t\t\tthrow new XMPException(\"Schema namespace URI is required\", XMPError.BADSCHEMA);\n\t\t}\n\n\t\tif ((rootProp.charAt(0) == '?') || (rootProp.charAt(0) == '@')) {\n\t\t\tthrow new XMPException(\"Top level name must not be a qualifier\", XMPError.BADXPATH);\n\t\t}\n\n\t\tif (rootProp.indexOf('/') >= 0 || rootProp.indexOf('[') >= 0) {\n\t\t\tthrow new XMPException(\"Top level name must be simple\", XMPError.BADXPATH);\n\t\t}\n\n\t\tString prefix = XMPMetaFactory.getSchemaRegistry().getNamespacePrefix(schemaNS);\n\t\tif (prefix == null) {\n\t\t\tthrow new XMPException(\"Unregistered schema namespace URI\", XMPError.BADSCHEMA);\n\t\t}\n\n\t\t// Verify the various URI and prefix combinations. Initialize the\n\t\t// expanded XMPPath.\n\t\tint colonPos = rootProp.indexOf(':');\n\t\tif (colonPos < 0) {\n\t\t\t// The propName is unqualified, use the schemaURI and associated\n\t\t\t// prefix.\n\t\t\tverifySimpleXMLName(rootProp); // Verify the part before any colon\n\t\t\treturn prefix + rootProp;\n\t\t} else {\n\t\t\t// The propName is qualified. Make sure the prefix is legit. Use the associated\n\t\t\t// URI and\n\t\t\t// qualified name.\n\n\t\t\t// Verify the part before any colon\n\t\t\tverifySimpleXMLName(rootProp.substring(0, colonPos));\n\t\t\tverifySimpleXMLName(rootProp.substring(colonPos));\n\n\t\t\tprefix = rootProp.substring(0, colonPos + 1);\n\n\t\t\tString regPrefix = XMPMetaFactory.getSchemaRegistry().getNamespacePrefix(schemaNS);\n\t\t\tif (regPrefix == null) {\n\t\t\t\tthrow new XMPException(\"Unknown schema namespace prefix\", XMPError.BADSCHEMA);\n\t\t\t}\n\t\t\tif (!prefix.equals(regPrefix)) {\n\t\t\t\tthrow new XMPException(\"Schema namespace URI and prefix mismatch\", XMPError.BADSCHEMA);\n\t\t\t}\n\n\t\t\treturn rootProp;\n\t\t}\n\t}", "@Test\n\tpublic void test_TCM__String_getNamespacePrefix() {\n\t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", namespace);\n\t\tassertTrue(\"incorrect prefix\", attribute.getNamespacePrefix().equals(\"prefx\"));\n\t}", "public String getNamespace();", "@org.junit.Test\n public void compElemBadName2() {\n final XQuery query = new XQuery(\n \"(: 3.7.3.1 Computed Element Constructor per XQ.E19 XQDY0096 if namespace URI is 'http://www.w3.org/2000/xmlns/' Mary Holstege :) element { fn:QName(\\\"http://www.w3.org/2000/xmlns/\\\",\\\"error\\\")} {}\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n error(\"XQDY0096\")\n );\n }", "protected void verifyRootElement(String localName, String prefix)\n throws XMLStreamException\n {\n if (isValidating()) {\n /* 17-Mar-2006, TSa: Ideally, this should be a validity\n * problem?\n */\n if (mDtdRootElem != null && mDtdRootElem.length() > 0) {\n String wrongElem = null;\n \n /* Ugh. It is possible that we just don't know the prefix --\n * in repairing mode it's assigned after this check. So for\n * now, let's only verify the local name\n */\n if (localName.equals(mDtdRootElem)) {\n // good\n } else {\n int lnLen = localName.length();\n int oldLen = mDtdRootElem.length();\n \n if (oldLen > lnLen\n && mDtdRootElem.endsWith(localName)\n && mDtdRootElem.charAt(oldLen - lnLen - 1) == ':') {\n // good also\n } else {\n if (prefix == null) { // doesn't and won't have one\n wrongElem = localName;\n } else if (prefix.length() == 0) { // don't know what it'd be\n wrongElem = \"[unknown]:\"+localName;\n } else {\n wrongElem = prefix + \":\" + localName;\n }\n }\n }\n if (wrongElem != null) {\n reportValidationProblem(ErrorConsts.ERR_VLD_WRONG_ROOT, wrongElem, mDtdRootElem);\n }\n }\n }\n mState = STATE_TREE;\n }", "Rule Namespace() {\n // No direct effect on value stack\n return FirstOf(\n ScopedNamespace(),\n PhpNamespace(),\n XsdNamespace());\n }", "@Override\r\n\tpublic String getNamespace() {\n\t\treturn null;\r\n\t}", "protected void validateNamespace(Namespace namespace) throws WikiException {\r\n\t\tcheckLength(namespace.getDefaultLabel(), 200);\r\n\t}", "@org.junit.Test\n public void compElemBadName6() {\n final XQuery query = new XQuery(\n \"(: 3.7.3.1 Computed Element Constructor per XQ.E19 XQDY0096 if namespace prefix is 'xmlns' Mary Holstege :) element { fn:QName(\\\"http://example.com/some-uri\\\",\\\"xmlns:error\\\") } {}\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n error(\"XQDY0096\")\n );\n }", "public String getNamespace()\n/* */ {\n/* 357 */ return this.namespace;\n/* */ }", "public java.lang.String getRootElementNS() {\r\n return rootElementNS;\r\n }", "@Override\r\n\t\tpublic String getNamespaceURI()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "String getNamespace();", "String getNamespace();", "String getNamespace();", "@Override\n\tpublic String getNamespace() {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic String getNamespaceURI() {\n\t\treturn null;\r\n\t}", "private static boolean _inNamespace(Resource resource, String namespace) {\n\t\tString resourceNamespace = resource.getNameSpace();\n\t\t\n\t\tif ( namespace.endsWith(\"/\") || namespace.endsWith(\"#\") ) {\n\t\t\treturn namespace.equals(resourceNamespace);\n\t\t}\n\t\telse {\n\t\t\treturn resourceNamespace != null && namespace.equals(resourceNamespace.replaceAll(\"(/|#)$\", \"\"));\n\t\t}\n\t}", "public AVM2Namespace getAVM2InternalNamespace();", "int getNamespaceUri();", "public boolean namespace() {\n\t\ttry {\n\t\t\tArrayList<String[]> records = dh.getNamespaces();\n\t\t\tif (records != null) {\n\t\t\t\t// System.out.println(\"NAMESPACE RECORDS FOUND\");\n\t\t\t\tint l = records.size();\n\t\t\t\tbyte[] startPacket = (\"NAMESPACE\").getBytes();\n\t\t\t\toos.writeObject(startPacket);\n\t\t\t\t// System.out.println(\"Start packet sent!!!\");\n\t\t\t\tAckThread ack = new AckThread(dh, ois, records);\n\t\t\t\tack.start();\n\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\tString method = records.get(i)[0];\n\t\t\t\t\tString user = records.get(i)[1];\n\t\t\t\t\tString namespace = records.get(i)[2];\n\t\t\t\t\tString permission = records.get(i)[3];\n\t\t\t\t\tString data = method + \"\\n\" + user + \"\\n\" + namespace\n\t\t\t\t\t\t\t+ \"\\n\" + permission;\n\t\t\t\t\tBundle b = new Bundle();\n\t\t\t\t\tb.data = data.getBytes();\n\t\t\t\t\tb.userId = userId;\n\t\t\t\t\tb.transactionId = i;\n\t\t\t\t\tb.bundleType = b.DATA;\n\t\t\t\t\tb.noOfBundles = 1;\n\t\t\t\t\tb.bundleNumber = 0;\n\t\t\t\t\tb.bundleSize = b.data.length;\n\t\t\t\t\tbyte[] bundle = b.getBytes();\n\t\t\t\t\toos.writeObject(bundle);\n\t\t\t\t\toos.flush();\n\t\t\t\t\t// System.out.println(\"Sent bundle -> Transaction id : \" + i\n\t\t\t\t\t// + \" Bundle No. : \" + 0);\n\t\t\t\t}\n\t\t\t\tack.join();\n\t\t\t\tBundle b = new Bundle();\n\t\t\t\tb.userId = userId;\n\t\t\t\tb.transactionId = -1;\n\t\t\t\tb.bundleType = b.STOP;\n\t\t\t\tb.noOfBundles = 1;\n\t\t\t\tb.bundleNumber = -1;\n\t\t\t\tb.bundleSize = 0;\n\t\t\t\tb.data = null;\n\t\t\t\toos.writeObject(b.getBytes());\n\t\t\t\toos.flush();\n\t\t\t\t// System.out.println(\"Sent STOP bundle\");\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isValidateRoot()\r\n\t{\r\n\t\treturn(true);\r\n\t}", "protected final boolean compareNameAndNS(final XNode y\n\t\t, final ArrayReporter rep){\n\t\tif (!getLocalName().equals(y.getLocalName())\n\t\t\t|| getNSUri() != null && !getNSUri().equals(y.getNSUri())\n\t\t\t|| getNSUri() == null && y.getNSUri() != null) {\n\t\t\t//Names differs: &{0} and &{1}\n\t\t\trep.error(XDEF.XDEF289, getXDPosition(), y.getXDPosition());\n\t\t\tcompareNamespace(y, rep);\n\t\t\treturn false;\n\t\t}\n\t\treturn compareNamespace(y, rep);\n\t}", "@Test\r\n public void testParseQName() {\r\n QName qName1 = SpecificationUtil.parseQName(\"{http://mayaa.seasar.org}id\");\r\n assertEquals(\"http://mayaa.seasar.org\", qName1.getNamespaceURI().getValue());\r\n assertEquals(\"id\", qName1.getLocalName());\r\n\r\n QName qName2 = SpecificationUtil.parseQName(\"{ http://mayaa.seasar.org } id \");\r\n assertEquals(\"http://mayaa.seasar.org\", qName2.getNamespaceURI().getValue());\r\n assertEquals(\"id\", qName2.getLocalName());\r\n\r\n try {\r\n SpecificationUtil.parseQName(\"\");\r\n fail();\r\n } catch (IllegalArgumentException e) {\r\n assertEquals(\"\", e.getMessage());\r\n }\r\n\r\n try {\r\n SpecificationUtil.parseQName(\"{foobar\");\r\n fail();\r\n } catch (IllegalArgumentException e) {\r\n assertEquals(\"{foobar\", e.getMessage());\r\n }\r\n\r\n try {\r\n SpecificationUtil.parseQName(\"{foo} \");\r\n fail();\r\n } catch (IllegalArgumentException e) {\r\n assertEquals(\"{foo} \", e.getMessage());\r\n }\r\n\r\n try {\r\n SpecificationUtil.parseQName(\"bar}id\");\r\n fail();\r\n } catch (IllegalArgumentException e) {\r\n assertEquals(\"bar}id\", e.getMessage());\r\n }\r\n }", "public XMLNamespaces() {\n this(libsbmlJNI.new_XMLNamespaces__SWIG_0(), true);\n }", "public int resolveElem(boolean internNsURIs)\n throws WstxException\n {\n if (mSize == 0) {\n throw new IllegalStateException(\"Calling validate() on empty stack.\");\n }\n NsAttributeCollector ac = mAttrCollector;\n\n // Any namespace declarations?\n {\n int nsCount = ac.getNsCount();\n if (nsCount > 0) {\n String [] nsPrefixes = ac.getNsPrefixes();\n TextBuilder nsURIs = ac.getNsURIs();\n for (int i = 0; i < nsCount; ++i) {\n String nsUri = nsURIs.getEntry(i);\n if (internNsURIs && nsUri.length() > 0) {\n nsUri = sInternCache.intern(nsUri);\n }\n /* 28-Jul-2004, TSa: Now we will have default namespaces\n * in there too; they have empty String as prefix\n */\n String prefix = nsPrefixes[i];\n if (prefix == null) {\n prefix = \"\";\n mElements[mSize-(ENTRY_SIZE - IX_DEFAULT_NS)] = nsUri;\n\n /* 18-Jul-2004, TSa: Need to check that 'xml' and 'xmlns'\n * prefixes are not re-defined.\n * !!! Should probably also check that matching URIs are\n * never bound to other prefixes, since that's what\n * Xerces does?\n */\n } else if (prefix == mPrefixXml) {\n if (!nsUri.equals(XMLConstants.XML_NS_URI)) {\n mReporter.throwParseError(ErrorConsts.ERR_NS_REDECL_XML,\n nsUri);\n }\n } else if (prefix == mPrefixXmlns) {\n if (!nsUri.equals(XMLConstants.XMLNS_ATTRIBUTE_NS_URI)) {\n mReporter.throwParseError(ErrorConsts.ERR_NS_REDECL_XMLNS,\n nsUri);\n }\n }\n mNamespaces.addStrings(prefix, nsUri);\n }\n }\n }\n\n // Then, let's set element's namespace, if any:\n String prefix = mElements[mSize-(ENTRY_SIZE - IX_PREFIX)];\n String ns;\n if (prefix == null || prefix.length() == 0) { // use default NS, if any\n ns = mElements[mSize-(ENTRY_SIZE - IX_DEFAULT_NS)];\n } else if (prefix == mPrefixXml) {\n ns = XMLConstants.XML_NS_URI;\n } else {\n // Need to find namespace with the prefix:\n ns = mNamespaces.findLastFromMap(prefix);\n if (ns == null) {\n mReporter.throwParseError(\"Undeclared namespace prefix '\"+prefix+\"'.\");\n }\n }\n mElements[mSize-(ENTRY_SIZE - IX_URI)] = ns;\n\n // And finally, resolve attributes' namespaces too:\n ac.resolveNamespaces(mReporter, mNamespaces);\n \n return CONTENT_ALLOW_MIXED;\n }", "@org.junit.Test\n public void compElemBadName3() {\n final XQuery query = new XQuery(\n \"(: 3.7.3.1 Computed Element Constructor per XQ.E19 XQDY0096 if namespace URI is 'http://www.w3.org/2000/xmlns/' Mary Holstege :) element { fn:QName(\\\"http://www.w3.org/2000/xmlns/\\\",\\\"foo:error\\\")} {}\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n error(\"XQDY0096\")\n );\n }", "@org.junit.Test\n public void compElemBadName4() {\n final XQuery query = new XQuery(\n \"(: 3.7.3.1 Computed Element Constructor per XQ.E19 XQDY0096 if namespace prefix is 'xml' and namespace URI is not 'http://www.w3.org/XML/1998/namespace' Mary Holstege :) element { fn:QName(\\\"http://example.com/not-XML-uri\\\",\\\"xml:error\\\") } {}\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n error(\"XQDY0096\")\n );\n }", "public static boolean NamespaceDecl(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"NamespaceDecl\")) return false;\n if (!nextTokenIs(b, K_DECLARE)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, NAMESPACE_DECL, null);\n r = consumeTokens(b, 2, K_DECLARE, K_NAMESPACE);\n p = r; // pin = 2\n r = r && report_error_(b, NamespacePrefix(b, l + 1));\n r = p && report_error_(b, consumeToken(b, EQUAL)) && r;\n r = p && report_error_(b, URILiteral(b, l + 1)) && r;\n r = p && Separator(b, l + 1) && r;\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "@Override\n\tpublic String getNamespace() {\n\t\treturn InfInnerMsg.class.getName();\n\t}", "public boolean isTargetNamespace(String prefix) {\r\n return prefix.equals(getDefinitions().getTargetNamespace());\r\n }", "@Override\n\tprotected String getNamespace() {\n\t\treturn NAMESPACE;\n\t}", "public String getNamespace() {\n return namespace;\n }", "@Override\n\tpublic String getNamespace() {\n\t\treturn nameSpace;\n\t}", "@Test\n public final void testGetXPathWithNamespace() {\n \n Document testDoc = TestDocHelper.createDocument(\n \"<d:a xmlns:d=\\\"http://test.com\\\"><b/></d:a>\");\n Element docEl = testDoc.getDocumentElement();\n \n //Move to beforeclass method\n XPathFactory xPathFac = XPathFactory.newInstance();\n XPath xpathExpr = xPathFac.newXPath();\n \n testXPathForNode(docEl, xpathExpr);\n testXPathForNode(docEl.getFirstChild(), xpathExpr);\n }", "public interface XMLNode extends XMLElement {\n\t/** Prefix for the XMLSchema namespace. */\n\tfinal static String NS_PREFIX_XSD = \"xsd\";\n\t/** URL of the XMLSchema namespace. */\n\tfinal static String NS_URI_XSD = \"http://www.w3.org/2001/XMLSchema\";\n\t/** Prefix for the XmlSchema-instance namespace. */\n\tfinal static String NS_PREFIX_XSI = \"xsi\";\n\t/** URL of the XmlSchema-instance namespace. */\n\tfinal static String NS_URI_XSI = \"http://www.w3.org/2001/XMLSchema-instance\";\n\t/** The name of the xsi:nil element. */\n\tfinal static String XSI_NIL_NAME = \"nil\";\n\t/** The value of the xsi:nil element if true. */\n\tfinal static String XSI_NIL_TRUE = \"true\";\n\n\t/**\n\t * Get all the attributes of this element.\n\t * \n\t * @return The attributes as a collection of {@link XMLAttributeImpl}\n\t * objects.\n\t */\n\tCollection<XMLAttribute> getAttributes();\n\n\t/**\n\t * Adds an attribute to the element.\n\t * \n\t * @param namespace\n\t * The namespace of the element as a URI - can be null if no\n\t * namespace is to be set.\n\t * @param name\n\t * The name of the attribute.\n\t * @param value\n\t * The value of the attribute.\n\t * @return\n\t */\n\tXMLAttribute addAttribute(String namespace, String name, String value);\n\n\t/**\n\t * Sets the <code>xsi:type</code> attribute for the element.\n\t * \n\t * Note that this basically adds a new attribute called \"type\" in the\n\t * \"http://www.w3.org/2001/XMLSchema-instance\" namespace - it doesn't\n\t * automatically declare this namespace with the \"xsi\" prefix. If the xsi\n\t * prefix is declared with {@link XMLNode#declarePrefix(String, String)}\n\t * method on this element or any higher elements, it this will come out as\n\t * xsi:type.\n\t * \n\t * @param type\n\t * The type, as a string.\n\t */\n\tvoid setType(String type);\n\n\t/**\n\t * Declare a prefix for a namespace URI.\n\t * \n\t * @param prefix\n\t * The prefix name (e.g. \"xsi\").\n\t * @param namespace\n\t * The namespace URI, as a String.\n\t */\n\tvoid declarePrefix(String prefix, String namespace);\n\n\t/**\n\t * Get the name of the element.\n\t * \n\t * @return The name as a string.\n\t */\n\tString getName();\n\n\t/**\n\t * Sets the name of the element.\n\t * \n\t * @param name\n\t * The new name as a string.\n\t */\n\tvoid setName(String name);\n\n\t/**\n\t * Get the namespace URI for this element.\n\t * \n\t * @return The namespace URI, as a String.\n\t */\n\tString getNamespace();\n\n\t/**\n\t * Sets the namespace of this element.\n\t * \n\t * @param namespace\n\t * The namespace URI as a String.\n\t */\n\tvoid setNamespace(String namespace);\n}", "public static boolean DefaultElementNamespaceDecl(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"DefaultElementNamespaceDecl\")) return false;\n if (!nextTokenIs(b, K_DECLARE)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, DEFAULT_ELEMENT_NAMESPACE_DECL, null);\n r = consumeTokens(b, 3, K_DECLARE, K_DEFAULT, K_ELEMENT, K_NAMESPACE);\n p = r; // pin = 3\n r = r && URILiteral(b, l + 1);\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "@org.junit.Test\n public void constrCompelemName2() {\n final XQuery query = new XQuery(\n \"declare namespace foo=\\\"http://www.example.com/foo\\\"; element foo:elem {'text'}\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n assertSerialization(\"<foo:elem xmlns:foo=\\\"http://www.example.com/foo\\\">text</foo:elem>\", false)\n );\n }", "@XmlElement(required = true, name = \"namespace\")\n public String getNamespace() {\n return namespace;\n }", "public boolean validateTimedInstantObservation_ContainedInTimedDomainNamespace(TimedInstantObservation timedInstantObservation, DiagnosticChain diagnostics, Map<Object, Object> context) {\n\t\treturn timedInstantObservation.ContainedInTimedDomainNamespace(diagnostics, context);\n\t}", "public static boolean MarklogicNamespaceAxis(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"MarklogicNamespaceAxis\")) return false;\n if (!nextTokenIs(b, K_NAMESPACE)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, MARKLOGIC_NAMESPACE_AXIS, null);\n r = consumeTokens(b, 2, K_NAMESPACE, COLON_COLON);\n p = r; // pin = 2\n r = r && NodeTest(b, l + 1);\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "public boolean isApplyNamespaces() {\n return applyNamespaces;\n }", "@org.junit.Test\n public void compElemBadName5() {\n final XQuery query = new XQuery(\n \"(: 3.7.3.1 Computed Element Constructor per XQ.E19 XQDY0096 if namespace prefix is not 'xml' and its namespace URI is 'http://www.w3.org/XML/1998/namespace' Mary Holstege :) element { fn:QName(\\\"http://www.w3.org/XML/1998/namespace\\\",\\\"foo:error\\\") } {}\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n error(\"XQDY0096\")\n );\n }", "public String getNamespace() {\n return EPPSecDNSExtFactory.NS;\n }", "@Test\n \tpublic void whereClauseForNodeNamespace() {\n \t\tnode23.setNamespace(\"namespace\");\n \t\tcheckWhereCondition(join(\"=\", \"_node23.namespace\", \"'namespace'\"));\n \t}", "public Boolean isRootNode();", "public void setRootElementNS(java.lang.String rootElementNS) {\r\n this.rootElementNS = rootElementNS;\r\n }", "private NamespaceHelper() {}", "public void testGetNamespaceURI() throws RepositoryException {\n String result = \"namespace\" ;\n String prefix =\"prefix\";\n \n sessionControl.expectAndReturn(session.getNamespaceURI(prefix), result);\n sessionControl.replay();\n sfControl.replay();\n \n assertSame(jt.getNamespaceURI(prefix), result);\n }", "String getNamespaceStringValue(Object ns);", "public interface NSURIResolver extends URIResolver {\n \n /**\n * Called by the processor when it encounters\n * an xsl:include, xsl:import, or document() function and the \n * object can not be resolved by the its relative path.\n * (javax.xml.transform.URIResolver.resolve(String href, String base) \n * has returned null)\n * \n * \n * @param tartgetNamespace of the imported schema.\n *\n * @return A Source object, or null if the namespace cannot be resolved.\n * \n * @throws TransformerException if an error occurs when trying to\n * resolve the URI.\n */\n public Source resolveByNS(String tartgetNamespace)\n throws TransformerException;\n\n}", "@Override\n protected void initializeNamespaces() {\n\n cds.nsUriToPrefixMap.put(XMI_NS_URI, XMI_NS_PREFIX);\n\n // Add any namespace prefix mappings used by out of type system data.\n // Need to do this before the in-typesystem namespaces so that the prefix\n // used here are reserved and won't be reused for any in-typesystem namespaces.\n\n if (cds.sharedData != null) {\n Iterator<OotsElementData> ootsIter = cds.sharedData.getOutOfTypeSystemElements().iterator();\n while (ootsIter.hasNext()) {\n OotsElementData oed = ootsIter.next();\n String nsUri = oed.elementName.nsUri; // http://... etc\n String qname = oed.elementName.qName; // xxx:yyy\n String localName = oed.elementName.localName; // yyy\n String prefix = qname.substring(0, qname.indexOf(localName) - 1); // xxx\n cds.nsUriToPrefixMap.put(nsUri, prefix);\n cds.nsPrefixesUsed.add(prefix);\n }\n }\n\n /*\n * Convert x.y.z.TypeName to prefix-uri, TypeName, and ns:TypeName\n */\n Iterator<Type> it = cds.tsi.getTypeIterator();\n while (it.hasNext()) {\n TypeImpl t = (TypeImpl) it.next();\n // this also populates the nsUriToPrefix map\n cds.typeCode2namespaceNames[t.getCode()] = uimaTypeName2XmiElementName(t.getName());\n }\n }", "private boolean checkDuplicateNamespace(NamespaceDefinition def) {\n \n // create structures if not already done\n if (m_namespaces == null) {\n m_namespaces = new ArrayList();\n m_uriMap = new HashMap();\n }\n \n // check for conflict (or duplicate) definition\n String uri = def.getUri();\n NamespaceDefinition prior = (NamespaceDefinition)m_uriMap.get(uri);\n return prior != null && (prior.getPrefix() != null || def.getPrefix() == null);\n }", "@Test\n\tpublic void test_TCM__String_getQualifiedName() {\n final String prefix = \"prefx\";\n final String uri = \"http://some.other.place\";\n\n final Namespace namespace = Namespace.getNamespace(prefix, uri);\n\n final String attributeName = \"test\";\n final String attributeQName = prefix + ':' + attributeName;\n final String attributeValue = \"value\";\n\n final Attribute qulifiedAttribute = new Attribute(attributeName, attributeValue, namespace);\n assertEquals(\"incorrect qualified name\", qulifiedAttribute.getQualifiedName(), attributeQName);\n\n final Attribute attribute = new Attribute(attributeName, attributeValue);\n assertEquals(\"incorrect qualified name\", attribute.getQualifiedName(), attributeName);\n\n\t}", "public void setNamespace(String namespace) {\n\t\t\r\n\t}", "@DOMSupport(DomLevel.TWO)\r\n @BrowserSupport({BrowserType.FIREFOX_2P, BrowserType.OPERA_9P})\r\n @Function Element createElementNS(String namespaceURI, String qualifiedName);", "protected boolean isMatchingElement(String uri, String localName) {\n return (uri.equals(this.uri) && localName.equals(this.localName)) ||\n (parentMatchLevel > 0 &&\n ((uri.equals(URI_RDF) && localName.equals(LOCAL_NAME_RDF_BAG)) ||\n (uri.equals(URI_RDF) && localName.equals(LOCAL_NAME_RDF_LI))));\n }", "public boolean isRootContextNode();", "private static void checkNSCompat(XSElementDecl elem, int min1, int max1, XSWildcardDecl wildcard, int min2, int max2, boolean checkWCOccurrence) throws XMLSchemaException {\n/* 1173 */ if (checkWCOccurrence && !checkOccurrenceRange(min1, max1, min2, max2)) {\n/* 1174 */ throw new XMLSchemaException(\"rcase-NSCompat.2\", new Object[] { elem.fName, \n/* */ \n/* */ \n/* 1177 */ Integer.toString(min1), (max1 == -1) ? \"unbounded\" : \n/* 1178 */ Integer.toString(max1), \n/* 1179 */ Integer.toString(min2), (max2 == -1) ? \"unbounded\" : \n/* 1180 */ Integer.toString(max2) });\n/* */ }\n/* */ \n/* */ \n/* 1184 */ if (!wildcard.allowNamespace(elem.fTargetNamespace)) {\n/* 1185 */ throw new XMLSchemaException(\"rcase-NSCompat.1\", new Object[] { elem.fName, elem.fTargetNamespace });\n/* */ }\n/* */ }", "public java.lang.String getNameSpaceURI()\n {\n return nsURI;\n }", "public java.lang.String getNameSpaceURI()\n {\n return nsURI;\n }", "public java.lang.String getNameSpaceURI()\n {\n return nsURI;\n }", "String getAttributeNamespaceUri(Object attr);", "@Test\n public void verifyReservedNS() throws IOException {\n NamespaceDescriptor ns = TestNamespace.admin.getNamespaceDescriptor(DEFAULT_NAMESPACE.getName());\n Assert.assertNotNull(ns);\n Assert.assertEquals(ns.getName(), DEFAULT_NAMESPACE.getName());\n ns = TestNamespace.admin.getNamespaceDescriptor(SYSTEM_NAMESPACE.getName());\n Assert.assertNotNull(ns);\n Assert.assertEquals(ns.getName(), SYSTEM_NAMESPACE.getName());\n Assert.assertEquals(2, TestNamespace.admin.listNamespaceDescriptors().length);\n // verify existence of system tables\n Set<TableName> systemTables = Sets.newHashSet(META_TABLE_NAME);\n HTableDescriptor[] descs = TestNamespace.admin.listTableDescriptorsByNamespace(SYSTEM_NAMESPACE.getName());\n Assert.assertEquals(systemTables.size(), descs.length);\n for (HTableDescriptor desc : descs) {\n Assert.assertTrue(systemTables.contains(desc.getTableName()));\n }\n // verify system tables aren't listed\n Assert.assertEquals(0, TestNamespace.admin.listTables().length);\n // Try creating default and system namespaces.\n boolean exceptionCaught = false;\n try {\n TestNamespace.admin.createNamespace(DEFAULT_NAMESPACE);\n } catch (IOException exp) {\n TestNamespace.LOG.warn(exp.toString(), exp);\n exceptionCaught = true;\n } finally {\n Assert.assertTrue(exceptionCaught);\n }\n exceptionCaught = false;\n try {\n TestNamespace.admin.createNamespace(SYSTEM_NAMESPACE);\n } catch (IOException exp) {\n TestNamespace.LOG.warn(exp.toString(), exp);\n exceptionCaught = true;\n } finally {\n Assert.assertTrue(exceptionCaught);\n }\n }", "public String getNamespace() {\n return namespace;\n }", "public String getNamespace() {\n return namespace;\n }", "public String getNamespace() {\n return namespace;\n }", "private String getNamespace(Package pkg) {\n/* */ String nsUri;\n/* 223 */ if (pkg == null) return \"\";\n/* */ \n/* */ \n/* 226 */ XmlNamespace ns = pkg.<XmlNamespace>getAnnotation(XmlNamespace.class);\n/* 227 */ if (ns != null) {\n/* 228 */ nsUri = ns.value();\n/* */ } else {\n/* 230 */ nsUri = \"\";\n/* 231 */ } return nsUri;\n/* */ }", "public boolean isAddNamespaceToRequest() {\n return addNamespaceToRequest;\n }", "@BeforeClass\n public static void externalSchemaCheck() {\n assumeTrue(\"can access \" + NameSpace.DC.xsd, canConnect(NameSpace.DC.xsd));\n }", "public String getNamespace()\n {\n return NAMESPACE;\n }", "public String getNamespaceURI() {\n return this.namespaceUri;\n }", "Rule XsdNamespace() {\n return Sequence(\n \"xsd_namespace\",\n Literal(),\n actions.pushXsdNamespaceNode());\n }", "public void test_der_02() {\n String SOURCE=\n \"<?xml version='1.0'?>\" +\n \"<!DOCTYPE owl [\" +\n \" <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' >\" +\n \" <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#' >\" +\n \" <!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#' >\" +\n \" <!ENTITY owl 'http://www.w3.org/2002/07/owl#' >\" +\n \" <!ENTITY dc 'http://purl.org/dc/elements/1.1/' >\" +\n \" <!ENTITY base 'http://jena.hpl.hp.com/test' >\" +\n \" ]>\" +\n \"<rdf:RDF xmlns:owl ='&owl;' xmlns:rdf='&rdf;' xmlns:rdfs='&rdfs;' xmlns:dc='&dc;' xmlns='&base;#' xml:base='&base;'>\" +\n \" <owl:ObjectProperty rdf:ID='hasPublications'>\" +\n \" <rdfs:domain>\" +\n \" <owl:Class>\" +\n \" <owl:unionOf rdf:parseType='Collection'>\" +\n \" <owl:Class rdf:about='#Project'/>\" +\n \" <owl:Class rdf:about='#Task'/>\" +\n \" </owl:unionOf>\" +\n \" </owl:Class>\" +\n \" </rdfs:domain>\" +\n \" <rdfs:domain rdf:resource='#Dummy' />\" +\n \" <rdfs:range rdf:resource='#Publications'/>\" +\n \" </owl:ObjectProperty>\" +\n \" <owl:Class rdf:ID='Dummy'>\" +\n \" </owl:Class>\" +\n \"</rdf:RDF>\";\n String NS = \"http://jena.hpl.hp.com/test#\";\n OntModel m = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM, null);\n m.read(new ByteArrayInputStream( SOURCE.getBytes()), NS );\n \n OntClass dummy = m.getOntClass( NS + \"Dummy\" );\n // assert commented out - bug not accepted -ijd\n //TestUtil.assertIteratorValues( this, dummy.listDeclaredProperties(), \n // new Object[] {m.getObjectProperty( NS+\"hasPublications\")} );\n }" ]
[ "0.6740484", "0.6719493", "0.63395345", "0.62469625", "0.62013084", "0.6154549", "0.61101514", "0.6083445", "0.6003513", "0.6003259", "0.59836316", "0.58157295", "0.579859", "0.5727624", "0.5684898", "0.56797194", "0.56428564", "0.563989", "0.5580624", "0.5571277", "0.5569416", "0.5565446", "0.5510139", "0.54915446", "0.5480713", "0.54774374", "0.54499876", "0.54378486", "0.54219943", "0.5414532", "0.53953856", "0.5375862", "0.53528917", "0.53442144", "0.53238076", "0.527057", "0.5265041", "0.52634543", "0.52604747", "0.52580786", "0.52580786", "0.52580786", "0.52541184", "0.52378505", "0.5230036", "0.5225646", "0.5225559", "0.5222678", "0.5213422", "0.51950186", "0.51896375", "0.51685566", "0.51620376", "0.5160018", "0.515178", "0.51337326", "0.5126575", "0.5121048", "0.5081965", "0.50680786", "0.5066412", "0.5053055", "0.50438213", "0.5036766", "0.50333065", "0.50101584", "0.5008277", "0.5005921", "0.49912775", "0.49772444", "0.49648887", "0.4959974", "0.49576607", "0.49536464", "0.49523634", "0.4950593", "0.49412146", "0.49407765", "0.49401027", "0.49310374", "0.49280718", "0.49175385", "0.49112308", "0.49078974", "0.4902049", "0.49011844", "0.48939395", "0.48939395", "0.48939395", "0.4887571", "0.48836675", "0.48771483", "0.48771483", "0.48771483", "0.48761746", "0.48685202", "0.48682806", "0.48587474", "0.4856667", "0.48481935", "0.484614" ]
0.0
-1
This method returns whether or not the XML instance was valid to the application profile checks. The value false indicates that the XML instance is not valid to the application profiles, true indicates that the XML instance is valid to the application profiles.
public boolean getIsValidToApplicationProfile() { return mIsValidToApplicationProfile; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isValid() {\n try {\n validate();\n } catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "protected boolean isValid() {\n \t\treturn valid;\n \t}", "public boolean isValidating() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.VALIDATION_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "public boolean isValid()\r\n {\r\n //Override this method in MediaItem object\r\n return getSemanticObject().getBooleanProperty(swb_valid,false);\r\n }", "public boolean isValid() {\n \t\treturn valid;\n \t}", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\r\n\t\treturn isValid;\r\n\t}", "public boolean isValid() {\n\t\treturn false;\n\t}", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n return isValid;\n }", "public boolean isValid() {\n return isValid;\n }", "public boolean isValid() {\n\t\treturn valid;\n\t}", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean isValid()\n {\n return valid;\n }", "public boolean isValid(){\r\n\t\t\r\n\t\t// TODO\r\n\t\t\r\n\t\treturn true;\r\n\t}", "public boolean isValid() {\n return instance != null;\n }", "public boolean isValid(){\n\t\treturn valid;\n\t}", "public boolean isValid(){\n\t\treturn true;\n\t}", "public boolean isValid() {\n return true;\n }", "public boolean isValid()\n\t{\n\t\treturn false;\n\t}", "public boolean isValid()\n {\n return valid;\n }", "public Boolean valid() {\n return valid;\n }", "public boolean valid() {\n return valid;\n }", "public boolean isValid() {\n\t\treturn(m_valid);\n\t}", "public boolean isValid() {\n \t\treturn fValid;\n \t}", "protected boolean isValid()\r\n {\r\n \treturn true;\r\n }", "public boolean isValidate() {\r\r\r\r\r\r\n return validate;\r\r\r\r\r\r\n }", "public boolean isValid() {\n // TODO: Question 2.2.\n \n return false;\n }", "public Boolean getValid() {\n\t\treturn valid;\n\t}", "public boolean wasValid() {\n return !wasInvalid();\n }", "public boolean isValid() {\n return this.validate().isEmpty();\n }", "public boolean isValidated() throws Exception\r\n {\n return false;\r\n }", "protected boolean isValidating() {\n return (mValidator != null);\n }", "Boolean getIsValid();", "@Override\n\t\tpublic boolean isValid() {\n\t\t\treturn false;\n\t\t}", "@java.lang.Override\n public boolean getValid() {\n return valid_;\n }", "public boolean isValid()\n {\n synchronized (lock)\n {\n return valid;\n }\n }", "boolean getValid();", "public boolean isValid();", "public boolean isValid();", "public boolean isValid();", "public boolean isValid();", "public boolean isValid();", "public boolean isValidated(){\n return getValidatedFlag();\n }", "public final boolean isValidate() {\n\t\treturn validate;\n\t}", "@java.lang.Override\n public boolean getValid() {\n return valid_;\n }", "boolean valid() {\n return true;\n }", "boolean valid() {\n return true;\n }", "boolean valid() {\n return true;\n }", "public boolean valid()\r\n\t{\r\n\t\treturn valid(getInputStream());\r\n\t}", "public boolean validate() {\n return true;\n }", "public boolean validate() {\n return true;\n }", "@Override\r\n\tpublic boolean isValid() {\n\t\treturn false;\r\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "public String getIsValid() {\n return isValid;\n }", "public boolean isUserSettingsOK() {\r\n return (userSettings != null && userSettings.isValid());\r\n }", "public Boolean isValid() {\n if (modApptTitle.getText().isEmpty() || modApptTitle.getText() == null) {\n return false;\n } else if (modApptDescript.getText().isEmpty() || modApptDescript.getText() == null) {\n return false;\n } else if (modApptLocale.getText().isEmpty() || modApptLocale.getText() == null) {\n return false;\n }\n return true;\n }", "public boolean validate(){\n return true;\n }", "public boolean isValid() {\r\n\treturn bValid;\r\n}", "private boolean validate() {\r\n\t\ttry {\r\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\t//validate the schema\r\n\t\t\tdbFactory.setValidating(true);\r\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\r\n\t\t\t//handling errors\r\n\t\t\tdBuilder.setErrorHandler(new ErrorHandler() {\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void error(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void fatalError(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void warning(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t\tFile file = new File(tempPath);\r\n\t\t\tFileInputStream fis = new FileInputStream(file);\r\n\t\t\tDocument doc = dBuilder.parse(fis);\r\n\t\t\t//if it matches the schema then parse the temp xml file into the original xml file\r\n\t\t\tdoc.setXmlStandalone(true);\r\n\t\t\tTransformerFactory tf = TransformerFactory.newInstance();\r\n\t\t\tTransformer transformer = tf.newTransformer();\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"ISO-8859-1\");\r\n\t\t\tDOMImplementation domImp = doc.getImplementation();\r\n\t\t\tDocumentType docType = domImp.createDocumentType(\"doctype\", \"SYSTEM\", new File(path).getName().substring(0, new File(path).getName().length() - 4) + \".dtd\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, docType.getSystemId());\r\n\t\t\tDOMSource domSource = new DOMSource(doc);\r\n\t\t\tFileOutputStream fos = new FileOutputStream(new File(path));\r\n\t\t\ttransformer.transform(domSource, new StreamResult(fos));\r\n\t\t\tfos.close();\r\n\t\t\tfis.close();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tcatch (ParserConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new ParserConfigurationException();\r\n\t\t\t} catch (RuntimeException | ParserConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerConfigurationException();\r\n\t\t\t} catch (RuntimeException | TransformerConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerException(e);\r\n\t\t\t} catch (RuntimeException | TransformerException err) {\r\n\t\t\t}\r\n\t\t} catch (SAXException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new SAXException();\r\n\t\t\t} catch (RuntimeException | SAXException err) {\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IOException();\r\n\t\t\t} catch (RuntimeException | IOException err) {\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "boolean getValidSettings();", "public boolean valid() {\n\t\treturn _analyzer.valid();\n\t}", "public boolean isValidUser() {\n\t\treturn _isValid;\n\t}", "public boolean getValidation() {\n return validate;\n }", "public boolean validatePageElements() {\n boolean nameCheck = name.isDisplayed() && name.isEnabled();\n boolean emailCheck = email.isDisplayed() && email.isEnabled();\n boolean passwordCheck = password.isDisplayed() && password.isEnabled();\n boolean signupGoogleCheck = signupGoogle.isDisplayed() && signupGoogle.isEnabled();\n boolean signupSlackCheck = signupSlack.isDisplayed() && signupSlack.isEnabled();\n boolean signupOutlookCheck = signupOutlook.isDisplayed() && signupOutlook.isEnabled();\n boolean signupAppleCheck = signupApple.isDisplayed() && signupApple.isEnabled();\n boolean signupFacebookCheck = signupFacebook.isDisplayed() && signupFacebook.isEnabled();\n boolean logoCheck = miroLogo.isDisplayed();\n\n return nameCheck && emailCheck && passwordCheck && signupGoogleCheck && signupSlackCheck && signupOutlookCheck && signupAppleCheck && signupFacebookCheck && logoCheck;\n\n }", "public boolean isValid ( ) {\n\t\treturn extract ( handle -> handle.isValid ( ) );\n\t}", "public boolean getIsValidToSchema() {\r\n\t\treturn mIsValidToSchema;\r\n\t}", "public boolean isRootElementValid() {\r\n\t\tboolean result = false;\r\n\r\n\t\tNode rootNode = mDocument.getDocumentElement();\r\n\t\tString rootNodeName = rootNode.getLocalName();\r\n\t\tString rootNodeNamespace = rootNode.getNamespaceURI();\r\n\r\n\t\tif (rootNodeName.equals(\"manifest\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.24\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t} else if (rootNodeName.equals(\"lom\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.30\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public boolean getValidity();", "public boolean isValidated()\n {\n if (noRadio.isSelected())\n {\n parent.exit();\n return false;\n }\n return (yesRadio.isSelected());\n }", "public boolean isValid()\r\n {\r\n \treturn this.vp.data != null;\r\n }", "public boolean isPageValid() {\n boolean isValid = false;\n try {\n pageValidator.assertAll();\n isValid = true;\n } catch (AssertionError error) {\n isValid = false;\n }\n return isValid;\n }", "public boolean getIsValid() {\n return projectName != null && packageName != null && !projectName.isEmpty() && !packageName.isEmpty();\n }", "protected boolean isValid() {\n if (!bean.getValidation().equals(TURRING_TEST)) {\n Notification.show(msgs.getMessage(ERROR_VALIDATION), Notification.Type.ERROR_MESSAGE);\n return false;\n }\n if (!bean.getPassword().equals(bean.getPasswordRepeat())) {\n Notification.show(msgs.getMessage(ERROR_PASSWORDS_DOESNT_MATCH), Notification.Type.ERROR_MESSAGE);\n password.setValue(\"\");\n passwordRepeat.setValue(\"\");\n return false;\n }\n if (usersService.getUserByUsername(bean.getUsername()) != null) {\n Notification.show(msgs.getMessage(ERROR_USERNAME_USED), Notification.Type.ERROR_MESSAGE);\n return false;\n }\n Pattern p = Pattern.compile(\"[^a-z0-9]\", Pattern.CASE_INSENSITIVE);\n Matcher m = p.matcher(bean.getUsername());\n boolean b = m.find();\n if(b){\n Notification.show(msgs.getMessage(\"username\")+\" \" + msgs.getMessage(\"error.special-char\")+\"\\n\", msgs.getMessage(\"error.special-char.correct\"), Notification.Type.ERROR_MESSAGE);\n return false;\n }\n return true;\n }", "boolean valid() {\n boolean valid = true;\n\n if (!isAgencyLogoPathValid()) {\n valid = false;\n }\n if (!isMemFieldValid()) {\n valid = false;\n }\n if (!isLogNumFieldValid()) {\n valid = false;\n }\n\n return valid;\n }", "public boolean isValid(){\n\t\treturn this.arm.isValid();\n\t}", "public boolean validate() {\n\t\tfor(int i=0; i<sensorData.size(); i++) {\n\t\t\tif(!sensorData.get(i).isValid()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "boolean isValid() {\n for (int i = 0; i < SIGNATURE.length; i++) {\n if (mem.getByte(i) != SIGNATURE[i]) {\n // Invalid signature\n return false;\n }\n }\n final int specRev = mem.getByte(6);\n if ((specRev != 0x01) && (specRev != 0x04)) {\n // Invalid specification revision\n return false;\n }\n return true;\n }", "public String isValid() {\n\t\treturn null;\n\t}", "public boolean valid() {\n return start != null && ends != null && weavingRegion != null;\n }", "protected abstract boolean isValid();", "@Override\n\tpublic boolean validObject() {\n\t\treturn valid;\n\t}", "public boolean isValid() {\n\t\tif(username == null)\n\t\t\treturn false;\n\t\telse if(createdAt == null)\n\t\t\treturn false;\n\t\telse if(updatedAt == null)\n\t\t\treturn false;\n\t\t\n\t\treturn true;\n\t}", "public String getValid() {\n return valid;\n }", "public boolean isValid() {\n\t\tString status = getField(Types.STATUS);\n\t\tif(status == null) return false;\n\t\treturn StringUtil.equalsIgnoreCase(status,\"A\") && !loc.isNull();\n\t}", "public boolean isValid() {\n return (identifier != null) || version.getVersion().equals(\"0.1\");\n }", "boolean isValid();" ]
[ "0.7301523", "0.71730775", "0.71730775", "0.71730775", "0.71730775", "0.71730775", "0.71585953", "0.71585953", "0.66407883", "0.6639657", "0.66323614", "0.6611194", "0.6541959", "0.65295", "0.65295", "0.65214753", "0.6518685", "0.6515462", "0.6497396", "0.6497396", "0.64777625", "0.6468852", "0.6468852", "0.6468852", "0.64594704", "0.645417", "0.64520544", "0.64519405", "0.6446003", "0.644547", "0.6416231", "0.6399926", "0.6386103", "0.6381073", "0.6360073", "0.6354381", "0.62921274", "0.62384456", "0.6189211", "0.61743015", "0.61689764", "0.61527896", "0.6148565", "0.6132986", "0.61302346", "0.61295813", "0.61236453", "0.61015034", "0.60776097", "0.6057119", "0.6057119", "0.6057119", "0.6057119", "0.6057119", "0.60436124", "0.6041848", "0.60037893", "0.5997006", "0.5997006", "0.5997006", "0.5953341", "0.5951104", "0.5951104", "0.59484065", "0.59446645", "0.59446645", "0.59446645", "0.5893864", "0.58762974", "0.5863795", "0.58466315", "0.5816677", "0.5812684", "0.58123064", "0.58073395", "0.5783169", "0.5770394", "0.5770098", "0.57662374", "0.57620597", "0.5757586", "0.5754279", "0.57478905", "0.57464045", "0.5742187", "0.57118756", "0.570905", "0.57078207", "0.5691619", "0.568342", "0.5675824", "0.5673691", "0.5672501", "0.5665149", "0.5656378", "0.5649621", "0.5648399", "0.564476", "0.5643698", "0.5641546" ]
0.70036906
8
This method returns whether or not the XML instance was valid to the schema. The value false indicates that the XML instance is not valid against the controlling documents, true indicates that the XML instance is valid against the controlling documents.
public boolean getIsValidToSchema() { return mIsValidToSchema; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isValid() {\n try {\n validate();\n } catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValidating() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.VALIDATION_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "private boolean validate() {\r\n\t\ttry {\r\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\t//validate the schema\r\n\t\t\tdbFactory.setValidating(true);\r\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\r\n\t\t\t//handling errors\r\n\t\t\tdBuilder.setErrorHandler(new ErrorHandler() {\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void error(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void fatalError(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void warning(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t\tFile file = new File(tempPath);\r\n\t\t\tFileInputStream fis = new FileInputStream(file);\r\n\t\t\tDocument doc = dBuilder.parse(fis);\r\n\t\t\t//if it matches the schema then parse the temp xml file into the original xml file\r\n\t\t\tdoc.setXmlStandalone(true);\r\n\t\t\tTransformerFactory tf = TransformerFactory.newInstance();\r\n\t\t\tTransformer transformer = tf.newTransformer();\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"ISO-8859-1\");\r\n\t\t\tDOMImplementation domImp = doc.getImplementation();\r\n\t\t\tDocumentType docType = domImp.createDocumentType(\"doctype\", \"SYSTEM\", new File(path).getName().substring(0, new File(path).getName().length() - 4) + \".dtd\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, docType.getSystemId());\r\n\t\t\tDOMSource domSource = new DOMSource(doc);\r\n\t\t\tFileOutputStream fos = new FileOutputStream(new File(path));\r\n\t\t\ttransformer.transform(domSource, new StreamResult(fos));\r\n\t\t\tfos.close();\r\n\t\t\tfis.close();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tcatch (ParserConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new ParserConfigurationException();\r\n\t\t\t} catch (RuntimeException | ParserConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerConfigurationException();\r\n\t\t\t} catch (RuntimeException | TransformerConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerException(e);\r\n\t\t\t} catch (RuntimeException | TransformerException err) {\r\n\t\t\t}\r\n\t\t} catch (SAXException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new SAXException();\r\n\t\t\t} catch (RuntimeException | SAXException err) {\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IOException();\r\n\t\t\t} catch (RuntimeException | IOException err) {\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\r\n\t\treturn isValid;\r\n\t}", "public boolean isValid() {\n \t\treturn valid;\n \t}", "public boolean isValid() {\n\t\treturn valid;\n\t}", "protected boolean isValid() {\n \t\treturn valid;\n \t}", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean isValid()\n {\n return valid;\n }", "public boolean isValid(){\r\n\t\t\r\n\t\t// TODO\r\n\t\t\r\n\t\treturn true;\r\n\t}", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n\t\treturn false;\n\t}", "public boolean isValid() {\n return isValid;\n }", "public boolean isValid() {\n return isValid;\n }", "public boolean isValid(){\n\t\treturn valid;\n\t}", "public boolean isValid() {\n \t\treturn fValid;\n \t}", "public boolean isValid(){\n\t\treturn true;\n\t}", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "public boolean isValid() {\n\t\treturn(m_valid);\n\t}", "public boolean isValid()\n\t{\n\t\treturn false;\n\t}", "public boolean isValid()\n {\n return valid;\n }", "public boolean valid() {\n return valid;\n }", "public boolean isValid()\r\n {\r\n //Override this method in MediaItem object\r\n return getSemanticObject().getBooleanProperty(swb_valid,false);\r\n }", "public Boolean valid() {\n return valid;\n }", "public boolean isValid() {\n // TODO: Question 2.2.\n \n return false;\n }", "public boolean validate() {\n return true;\n }", "public boolean validate() {\n return true;\n }", "protected boolean isValid()\r\n {\r\n \treturn true;\r\n }", "public boolean isValid() {\n return instance != null;\n }", "protected boolean isValidating() {\n return (mValidator != null);\n }", "public boolean wasValid() {\n return !wasInvalid();\n }", "public boolean isValid() {\n return this.validate().isEmpty();\n }", "Boolean getIsValid();", "public boolean isValidate() {\r\r\r\r\r\r\n return validate;\r\r\r\r\r\r\n }", "public Boolean getValid() {\n\t\treturn valid;\n\t}", "public final boolean isValidate() {\n\t\treturn validate;\n\t}", "public boolean isValid ( ) {\n\t\treturn extract ( handle -> handle.isValid ( ) );\n\t}", "@Override\n\t\tpublic boolean isValid() {\n\t\t\treturn false;\n\t\t}", "public boolean isValid();", "public boolean isValid();", "public boolean isValid();", "public boolean isValid();", "public boolean isValid();", "@java.lang.Override\n public boolean getValid() {\n return valid_;\n }", "public boolean valid()\r\n\t{\r\n\t\treturn valid(getInputStream());\r\n\t}", "public boolean isValid()\n {\n synchronized (lock)\n {\n return valid;\n }\n }", "public boolean isRootElementValid() {\r\n\t\tboolean result = false;\r\n\r\n\t\tNode rootNode = mDocument.getDocumentElement();\r\n\t\tString rootNodeName = rootNode.getLocalName();\r\n\t\tString rootNodeNamespace = rootNode.getNamespaceURI();\r\n\r\n\t\tif (rootNodeName.equals(\"manifest\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.24\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t} else if (rootNodeName.equals(\"lom\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.30\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "boolean getValid();", "public boolean valid() {\n\t\treturn _analyzer.valid();\n\t}", "private static boolean verifyXML(String fileName) throws IOException {\n\t\tSchemaFactory sf = SchemaFactory.newInstance(W3C_XML_SCHEMA);\n\t\tStreamSource xsdFile = new StreamSource(ResourceUtils.getResourceStream(XSD_FILE_PATH));\n\t\tStreamSource xmlFile = new StreamSource(new File(fileName));\n\t\tboolean validXML = false;\n\t\ttry {\n\t\t\tSchema schema = sf.newSchema(xsdFile);\n\t\t\tValidator validator = schema.newValidator();\n\t\t\ttry {\n\t\t\t\tvalidator.validate(xmlFile);\n\t\t\t\tvalidXML = true;\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (!validXML) {\n\t\t\t\tnew IOException(\"File isn't valid against the xsd\");\n\t\t\t}\n\t\t} catch (SAXException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\txsdFile.getInputStream().close();\n\t\t\t// When using a file, this may be null\n\t\t\tif (xmlFile.getInputStream() != null)\n\t\t\t\txmlFile.getInputStream().close();\n\t\t}\n\t\treturn validXML;\n\t}", "public boolean isValid() {\n //primary variables must have proper values to identify the Book with\n if (this.author == null || this.title == null || dop == 0) {\n return false;\n }\n return true;\n }", "@java.lang.Override\n public boolean getValid() {\n return valid_;\n }", "public boolean isValidateDTD()\r\n {\r\n return validateDTD;\r\n }", "@Override\r\n\tpublic boolean isValid() {\n\t\treturn false;\r\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "public boolean isValidated(){\n return getValidatedFlag();\n }", "@Override\n\tpublic boolean validObject() {\n\t\treturn valid;\n\t}", "public boolean isValidated() throws Exception\r\n {\n return false;\r\n }", "boolean valid() {\n boolean valid = true;\n\n if (!isAgencyLogoPathValid()) {\n valid = false;\n }\n if (!isMemFieldValid()) {\n valid = false;\n }\n if (!isLogNumFieldValid()) {\n valid = false;\n }\n\n return valid;\n }", "public boolean isValid()\n {\n return this.address >= 0 && this.slaveId >= 0 && this.xlator != null\n && this.gatewayProtocol != null\n && (this.serialParameters != null\n || (this.gatewayIPAddress != null\n && this.gatewayPort != null));\n }", "public boolean validate(){\n return true;\n }", "boolean valid() {\n return true;\n }", "boolean valid() {\n return true;\n }", "boolean valid() {\n return true;\n }", "public boolean isValidated()\n {\n if (noRadio.isSelected())\n {\n parent.exit();\n return false;\n }\n return (yesRadio.isSelected());\n }", "public boolean isValidateRoot()\r\n\t{\r\n\t\treturn(true);\r\n\t}", "public boolean validate() {\n\t\tfor(int i=0; i<sensorData.size(); i++) {\n\t\t\tif(!sensorData.get(i).isValid()) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "public boolean isValid() {\r\n/* */ try {\r\n/* 326 */ validate();\r\n/* 327 */ } catch (ValidationException vex) {\r\n/* 328 */ return false;\r\n/* */ } \r\n/* 330 */ return true;\r\n/* */ }", "public boolean isValid() {\n return (this.S>=0 && this.I>=0 && this.R>=0);\n }", "public boolean getValidity();", "private static boolean validate(JAXBContext jaxbCongtext, File file, URL xsdUrl) {\n SchemaFactory schemaFactory = null;\n Schema schema = null;\n Source xmlFile = new StreamSource(file);\n try {\n schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);\n schema = schemaFactory.newSchema(xsdUrl);\n Validator validator = schema.newValidator();\n DocumentBuilderFactory db = newSecuDocBuilderFactory();\n db.setNamespaceAware(true);\n\n DocumentBuilder builder = db.newDocumentBuilder();\n Document doc = builder.parse(file);\n\n DOMSource source = new DOMSource(doc);\n DOMResult result = new DOMResult();\n\n validator.validate(source, result);\n LOGGER.debug(xmlFile.getSystemId() + \" is valid\");\n } catch(Exception ex) {\n LOGGER.error(xmlFile.getSystemId() + \" is NOT valid\", ex);\n return false;\n }\n return true;\n }", "public boolean isValid() {\r\n\treturn bValid;\r\n}", "public synchronized boolean isValid() {\n\n\t\treturn isBaseClassValid() && isRangeValid() && super.isValid();\n\t}", "protected abstract boolean isValid();", "public boolean validate() {\n if (value == null || currencyCode == null) {\n return false;\n }\n return true;\n }", "public Boolean valid() {\n\t\treturn this.getMeasuredBy()!=null && this.getMeasuredBy().valid();\n\t}", "public boolean validate() throws Exception {\n return true;\n }", "public boolean validate() throws Exception {\n return true;\n }", "private boolean isValid() {\n\t\treturn proposalTable != null && !proposalTable.isDisposed();\n\t}", "public boolean isDataValid() {\r\n return validData;\r\n }", "public boolean isValid() {\n\t\tString status = getField(Types.STATUS);\n\t\tif(status == null) return false;\n\t\treturn StringUtil.equalsIgnoreCase(status,\"A\") && !loc.isNull();\n\t}", "boolean isValid()\n {\n return isRequest() && isResponse();\n }", "public boolean validate() throws edu.mit.coeus.exception.CoeusUIException {\r\n boolean validate = true;\r\n if( !instRateClassTypesController.validate() || \r\n !instituteRatesController.validate() ){\r\n validate = false;\r\n }\r\n return validate;\r\n }", "protected abstract boolean isValidate();", "public boolean getValidation() {\n return validate;\n }", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}" ]
[ "0.79547095", "0.7866921", "0.7866921", "0.7866921", "0.7866921", "0.7866921", "0.78427106", "0.78427106", "0.7060144", "0.69359314", "0.68460804", "0.68460804", "0.6831059", "0.68090063", "0.68040687", "0.6781374", "0.677276", "0.6764041", "0.6756001", "0.67390877", "0.67302054", "0.67302054", "0.67302054", "0.6722837", "0.6699934", "0.6699934", "0.66765714", "0.66726124", "0.6671676", "0.6668539", "0.66570145", "0.66514933", "0.665101", "0.66447836", "0.66391474", "0.65848815", "0.6562319", "0.6546154", "0.6546154", "0.65072316", "0.64968044", "0.6486122", "0.64712685", "0.6457427", "0.64543104", "0.64411545", "0.638807", "0.6385944", "0.6360437", "0.63541913", "0.63540596", "0.63540596", "0.63540596", "0.63540596", "0.63540596", "0.6351418", "0.63203925", "0.6311565", "0.6301603", "0.6284636", "0.6284126", "0.6268686", "0.6249984", "0.62123036", "0.62073946", "0.6204833", "0.62002194", "0.62002194", "0.62002194", "0.6192445", "0.6186821", "0.6180143", "0.61666", "0.61461496", "0.61424375", "0.61183", "0.61183", "0.61183", "0.60697323", "0.6066283", "0.6065337", "0.60619575", "0.6050337", "0.60495055", "0.6045249", "0.6026127", "0.6015541", "0.60058296", "0.5980809", "0.5971768", "0.59574705", "0.59574705", "0.5946462", "0.5944899", "0.59198374", "0.59189", "0.59165996", "0.5914747", "0.5904975", "0.58893204" ]
0.70735013
8
This method returns whether or not the XML instance was found to be wellformed. The value false indicates that the XML instance is not wellformed XML, true indicates it is wellformed XML.
public boolean getIsWellformed() { return mIsWellformed; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isValid() {\n try {\n validate();\n } catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean hasPayload() {\n return result.hasPayload();\n }", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean hasPayload() {\n return (mPayload != null);\n }", "boolean hasPayload();", "public boolean getHasOutput()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(HASOUTPUT$18, 0);\n if (target == null)\n {\n return false;\n }\n return target.getBooleanValue();\n }\n }", "public boolean isWool() {\n return this.type == Type.WOOL;\n }", "public boolean isRootElementValid() {\r\n\t\tboolean result = false;\r\n\r\n\t\tNode rootNode = mDocument.getDocumentElement();\r\n\t\tString rootNodeName = rootNode.getLocalName();\r\n\t\tString rootNodeNamespace = rootNode.getNamespaceURI();\r\n\r\n\t\tif (rootNodeName.equals(\"manifest\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.24\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t} else if (rootNodeName.equals(\"lom\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.30\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public boolean m2722w() {\n return ((Boolean) this.f2439a.m2666a(ea.bN)).booleanValue();\n }", "public boolean hasAnnotatedBusiness(){\r\n\t\tList bus = this.rootDoc.selectNodes(\"a-business\") ;\r\n\t\t\r\n\t\treturn !bus.isEmpty() ;\r\n\t}", "public boolean isValid()\r\n {\r\n //Override this method in MediaItem object\r\n return getSemanticObject().getBooleanProperty(swb_valid,false);\r\n }", "public BooleanDt getIsExtensibleElement() { \n\t\tif (myIsExtensible == null) {\n\t\t\tmyIsExtensible = new BooleanDt();\n\t\t}\n\t\treturn myIsExtensible;\n\t}", "public boolean isEmbedded() {\n return !getElement().getOwnerDocument().getBody().getClassName()\n .contains(ApplicationConnection.GENERATED_BODY_CLASSNAME);\n }", "public Boolean getMustSupport() { \n\t\treturn getMustSupportElement().getValue();\n\t}", "public boolean isInfected() {\n return isInfected;\n }", "public Boolean getIsExtensible() { \n\t\treturn getIsExtensibleElement().getValue();\n\t}", "default boolean isSwear() {\n return meta(\"nlpcraft:nlp:swear\");\n }", "public boolean isElementDefinition()\n {\n return elementDefinition;\n }", "public boolean isElementDefinition()\n {\n return elementDefinition;\n }", "public boolean refresh()\r\n\t{\r\n\t\tboolean result = true;\r\n\t\tDocument oldxml = xml;\r\n\t\ttry {\r\n\t\t\tURL url = new URL(feedURL);\r\n\t\t\tURLConnection conn = url.openConnection();\r\n\t\t\t// setting these timeouts ensures the client does not deadlock indefinitely\r\n\t\t\t// when the server has problems.\r\n\t\t\tconn.setConnectTimeout(atomFeedTimeout);\r\n\t\t\tconn.setReadTimeout(atomFeedTimeout);\r\n\t xml = documentbuilder.parse(conn.getInputStream());\r\n\t\t} catch (MalformedURLException e) {\r\n\t\t\tlogger.error(\"Error [MalformedURLException]: \" + e);\r\n\t\t\txml = oldxml;\r\n\t\t\tresult = false;\r\n\t\t} catch (IOException e) {\r\n\t\t\tlogger.error(\"Error [IOException]: \" + e);\r\n\t\t\txml = oldxml;\r\n\t\t\tresult = false;\r\n\t\t} catch (SAXException e) {\r\n\t\t\tlogger.error(\"Error [SAXException]: \" + e);\r\n\t\t\txml = oldxml;\r\n\t\t\tresult = false;\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public boolean isDocument() {\n\n return this.document;\n }", "public boolean hasBody() {\n return result.hasBody();\n }", "public boolean hasBody() {\n return result.hasBody();\n }", "public boolean hasBody() {\n return result.hasBody();\n }", "public boolean hasBody() {\n return result.hasBody();\n }", "public boolean hasBody() {\n return result.hasBody();\n }", "public boolean getExtendable()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENDABLE$22);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(EXTENDABLE$22);\r\n }\r\n if (target == null)\r\n {\r\n return false;\r\n }\r\n return target.getBooleanValue();\r\n }\r\n }", "public boolean hasDocument() {\n return documentBuilder_ != null || document_ != null;\n }", "public boolean hasDocument() {\n return documentBuilder_ != null || document_ != null;\n }", "public boolean hasDocument() {\n return documentBuilder_ != null || document_ != null;\n }", "public boolean getInternal()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INTERNAL$4, 0);\n if (target == null)\n {\n return false;\n }\n return target.getBooleanValue();\n }\n }", "org.apache.xmlbeans.XmlBoolean xgetQuick();", "public boolean hasRevealDocument() {\n return revealDocumentBuilder_ != null || revealDocument_ != null;\n }", "public boolean isInWater ( ) {\n\t\t// TODO: backwards compatibility required\n\t\treturn invokeSafe ( \"isInWater\" );\n\t}", "@java.lang.Override\n public boolean hasWidevine() {\n return widevine_ != null;\n }", "private boolean validate() {\r\n\t\ttry {\r\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\t//validate the schema\r\n\t\t\tdbFactory.setValidating(true);\r\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\r\n\t\t\t//handling errors\r\n\t\t\tdBuilder.setErrorHandler(new ErrorHandler() {\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void error(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void fatalError(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void warning(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t\tFile file = new File(tempPath);\r\n\t\t\tFileInputStream fis = new FileInputStream(file);\r\n\t\t\tDocument doc = dBuilder.parse(fis);\r\n\t\t\t//if it matches the schema then parse the temp xml file into the original xml file\r\n\t\t\tdoc.setXmlStandalone(true);\r\n\t\t\tTransformerFactory tf = TransformerFactory.newInstance();\r\n\t\t\tTransformer transformer = tf.newTransformer();\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"ISO-8859-1\");\r\n\t\t\tDOMImplementation domImp = doc.getImplementation();\r\n\t\t\tDocumentType docType = domImp.createDocumentType(\"doctype\", \"SYSTEM\", new File(path).getName().substring(0, new File(path).getName().length() - 4) + \".dtd\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, docType.getSystemId());\r\n\t\t\tDOMSource domSource = new DOMSource(doc);\r\n\t\t\tFileOutputStream fos = new FileOutputStream(new File(path));\r\n\t\t\ttransformer.transform(domSource, new StreamResult(fos));\r\n\t\t\tfos.close();\r\n\t\t\tfis.close();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tcatch (ParserConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new ParserConfigurationException();\r\n\t\t\t} catch (RuntimeException | ParserConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerConfigurationException();\r\n\t\t\t} catch (RuntimeException | TransformerConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerException(e);\r\n\t\t\t} catch (RuntimeException | TransformerException err) {\r\n\t\t\t}\r\n\t\t} catch (SAXException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new SAXException();\r\n\t\t\t} catch (RuntimeException | SAXException err) {\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IOException();\r\n\t\t\t} catch (RuntimeException | IOException err) {\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean hasOIWFS() {\n return false;\n }", "public boolean isValidating() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.VALIDATION_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "public boolean isRSS() { return _rss!=null; }", "org.apache.xmlbeans.XmlBoolean xgetParlay();", "public boolean getEffdatedOnly()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EFFDATEDONLY$20);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(EFFDATEDONLY$20);\r\n }\r\n if (target == null)\r\n {\r\n return false;\r\n }\r\n return target.getBooleanValue();\r\n }\r\n }", "public boolean asBoolean() {\r\n\t\ttry {\r\n\t\t\tboolean isreg = home.getConnection().isRegistered(objectName);\r\n\t\t\tif (logger.isLoggable(Level.FINER))\r\n\t\t\t\tlogger.log(Level.FINER, \"isRegistered \" + this + \" -> \" + isreg);\r\n\t\t\treturn isreg;\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO clean exception before logging\r\n\t\t\tif (logger.isLoggable(Level.FINE))\r\n\t\t\t\tlogger.log(Level.INFO, \"exception \" + this + \" -> false\", e);\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "boolean getHasWriteBehindWriter();", "@java.lang.Override\n public boolean hasDocument() {\n return document_ != null;\n }", "@java.lang.Override\n public boolean hasDocument() {\n return document_ != null;\n }", "@java.lang.Override\n public boolean hasDocument() {\n return document_ != null;\n }", "boolean hasDocument();", "boolean hasDocument();", "boolean hasDocument();", "protected boolean isStructureKnown() {\n\t\ttry {\n\t\t\treturn ((OpenableElementInfo) getElementInfo()).isStructureKnown();\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t}", "public org.apache.xmlbeans.XmlBoolean xgetHasOutput()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlBoolean target = null;\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(HASOUTPUT$18, 0);\n return target;\n }\n }", "public boolean hasNetWS() {\r\n/* 305 */ return this._has_netWS;\r\n/* */ }", "public boolean getIsInfected() {\n return isInfected;\n }", "public boolean isSetBold()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(BOLD$4) != 0;\n }\n }", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "boolean hasContent();", "public boolean getIsRootElement() {\r\n\t\treturn mIsRootElement;\r\n\t}", "org.apache.xmlbeans.XmlBoolean xgetStraight();", "public static boolean log() {\n\t\tif ((xml == null) || (log == null)) return false;\n\t\treturn log.equals(\"yes\");\n\t}", "public boolean isRedstoneWire() {\n return this.type == Type.REDSTONE_WIRE;\n }", "public boolean isSetRecovery() {\n return this.recovery != null;\n }", "public boolean isElement() {\r\n return element;\r\n }", "public org.apache.xmlbeans.XmlBoolean xgetEffdatedOnly()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlBoolean target = null;\r\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(EFFDATEDONLY$20);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(EFFDATEDONLY$20);\r\n }\r\n return target;\r\n }\r\n }", "public boolean isSetWeight() {\n\t\treturn this.weight != null;\n\t}", "public boolean hasProofDocument() {\n return proofDocumentBuilder_ != null || proofDocument_ != null;\n }", "public boolean hasProofDocument() {\n return proofDocumentBuilder_ != null || proofDocument_ != null;\n }", "private boolean xmlGenerationRequired() {\r\n boolean xmlOutOfSync = false;\r\n BudgetSubAwardBean budgetSubAwardBean;\r\n for(int index = 0; index < data.size(); index++) {\r\n budgetSubAwardBean = (BudgetSubAwardBean)data.get(index);\r\n if(budgetSubAwardBean.getXmlAcType()!=null || budgetSubAwardBean.getXmlUpdateTimestamp() == null) {\r\n xmlOutOfSync = true;\r\n break;\r\n }\r\n }\r\n \r\n return xmlOutOfSync;\r\n }", "public boolean isWater() {\n return this.type == Type.WATER;\n }", "public final boolean hasXmlTreePathValue ()\r\n {\r\n return _value.isXmlTreePath();\r\n }", "@java.lang.Override\n public boolean hasRevealDocument() {\n return revealDocument_ != null;\n }", "public org.apache.xmlbeans.XmlBoolean xgetSouth()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlBoolean target = null;\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(SOUTH$2, 0);\n return target;\n }\n }", "public boolean hasFather() {\n\t\treturn !fathers.isEmpty();\n\t}", "boolean hasBody();", "boolean hasBody();", "boolean hasBody();", "public boolean isBeemReelsExist() {\r\n return (web.findElement(By.xpath(\".//*[@id='app-view']/div/div[2]/div[2]/div[1]/div/div[3]/div[1]/div[1]/div/span[1]\")).getText().trim()).equalsIgnoreCase(\"BeamReels\");\r\n }", "default boolean isFreeWord() {\n return meta(\"nlpcraft:nlp:freeword\");\n }", "@Override\n\tpublic boolean istBerechtigt() {\n\t\treturn true;\n\t}", "public boolean isApplicable () {\n\t\treturn isFilterApplicable();\n\t}", "org.apache.xmlbeans.XmlBoolean xgetIsManaged();", "public boolean isNetherWart() {\n return this.type == Type.NETHERWART;\n }", "public boolean isWood() {\n return this.type == Type.WOOD;\n }", "boolean hasCurrentDocument();", "protected static synchronized boolean isPresent() {\n if (m_Present == null) {\n try {\n SizeOfAgent.fullSizeOf(new Integer(1));\n m_Present = true;\n } catch (Throwable t) {\n m_Present = false;\n }\n }\n\n return m_Present;\n }", "public boolean isWinodwComplete(){\n\t\treturn windowComplete;\n\t}", "boolean hasFeed();", "boolean hasFeed();", "boolean hasRevealDocument();" ]
[ "0.587322", "0.586068", "0.58133966", "0.5717194", "0.5717194", "0.5717194", "0.5717194", "0.5717194", "0.5694472", "0.5694472", "0.5643394", "0.5643068", "0.5621602", "0.56209123", "0.5617353", "0.5587321", "0.5549828", "0.5537957", "0.55333364", "0.55282104", "0.55162644", "0.5510455", "0.55072576", "0.55036974", "0.550141", "0.550141", "0.546253", "0.54501307", "0.5448239", "0.5448239", "0.5448239", "0.5448239", "0.5448239", "0.5432546", "0.5430149", "0.5430149", "0.5430149", "0.54265773", "0.5424093", "0.5423826", "0.5419371", "0.54130363", "0.53871214", "0.5385402", "0.538301", "0.5380666", "0.53659153", "0.5365359", "0.53635085", "0.5341313", "0.5326083", "0.5326083", "0.5326083", "0.532531", "0.532531", "0.532531", "0.5322669", "0.5318643", "0.5307581", "0.5306946", "0.5299773", "0.5296402", "0.5296402", "0.5296402", "0.5296402", "0.5296402", "0.5296402", "0.5296402", "0.5283079", "0.52825534", "0.5279715", "0.5273995", "0.52707624", "0.5270263", "0.527002", "0.5262", "0.5257568", "0.5257568", "0.5256493", "0.5249318", "0.5237467", "0.52355045", "0.52329785", "0.5231881", "0.52257824", "0.52257824", "0.52257824", "0.5218792", "0.5217156", "0.5215462", "0.5215088", "0.5213305", "0.51960164", "0.5182315", "0.51813084", "0.51756877", "0.517039", "0.516825", "0.516825", "0.5165833" ]
0.6236652
0
This method returns the schemaLocation string that contains the schema locations values retrieved after walking the wellformeness DOM, or, if no schemalocation values were found in the dom, then this value contains the default schema location values.
public String getSchemaLocation() { return mSchemaLocation; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSchemaLocation() {\r\n return schemaLocation;\r\n }", "public String getSchemaLocation();", "public String getSchemaLocation(String namespaceUri, String localPart) {\n\n String schemaLocation = null;\n\n // Cursor to traverse the XML fragment document\n XmlCursor cursor = this.missiveDocument.newCursor();\n\n // Find the start node of the fragment document\n while (cursor.hasNextToken()) {\n\n // Check if we are at the beginning of the document\n if (cursor.isStart()) {\n\n // Get the value of the attribute\n schemaLocation = cursor.getAttributeText(new QName(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"schemaLocation\"));\n\n // Exit the loop\n break;\n\n } else {\n\n // Move to next token\n cursor.toNextToken();\n }\n }\n\n // Dispose cursor\n cursor.dispose();\n\n // Return the schema location value\n return schemaLocation;\n }", "public void setSchemaLocation(String schemaLocation) {\n\t\t\r\n\t}", "private String getSchema(Document doc) {\n\t\tElement rootElement = doc.getRootElement();\n\t\treturn rootElement.getAttributeValue(\"schemaLocation\", xsiNamespace).replace(\"http://www.github.com/biosemantics\", \"\").trim();\n\t}", "@ApiModelProperty(value = \"A URI to a JSON-Schema file that defines additional attributes and relationships\")\n\n\n public String getSchemaLocation() {\n return schemaLocation;\n }", "@ApiModelProperty(value = \"A URI to a JSON-Schema file that defines additional attributes and relationships\")\n\n\n public String getSchemaLocation() {\n return schemaLocation;\n }", "public java.lang.String getSchemaUrl() {\n java.lang.Object ref = schemaUrl_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n schemaUrl_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@ApiModelProperty(required = true, value = \"Location information for this schema file.\")\n @JsonProperty(\"Location\")\n public List<MessageRegistryFile100Location> getLocation() {\n return location;\n }", "public URL getWSDLDocumentLocation() {\n\t\treturn null;\n\t}", "public abstract String getSchemaURI();", "public java.lang.String getSchema() {\r\n return schema;\r\n }", "public String getWsdlLocation()\r\n {\r\n return wsdlLocation;\r\n }", "public String getSchema() {\n return schema;\n }", "public String getSchema() {\n return schema;\n }", "public String getSchema()\n {\n return schema;\n }", "public String getSchema() {\n return schema;\n }", "@java.lang.Override\n public java.lang.String getSchemaUrl() {\n java.lang.Object ref = schemaUrl_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n schemaUrl_ = s;\n return s;\n }\n }", "public L getDocumentLocation();", "public String getContentLocation() {\n\n String as[] = getMimeHeader(\"Content-Location\");\n\n if (as != null && as.length > 0) {\n return as[0];\n } else {\n return null;\n }\n }", "public java.lang.String getPreferredlocation() {\n return preferredlocation;\n }", "public String getLocation() throws ServiceLocalException {\n\t\treturn (String) this.getPropertyBag().getObjectFromPropertyDefinition(\n\t\t\t\tAppointmentSchema.Location);\n\t}", "public void setSchemaLocation(String iSchemaLocation) {\r\n\t\tmLogger.entering(\"ADLSCORMValidator\", \"setSchemaLocation()\");\r\n\r\n\t\tmSchemaLocation = iSchemaLocation;\r\n\r\n\t\tmLogger.finest(\"mSchemaLocation set to \" + mSchemaLocation);\r\n\t\tmLogger.exiting(\"ADLSCORMValidator\", \"setSchemaLocation()\");\r\n\t}", "public String getSchema()\n {\n String schema = \"\";\n if(this.props != null && !this.props.isEmpty())\n {\n schema = this.props.getProperty(\"db.schema\");\n }\n \n return schema;\n }", "public String schema() {\n return schemaName;\n }", "public String schema() {\n return schemaName;\n }", "@Override\n public XMLStreamLocation2 getLocation()\n {\n return new WstxInputLocation(null, // no parent\n \t\tnull, (String) null, // pub/sys ids not yet known\n \t\tmWriter.getAbsOffset(),\n \t\tmWriter.getRow(), mWriter.getColumn());\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getSchemaUrlBytes() {\n java.lang.Object ref = schemaUrl_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n schemaUrl_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public java.lang.String getXsd()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(XSD$2, 0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public boolean getSchemaLocExists() {\r\n\t\treturn mSchemaLocExists;\r\n\t}", "@gw.internal.gosu.parser.ExtendedProperty\n public entity.PolicyLocation getLocation();", "public com.google.protobuf.ByteString\n getSchemaUrlBytes() {\n java.lang.Object ref = schemaUrl_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n schemaUrl_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getXMLSchemaPrefix()\n {\n return getPreferenceStore().getString(CONST_XSD_DEFAULT_PREFIX_TEXT);\n }", "public java.lang.String getLocation() {\n return location;\n }", "java.lang.String getLocation();", "public java.lang.String getLocation() {\n return location;\n }", "public java.lang.String getOrigin()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORIGIN$16, 0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public String location() {\n return this.location;\n }", "public String location() {\n return this.location;\n }", "public String getSpLocation() {\r\n return spLocation;\r\n }", "public String getLocation(Widget w) {\n for (Iterator i = locationToWidget.keySet().iterator(); i.hasNext();) {\n String location = (String) i.next();\n if (locationToWidget.get(location) == w) {\n return location;\n }\n }\n return null;\n }", "public String getLocation() {\n\t\treturn location;\n\t}", "public String getLocation() {\n\t\t\treturn location;\n\t\t}", "@Override\n\tpublic String getLocation() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String getLocation() {\n\t\treturn null;\n\t}", "protected String getLocationInfo() {\n\t\tString locInfo = \"\";\n\t\tif (currParseLocation != null) {\n\t\t\tlocInfo = StreamsResources.getStringFormatted(StreamsResources.RESOURCE_BUNDLE_NAME,\n\t\t\t\t\t\"ConfigParserHandler.at.line\", currParseLocation.getLineNumber());\n\t\t}\n\t\treturn locInfo;\n\t}", "public String getLocation() {\r\n\t\treturn location;\r\n\t}", "public URI getLocation()\r\n/* 293: */ {\r\n/* 294:441 */ String value = getFirst(\"Location\");\r\n/* 295:442 */ return value != null ? URI.create(value) : null;\r\n/* 296: */ }", "public String getLocation() {\r\n\t\treturn location; \r\n\t}", "public String getSchemaPath(final String requestUrl) {\n // find out if we have a known route, e.g. /rules, /bnrules, etc.\n final Optional<String> match = businessObjectToJsonSchema.keySet().stream().filter(requestUrl::contains).findAny();\n\n if (match.isEmpty()) {\n logger.debug(\"Schema validation not configured for: {}\", requestUrl);\n return null; // the request has not mapping, meaning there is no schema for this request URL's payload\n }\n\n final String route = match.get();\n // find out if there are trailing elements after the base mapping (e.g. rules/<hash>). If so, we validate.\n if (requestUrl.lastIndexOf(route) >= requestUrl.lastIndexOf(\"/\")) {\n // this means we have no hash or any other trailing path components after the route. We are not validating this.\n // The payloads we are interested in are always qualified with a hash, a country, etc.\n return null;\n }\n // since there is currently only one schema per route, we can take the route as a key for the schema\n // e.g. if we have /rules/<something>, we use the same schema, no matter what <something> is.\n return businessObjectToJsonSchema.get(route);\n }", "@Nullable\n @Override\n public String getLocationString() {\n return null;\n }", "public void setSchemaConfigLocation(String schemaConfigLoc) {\n this.schemaConfigLoc = schemaConfigLoc;\n }", "public phaseI.Hdfs.DataNodeLocation getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? phaseI.Hdfs.DataNodeLocation.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "@Override\n protected Object getSchemaSource() {\n String persistencexsd = \"persistence-xsd.rsrc\";\n // if the version and/or schema location is for 1.0, use the 1.0\n // schema\n if (XMLVersionParser.VERSION_2_0.equals(_persistenceVersion)\n || (_schemaLocation != null && _schemaLocation.indexOf(PERSISTENCE_XSD_2_0) != -1)) {\n persistencexsd = \"persistence_2_0-xsd.rsrc\";\n }\n else if (XMLVersionParser.VERSION_2_1.equals(_persistenceVersion)\n || (_schemaLocation != null && _schemaLocation.indexOf(PERSISTENCE_XSD_2_1) != -1)) {\n persistencexsd = \"persistence_2_1-xsd.rsrc\";\n }\n else if (XMLVersionParser.VERSION_2_2.equals(_persistenceVersion)\n || (_schemaLocation != null && _schemaLocation.indexOf(PERSISTENCE_XSD_2_2) != -1)) {\n persistencexsd = \"persistence_2_2-xsd.rsrc\";\n }\n\n return getClass().getResourceAsStream(persistencexsd);\n }", "@HippoEssentialsGenerated(internalName = \"katharsisexampleshippo:location\")\n public String getLocation() {\n return getProperty(LOCATION);\n }", "public final String getLocation() {\n return location;\n }", "ImmutableList<SchemaOrgType> getContentLocationList();", "public List<String> getSchema() {\n\t\treturn schema;\n\t}", "public String getLocatorDev() {\n MediaLocator locator = getLocator();\n if (locator == null) {\n return null;\n }\n String locatorDev = locator.getRemainder();\n if (locatorDev == null || locatorDev.length() > 0) {\n return locatorDev;\n }\n return null;\n }", "public String getStrDataSchema() {\n return strDataSchema;\n }", "public org.w3c.dom.Document getSchema() {\r\n return schema;\r\n }", "public IDefinitionLocation getLocation()\n\t\tthrows ConnectException, \n\t\t\tUnexpectedReplyException, InvocationError,\n\t\t\tCompilerInstantiationException\n\t{\n\t\treturn null;\n\t}", "public String getDatabaseLocation() {\n return txtDatabaseLocation().getText();\n }", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return this.location;\n }", "@Override\n\tpublic String getLocation() {\n\t\treturn this.location;\n\t}", "@Override\n\tpublic List<SourceLocation> getLocations() {\n\t\treturn null;\n\t}", "public Resource getWordsLocation() {\n return wordsLocation;\n }", "public String getLocation() {\r\n return location;\r\n }", "public java.lang.String getLocation() {\n java.lang.Object ref = location_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n location_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n\tpublic String getLocation() {\n\t\treturn location;\n\t}", "public String getOfficeLocation() {\n\t\treturn officeLocation;\n\t}", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "@ApiModelProperty(value = \"The company location associated with the claim.\")\n public DtoValueString getLocation() {\n return location;\n }", "public String getSchema()\n\t{\n\t\t//begin vpj-cd e-evolution 03/04/2005\n\t\treturn \"compiere\";\n\t\t//end vpj-cd e-evolution 03/04/2005\n\t}", "public String getObject_schema() {\n return object_schema;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return location;\n }", "String location();", "String location();", "String location();", "String location();", "String location();", "String location();", "String location();" ]
[ "0.71746343", "0.6906289", "0.62679917", "0.6089693", "0.5957227", "0.58168846", "0.58168846", "0.5755452", "0.5720922", "0.5708845", "0.56115997", "0.5605137", "0.5557194", "0.5557184", "0.5557184", "0.5554244", "0.5543838", "0.54944026", "0.54921585", "0.5464499", "0.54587775", "0.5448008", "0.5426718", "0.5393692", "0.5367257", "0.5367257", "0.5311619", "0.52895373", "0.52755225", "0.52546895", "0.5243265", "0.5236443", "0.52295", "0.52138966", "0.5204086", "0.51970154", "0.51682836", "0.51580733", "0.51580733", "0.5136679", "0.51228654", "0.5120441", "0.51110923", "0.51084244", "0.51084244", "0.5107183", "0.5099637", "0.5085147", "0.5073125", "0.50729924", "0.506881", "0.5061352", "0.50512767", "0.50440884", "0.5043098", "0.5041611", "0.503476", "0.5029715", "0.5027704", "0.5027103", "0.50254875", "0.5011366", "0.5007463", "0.5006897", "0.5006897", "0.5006897", "0.5006897", "0.5006897", "0.5003824", "0.5003485", "0.5001138", "0.499811", "0.4993645", "0.49932894", "0.49907234", "0.4989982", "0.4989982", "0.4989982", "0.4989982", "0.4989982", "0.4989982", "0.4989982", "0.4989982", "0.4989982", "0.4989982", "0.4989982", "0.4989982", "0.4984371", "0.49804392", "0.49782485", "0.49768192", "0.49758098", "0.4974284", "0.49649927", "0.49649927", "0.49649927", "0.49649927", "0.49649927", "0.49649927", "0.49649927" ]
0.72927445
0
This method returns whether or not the XML instance contains the optional xsi:schemalocation attribute declaration. The xsi:schemalocation attribute provides a hint to the XML Parser as to where the controlling documents can be found.
public boolean getSchemaLocExists() { return mSchemaLocExists; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSetCatalogSchema() {\n return this.catalogSchema != null;\n }", "public boolean isSetSchema_name() {\n return this.schema_name != null;\n }", "public boolean isSetSchemaName() {\n return this.schemaName != null;\n }", "public boolean isNamespaceAware() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.NAMESPACES_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "public boolean isSetSchema_id() {\n return this.schema_id != null;\n }", "public boolean isSetRollup_schemas() {\n return this.rollup_schemas != null;\n }", "public boolean isQualifyXMLSchemaLanguage() {\n return getPreferenceStore().getBoolean(CONST_XSD_LANGUAGE_QUALIFY);\n }", "public boolean isQualified() {\n\t\treturn (did != null && fragment != null);\n\t}", "public boolean schemasEnabled() {\n return schemasEnabled;\n }", "boolean isSetNamespace();", "public boolean hasNamespace() {\n return m_namespaces != null && m_namespaces.size() > 0;\n }", "public final boolean isNamespaceAware() {\n return true;\n }", "private String getSchema(Document doc) {\n\t\tElement rootElement = doc.getRootElement();\n\t\treturn rootElement.getAttributeValue(\"schemaLocation\", xsiNamespace).replace(\"http://www.github.com/biosemantics\", \"\").trim();\n\t}", "public boolean elementDansSchema(final Element refElement) {\n final Document domdoc = refElement.getOwnerDocument();\n return(domdoc == racine_schema.getOwnerDocument());\n }", "public boolean isSetNs() {\n return this.ns != null;\n }", "public String getSchemaLocation();", "private boolean ensureXSDTypeNamespaceMappings(Object obj) {\r\n\t\t\r\n\t\tString targetNamespace = null;\r\n\t\t\r\n\t\tif (obj instanceof XSDNamedComponent ) {\r\n\t\t\tXSDNamedComponent namedComponent = (XSDNamedComponent) obj; \r\n\t\t\ttargetNamespace = namedComponent.getTargetNamespace();\r\n\t\t}\r\n\t\t\r\n\t\tif (targetNamespace == null) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t// Now check if the target namespace has a prefix mappings.\r\n\t\tString prefix = BPELUtils.getNamespacePrefix (modelObject, targetNamespace);\r\n\t\tif (prefix != null) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t// We have to map the namespace to a prefix. \r\n\t\tNamespaceMappingDialog dialog = new NamespaceMappingDialog(getShell(),modelObject);\r\n\t\tdialog.setNamespace( targetNamespace );\r\n\t\t\r\n\t\tif (dialog.open() == Window.CANCEL) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t// define the prefix\r\n\t\tBPELUtils.setPrefix( BPELUtils.getProcess(modelObject), targetNamespace, dialog.getPrefix()); \t\t\r\n\t\t\r\n\t\treturn true;\r\n\t}", "public boolean isNamespaceAware () {\n return true;\n }", "public String getSchemaLocation() {\r\n return schemaLocation;\r\n }", "public String getSchemaLocation() {\r\n\t\treturn mSchemaLocation;\r\n\t}", "public boolean canUseSchema(FormatSchema schema)\n/* */ {\n/* 445 */ if (schema == null) {\n/* 446 */ return false;\n/* */ }\n/* 448 */ String ourFormat = getFormatName();\n/* 449 */ return (ourFormat != null) && (ourFormat.equals(schema.getSchemaType()));\n/* */ }", "@Override\r\n public boolean isWellKnown ()\r\n {\r\n Shape shape = getShape();\r\n\r\n return (shape != null) && shape.isWellKnown();\r\n }", "public boolean isSetWidth()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(WIDTH$20) != null;\n }\n }", "public boolean hasAnnotatedBusiness(){\r\n\t\tList bus = this.rootDoc.selectNodes(\"a-business\") ;\r\n\t\t\r\n\t\treturn !bus.isEmpty() ;\r\n\t}", "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:00:49.392 -0500\", hash_original_method = \"704394E46FC1A63E6F1F5F09E7A57B00\", hash_generated_method = \"8FAF493A55EDB5B9A9A1EEB1456CF4B2\")\n \npublic boolean isNamespaceDeclUris ()\n { return namespaceDeclUris; }", "public boolean isSetCatalogSchemaVersion() {\n return EncodingUtils.testBit(__isset_bitfield, __CATALOGSCHEMAVERSION_ISSET_ID);\n }", "public boolean visit(SchemaLocationRequiredBase node) {\n return visit((SchemaLocationBase)node);\n }", "public boolean isSetRoadwayRef()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(ROADWAYREF$16) != null;\r\n }\r\n }", "@Override\n public Schema getXMLSchema() throws XMLPlatformException {\n return documentBuilderFactory.getSchema();\n }", "public boolean isXMLDeclaration() {\r\n\t\treturn name==Tag.XML_DECLARATION;\r\n\t}", "protected boolean isSaveSchema() {\n\t\treturn false;\n\t}", "public boolean isNilOrganizationVersion()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORGANIZATIONVERSION$6, 0);\r\n if (target == null) return false;\r\n return target.isNil();\r\n }\r\n }", "public abstract String getSchemaURI();", "public boolean hasXsltTransformer() {\n\t\treturn xslt != null;\n\t}", "public boolean getIsValidToSchema() {\r\n\t\treturn mIsValidToSchema;\r\n\t}", "@java.lang.Override\n public boolean hasProofDocument() {\n return proofDocument_ != null;\n }", "@java.lang.Override\n public boolean hasProofDocument() {\n return proofDocument_ != null;\n }", "public boolean hasLocation()\n\t{\n\t\treturn location != null;\n\t}", "public boolean hasProofDocument() {\n return proofDocumentBuilder_ != null || proofDocument_ != null;\n }", "public boolean hasProofDocument() {\n return proofDocumentBuilder_ != null || proofDocument_ != null;\n }", "public boolean isSetShowNarration()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(SHOWNARRATION$18) != null;\n }\n }", "public boolean isSetSoap()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(SOAP$2) != 0;\n }\n }", "public boolean isSetStationDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(STATIONDESCRIPTION$20) != null;\r\n }\r\n }", "@java.lang.Override\n public boolean hasWidevine() {\n return widevine_ != null;\n }", "public List validateSLD(InputSource xml, String SchemaUrl) {\n SAXParser parser = new SAXParser();\n \n try {\n // 1. tell the parser to validate the XML document vs the schema\n // 2. does not validate the schema (the GML schema is *not* valid. This is\n // \t\t\tan OGC blunder)\n // 3. tells the validator that the tags without a namespace are actually\n // \t\t\tSLD tags.\n // 4. tells the validator to 'override' the SLD schema that a user may\n // \t\t\tinclude with the one inside geoserver.\n \n parser.setFeature(\"http://xml.org/sax/features/validation\", true);\n parser.setFeature(\"http://apache.org/xml/features/validation/schema\",\n true);\n parser.setFeature(\"http://apache.org/xml/features/validation/schema-full-checking\",\n false);\n \n parser.setProperty(\"http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation\",\n SchemaUrl);\n parser.setProperty(\"http://apache.org/xml/properties/schema/external-schemaLocation\",\n \"http://www.opengis.net/sld \" + SchemaUrl);\n \n //parser.setProperty(\"http://apache.org/xml/properties/schema/external-schemaLocation\",\"http://www.opengis.net/ows \"+SchemaUrl);\n Validator handler = new Validator();\n parser.setErrorHandler(handler);\n parser.parse(xml);\n \n return handler.errors;\n } catch (java.io.IOException ioe) {\n ArrayList al = new ArrayList();\n al.add(new SAXParseException(ioe.getLocalizedMessage(), null));\n \n return al;\n } catch (SAXException e) {\n ArrayList al = new ArrayList();\n al.add(new SAXParseException(e.getLocalizedMessage(), null));\n \n return al;\n }\n }", "public boolean isSetObservationDataLink()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(OBSERVATIONDATALINK$18) != null;\r\n }\r\n }", "public SchemaInfo getAssociatedSchema() {\n return lookupSchema(getTargetNamespace());\n }", "boolean requiresConfigSchema();", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "@java.lang.Override\n public boolean hasCatalog() {\n return catalog_ != null;\n }", "public boolean isSetEnvirstandard() {\n return this.envirstandard != null;\n }", "public final boolean isThereSomeQualifierUri() {\n\t\treturn !qualifiersList.isEmpty();\n\t}", "public Boolean openSchema() {\n return this.openSchema;\n }", "public void setSchemaLocation(String schemaLocation) {\n\t\t\r\n\t}", "public boolean isValidateDTD()\r\n {\r\n return validateDTD;\r\n }", "private static boolean verifyXML(String fileName) throws IOException {\n\t\tSchemaFactory sf = SchemaFactory.newInstance(W3C_XML_SCHEMA);\n\t\tStreamSource xsdFile = new StreamSource(ResourceUtils.getResourceStream(XSD_FILE_PATH));\n\t\tStreamSource xmlFile = new StreamSource(new File(fileName));\n\t\tboolean validXML = false;\n\t\ttry {\n\t\t\tSchema schema = sf.newSchema(xsdFile);\n\t\t\tValidator validator = schema.newValidator();\n\t\t\ttry {\n\t\t\t\tvalidator.validate(xmlFile);\n\t\t\t\tvalidXML = true;\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (!validXML) {\n\t\t\t\tnew IOException(\"File isn't valid against the xsd\");\n\t\t\t}\n\t\t} catch (SAXException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\txsdFile.getInputStream().close();\n\t\t\t// When using a file, this may be null\n\t\t\tif (xmlFile.getInputStream() != null)\n\t\t\t\txmlFile.getInputStream().close();\n\t\t}\n\t\treturn validXML;\n\t}", "public boolean hasEmbeddedNodeDeclaration() {\r\n\t\t\treturn true;\r\n\t\t}", "public boolean isRootElementValid() {\r\n\t\tboolean result = false;\r\n\r\n\t\tNode rootNode = mDocument.getDocumentElement();\r\n\t\tString rootNodeName = rootNode.getLocalName();\r\n\t\tString rootNodeNamespace = rootNode.getNamespaceURI();\r\n\r\n\t\tif (rootNodeName.equals(\"manifest\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.24\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t} else if (rootNodeName.equals(\"lom\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.30\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "@BeforeClass\n public static void externalSchemaCheck() {\n assumeTrue(\"can access \" + NameSpace.DC.xsd, canConnect(NameSpace.DC.xsd));\n }", "public boolean isNilCascadeType()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n com.microsoft.schemas.xrm._2011.metadata.CascadeType target = null;\r\n target = (com.microsoft.schemas.xrm._2011.metadata.CascadeType)get_store().find_element_user(CASCADETYPE$0, 0);\r\n if (target == null) return false;\r\n return target.isNil();\r\n }\r\n }", "boolean hasRuntimeMetadata();", "public boolean hasEmbeddedNodeDeclaration() {\r\n\t\t\treturn false;\r\n\t\t}", "private boolean isInstanceLocationSet() {\n \t\tActivator activator = Activator.getDefault();\n \t\tif (activator == null)\n \t\t\treturn false;\n \t\tLocation service = activator.getInstanceLocation();\n \t\tif (service == null)\n \t\t\treturn false;\n \t\treturn service.isSet();\n \t}", "public final boolean hasXmlTreePathValue ()\r\n {\r\n return _value.isXmlTreePath();\r\n }", "protected static boolean isNamespaceAware(org.w3c.dom.Node node) {\n boolean ret=(node.getLocalName() != null);\n \n if (LOG.isLoggable(Level.FINEST)) {\n LOG.finest(\"Is node \"+node+\" namespace aware? \"+ret);\n LOG.finest(\"nodeName=\"+node.getNodeName());\n LOG.finest(\"localName=\"+node.getLocalName());\n LOG.finest(\"namespace=\"+node.getNamespaceURI());\n } \n \n return (ret);\n }", "public boolean isAxiom() {\n return this.axiom;\n }", "public boolean isSetUri() {\n return this.uri != null;\n }", "public boolean isNilFriendlyName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FRIENDLYNAME$2, 0);\r\n if (target == null) return false;\r\n return target.isNil();\r\n }\r\n }", "public boolean isSetStyleCode()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(STYLECODE$16) != null;\n }\n }", "public boolean isSetStyleCode()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(STYLECODE$16) != null;\n }\n }", "public boolean isSetObservedScanAnalysis() {\n return ((this.observedScanAnalysis != null) && (!this.observedScanAnalysis.isEmpty()));\n }", "@java.lang.Override\n public boolean hasDocument() {\n return document_ != null;\n }", "@java.lang.Override\n public boolean hasDocument() {\n return document_ != null;\n }", "@java.lang.Override\n public boolean hasDocument() {\n return document_ != null;\n }", "public SchemaDefinition isSchema(String name){\n return((SchemaDefinition)schemaDefs.get(getDefName(name)));\n }", "private boolean isIxbrlInDocGeneratorResponse(DocumentGeneratorResponse response) {\n\n if (StringUtils.isBlank(getIxbrlLocationFromDocGeneratorResponse(response))) {\n Map<String, Object> logMap = new HashMap<>();\n logMap.put(LOG_MESSAGE_KEY,\n \"The Ixbrl location has not been set in Document Generator Response\");\n\n LOGGER.error(LOG_DOC_GENERATOR_RESPONSE_INVALID_MESSAGE_KEY, logMap);\n\n return false;\n }\n return true;\n }", "public void checkSchema(ResourceSchema schema) throws IOException\n {\n }", "@ApiModelProperty(value = \"A URI to a JSON-Schema file that defines additional attributes and relationships\")\n\n\n public String getSchemaLocation() {\n return schemaLocation;\n }", "@ApiModelProperty(value = \"A URI to a JSON-Schema file that defines additional attributes and relationships\")\n\n\n public String getSchemaLocation() {\n return schemaLocation;\n }", "public org.w3c.dom.Document getSchema() {\r\n return schema;\r\n }", "private boolean validateXmlFileWithSchema(String xmlFilePath, String xsdFilePath) { \n \tassert xmlFilePath != null && !xmlFilePath.isEmpty();\n \tassert xsdFilePath != null && !xsdFilePath.isEmpty();\n \tassert _schemaFactory != null;\n \tassert _loggerHelper != null;\n \t\n try {\n Schema schema = _schemaFactory.newSchema(new File(xsdFilePath));\n Validator validator = schema.newValidator();\n validator.validate(new StreamSource(new File(xmlFilePath)));\n } catch (IOException | SAXException e) {\n \t_loggerHelper.logError(e.getMessage());\n return false;\n }\n return true;\n }", "boolean hasDocumentType();", "protected boolean isStructureKnown() {\n\t\ttry {\n\t\t\treturn ((OpenableElementInfo) getElementInfo()).isStructureKnown();\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t}", "@Override\n public boolean isSet() {\n return locusLocus != null;\n }", "public boolean isAutonym() {\n return flags != null && flags.contains(NameFlag.AUTONYM);\n }", "public boolean hasDocument() {\n return documentBuilder_ != null || document_ != null;\n }", "public boolean hasDocument() {\n return documentBuilder_ != null || document_ != null;\n }", "public boolean hasDocument() {\n return documentBuilder_ != null || document_ != null;\n }", "private boolean xmlGenerationRequired() {\r\n boolean xmlOutOfSync = false;\r\n BudgetSubAwardBean budgetSubAwardBean;\r\n for(int index = 0; index < data.size(); index++) {\r\n budgetSubAwardBean = (BudgetSubAwardBean)data.get(index);\r\n if(budgetSubAwardBean.getXmlAcType()!=null || budgetSubAwardBean.getXmlUpdateTimestamp() == null) {\r\n xmlOutOfSync = true;\r\n break;\r\n }\r\n }\r\n \r\n return xmlOutOfSync;\r\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isCascadedLookup();", "public boolean isShowMissingDocs() {\r\n String missing = getOption(OPTION_MISSING_DOC, MISSING_SHOW);\r\n return MISSING_SHOW.equals(missing);\r\n }", "public boolean isMinWidthSet() { return get(\"MinWidth\")!=null; }", "private boolean validate() {\r\n\t\ttry {\r\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\t//validate the schema\r\n\t\t\tdbFactory.setValidating(true);\r\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\r\n\t\t\t//handling errors\r\n\t\t\tdBuilder.setErrorHandler(new ErrorHandler() {\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void error(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void fatalError(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void warning(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t\tFile file = new File(tempPath);\r\n\t\t\tFileInputStream fis = new FileInputStream(file);\r\n\t\t\tDocument doc = dBuilder.parse(fis);\r\n\t\t\t//if it matches the schema then parse the temp xml file into the original xml file\r\n\t\t\tdoc.setXmlStandalone(true);\r\n\t\t\tTransformerFactory tf = TransformerFactory.newInstance();\r\n\t\t\tTransformer transformer = tf.newTransformer();\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"ISO-8859-1\");\r\n\t\t\tDOMImplementation domImp = doc.getImplementation();\r\n\t\t\tDocumentType docType = domImp.createDocumentType(\"doctype\", \"SYSTEM\", new File(path).getName().substring(0, new File(path).getName().length() - 4) + \".dtd\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, docType.getSystemId());\r\n\t\t\tDOMSource domSource = new DOMSource(doc);\r\n\t\t\tFileOutputStream fos = new FileOutputStream(new File(path));\r\n\t\t\ttransformer.transform(domSource, new StreamResult(fos));\r\n\t\t\tfos.close();\r\n\t\t\tfis.close();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tcatch (ParserConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new ParserConfigurationException();\r\n\t\t\t} catch (RuntimeException | ParserConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerConfigurationException();\r\n\t\t\t} catch (RuntimeException | TransformerConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerException(e);\r\n\t\t\t} catch (RuntimeException | TransformerException err) {\r\n\t\t\t}\r\n\t\t} catch (SAXException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new SAXException();\r\n\t\t\t} catch (RuntimeException | SAXException err) {\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IOException();\r\n\t\t\t} catch (RuntimeException | IOException err) {\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean isDocTypeDeclaration() {\r\n\t\treturn name==Tag.DOCTYPE_DECLARATION;\r\n\t}", "public boolean isSetKiosk()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(KIOSK$4) != 0;\n }\n }", "public boolean isSetOffice() {\n return this.office != null;\n }", "public boolean isSetIntersectingRoadwayRef()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(INTERSECTINGROADWAYREF$20) != null;\r\n }\r\n }", "public boolean isKnownToContainNoSurrogates() {\r\n return noSurrogates;\r\n }", "public boolean isSetGraph_addr() {\n return this.graph_addr != null;\n }", "public boolean isSetDeviceType() {\n return this.DeviceType != null;\n }" ]
[ "0.6170635", "0.60644627", "0.6061632", "0.5941732", "0.5860372", "0.58206236", "0.57647026", "0.5750296", "0.5688378", "0.5667982", "0.5566934", "0.5431898", "0.5421122", "0.5384832", "0.53701454", "0.5311054", "0.52668375", "0.52587235", "0.52449685", "0.5216662", "0.51860374", "0.51627594", "0.51559144", "0.515453", "0.51511127", "0.51361465", "0.51312655", "0.5127395", "0.51249665", "0.5115547", "0.5093497", "0.50866246", "0.5083253", "0.50792617", "0.5075444", "0.5045108", "0.5045108", "0.50388855", "0.5037025", "0.5037025", "0.5034691", "0.50247526", "0.5022234", "0.50050205", "0.50026166", "0.49878678", "0.498096", "0.49747598", "0.49596068", "0.49418402", "0.49381682", "0.4930869", "0.49092478", "0.49077284", "0.4897018", "0.4894043", "0.4894011", "0.48919111", "0.4890763", "0.48824805", "0.4879765", "0.48770496", "0.4874937", "0.48657125", "0.4863448", "0.48523083", "0.48466548", "0.4826774", "0.48206338", "0.48206338", "0.48156935", "0.48092556", "0.48092556", "0.48092556", "0.48071912", "0.4806099", "0.48022407", "0.48017552", "0.48017552", "0.47965088", "0.47889662", "0.47881392", "0.47873986", "0.4785812", "0.4784748", "0.47770306", "0.47770306", "0.47770306", "0.47727618", "0.4769938", "0.4768723", "0.47665104", "0.4761915", "0.47581017", "0.47577485", "0.47540614", "0.4753173", "0.47497362", "0.47453696", "0.4732795" ]
0.6332497
0
This method determines if the IMS Manifest being tested is truely an IMS Manifest. It does this by comparing the root elements local name and namespace with the defined IMS root node name and namespace. If the root node is not what is expected, then the method logs an error and returns false.
public boolean isRootElementValid() { boolean result = false; Node rootNode = mDocument.getDocumentElement(); String rootNodeName = rootNode.getLocalName(); String rootNodeNamespace = rootNode.getNamespaceURI(); if (rootNodeName.equals("manifest")) { if (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) { result = true; } else { String msgText = Messages.getString("ADLSCORMValidator.24", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE); mLogger.info("FAILED: " + msgText); MessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText)); // This is the updated logging method invocation DetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText)); } } else if (rootNodeName.equals("lom")) { if (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) { result = true; } else { String msgText = Messages.getString("ADLSCORMValidator.30", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE); mLogger.info("FAILED: " + msgText); MessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText)); // This is the updated logging method invocation DetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText)); } } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected boolean isMatchingNamespace(String rootElementNamespace)\n {\n if (namespacePattern != null)\n {\n return namespacePattern.matcher(rootElementNamespace == null ? \"\" : rootElementNamespace).matches();\n }\n else\n {\n return namespace == null ? rootElementNamespace == null : namespace.equals(rootElementNamespace);\n }\n }", "protected boolean isMatchingElement(String uri, String localName) {\n return (uri.equals(this.uri) && localName.equals(this.localName)) ||\n (parentMatchLevel > 0 &&\n ((uri.equals(URI_RDF) && localName.equals(LOCAL_NAME_RDF_BAG)) ||\n (uri.equals(URI_RDF) && localName.equals(LOCAL_NAME_RDF_LI))));\n }", "boolean isNamespaceRunning(String namespace);", "public boolean populateManifestMap( Node iNode )\n {\n // looks exactly like prunetree as we walk down the tree\n LOGGER.entering( \"ManifestMap\", \"populateManifestMap\" ); \n\n boolean result = true;\n\n // is there anything to do?\n if ( iNode == null )\n {\n result = false;\n return result;\n }\n\n int type = iNode.getNodeType();\n\n switch ( type )\n {\n case Node.PROCESSING_INSTRUCTION_NODE:\n {\n break;\n }\n case Node.DOCUMENT_NODE:\n {\n Node rootNode = ((Document)iNode).getDocumentElement();\n\n result = populateManifestMap( rootNode ) && result;\n\n break;\n }\n case Node.ELEMENT_NODE:\n {\n String parentNodeName = iNode.getLocalName();\n\n if ( parentNodeName.equalsIgnoreCase(\"manifest\") ) \n {\n // We are dealing with an IMS <manifest> element, get the IMS\n // CP identifier for the <manifest> elememnt\n mManifestId =\n DOMTreeUtility.getAttributeValue( iNode,\n \"identifier\" ); \n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored a Manifest Id value of \" + \n mManifestId );\n\n // Recurse to populate mItemIdrefs and mItemIds\n\n // Find the <organization> elements\n\n Node orgsNode = DOMTreeUtility.getNode( iNode, \"organizations\" ); \n\n if( orgsNode != null )\n {\n Vector orgElems = DOMTreeUtility.getNodes( orgsNode, \"organization\" ); \n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Number of <organization> elements: \" + \n orgElems.size() );\n\n if ( !orgElems.isEmpty() )\n {\n int orgElemsSize = orgElems.size();\n for (int i = 0; i < orgElemsSize; i++ )\n {\n Vector itemElems = DOMTreeUtility.getNodes(\n (Node)orgElems.elementAt(i), \"item\" ); \n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Number of <item> elements: \" + \n itemElems.size() );\n\n if ( !itemElems.isEmpty() )\n {\n int itemElemsSize = itemElems.size();\n for (int j = 0; j < itemElemsSize; j++ )\n {\n result = populateManifestMap(\n (Node)(itemElems.elementAt(j)) ) && result;\n }\n }\n }\n }\n }\n\n //recurse to populate mResourceIds\n\n Node resourcesNode = DOMTreeUtility.getNode( iNode, \"resources\" ); \n\n if( resourcesNode != null )\n {\n Vector resourceElems = DOMTreeUtility.getNodes(\n resourcesNode, \"resource\" ); \n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Number of <resource> elements: \" + \n resourceElems.size() );\n\n int resourceElemsSize = resourceElems.size();\n for (int k = 0; k < resourceElemsSize; k++ )\n {\n result = populateManifestMap(\n (Node)(resourceElems.elementAt(k)) ) && result;\n }\n }\n }\n else if ( parentNodeName.equalsIgnoreCase(\"item\") ) \n {\n //store item identifier value\n String itemId =\n DOMTreeUtility.getAttributeValue( iNode, \"identifier\" );\n \n mItemIds.add( itemId );\n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored an Item Id value of \" + \n itemId );\n\n //store item identifier reference value\n String itemIdref =\n DOMTreeUtility.getAttributeValue( iNode, \"identifierref\" );\n \n mItemIdrefs.add( itemIdref );\n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored an Item Idref value of \" + \n itemIdref );\n\n //recurse to populate all child item elements\n Vector items = DOMTreeUtility.getNodes( iNode, \"item\" ); \n if ( !items.isEmpty() )\n {\n int itemsSize = items.size();\n for ( int z = 0; z < itemsSize; z++ )\n {\n result = populateManifestMap(\n (Node)items.elementAt(z) ) && result;\n }\n }\n }\n else if ( parentNodeName.equalsIgnoreCase(\"resource\") ) \n {\n //store resource identifier value\n String resourceId =\n DOMTreeUtility.getAttributeValue( iNode, \"identifier\" ); \n // convert to lower so case sensativity does not play a role\n \n mResourceIds.add( resourceId );\n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored a Resource Id value of \" + \n resourceId );\n\n // populate <dependency> element\n\n Vector dependencyElems = DOMTreeUtility.getNodes( iNode,\n \"dependency\" ); \n\n int dependencyElemsSize= dependencyElems.size();\n\n for(int w=0; w < dependencyElemsSize; w++ )\n {\n Node dependencyElem = (Node)dependencyElems.elementAt(w);\n\n //store resource identifier value\n String dependencyIdref =\n DOMTreeUtility.getAttributeValue( dependencyElem,\n \"identifierref\" ); \n \n mDependencyIdrefs.add( dependencyIdref );\n\n LOGGER.finest( \"ManifestMap:populateManifestMap, \" + \n \"Just stored a Dependency Idref value of \" + \n mDependencyIdrefs );\n }\n }\n\n break;\n }\n // handle entity reference nodes\n case Node.ENTITY_REFERENCE_NODE:\n {\n break;\n }\n\n // text\n case Node.COMMENT_NODE:\n {\n break;\n }\n\n case Node.CDATA_SECTION_NODE:\n {\n break;\n }\n\n case Node.TEXT_NODE:\n {\n break;\n }\n \n default:\n {\n break;\n }\n }\n\n LOGGER.exiting( \"ManifestMap\", \"populateManifestMap\" ); \n\n return result;\n }", "private static boolean _inNamespace(Resource resource, String namespace) {\n\t\tString resourceNamespace = resource.getNameSpace();\n\t\t\n\t\tif ( namespace.endsWith(\"/\") || namespace.endsWith(\"#\") ) {\n\t\t\treturn namespace.equals(resourceNamespace);\n\t\t}\n\t\telse {\n\t\t\treturn resourceNamespace != null && namespace.equals(resourceNamespace.replaceAll(\"(/|#)$\", \"\"));\n\t\t}\n\t}", "public static boolean checkRootElement(File xmlFile, String rootElement)\n {\n boolean match = false;\n try\n {\n GNDocument doc = XMLServiceHandler.getInstance().getDocument(xmlFile);\n match = doc.getRootElement().getName().equals(rootElement);\n }\n catch (Exception ex)\n {\n Logger.warn(\"[XMLDelegate.checkRootElement] Not an XML file!\");\n }\n return match;\n }", "protected static boolean isNamespaceAware(org.w3c.dom.Node node) {\n boolean ret=(node.getLocalName() != null);\n \n if (LOG.isLoggable(Level.FINEST)) {\n LOG.finest(\"Is node \"+node+\" namespace aware? \"+ret);\n LOG.finest(\"nodeName=\"+node.getNodeName());\n LOG.finest(\"localName=\"+node.getLocalName());\n LOG.finest(\"namespace=\"+node.getNamespaceURI());\n } \n \n return (ret);\n }", "public boolean isManifestMatch(InputStream manifestContent) {\n\t\treturn true;\n\t}", "protected void verifyRootElement(String localName, String prefix)\n throws XMLStreamException\n {\n if (isValidating()) {\n /* 17-Mar-2006, TSa: Ideally, this should be a validity\n * problem?\n */\n if (mDtdRootElem != null && mDtdRootElem.length() > 0) {\n String wrongElem = null;\n \n /* Ugh. It is possible that we just don't know the prefix --\n * in repairing mode it's assigned after this check. So for\n * now, let's only verify the local name\n */\n if (localName.equals(mDtdRootElem)) {\n // good\n } else {\n int lnLen = localName.length();\n int oldLen = mDtdRootElem.length();\n \n if (oldLen > lnLen\n && mDtdRootElem.endsWith(localName)\n && mDtdRootElem.charAt(oldLen - lnLen - 1) == ':') {\n // good also\n } else {\n if (prefix == null) { // doesn't and won't have one\n wrongElem = localName;\n } else if (prefix.length() == 0) { // don't know what it'd be\n wrongElem = \"[unknown]:\"+localName;\n } else {\n wrongElem = prefix + \":\" + localName;\n }\n }\n }\n if (wrongElem != null) {\n reportValidationProblem(ErrorConsts.ERR_VLD_WRONG_ROOT, wrongElem, mDtdRootElem);\n }\n }\n }\n mState = STATE_TREE;\n }", "boolean isSetNamespace();", "public static boolean NamespaceNodeTest(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"NamespaceNodeTest\")) return false;\n if (!nextTokenIs(b, K_NAMESPACE_NODE)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, NAMESPACE_NODE_TEST, null);\n r = consumeTokens(b, 2, K_NAMESPACE_NODE, L_PAR, R_PAR);\n p = r; // pin = 2\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "boolean isNamespace(Object object);", "@Override\r\n\t\tpublic boolean hasAttributeNS(String namespaceURI, String localName) throws DOMException\r\n\t\t\t{\n\t\t\t\treturn false;\r\n\t\t\t}", "private boolean checkStartElement(XMLEvent event, String elementName) {\n\t\tif (event.isStartElement()\n\t\t\t\t&& event.asStartElement().getName().getLocalPart()\n\t\t\t\t\t\t.toLowerCase().equals(elementName)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean hasNamespace() {\n return m_namespaces != null && m_namespaces.size() > 0;\n }", "protected final boolean isRoot() {\n return _metaData.isRoot(this);\n }", "protected boolean isStepSameAsModelNode(String targetNodeNs, String targetNodeLocalName, Step step, SchemaRegistry schemaRegistry) {\n boolean returnValue = false;\n NodeTest nodeTest = step.getNodeTest();\n if (schemaRegistry == null) {\n \tschemaRegistry = m_schemaRegistry;\n }\n if (nodeTest instanceof NodeNameTest) {\n NodeNameTest node = (NodeNameTest) nodeTest;\n String ns = node.getNamespaceURI();\n String name = node.getNodeName().getName();\n if (targetNodeLocalName.equals(name)) {\n // Both the local Names match.\n\n if (ns != null && ns.equals(targetNodeNs)) {\n returnValue = true;\n } else {\n String prefix = node.getNodeName().getPrefix();\n if (prefix != null) {\n String modelNodeNS = targetNodeNs;\n String modelNodePrefix = schemaRegistry.getPrefix(modelNodeNS);\n if (prefix.equals(modelNodePrefix)) {\n returnValue = true;\n }\n } else {\n // well we have only localName to match.\n // no NS or prefix in xPath.\n returnValue = true;\n }\n\n }\n }\n }\n return returnValue;\n }", "public boolean isRoot()\r\n\t{\r\n\t\treturn (m_parent == null);\r\n\t}", "public static boolean hasAncestorElementNS(@Nonnull Element element, @Nullable final String ancestorElementNamespaceURI,\n\t\t\t@Nonnull final String ancestorElementLocalName) {\n\t\twhile((element = asInstance(element.getParentNode(), Element.class).orElse(null)) != null) { //keep looking at parents until we run out of elements and hit the document\n\t\t\tif(Objects.equals(element.getNamespaceURI(), ancestorElementNamespaceURI) && element.getNodeName().equals(ancestorElementLocalName)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean equals(Object object)\n/* */ {\n/* 1350 */ if (!(object instanceof XMLElement)) {\n/* 1351 */ return false;\n/* */ }\n/* 1353 */ XMLElement rawElement = (XMLElement)object;\n/* */ \n/* 1355 */ if (!this.name.equals(rawElement.getLocalName())) {\n/* 1356 */ return false;\n/* */ }\n/* 1358 */ if (this.attributes.size() != rawElement.getAttributeCount()) {\n/* 1359 */ return false;\n/* */ }\n/* 1361 */ Enumeration<XMLAttribute> en = this.attributes.elements();\n/* 1362 */ while (en.hasMoreElements()) {\n/* 1363 */ XMLAttribute attr = (XMLAttribute)en.nextElement();\n/* */ \n/* 1365 */ if (!rawElement.hasAttribute(attr.getName())) {\n/* 1366 */ return false;\n/* */ }\n/* */ \n/* */ \n/* */ \n/* 1371 */ String value = rawElement.getString(attr.getName(), null);\n/* 1372 */ if (!attr.getValue().equals(value)) {\n/* 1373 */ return false;\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1381 */ if (this.children.size() != rawElement.getChildCount()) {\n/* 1382 */ return false;\n/* */ }\n/* 1384 */ for (int i = 0; i < this.children.size(); i++) {\n/* 1385 */ XMLElement child1 = getChild(i);\n/* 1386 */ XMLElement child2 = rawElement.getChild(i);\n/* */ \n/* 1388 */ if (!child1.equals(child2)) {\n/* 1389 */ return false;\n/* */ }\n/* */ }\n/* 1392 */ return true;\n/* */ }", "public static boolean isElement(Element elem, String namespaceURI, String name) {\n if (elem.getNamespaceURI().equals(namespaceURI) && elem.getLocalName().equals(name)) {\n return true;\n }\n return false;\n }", "private static String verifyXPathRoot(String schemaNS, String rootProp) throws XMPException {\n\n\t\tif (schemaNS == null || schemaNS.length() == 0) {\n\t\t\tthrow new XMPException(\"Schema namespace URI is required\", XMPError.BADSCHEMA);\n\t\t}\n\n\t\tif ((rootProp.charAt(0) == '?') || (rootProp.charAt(0) == '@')) {\n\t\t\tthrow new XMPException(\"Top level name must not be a qualifier\", XMPError.BADXPATH);\n\t\t}\n\n\t\tif (rootProp.indexOf('/') >= 0 || rootProp.indexOf('[') >= 0) {\n\t\t\tthrow new XMPException(\"Top level name must be simple\", XMPError.BADXPATH);\n\t\t}\n\n\t\tString prefix = XMPMetaFactory.getSchemaRegistry().getNamespacePrefix(schemaNS);\n\t\tif (prefix == null) {\n\t\t\tthrow new XMPException(\"Unregistered schema namespace URI\", XMPError.BADSCHEMA);\n\t\t}\n\n\t\t// Verify the various URI and prefix combinations. Initialize the\n\t\t// expanded XMPPath.\n\t\tint colonPos = rootProp.indexOf(':');\n\t\tif (colonPos < 0) {\n\t\t\t// The propName is unqualified, use the schemaURI and associated\n\t\t\t// prefix.\n\t\t\tverifySimpleXMLName(rootProp); // Verify the part before any colon\n\t\t\treturn prefix + rootProp;\n\t\t} else {\n\t\t\t// The propName is qualified. Make sure the prefix is legit. Use the associated\n\t\t\t// URI and\n\t\t\t// qualified name.\n\n\t\t\t// Verify the part before any colon\n\t\t\tverifySimpleXMLName(rootProp.substring(0, colonPos));\n\t\t\tverifySimpleXMLName(rootProp.substring(colonPos));\n\n\t\t\tprefix = rootProp.substring(0, colonPos + 1);\n\n\t\t\tString regPrefix = XMPMetaFactory.getSchemaRegistry().getNamespacePrefix(schemaNS);\n\t\t\tif (regPrefix == null) {\n\t\t\t\tthrow new XMPException(\"Unknown schema namespace prefix\", XMPError.BADSCHEMA);\n\t\t\t}\n\t\t\tif (!prefix.equals(regPrefix)) {\n\t\t\t\tthrow new XMPException(\"Schema namespace URI and prefix mismatch\", XMPError.BADSCHEMA);\n\t\t\t}\n\n\t\t\treturn rootProp;\n\t\t}\n\t}", "public boolean isNamespaceAware() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.NAMESPACES_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "public boolean isValidateRoot() {\n/* 463 */ return true;\n/* */ }", "public boolean isRoot() {\r\n return (_parent == null);\r\n }", "public boolean isValidateRoot() {\n/* 246 */ return true;\n/* */ }", "@Test\n\tpublic void test_TCM__OrgJdomNamespace_getNamespace() {\n\t\tfinal Namespace ns = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attr = new Attribute(\"test\", \"value\", ns);\n\t\tfinal Namespace ns2 = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tassertTrue(\"incorrect Namespace\", attr.getNamespace().equals(ns2));\n\n\t}", "private boolean ensureXSDTypeNamespaceMappings(Object obj) {\r\n\t\t\r\n\t\tString targetNamespace = null;\r\n\t\t\r\n\t\tif (obj instanceof XSDNamedComponent ) {\r\n\t\t\tXSDNamedComponent namedComponent = (XSDNamedComponent) obj; \r\n\t\t\ttargetNamespace = namedComponent.getTargetNamespace();\r\n\t\t}\r\n\t\t\r\n\t\tif (targetNamespace == null) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t// Now check if the target namespace has a prefix mappings.\r\n\t\tString prefix = BPELUtils.getNamespacePrefix (modelObject, targetNamespace);\r\n\t\tif (prefix != null) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t// We have to map the namespace to a prefix. \r\n\t\tNamespaceMappingDialog dialog = new NamespaceMappingDialog(getShell(),modelObject);\r\n\t\tdialog.setNamespace( targetNamespace );\r\n\t\t\r\n\t\tif (dialog.open() == Window.CANCEL) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t// define the prefix\r\n\t\tBPELUtils.setPrefix( BPELUtils.getProcess(modelObject), targetNamespace, dialog.getPrefix()); \t\t\r\n\t\t\r\n\t\treturn true;\r\n\t}", "public boolean isValidateRoot()\r\n\t{\r\n\t\treturn(true);\r\n\t}", "public final boolean hasAttributeNS(final String namespaceURI, final String localName) {\n final String qualifiedName = getQualifiedName(namespaceURI, localName);\n if (qualifiedName != null) {\n return attributes_.get(qualifiedName) != null;\n }\n return false;\n }", "public boolean hasNamespace(final String namespace) {\n return rpcMethods.keySet().stream()\n .anyMatch(key -> key.toUpperCase().startsWith(namespace.toUpperCase()));\n }", "public boolean isRoot() {\n return getName().getPath().equals(SEPARATOR);\n }", "private void expectCurrentLocalName(String localNameExpected)\n\t\t\tthrows XmpUnexpectedElementException {\n\t\tif (!reader.get().getLocalName().equals(localNameExpected)) {\n\t\t\tthrow new XmpUnexpectedElementException(\"'\" + localNameExpected\n\t\t\t\t\t+ \"' expected and '\" + reader.get().getLocalName()\n\t\t\t\t\t+ \"' found\");\n\t\t}\n\t}", "boolean isRoot()\n {\n return this.parent == null;\n }", "public static boolean matches(StartElement startElement, String tag) {\n String elementTag = StaxParserUtil.getElementName(startElement);\n return tag.equals(elementTag);\n }", "protected boolean compareNamespace(final XNode y, final ArrayReporter rep) {\n\t\tString ux = getNSUri();\n\t\tString uy = y.getNSUri();\n\t\tif (ux == null) {\n\t\t\tif (uy == null) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} else if (ux.equals(uy)) {\n\t\t\treturn true;\n\t\t}\n\t\t//Namespace differs: &{0} and &{1}\n\t\trep.error(XDEF.XDEF288, getXDPosition(), y.getXDPosition());\n\t\treturn false;\n\t}", "public boolean isRoot() {\n\t\treturn pathFragments.isEmpty();\n\t}", "private boolean isNamespace(int start, int end) {\n int i;\n int nsLen = end - start;\n int offset = tokenStart - start;\n int tokenLen = tokenEnd - tokenStart;\n\n if (tokenLen < nsLen) {\n return false;\n }\n\n for (i = start; i < end; i++) {\n if (data.charAt(i) != data.charAt(i + offset)) {\n return false;\n }\n }\n\n if (nsLen == tokenLen) {\n return true;\n }\n return data.charAt(i + offset) == '.';\n }", "@Test\n public void testValidateManifest() {\n KicIngester.validateManifest(new File(SCP_DATA_DIR), \"Manifest\",\n KicIngester.getScpFiles(new File(SCP_DATA_DIR),\n SCP_FILENAME_PATTERN));\n }", "protected boolean isValidElement(Object element) {\r\n\t\treturn element instanceof IRubyProject || element instanceof ISourceFolderRoot;\r\n\t}", "public static boolean checkRootName(final String rootName) {\n\t\treturn !getRootMap().containsKey(rootName);\n\t}", "boolean isValid() {\n\t\tif (this.nodeImpl != null) {\n\t\t\t\n\t\t\tfor (AbstractImplementationArtifact ia : this.nodeImpl.getImplementationArtifacts()) {\n\t\t\t\tboolean matched = false;\n\t\t\t\tfor (AbstractImplementationArtifact handledIa : this.ias) {\n\t\t\t\t\tif (ia.equals(handledIa)) {\n\t\t\t\t\t\tmatched = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!matched) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t} else {\n\t\t\t\n\t\t\tfor (AbstractImplementationArtifact ia : this.relationImpl.getImplementationArtifacts()) {\n\t\t\t\tboolean matched = false;\n\t\t\t\tfor (AbstractImplementationArtifact handledIa : this.ias) {\n\t\t\t\t\tif (ia.equals(handledIa)) {\n\t\t\t\t\t\tmatched = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!matched) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t}\n\t}", "public static boolean isValidNamespace(CharSequence namespace) {\n if (namespace == null) {\n return false;\n }\n\n int position = 0;\n boolean start = true;\n\n while (position < namespace.length()) {\n char c = namespace.charAt(position++);\n if (start) {\n start = false;\n if (!isValidIdentifierStart(c)) {\n return false;\n }\n } else if (c == '.') {\n start = true;\n } else if (!isValidIdentifierAfterStart(c)) {\n return false;\n }\n }\n\n return !start;\n }", "public boolean exists(String namespace, String id);", "public static boolean m51366a(Context context) {\n return context != null && !TextUtils.isEmpty(context.getPackageName()) && \"com.xiaomi.xmsf\".equals(context.getPackageName());\n }", "public boolean isNotEmpty(){\n return root != null;\n }", "protected final boolean compareNameAndNS(final XNode y\n\t\t, final ArrayReporter rep){\n\t\tif (!getLocalName().equals(y.getLocalName())\n\t\t\t|| getNSUri() != null && !getNSUri().equals(y.getNSUri())\n\t\t\t|| getNSUri() == null && y.getNSUri() != null) {\n\t\t\t//Names differs: &{0} and &{1}\n\t\t\trep.error(XDEF.XDEF289, getXDPosition(), y.getXDPosition());\n\t\t\tcompareNamespace(y, rep);\n\t\t\treturn false;\n\t\t}\n\t\treturn compareNamespace(y, rep);\n\t}", "private boolean isUnderRoot(Node node) {\n while (node != null) {\n if (node.equals(rootContext)) {\n return true;\n }\n\n node = node.getParentNode();\n }\n\n return false;\n }", "public boolean isQualified() {\n\t\treturn (did != null && fragment != null);\n\t}", "public static boolean isValidXmlElementName(String name) {\n return REGEX_VALID_XML_ELEMENT_NAME.matcher(name).matches();\n }", "@Test\n\tpublic void test_TCM__String_getNamespacePrefix() {\n\t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", namespace);\n\t\tassertTrue(\"incorrect prefix\", attribute.getNamespacePrefix().equals(\"prefx\"));\n\t}", "@Test\n\tpublic void test_TCM__String_getNamespaceURI() {\n\t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", namespace);\n\t\tassertTrue(\"incorrect URI\", attribute.getNamespaceURI().equals(\"http://some.other.place\"));\n\n\t}", "public boolean isRootContextNode();", "public boolean namespace() {\n\t\ttry {\n\t\t\tArrayList<String[]> records = dh.getNamespaces();\n\t\t\tif (records != null) {\n\t\t\t\t// System.out.println(\"NAMESPACE RECORDS FOUND\");\n\t\t\t\tint l = records.size();\n\t\t\t\tbyte[] startPacket = (\"NAMESPACE\").getBytes();\n\t\t\t\toos.writeObject(startPacket);\n\t\t\t\t// System.out.println(\"Start packet sent!!!\");\n\t\t\t\tAckThread ack = new AckThread(dh, ois, records);\n\t\t\t\tack.start();\n\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\tString method = records.get(i)[0];\n\t\t\t\t\tString user = records.get(i)[1];\n\t\t\t\t\tString namespace = records.get(i)[2];\n\t\t\t\t\tString permission = records.get(i)[3];\n\t\t\t\t\tString data = method + \"\\n\" + user + \"\\n\" + namespace\n\t\t\t\t\t\t\t+ \"\\n\" + permission;\n\t\t\t\t\tBundle b = new Bundle();\n\t\t\t\t\tb.data = data.getBytes();\n\t\t\t\t\tb.userId = userId;\n\t\t\t\t\tb.transactionId = i;\n\t\t\t\t\tb.bundleType = b.DATA;\n\t\t\t\t\tb.noOfBundles = 1;\n\t\t\t\t\tb.bundleNumber = 0;\n\t\t\t\t\tb.bundleSize = b.data.length;\n\t\t\t\t\tbyte[] bundle = b.getBytes();\n\t\t\t\t\toos.writeObject(bundle);\n\t\t\t\t\toos.flush();\n\t\t\t\t\t// System.out.println(\"Sent bundle -> Transaction id : \" + i\n\t\t\t\t\t// + \" Bundle No. : \" + 0);\n\t\t\t\t}\n\t\t\t\tack.join();\n\t\t\t\tBundle b = new Bundle();\n\t\t\t\tb.userId = userId;\n\t\t\t\tb.transactionId = -1;\n\t\t\t\tb.bundleType = b.STOP;\n\t\t\t\tb.noOfBundles = 1;\n\t\t\t\tb.bundleNumber = -1;\n\t\t\t\tb.bundleSize = 0;\n\t\t\t\tb.data = null;\n\t\t\t\toos.writeObject(b.getBytes());\n\t\t\t\toos.flush();\n\t\t\t\t// System.out.println(\"Sent STOP bundle\");\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t}", "public final boolean isNamespaceAware() {\n return true;\n }", "public Boolean isRootNode();", "private boolean asmPresentCheck(Vector frozen, Vector paraffin, int module) {\n SamplestatusAccessBean status = new SamplestatusAccessBean();\n\n try {\n //lookup paraffin status\n Enumeration statusEnum =\n status.findBySampleIDStatus((String) paraffin.get(module), FormLogic.SMPL_ASMPRESENT);\n if (statusEnum.hasMoreElements())\n return true;\n\n for (int i = (module * 6); i < ((module * 6) + 6); i++) {\n statusEnum = status.findBySampleIDStatus((String) frozen.get(i), FormLogic.SMPL_ASMPRESENT);\n if (statusEnum.hasMoreElements())\n return true;\n }\n }\n catch (RemoteException re) {\n }\n catch (FinderException fe) {\n }\n catch (NamingException ne) {\n }\n\n return false;\n\n }", "public boolean isInteractionRoot()\n\t{\n\t\treturn this == model.getInteractionRoot();\n\t}", "private boolean isInnerType(IModelElement element) {\n \n \t\tif (element != null && element.getElementType() == IModelElement.TYPE) {\n \n \t\t\tIModelElement parent = element.getParent();\n \t\t\tif (parent != null) {\n \t\t\t\tint parentElementType = parent.getElementType();\n \t\t\t\treturn (parentElementType != IModelElement.SOURCE_MODULE);\n \t\t\t}\n \t\t}\n \n \t\treturn false;\n \t}", "public boolean isNilFriendlyName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FRIENDLYNAME$2, 0);\r\n if (target == null) return false;\r\n return target.isNil();\r\n }\r\n }", "public boolean isNamespaceAware () {\n return true;\n }", "public static boolean isa( String name, SerializationPosition state) {\n \n //STAC:Eleminates non-dirs with reflection\n if(state.currPos.getUserObject() instanceof HyperLink || state.currPos.getUserObject() instanceof DocumentI)\n return false;\n \n Object root = SiteMapGenerator.model.getRoot();\n\n //STAC:Find any duplicate entries in the tree\n boolean checkifdirmatches= checkifdirmatches(new Directory(root.toString()), (DefaultMutableTreeNode)root, name);\n return checkifdirmatches;\n \n }", "public boolean isId(Attr node) {\n\t\tif (node.getNamespaceURI() != null)\n\t\t\treturn false;\n\t\treturn RCPML_ID_ATTRIBUTE.equals(node.getNodeName());\n\t}", "public static boolean m149888a(Context context) {\n String b = m149889b(context);\n if ((b == null || !b.contains(\":\")) && b != null && b.equals(context.getPackageName())) {\n return true;\n }\n return false;\n }", "public boolean isTargetNamespace(String prefix) {\r\n return prefix.equals(getDefinitions().getTargetNamespace());\r\n }", "public boolean isRoot() {\n return isIndex() && parts.length == 0;\n }", "public boolean isRoot() {\n return !hasParent();\n }", "@Test\r\n public void testIsChildSupported() {\r\n System.out.println(\"isChildSupported\");\r\n String tagName = \"\";\r\n XmlRoot instance = null;\r\n boolean expResult = false;\r\n// boolean result = instance.isChildSupported(tagName);\r\n// assertEquals(expResult, result);\r\n }", "private boolean checkEndElement(XMLEvent event, String elementName) {\n\t\tif (event.isEndElement()\n\t\t\t\t&& event.asEndElement().getName().getLocalPart().toLowerCase()\n\t\t\t\t\t\t.equals(elementName)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "private static boolean isAttributeAvailable(Element element, String attrName) {\n \t\tModelQuery modelQuery = ModelQueryUtil.getModelQuery(element\n \t\t\t\t.getOwnerDocument());\n \t\tif (modelQuery != null) {\n \t\t\tCMElementDeclaration decl = modelQuery\n \t\t\t\t\t.getCMElementDeclaration(element);\n \t\t\tif (decl != null) {\n \t\t\t\tCMNamedNodeMap map = decl.getAttributes();\n \t\t\t\tif ((CMAttributeDeclaration) map.getNamedItem(attrName) != null) {\n \t\t\t\t\treturn true;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \n \t\treturn false;\n \t}", "boolean isValid(String interfaceName, String operationName) {\n\t\tif (this.nodeImpl != null) {\n\t\t\t\n\t\t\tfor (AbstractImplementationArtifact ia : this.nodeImpl.getImplementationArtifacts()) {\n\t\t\t\tif (ia.getInterfaceName() != interfaceName) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (ia.getOperationName() != null && ia.getOperationName() != operationName) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tboolean matched = false;\n\t\t\t\tfor (AbstractImplementationArtifact handledIa : this.ias) {\n\t\t\t\t\tif (ia.equals(handledIa)) {\n\t\t\t\t\t\tmatched = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!matched) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t} else {\n\t\t\t\n\t\t\tfor (AbstractImplementationArtifact ia : this.relationImpl.getImplementationArtifacts()) {\n\t\t\t\tif (ia.getInterfaceName() != interfaceName) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (ia.getOperationName() != null && ia.getOperationName() != operationName) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tboolean matched = false;\n\t\t\t\tfor (AbstractImplementationArtifact handledIa : this.ias) {\n\t\t\t\t\tif (ia.equals(handledIa)) {\n\t\t\t\t\t\tmatched = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!matched) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t}\n\t}", "public boolean isSetNs() {\n return this.ns != null;\n }", "public boolean isNilOrganizationVersion()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORGANIZATIONVERSION$6, 0);\r\n if (target == null) return false;\r\n return target.isNil();\r\n }\r\n }", "public static Element contains(final Element root, final String name){\n return contains(root, name, -1);\n }", "public boolean isValidateRoot() {\n\tComponent parent = getParent();\n\tif (parent instanceof JViewport) {\n\t return false;\n\t}\n return true;\n }", "protected boolean parentExists() {\n\n\t\tIRodinElement parentElement = getParent();\n\t\tif (parentElement == null)\n\t\t\treturn true;\n\t\treturn parentElement.exists();\n\t}", "private void expectName(String namespace, String name)\n\t\t\tthrows XmpUnexpectedElementQualifiedNameException {\n\t\tif (!reader.get().getNamespaceURI().equals(namespace)) {\n\t\t\tthrow new XmpUnexpectedElementQualifiedNameException(\"Expected '\"\n\t\t\t\t\t+ namespace + \"' and found '\"\n\t\t\t\t\t+ reader.get().getNamespaceURI() + \"'\");\n\t\t}\n\t\tif (!reader.get().getLocalName().equals(name)) {\n\t\t\tthrow new XmpUnexpectedElementQualifiedNameException(\"Expected '\"\n\t\t\t\t\t+ name + \"' and found '\" + reader.get().getLocalName()\n\t\t\t\t\t+ \"'\");\n\t\t}\n\t}", "public boolean isRoot(){\n\t\treturn bound.isRoot();\n\t}", "protected boolean testRobotmlModelNature(Object receiver) {\r\n\t\tboolean isRobotmlModel = false;\r\n\r\n\r\n\r\n\t\tEObject root = getRoot(receiver);\r\n\t\tif(root instanceof Package) {\r\n\t\t\tPackage rootPackage = (Package)root;\r\n\t\t\tProfile profile = rootPackage.getAppliedProfile(PLASMA_PROFILE_ELEM_NAME);\r\n\t\t\treturn profile != null;\r\n\r\n\t\t\t//FIX: UMLUtil.getProfile() loads the profile into the resource set. This is not desired.\r\n\t\t\t//\r\n\t\t\t//\t\t\tProfile robotml = UMLUtil.getProfile(RobotMLPackage.eINSTANCE, root);\r\n\t\t\t//\r\n\t\t\t//\t\t\tif(((Package)root).isProfileApplied(robotml)) {\r\n\t\t\t//\t\t\t\tisRobotmlModel = true;\r\n\t\t\t//\t\t\t}\r\n\t\t}\r\n\r\n\r\n\t\treturn isRobotmlModel;\r\n\t}", "private boolean checkDuplicateNamespace(NamespaceDefinition def) {\n \n // create structures if not already done\n if (m_namespaces == null) {\n m_namespaces = new ArrayList();\n m_uriMap = new HashMap();\n }\n \n // check for conflict (or duplicate) definition\n String uri = def.getUri();\n NamespaceDefinition prior = (NamespaceDefinition)m_uriMap.get(uri);\n return prior != null && (prior.getPrefix() != null || def.getPrefix() == null);\n }", "public boolean isValid() {\n try {\n validate();\n } catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "boolean hasAstRoot();", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isNilUniqueName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(UNIQUENAME$10, 0);\r\n if (target == null) return false;\r\n return target.isNil();\r\n }\r\n }", "public boolean checkRoot() {\n\t\t\treturn (this.getParent().getHeight() == -1);\n\t\t}", "private boolean isTopLevel(File file) {\n String name = file.getName();\n return name.equals(APP_PNG)\n || name.equals(APP_XML)\n || name.endsWith(FEATURES_XML)\n || name.endsWith(JAR)\n || file.isDirectory();\n }", "private boolean hasExtension(String namespace, TOSCAPlan buildPlan) {\n\t\treturn Utils.hasChildElementWithAttribute(buildPlan.getBpelExtensionsElement(), \"namespace\", namespace);\n\t}", "public boolean loadData() {\n try {\n SAXReader reader = new SAXReader();\n Document xmlDoc = reader.read(xmlFile);\n\n Element rootNode = xmlDoc.getRootElement();\n\n rootTreeIterate(rootNode);\n\n } catch (DocumentException ex) {\n logger.error(\"Document loading error:\", ex);\n return false;\n }\n\n return true;\n }", "public static boolean isElement(String qName, String expectedElement) {\n return qName.equals(expectedElement);\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "@Override\n\tpublic boolean isRoot() {\n\t\treturn false;\n\t}", "default boolean isRoot() {\n if (isEmpty()){\n return false;\n }\n\n TreeNode treeNode = getTreeNode();\n return treeNode.getLeftValue() == 1;\n }", "private static boolean verifyXML(String fileName) throws IOException {\n\t\tSchemaFactory sf = SchemaFactory.newInstance(W3C_XML_SCHEMA);\n\t\tStreamSource xsdFile = new StreamSource(ResourceUtils.getResourceStream(XSD_FILE_PATH));\n\t\tStreamSource xmlFile = new StreamSource(new File(fileName));\n\t\tboolean validXML = false;\n\t\ttry {\n\t\t\tSchema schema = sf.newSchema(xsdFile);\n\t\t\tValidator validator = schema.newValidator();\n\t\t\ttry {\n\t\t\t\tvalidator.validate(xmlFile);\n\t\t\t\tvalidXML = true;\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (!validXML) {\n\t\t\t\tnew IOException(\"File isn't valid against the xsd\");\n\t\t\t}\n\t\t} catch (SAXException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\txsdFile.getInputStream().close();\n\t\t\t// When using a file, this may be null\n\t\t\tif (xmlFile.getInputStream() != null)\n\t\t\t\txmlFile.getInputStream().close();\n\t\t}\n\t\treturn validXML;\n\t}", "public boolean isStorageGroupAlreadySet(PartialPath path) {\n String[] nodeNames = path.getNodes();\n IMNode cur = root;\n if (!nodeNames[0].equals(root.getName())) {\n return false;\n }\n for (int i = 1; i < nodeNames.length; i++) {\n if (!cur.hasChild(nodeNames[i])) {\n return false;\n }\n cur = cur.getChild(nodeNames[i]);\n if (cur.isStorageGroup()) {\n return true;\n }\n }\n return true;\n }", "public boolean getIsIMSManifestPresent() {\r\n\t\treturn mIsIMSManifestPresent;\r\n\t}" ]
[ "0.6693983", "0.58186513", "0.5786796", "0.57313126", "0.5671082", "0.5537444", "0.5526127", "0.54553634", "0.54509056", "0.54502034", "0.5368047", "0.5367114", "0.5337583", "0.52721316", "0.52482677", "0.5189262", "0.5176195", "0.51060057", "0.51027066", "0.50645685", "0.50603807", "0.50584286", "0.50561917", "0.5024875", "0.50053746", "0.4979881", "0.49795294", "0.49786857", "0.497128", "0.4937054", "0.49201372", "0.49173033", "0.4883614", "0.487751", "0.4866034", "0.48599666", "0.4852791", "0.48438185", "0.48407415", "0.483811", "0.4826447", "0.4796803", "0.47797647", "0.47786418", "0.47374484", "0.4736915", "0.46996617", "0.46943337", "0.46804124", "0.46740916", "0.46366942", "0.46195728", "0.46172497", "0.4615334", "0.4614393", "0.46138752", "0.46114016", "0.46094298", "0.46038106", "0.46031696", "0.46011153", "0.45850885", "0.458495", "0.45796645", "0.4578248", "0.45737913", "0.4572296", "0.45595744", "0.45499104", "0.45463702", "0.45414573", "0.45388177", "0.45354292", "0.45324957", "0.45309696", "0.45230994", "0.45225605", "0.45201352", "0.45170596", "0.45062685", "0.45061377", "0.45014292", "0.44948754", "0.44948754", "0.44948754", "0.44948754", "0.44948754", "0.44944993", "0.4489134", "0.44873607", "0.44733086", "0.44638574", "0.4458088", "0.4457877", "0.4457877", "0.44565228", "0.4455285", "0.44545293", "0.44525182", "0.44478825" ]
0.72187
0
This method parses the provided XML file for wellformedness and validation against the controlling documents through interaction with the DOMParser. The usage of extended elements and/or attributes is also determined here.
protected void performValidatorParse(String iXMLFileName) { mLogger.entering("ADLSCORMValidator", "performValidatorParse()"); mLogger.finest(" iXMLFileName coming in is " + iXMLFileName); // create an adldomparser object ADLDOMParser adldomparser = new ADLDOMParser(); if (mSchemaLocation != null) { //set schemaLocation property and perform parsing on the test subject adldomparser.setSchemaLocation(getSchemaLocation()); // call the appropriate parse method based on what type of parse is // indicated by the mPerformaFullValidation parameter if (!mPerformFullValidation) { adldomparser.parseForWellformedness(iXMLFileName, true, false); setSchemaLocation(adldomparser.getSchemaLocation()); mDocument = adldomparser.getDocument(); // flag if the xsi:schemalocation attribute was declared in the XML mSchemaLocExists = adldomparser.getSchemaLocExists(); // extensions are detected and the flag is set during prunetree // of wellformedness parse only mIsExtensionsUsed = adldomparser.isExtensionsFound(); } else { adldomparser.setSchemaLocation(mSchemaLocation); adldomparser.parseForValidation(iXMLFileName); } } else { String msgText = Messages.getString("ADLSCORMValidator.18"); mLogger.severe("TERMINATE: " + msgText); MessageCollection.getInstance().add(new LogMessage(MessageType.TERMINATE, msgText)); // This is the updated logging method invocation DetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText)); } // retrieve adldomparser attribute values and assign to the SCORMValidator //mDocument = adldomparser.getDocument(); mIsWellformed = adldomparser.getIsWellformed(); mIsValidToSchema = adldomparser.getIsValidToSchema(); mDeclaredNamespaces = adldomparser.getDeclaredNamespaces(); // perform garabage cleanup (Runtime.getRuntime()).gc(); mLogger.exiting("ADLSCORMValidator", "performValidatorParse()"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) throws ParserConfigurationException {\n\t\tDocumentBuilder dBuilder;\n\t\tDocument doc = null;\n\t\tdBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();\n\t\ttry {\n\t\t\tdoc = dBuilder.parse(new File(filepath));\n\t\t} catch (SAXException | IOException e) {\n\t\t\tSystem.out.println(\"Invalid File / Xml\");\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\n\t\tSystem.out.println(\"Root element is: <\" + doc.getDocumentElement().getNodeName() + \">\");\n\n\t\tNodeList childNodes = doc.getDocumentElement().getChildNodes();\n\t\tfor (int i = 0; i < childNodes.getLength(); i++) {\n\t\t\tNode node = childNodes.item(i);\n\t\t\tif (node.getNodeType() == Node.ELEMENT_NODE) {\n\t\t\t\tString name = node.getNodeName();\n\t\t\t\tString value = node.getTextContent();\n\t\t\t\tSystem.out.println(\"Node name: '\" + name + \"' has text content: \" + value);\n\t\t\t}\n\t\t}\n\n\t\t// Validate XML against schema.xsd\n\t\tSchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);\n\n\t\t// Validate will throw exception only if xml is not valid against the schema\n\t\ttry {\n\t\t\tSchema schema = factory.newSchema(new File(schemapath));\n\t\t\tValidator validator = schema.newValidator();\n\t\t\tvalidator.validate(new StreamSource(new File(filepath)));\n\t\t\tSystem.out.println(\"XML is valid. No exception was thrown\");\n\t\t} catch (SAXException | IOException e) {\n\t\t\tSystem.out.println(\"Invalid XML. Exception found: \" + e.getMessage());\n\t\t}\n\t}", "@Override\n public void parseXml(Element ele, LoadContext lc) {\n\n }", "void validate() throws JDOMException, SAXException, IOException {\n\t\tif (oldLangFile != null && addressFactory == null || registerMgr == null) {\n\t\t\treadOldLanguage(false);\n\t\t}\n\t}", "private static void validate(String fileName, String xSchema) throws Exception {\n \t\ttry {\n\t // parse an XML document into a DOM tree\n\t DocumentBuilder parser =\n\t DocumentBuilderFactory.newInstance().newDocumentBuilder();\n\t Document document = parser.parse(new File(fileName));\n\t\n\t // create a SchemaFactory capable of understanding WXS schemas\n\t SchemaFactory factory =\n\t SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);\n\t\n\t // load a WXS schema, represented by a Schema instance\n\t Source schemaFile = new StreamSource(new File(xSchema));\n\t Schema schema = factory.newSchema(schemaFile);\n\t\n\t // create a Validator object, which can be used to validate\n\t // an instance document\n\t Validator validator = schema.newValidator();\n\t\n\t // validate the DOM tree\n\t\n\t validator.validate(new DOMSource(document));\n \t\t} catch(Exception e) {\n \t\t\tXMLValidate.file = fileName.substring(fileName.lastIndexOf(\"/\") + 1).replaceAll(\".xml\", \"\");\n \t\t\tthrow e;\n \t\t}\n \n }", "public static void parseXML(String filename) {\n SAXBuilder builder = new SAXBuilder();\n \n //reading XML document\n Document xml = null;\n try {\n xml = builder.build(new File(filename));\n } catch (JDOMException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n \n //getting root element from XML document\n Element root = xml.getRootElement();\n if (root != null)\n {\n\t Element queryNode = root.getChild(\"query\");\n\t if (queryNode != null)\n\t {\n\t\t Element rcNode = queryNode.getChild(\"recentchanges\");\n\t\t \n\t\t List<Element> rcList = rcNode.getChildren();\n\t\t \n\t\t \n\t\t \n\t\t //Iterating over all childs in XML\n\t\t Iterator<Element> itr = rcList.iterator();\n\t\t while(itr.hasNext()){\n\t\t \tElement rc = itr.next();\n\t\t \tString user = rc.getAttributeValue(\"user\");\n\t\t \tString userId = rc.getAttributeValue(\"userid\");\n\t\t \tString pageId = rc.getAttributeValue(\"pageid\");\n\t\t \tString title = rc.getAttributeValue(\"title\");\n\t\t \tString timestamp = rc.getAttributeValue(\"timestamp\");\n\t\t \tString comments = rc.getAttributeValue(\"comment\");\n\t\t \tString type = rc.getAttributeValue(\"type\");\n\t\t \tString oldRevId = rc.getAttributeValue(\"old_revid\");\n\t\t \tString newRevId = rc.getAttributeValue(\"revid\");\n\t\t \tString recentChangeId = rc.getAttributeValue(\"rcid\");\n\t\t \t\n\t\t// \t //reading attribute from Element using JDOM\n\t\t// System.out.println(\"User: \" + user + \" | User_ID: \" + userId + \" | Page_ID: \" + pageId + \n\t\t// \t\t\" | Title: \" + title + \" | Timestamp: \" + timestamp + \" | Recent_Change_ID: \" + recentChangeId + \" | Old_Rev_ID: \" + oldRevId + \n\t\t// \t\t\" | New_Rev_ID: \" + newRevId + \" | Type: \" + type); \n\t\t \t\n\t\t \ttry {\n\t\t\t\t\t\tcluster.writeWikiResults(user, userId, timestamp, pageId, title, recentChangeId, oldRevId, newRevId, type);\n\t\t\t\t\t\t System.out.println(count++);\n\t\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t }\n\t }\n } \n }", "public void readXML() {\n\t try {\n\n\t \t//getting xml file\n\t \t\tFile fXmlFile = new File(\"cards.xml\");\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\n\t\t\tDocument doc = dBuilder.parse(fXmlFile);\n\t\t \n\t\t\t//doc.getDocumentElement().normalize(); ???\n\t\t \n\t\t \t//inserting card IDs and Effects into arrays\n\t\t\tNodeList nList = doc.getElementsByTagName(\"card\");\n\t\t\tfor (int i = 0; i < nList.getLength(); i++) {\n\t\t\t\tNode nNode = nList.item(i);\n\t\t\t\tif (nNode.getNodeType() == Node.ELEMENT_NODE) {\n\t\t\t\t\tElement eElement = (Element) nNode;\n\t\t\t\t\tint id = Integer.parseInt(eElement.getAttribute(\"id\"));\n\t\t\t\t\tString effect = eElement.getElementsByTagName(\"effect\").item(0).getTextContent();\n\t\t\t\t\tidarr.add(id);\n\t\t\t\t\teffsarr.add(effect);\n\t\t\t\t}\n\t\t\t}\n\t } catch (Exception e) {\n\t\t\te.printStackTrace();\n\t }\n }", "void processElement(File documentPath) \n\t\t\tthrows XMLFormatException;", "public void parseXmlFile(String fileName){\n\t\t//get the factory\n\t\tDocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n\t\t\n\t\ttry {\n\t\t\t//Using factory get an instance of document builder\n\t\t\tDocumentBuilder db = dbf.newDocumentBuilder();\n\t\t\t\n\t\t\t//parse using builder to get DOM representation of the XML file\n\t\t\tdoc = db.parse(fileName);\n\t\t} catch(ParserConfigurationException pce) {\n\t\t\tpce.printStackTrace();\n\t\t} catch(SAXException se) {\n\t\t\tSystem.err.println(\"Malformed XML: Make sure to provide a valid XML document.\");\n\t\t} catch(IOException ioe) {\n\t\t\tSystem.err.println(\"File not found: Path to a valid XML file has to be specified.\" );\n\t\t}\n\t}", "static void processFile(File xmlFile) {\n Document doc = null;\n try {\n doc = builder.parse(xmlFile);\n }\n catch (IOException e) {\n e.printStackTrace();\n System.exit(3);\n }\n catch (SAXException e) {\n System.out.println(\"Parsing error on file \" + xmlFile);\n System.out.println(\" (not supposed to happen with supplied XML files)\");\n e.printStackTrace();\n System.exit(3);\n }\n \n /* At this point 'doc' contains a DOM representation of an 'Items' XML\n * file. Use doc.getDocumentElement() to get the root Element. */\n System.out.println(\"Successfully parsed - \" + xmlFile);\n \n /* Fill in code here (you will probably need to write auxiliary\n methods). */\n \n Element[] elems = getElementsByTagNameNR(doc.getDocumentElement(), \"Item\");\n for(Element e : elems) {\n\n String itemId = e.getAttribute(\"ItemID\");\n String name = getElementTextByTagNameNR(e, \"Name\");\n String currently = strip(getElementTextByTagNameNR(e, \"Currently\"));\n String buy_price = strip(getElementTextByTagNameNR(e, \"Buy_Price\"));\n String first_bid = strip(getElementTextByTagNameNR(e, \"First_Bid\"));\n String number_of_bids = getElementTextByTagNameNR(e, \"Number_of_Bids\");\n String country = getElementTextByTagNameNR(e, \"Country\");\n String started = changeTime(getElementTextByTagNameNR(e, \"Started\"));\n String ends = changeTime(getElementTextByTagNameNR(e, \"Ends\"));\n Element seller = getElementByTagNameNR(e, \"Seller\");\n String sellerId = seller.getAttribute(\"UserID\");\n String sellerRatings = seller.getAttribute(\"Rating\");\n String location = getElementTextByTagNameNR(e, \"Location\");\n Element locate = getElementByTagNameNR(e, \"Location\");\n String latitude = locate.getAttribute(\"Latitude\");\n String longitude = locate.getAttribute(\"Longitude\");\n String description = getElementTextByTagNameNR(e, \"Description\");\n if(description.length() > 4000)\n description = description.substring(0, 4001);\n\n // add the record to the list\n items.add(itemRecord(itemId, name, currently, buy_price, first_bid, number_of_bids, country,\n started, ends, sellerId, location, latitude, longitude, description));\n\n // add the category infomation and belongsTo information\n Element[] cates = getElementsByTagNameNR(e, \"Category\");\n for(Element c : cates) {\n String cate = getElementText(c);\n if(category.containsKey(cate) == false) {\n int cnt = category.size();\n category.put(cate, cnt);\n }\n int index = category.get(cate);\n String caterecord = itemId + columnSeparator + index;\n belongsTo.add(caterecord);\n }\n\n // add the user information\n if(users.containsKey(sellerId)) {\n users.get(sellerId).sellRating = sellerRatings;\n }\n else {\n User u = new User(sellerId);\n u.sellRating = sellerRatings;\n users.put(sellerId, u);\n }\n\n // add the bid infromation and bider inforamtion\n Element[] ebids = getElementsByTagNameNR(getElementByTagNameNR(e, \"Bids\"), \"Bid\");\n for(Element b : ebids) {\n Element bidder = getElementByTagNameNR(b, \"Bidder\");\n String bidderId = bidder.getAttribute(\"UserID\");\n String bidderRating = bidder.getAttribute(\"Rating\");\n String bidderloc = getElementTextByTagNameNR(bidder, \"Location\");\n String biddercoun = getElementTextByTagNameNR(bidder, \"Country\");\n String amount = strip(getElementTextByTagNameNR(b, \"Amount\"));\n String time = changeTime(getElementTextByTagNameNR(b, \"Time\"));\n\n\n if(users.containsKey(bidderId) == false) {\n User u = new User(bidderId);\n users.put(bidderId, u);\n }\n users.get(bidderId).location = bidderloc;\n users.get(bidderId).country = biddercoun;\n users.get(bidderId).bidRating = bidderRating;\n bids.add(bidRecord(itemId, bidderId, time, amount));\n }\n\n }\n \n \n /**************************************************************/\n \n }", "private void processXMLFile( File xmlFile ) throws SAXException, IOException, ParserConfigurationException {\r\n\t\t\r\n\t\t//parse the uploaded xml file\r\n\t\tDocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\r\n\t\tdomFactory.setValidating(false);\r\n\t\tdomFactory.setIgnoringComments(true);\r\n\t\t\r\n\t\tDocumentBuilder docBuilder = domFactory.newDocumentBuilder();\r\n\t\t\t\r\n\t\tDocument doc = docBuilder.parse(xmlFile);\r\n\t\t\t\t\r\n\t\tElement employeesNode = doc.getDocumentElement();\r\n\t\t\r\n\t\tNodeList employees = employeesNode.getElementsByTagName(\"Employee\");\r\n\t\t\r\n\t\tLogger.debug(\"found \" + employees.getLength() + \" employees in xml document\");\r\n\t\t\r\n\t\tfor (int i=0; i<employees.getLength(); i++ ) {\r\n\t\t\t\r\n\t\t\tHashMap<String,String> contactObject = new HashMap<String,String>();\r\n\t\t\t\r\n\t\t\tElement employee = (Element) employees.item(i);\r\n\t\t\t\r\n\t\t\tcontactObject.put( \"id\", employee.getAttribute(\"id\") );\r\n\t\t\tcontactObject.put( \"givenname\", ContactsImport.getXmlChildNodeValue( employee, \"GivenName\") );\r\n\t\t\tcontactObject.put( \"sn\", ContactsImport.getXmlChildNodeValue( employee, \"SurName\") );\r\n\t\t\tcontactObject.put( \"title\", ContactsImport.getXmlChildNodeValue( employee, \"JobTitle\") );\r\n\t\t\tcontactObject.put( \"mail\", ContactsImport.getXmlChildNodeValue( employee, \"EmailAddress\") );\r\n\t\t\tcontactObject.put( \"telephonenumber\", ContactsImport.getXmlChildNodeValue( employee, \"PhoneNumber\") );\r\n\t\t\t\r\n\t\t\tcreateContact(contactObject);\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n\tpublic void parseXML(Element root) throws Exception {\n\t\t\n\t}", "public static Document getDoc(File inputFile) throws ParserConfigurationException, IOException\r\n {\r\n Document parsedDocument = null;\r\n DocumentBuilderFactory f = null;\r\n try\r\n {\r\n //System.out.println(\"Validazione XML abilitata: \" + enableValidationFromGui);\r\n //System.out.println(\"Esclusione Spazi Bianchi Elementi XML Abilitata: \" + enableIgnoringWhitespaceFromGui);\r\n File xmlFile = inputFile;\r\n f = DocumentBuilderFactory.newInstance();\r\n f.setValidating(enableValidationFromGui); \r\n f.setIgnoringElementContentWhitespace(enableIgnoringWhitespaceFromGui);\r\n DocumentBuilder b = f.newDocumentBuilder();\r\n ErrorHandler h = new xmlValidationErrorHandler();\r\n b.setErrorHandler(h);\r\n parsedDocument = (Document) b.parse(xmlFile);\r\n }\r\n catch (ParserConfigurationException | SAXException | IOException e)\r\n {\r\n System.out.println(e.toString()); \r\n }\r\n if(f.isValidating() && enableValidationFromGui)\r\n return parsedDocument;\r\n else\r\n return parsedDocument; \r\n }", "public void fromXML(Element altN) {\r\n \t\tthis.fromXML = true;\r\n \t\tRationaleDB db = RationaleDB.getHandle();\r\n \r\n \t\t// add idref ***from the XML***\r\n \t\tString idref = altN.getAttribute(\"id\");\r\n \r\n \t\t// get our name\r\n \t\tname = altN.getAttribute(\"name\");\r\n \r\n \t\t// get our status\r\n \t\tstatus = AlternativeStatus.fromString(altN.getAttribute(\"status\"));\r\n \r\n \t\t// get our evaluation\r\n \t\tevaluation = Float.parseFloat(altN.getAttribute(\"evaluation\"));\r\n \r\n \t\tNode descN = altN.getFirstChild();\r\n \t\t// get the description\r\n \t\t// the text is actually the child of the element, odd...\r\n \t\tNode descT = descN.getFirstChild();\r\n \t\tif (descT instanceof Text) {\r\n \t\t\tText text = (Text) descT;\r\n \t\t\tString data = text.getData();\r\n \t\t\tsetDescription(data);\r\n \t\t}\r\n \r\n \t\t// and last....\r\n \t\tdb.addRef(idref, this); // important to use the ref from the XML file!\r\n \r\n \t\tElement child = (Element) descN.getNextSibling();\r\n \r\n \t\twhile (child != null) {\r\n \r\n \t\t\tString nextName;\r\n \r\n \t\t\tnextName = child.getNodeName();\r\n \t\t\t// here we check the type, then process\r\n \t\t\tif (nextName.compareTo(\"DR:argument\") == 0) {\r\n \t\t\t\tArgument arg = new Argument();\r\n \t\t\t\tdb.addArgument(arg);\r\n \t\t\t\taddArgument(arg);\r\n \t\t\t\targ.fromXML(child);\r\n \t\t\t} else if (nextName.compareTo(\"DR:question\") == 0) {\r\n \t\t\t\tQuestion quest = new Question();\r\n \t\t\t\tdb.addQuestion(quest);\r\n \t\t\t\taddQuestion(quest);\r\n \t\t\t\tquest.fromXML(child);\r\n \t\t\t} else if (nextName.compareTo(\"DR:decisionproblem\") == 0) {\r\n \t\t\t\tDecision dec = new Decision();\r\n \t\t\t\tdb.addDecision(dec);\r\n \t\t\t\taddSubDecision(dec);\r\n \t\t\t\tdec.fromXML(child);\r\n \t\t\t} else if (nextName.compareTo(\"DR:history\") == 0) {\r\n \t\t\t\thistoryFromXML(child);\r\n \t\t\t} else if (nextName.compareTo(\"argref\") == 0) {\r\n \t\t\t\tNode childRef = child.getFirstChild(); // now, get the text\r\n \t\t\t\t// decode the reference\r\n \t\t\t\tText refText = (Text) childRef;\r\n \t\t\t\tString stRef = refText.getData();\r\n \t\t\t\taddArgument((Argument) db.getRef(stRef));\r\n \r\n \t\t\t} else if (nextName.compareTo(\"decref\") == 0) {\r\n \t\t\t\tNode childRef = child.getFirstChild(); // now, get the text\r\n \t\t\t\t// decode the reference\r\n \t\t\t\tText refText = (Text) childRef;\r\n \t\t\t\tString stRef = refText.getData();\r\n \t\t\t\taddSubDecision((Decision) db.getRef(stRef));\r\n \r\n \t\t\t} else if (nextName.compareTo(\"questref\") == 0) {\r\n \t\t\t\tNode childRef = child.getFirstChild(); // now, get the text\r\n \t\t\t\t// decode the reference\r\n \t\t\t\tText refText = (Text) childRef;\r\n \t\t\t\tString stRef = refText.getData();\r\n \t\t\t\taddQuestion((Question) db.getRef(stRef));\r\n \r\n \t\t\t} else {\r\n \t\t\t\tSystem.out.println(\"unrecognized element under alternative!\");\r\n \t\t\t}\r\n \r\n \t\t\tchild = (Element) child.getNextSibling();\r\n \t\t}\r\n \t}", "public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException{\n\t File inputFile = new File(\"C:\\\\Users\\\\msamiull\\\\workspace\\\\jgraphx-master\\\\t.xml\");\r\n DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\r\n Document doc = dBuilder.parse(inputFile);\r\n \r\n\t\tdoc.getDocumentElement().normalize();\r\n System.out.println(\"Main element :\"+ doc.getDocumentElement().getNodeName());\r\n// NodeList nodeList = doc.getElementsByTagName(\"root\");\r\n \r\n NodeList nodeList = doc.getElementsByTagName(\"iOOBN\");\r\n// NamedNodeMap attribList = doc.getAttributes();\r\n \r\n// nonRecursiveParserXML(nList, doc);\r\n\r\n ArrayList<String> tagList = new ArrayList<String>();\r\n// tagList.add(\"mxCell\");\r\n// tagList.add(\"mxGeometry\");\r\n// tagList.add(\"mxPoint\");\r\n tagList.add(\"Node\");\r\n tagList.add(\"state\");\r\n tagList.add(\"tuple\"); // purposely i raplced \"datarow\" by \"tuple\" so that my parser can consider state first before tuple/data\r\n tagList.add(\"parent\");\r\n \r\n recursiveParserXML(nodeList, tagList);\r\n\r\n }", "public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException {\r\n\t\tSAXParserFactory spf = SAXParserFactory.newInstance();\r\n\t\t// Create the parser from the factory instance\r\n\t\t// two exceptions to the main method\r\n\t\tSAXParser sp = spf.newSAXParser();\r\n\r\n\t\t/*\r\n\t\t * Parse the XML document. Event based parsing it sends it to a handler . It need a\r\n\t\t * handler to Accepts 2 parameters. The file and the handler.\r\n\t\t */\r\n\t\t\r\n\t\t//set the file path and handler. The handler can implement certain interfaces. Throw exceptions to the mail\r\n\t\tsp.parse(\"C:/GitHub/MyJava/MyJavaProject/src/com/stoneriver/xml/validation/intro.xml\", new MyHandler());\r\n\r\n\t}", "public void parseXml(String file) {\n\n try {\n\n debug(\"\\n\\nIn the beginning God created the heaven and the world...\\n\\n\");\n\n File fXmlFile = new File(\"./levels/\" + file);\n DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\n DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\n Document doc = dBuilder.parse(fXmlFile);\n\n doc.getDocumentElement().normalize();\n debug(\"Chosen entity: \" + doc.getDocumentElement().getNodeName());\n\n NodeList placeList = doc.getElementsByTagName(\"place\");\n NodeList passageList = doc.getElementsByTagName(\"passage\");\n NodeList furnitureList = doc.getElementsByTagName(\"furniture\");\n NodeList storyList = doc.getElementsByTagName(\"story\");\n\n // Create object arrays\n ArrayList<Place> places = new ArrayList<>();\n ArrayList<Item> items = new ArrayList<>();\n ArrayList<Passage> passages = new ArrayList<>();\n ArrayList<Furniture> furnitures = new ArrayList<Furniture>();\n\n // parse story text\n Node storyNode = storyList.item(0);\n Element storyElement = (Element) storyNode;\n debug(\"Intro: \" + storyElement.getElementsByTagName(\"introduction\").item(0).getTextContent());\n debug(\"Level: \" + storyElement.getElementsByTagName(\"name\").item(0).getTextContent());\n debug(\"Version: \" + storyElement.getElementsByTagName(\"version\").item(0).getTextContent());\n // add story elements to world\n world.setIntroduction(\n storyElement.getElementsByTagName(\"introduction\").item(0).getTextContent());\n world.setLevelName(storyElement.getElementsByTagName(\"name\").item(0).getTextContent());\n world.setLevelVersion(storyElement.getElementsByTagName(\"version\").item(0).getTextContent());\n\n // parse all existing Places\n for (int placeCounter = 0; placeCounter < placeList.getLength(); placeCounter++) {\n Node placeNode = placeList.item(placeCounter);\n\n debug(\"\\nCurrent Element: \" + placeNode.getNodeName());\n\n if (placeNode.getNodeType() == Node.ELEMENT_NODE) {\n Element placeElement = (Element) placeNode;\n\n debug(\"- Ending: \" + placeElement.getAttribute(\"end\"));\n debug(\"- id: \" + placeElement.getAttribute(\"id\"));\n debug(\"- Name: \" + placeElement.getElementsByTagName(\"name\").item(0).getTextContent());\n debug(\"- Description: \"\n + placeElement.getElementsByTagName(\"description\").item(0).getTextContent());\n\n // Create Places.\n places.add(new Place(placeElement.getElementsByTagName(\"name\").item(0).getTextContent(),\n placeElement.getElementsByTagName(\"description\").item(0).getTextContent().replace(\"\\\\n\", \"\\n\")));\n\n // add EndingPlace to World, set endingText to Places' Description\n if (placeElement.getAttribute(\"end\").equals(\"bad\")) {\n world.addBadEnding(places.get(placeCounter),\n places.get(placeCounter).getDescription());\n } else if(placeElement.getAttribute(\"end\").equals(\"good\")) {\n world.addGoodEnding(places.get(placeCounter),\n places.get(placeCounter).getDescription());\n }\n \n // parse all existing Place Items\n NodeList itemList = placeElement.getElementsByTagName(\"item\");\n\n for (int itemCounter = 0; itemCounter < itemList.getLength(); itemCounter++) {\n Node itemNode = itemList.item(itemCounter);\n\n Element itemElement = (Element) itemNode;\n\n debug(\"- Item\" + itemCounter + \":\");\n debug(\"- - Name: \" + itemElement.getElementsByTagName(\"name\").item(0).getTextContent());\n debug(\"- - Description: \"\n + itemElement.getElementsByTagName(\"description\").item(0).getTextContent());\n\n // Create items.\n items.add(new Item(itemElement.getElementsByTagName(\"name\").item(0).getTextContent(),\n itemElement.getElementsByTagName(\"description\").item(0).getTextContent()));\n // Set items in current place.\n places.get(placeCounter).addObjectToPlace(getIncludedItem(itemElement, items));\n\n }\n }\n }\n\n // parse all furniture\n for (int furnitureCounter = 0; furnitureCounter < furnitureList\n .getLength(); furnitureCounter++) {\n Node furnitureNode = furnitureList.item(furnitureCounter);\n\n Element furnitureElement = (Element) furnitureNode;\n\n debug(\"\\nCurrent Element: \" + furnitureNode.getNodeName());\n\n debug(\"- Furniture\" + furnitureCounter);\n debug(\"- - In Place: \"\n + furnitureElement.getElementsByTagName(\"in-place\").item(0).getTextContent());\n debug(\n \"- - Name: \" + furnitureElement.getElementsByTagName(\"name\").item(0).getTextContent());\n debug(\"- - Description: \"\n + furnitureElement.getElementsByTagName(\"description\").item(0).getTextContent());\n\n // Create furniture objects\n furnitures.add(\n new Furniture(furnitureElement.getElementsByTagName(\"name\").item(0).getTextContent(), // name\n furnitureElement.getElementsByTagName(\"description\").item(0).getTextContent(), // description\n furnitureElement.getElementsByTagName(\"in-place\").item(0).getTextContent()));\n\n NodeList furnitureItemList = furnitureElement.getElementsByTagName(\"content-item\");\n\n // parse all Furniture Items\n for (int furnitureItemCounter = 0; furnitureItemCounter < furnitureItemList\n .getLength(); furnitureItemCounter++) {\n Node furnitureItemNode = furnitureItemList.item(furnitureItemCounter);\n\n Element furnitureItemElement = (Element) furnitureItemNode;\n\n debug(\"- - Content Items:\");\n debug(\"- - - Name: \"\n + furnitureItemElement.getElementsByTagName(\"name\").item(0).getTextContent());\n debug(\"- - - Description: \"\n + furnitureItemElement.getElementsByTagName(\"description\").item(0).getTextContent());\n\n addItems(furnitureItemElement, furnitures, items, furnitureCounter);\n\n }\n\n NodeList furnitureObstacleList = furnitureElement.getElementsByTagName(\"obstacle\");\n\n // parse all Furniture Obstacles\n for (int furnitureObstacleCounter = 0; furnitureObstacleCounter < furnitureObstacleList\n .getLength(); furnitureObstacleCounter++) {\n Node furnitureObstacleNode = furnitureObstacleList.item(furnitureObstacleCounter);\n\n Element furnitureObstacleElement = (Element) furnitureObstacleNode;\n\n debug(\"- - Obstacle:\");\n debug(\"- - - Description: \" + furnitureObstacleElement.getElementsByTagName(\"description\")\n .item(0).getTextContent());\n debug(\"- - - Resolution: \" + furnitureObstacleElement.getElementsByTagName(\"resolution\")\n .item(0).getTextContent());\n // debug(\"- - - Requirement: \" +\n // furnitureObstacleElement.getElementsByTagName(\"requiredItem\").item(0).getTextContent());\n\n // create furniture obstacle\n if (furnitureObstacleElement.getAttribute(\"type\").equals(\"double\")) {\n // double Item obstacle\n furnitures.get(furnitureCounter)\n .setObstalce(new DoubleItemObstacle(\"\",\n furnitureObstacleElement.getElementsByTagName(\"description\").item(0)\n .getTextContent(),\n furnitureObstacleElement.getElementsByTagName(\"resolution\").item(0)\n .getTextContent(),\n getRequiredItem(items,\n furnitureObstacleElement.getElementsByTagName(\"requiredItem\").item(0)\n .getTextContent()),\n getRequiredItem(items, furnitureObstacleElement\n .getElementsByTagName(\"additionalItem\").item(0).getTextContent())));\n\n } else if (furnitureObstacleElement.getAttribute(\"type\").equals(\"riddle\")) {\n // riddle Obstacle\n furnitures.get(furnitureCounter)\n .setObstalce(new RiddleObstacle(\"\",\n furnitureObstacleElement.getElementsByTagName(\"description\").item(0)\n .getTextContent(),\n furnitureObstacleElement.getElementsByTagName(\"resolution\").item(0)\n .getTextContent(),\n furnitureObstacleElement.getElementsByTagName(\"requiredAnswer\").item(0)\n .getTextContent()));\n\n } else {\n // normal Obstacle\n furnitures.get(furnitureCounter)\n .setObstalce(new ItemObstacle(\"\",\n furnitureObstacleElement.getElementsByTagName(\"description\").item(0)\n .getTextContent(),\n furnitureObstacleElement.getElementsByTagName(\"resolution\").item(0)\n .getTextContent(),\n getRequiredItem(items, furnitureObstacleElement\n .getElementsByTagName(\"requiredItem\").item(0).getTextContent())));\n }\n // add damage points to obstacle\n if (!furnitureObstacleElement.getAttribute(\"damage\").equals(\"\")) {\n passages.get(furnitureCounter).getObstacle()\n .setDamagepoints(Integer.parseInt(furnitureObstacleElement.getAttribute(\"damage\")));\n }\n\n }\n\n }\n\n // Add current furniture to its containing Place\n setFurnitureInPlace(furnitures, places);\n\n // parse all existing passages\n for (int passageCounter = 0; passageCounter < passageList.getLength(); passageCounter++) {\n Node passageNode = passageList.item(passageCounter);\n\n debug(\"\\nCurrent Element: \" + passageNode.getNodeName());\n\n if (passageNode.getNodeType() == Node.ELEMENT_NODE) {\n Element passageElement = (Element) passageNode;\n\n debug(\"- id: \" + passageElement.getAttribute(\"id\"));\n debug(\"- Name: \" + passageElement.getElementsByTagName(\"name\").item(0).getTextContent());\n debug(\"- Description: \"\n + passageElement.getElementsByTagName(\"description\").item(0).getTextContent());\n debug(\"- Comes from: \"\n + passageElement.getElementsByTagName(\"comeFrom\").item(0).getTextContent());\n debug(\"- Connects to: \"\n + passageElement.getElementsByTagName(\"connectTo\").item(0).getTextContent());\n\n // Create Passage with connected Places.\n passages\n .add(new Passage(passageElement.getElementsByTagName(\"name\").item(0).getTextContent(),\n passageElement.getElementsByTagName(\"description\").item(0).getTextContent(),\n getFromPlace(passageElement, places), // from this Place\n getFollowPlace(passageElement, places)) // to that Place\n );\n\n // parse all existing Passage Obstacles\n NodeList obstacleList = passageElement.getElementsByTagName(\"obstacle\");\n\n for (int obstacleCounter = 0; obstacleCounter < obstacleList\n .getLength(); obstacleCounter++) {\n Node obstacleNode = obstacleList.item(obstacleCounter);\n\n Element obstacleElement = (Element) obstacleNode;\n\n debug(\"- Obstacle\" + passageCounter + \":\");\n debug(\"- - Description: \"\n + obstacleElement.getElementsByTagName(\"description\").item(0).getTextContent());\n debug(\"- - Resolution: \"\n + obstacleElement.getElementsByTagName(\"resolution\").item(0).getTextContent());\n // debug(\"- - Required Item: \" +\n // obstacleElement.getElementsByTagName(\"requiredItem\").item(0).getTextContent());\n\n // Create the obstacle for each passage.\n if (obstacleElement.getAttribute(\"type\").equals(\"double\")) {\n // double Item obstacle\n passages.get(passageCounter)\n .setObstacle(new DoubleItemObstacle(\"\",\n obstacleElement.getElementsByTagName(\"description\").item(0).getTextContent(),\n obstacleElement.getElementsByTagName(\"resolution\").item(0).getTextContent(),\n getRequiredItem(items,\n obstacleElement.getElementsByTagName(\"requiredItem\").item(0)\n .getTextContent()),\n getRequiredItem(items, obstacleElement.getElementsByTagName(\"additionalItem\")\n .item(0).getTextContent())));\n\n } else if (obstacleElement.getAttribute(\"type\").equals(\"riddle\")) {\n // riddle Obstacle\n passages.get(passageCounter).setObstacle(new RiddleObstacle(\"\",\n obstacleElement.getElementsByTagName(\"description\").item(0).getTextContent(),\n obstacleElement.getElementsByTagName(\"resolution\").item(0).getTextContent(),\n obstacleElement.getElementsByTagName(\"requiredAnswer\").item(0).getTextContent()));\n\n } else {\n // normal Obstacle\n passages.get(passageCounter)\n .setObstacle(new ItemObstacle(\"\",\n obstacleElement.getElementsByTagName(\"description\").item(0).getTextContent(),\n obstacleElement.getElementsByTagName(\"resolution\").item(0).getTextContent(),\n getRequiredItem(items, obstacleElement.getElementsByTagName(\"requiredItem\")\n .item(0).getTextContent())));\n }\n\n // add damage points to obstacle\n if (!obstacleElement.getAttribute(\"damage\").equals(\"\")) {\n passages.get(passageCounter).getObstacle()\n .setDamagepoints(Integer.parseInt(obstacleElement.getAttribute(\"damage\")));\n }\n\n\n }\n }\n }\n\n startingPlace = places.get(0);\n\n // Add Places to GameWorld\n addPlacesToWorld(places, world);\n\n // set starting Place in GameWorld\n if (world.getStartingPlace() == null) {\n world.setStartingPlace(startingPlace);\n }\n\n debug(\"\\n\\n\");\n debug(\"World has successfully been created! God saw all that he had made, and it was good.\");\n debug(\"\\n\\n\\n\\n\");\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }", "private boolean validateXML(String xml, ArrayList<Map> fieldsAttribs, String outputFileName) {\n String acceptedChars = \"\\\\/\\\\-\\\\_\\\\!\\\\@\\\\#\\\\$\\\\%\\\\^\\\\&\\\\*\\\\(\\\\)\\\\+\\\\=\\\\{\\\\[\\\\}\\\\]\\\\;\\\\:\\\\?\\\\.\\\\,\";\n String pat = \"(<(\\\\w+)?>([a-zA-Z0-9\" + acceptedChars + \" ]+?)<\\\\/(\\\\2)>)\";\n String error = \"***Error- \";\n ArrayList<Map> fieldValues = new ArrayList<Map>();\n Matcher m = Pattern.compile(pat).matcher(xml);\n Map tempMap = new HashMap();\n while(m.find()){\n if(tempMap.containsKey(m.group(2))){\n fieldValues.add(tempMap);\n tempMap = new HashMap();\n }\n tempMap.put(m.group(2), m.group(3));\n }\n if(tempMap!=null){\n fieldValues.add(tempMap);\n }\n String tableName = fieldsAttribs.get(0).get(\"name\").toString();\n fieldsAttribs.remove(0);\n int i = 0;\n ArrayList<Object> fieldsXSD = new ArrayList<Object>();\n for(Map attribs : fieldsAttribs){\n Object field = attribs.get(\"name\");\n fieldsXSD.add(field);\n }\n for(Map record : fieldValues){\n i++;\n Set fieldsXML = record.keySet();\n if(fieldsXML.size() != fieldsXSD.size()){\n int count =0;\n if((count = Math.abs(fieldsXML.size() - fieldsXSD.size())) == 1)\n System.out.println(\"In record #\" + i + \", there is an undefined tags in xml file, and is ignored.\");\n else\n System.out.println(\"In record #\" + i + \", there are \"+count+\" undefined tags in xml file, and are ignored.\");\n }\n }\n for (Map record : fieldValues){\n for (Map attrib : fieldsAttribs){\n String column = attrib.get(\"name\").toString();\n String type = attrib.get(\"type\").toString();\n String max = attrib.get(\"maxOccurs\").toString();\n String min = attrib.get(\"minOccurs\").toString();\n String fraction = \"\";\n String date = \"\";\n if(attrib.containsKey(\"date\")){\n date = attrib.get(\"date\").toString();\n }\n if(attrib.containsKey(\"fraction\")){\n fraction = attrib.get(\"fraction\").toString();\n }\n String columnValue = \"\";\n if(record.containsKey(column))\n columnValue = record.get(column).toString();\n else {\n System.out.println(error + \" program could not find \"+ column + \" in xml file.\");\n return false;\n }\n if(type.equals(\"string\") || type.equals(\"integer\") || type.equals(\"int\")){\n if(columnValue.length() > Integer.parseInt(max)){\n System.out.println(error + column + \" \" + columnValue + \" length is more than the limit \"\n + Integer.parseInt(max));\n return false;\n }\n if(columnValue.length() < Integer.parseInt(min)){\n System.out.println(error + column + \" \" + columnValue + \" length is less than the limit \"\n + Integer.parseInt(min));\n return false;\n }\n }\n if(type.equals(\"decimal\")){\n String[] part = columnValue.split(\"\\\\.\");\n if(part.length > 2){\n System.out.println(error + column + \" \" + columnValue + \" is not a valid decimal \");\n return false;\n }\n if(part[0].length() > Integer.parseInt(max)){\n System.out.println(error + column + \" \" + columnValue + \" length is more than the limit \"\n + Integer.parseInt(max));\n return false;\n }\n if(part[0].length() < Integer.parseInt(min)){\n System.out.println(error + column + \" \" + columnValue + \" length is less than the limit \"\n + Integer.parseInt(min));\n return false;\n }\n if(this.isNotNumeric(part[0])){\n System.out.println(error + column + \" \" + columnValue + \" not a valid decimal\");\n return false;\n }\n if(part.length == 2){\n if(part[1].length() != Integer.parseInt(fraction)){\n System.out.println(error + column + \" \" + columnValue + \" fraction part should be \"\n + Integer.parseInt(fraction) + \" digit long\");\n return false;\n }\n if(this.isNotNumeric(part[1])){\n System.out.println(error + column + \" \" + columnValue + \" not a valid decimal\");\n return false;\n }\n }\n }\n if(type.equals(\"date\")){\n String[] ValuePart = columnValue.split(\"\\\\/\");\n String[] xsdPart = date.split(\"\\\\/\");\n if(xsdPart.length != 3){\n System.out.println(error + \"date should be in format either mm/dd/yy or mm/dd/yyyy \" +\n \"in xsd file\");\n return false;\n }\n if((ValuePart.length != 3) || (ValuePart[0].length() != 2) || (ValuePart[1].length() != 2)){\n System.out.println(error + column + \" \" + columnValue + \" should be in format either \" +\n \"mm/dd/yy or mm/dd/yyyy\");\n return false;\n }\n if(ValuePart[2].length() > xsdPart[2].length()){\n System.out.println(error + column + \" \" + columnValue + \" should be in \" + date + \" format\");\n return false;\n }\n if(this.isNotNumeric(ValuePart[0]) || this.isNotNumeric(ValuePart[1]) || this.isNotNumeric(ValuePart[2])){\n System.out.println(error + column + \" \" + columnValue + \" mm, dd, & [yy]yy values must \" +\n \"be integers\");\n return false;\n }\n }\n }\n }\n this.printSQLCommands(fieldValues, fieldsAttribs, tableName, outputFileName);\n return true;\n }", "private void readXML() {\n\t\tSAXParserFactory factory = SAXParserFactory.newInstance();\n\t\tXMLReader handler = new XMLReader();\n\t\tSAXParser parser;\n\t\t\n\t\t//Parsing xml file\n\t\ttry {\n\t\t\tparser = factory.newSAXParser();\n\t\t\tparser.parse(\"src/data/users.xml\", handler);\n\t\t\tgroupsList = handler.getGroupNames();\n\t\t} catch(SAXException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (ParserConfigurationException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t};\n\t}", "public void parse() throws ParserConfigurationException, SAXException, IOException, XMLStreamException {\n\t\tString currentElem = null;\n\t\tCard card = null;\n\t\tType type = null;\n\t\tAuthor author = null;\n\n\t\tXMLInputFactory xmlFactory = XMLInputFactory.newInstance();\n\t\tXMLEventReader xmlReader = xmlFactory.createXMLEventReader(new StreamSource(xmlFileName));\n\n\t\twhile (xmlReader.hasNext()) {\n\t\t\tXMLEvent event = xmlReader.nextEvent();\n\n\t\t\tif (event.isCharacters() && event.asCharacters().isWhiteSpace()) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (event.isStartElement()) {\n\t\t\t\tStartElement startElement = event.asStartElement();\n\t\t\t\tcurrentElem = startElement.getName().getLocalPart();\n\n\t\t\t\tif (currentElem.equals(\"OldCards\")) {\n\t\t\t\t\toldCards = new OldCards();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (currentElem.equals(\"Card\")) {\n\t\t\t\t\tcard = new Card();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (currentElem.equals(\"Type\")) {\n\t\t\t\t\ttype = new Type();\n\t\t\t\t\tAttribute attribute = startElement.getAttributeByName(new QName(\"send\"));\n\t\t\t\t\tif (attribute != null) {\n\t\t\t\t\t\ttype.setSend(Boolean.parseBoolean(attribute.getValue()));\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (currentElem.equals(\"Author\")) {\n\t\t\t\t\tauthor = new Author();\n\t\t\t\t\tAttribute attribute = startElement.getAttributeByName(new QName(\"famous\"));\n\t\t\t\t\tif (attribute != null) {\n\t\t\t\t\t\tauthor.setFamous(Boolean.parseBoolean(attribute.getValue()));\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (event.isCharacters()) {\n\t\t\t\tCharacters characters = event.asCharacters();\n\n\t\t\t\tif (currentElem.equals(\"Thema\")) {\n\t\t\t\t\tcard.setThema(characters.getData());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (currentElem.equals(\"Type\")) {\n\t\t\t\t\ttype.setType(characters.getData());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (currentElem.equals(\"Country\")) {\n\t\t\t\t\tcard.setCountry(characters.getData());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (currentElem.equals(\"Year\")) {\n\t\t\t\t\tcard.setYear(Integer.parseInt(characters.getData()));\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (currentElem.equals(\"Author\")) {\n\t\t\t\t\tauthor.setName(characters.getData());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (currentElem.equals(\"Valuable\")) {\n\t\t\t\t\tcard.setValuable(characters.getData());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (event.isEndElement()) {\n\t\t\t\tEndElement endElement = event.asEndElement();\n\t\t\t\tString localName = endElement.getName().getLocalPart();\n\n\t\t\t\tif (localName.equals(\"Card\")) {\n\t\t\t\t\toldCards.getCards().add(card);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (localName.equals(\"Type\")) {\n\t\t\t\t\tcard.setType(type);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (localName.equals(\"Author\")) {\n\t\t\t\t\tcard.getAuthors().add(author);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\txmlReader.close();\n\t}", "public void parse() throws ParserConfigurationException, SAXException,\n\t\t\tIOException, XMLStreamException {\n\n\t\tGem gem = new Gem();\n\t\tVisualParameters params = new VisualParameters();\n\n\t\t// current element name holder\n\t\tString currentElement = null;\n\n\t\tXMLInputFactory factory = XMLInputFactory.newInstance();\n\n\t\tfactory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, true);\n\n\t\tXMLEventReader reader = factory.createXMLEventReader(new StreamSource(\n\t\t\t\txmlFileName));\n\n\t\twhile (reader.hasNext()) {\n\t\t\tXMLEvent event = reader.nextEvent();\n\n\t\t\t// skip any empty content\n\t\t\tif (event.isCharacters() && event.asCharacters().isWhiteSpace()) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// handler for start tags\n\t\t\tif (event.isStartElement()) {\n\t\t\t\tStartElement startElement = event.asStartElement();\n\t\t\t\tcurrentElement = startElement.getName().getLocalPart();\n\n\t\t\t\tif (XML.FOND.equalsTo(currentElement)) {\n\t\t\t\t\tfond = new Fond();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (XML.GEM.equalsTo(currentElement)) {\n\t\t\t\t\tgem = new Gem();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (XML.VISUAL_PARAMETRS.equalsTo(currentElement)) {\n\t\t\t\t\tparams = new VisualParameters();\n\t\t\t\t\tAttribute attribute = startElement\n\t\t\t\t\t\t\t.getAttributeByName(new QName(XML.VALUE_COLOR\n\t\t\t\t\t\t\t\t\t.value()));\n\t\t\t\t\tif (attribute != null) {\n\t\t\t\t\t\tparams.setValueColor(EnumColors.fromValue(attribute\n\t\t\t\t\t\t\t\t.getValue()));\n\t\t\t\t\t}\n\t\t\t\t\tattribute = startElement.getAttributeByName(new QName(\n\t\t\t\t\t\t\tXML.TRANSPARENCY.value()));\n\t\t\t\t\tif (attribute != null) {\n\t\t\t\t\t\tparams.setTransparency(Integer.valueOf(attribute\n\t\t\t\t\t\t\t\t.getValue()));\n\t\t\t\t\t}\n\t\t\t\t\tattribute = startElement.getAttributeByName(new QName(\n\t\t\t\t\t\t\tXML.FACETING.value()));\n\t\t\t\t\tif (attribute != null) {\n\t\t\t\t\t\tparams.setFaceting(Integer.valueOf(attribute.getValue()));\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// handler for contents\n\t\t\tif (event.isCharacters()) {\n\t\t\t\tCharacters characters = event.asCharacters();\n\n\t\t\t\tif (XML.NAME.equalsTo(currentElement)) {\n\t\t\t\t\tgem.setName(characters.getData());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (XML.PRECIOUSNESS.equalsTo(currentElement)) {\n\t\t\t\t\tgem.setPreciousness(Boolean.valueOf(characters.getData()));\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (XML.ORIGIN.equalsTo(currentElement)) {\n\t\t\t\t\tgem.setOrigin(characters.getData());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (XML.VALUE.equalsTo(currentElement)) {\n\t\t\t\t\tgem.setValue(Double.valueOf(characters.getData()));\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// handler for end tags\n\t\t\tif (event.isEndElement()) {\n\t\t\t\tEndElement endElement = event.asEndElement();\n\t\t\t\tString localName = endElement.getName().getLocalPart();\n\n\t\t\t\tif (XML.GEM.equalsTo(localName)) {\n\t\t\t\t\tfond.getGem().add(gem);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (XML.VISUAL_PARAMETRS.equalsTo(localName)) {\n\t\t\t\t\t// just add answer to container\n\t\t\t\t\tgem.setVisualParameters(params);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treader.close();\n\t}", "private void parseDocument()\n {\n\tElement docEle = dom.getDocumentElement();\n\n\t// get a nodelist of <employee> elements\n\tNodeList nl = docEle.getElementsByTagName(\"path\");\n\tif (nl != null && nl.getLength() > 0)\n\t{\n\t for (int i = 0; i < nl.getLength(); i++)\n\t {// System.out.println(i);\n\n\t\t// get the employee element\n\t\tElement el = (Element) nl.item(i);\n\n\t\t// get the Employee object\n\t\tmakeRoom(el);\n\n\t }\n\n\t //Log.d(\"NUMROOMS\", \"numRooms = \" + numDetectedRooms + \" \" + \"numHallways = \" + numDetectedHallways);\n\t}\n\t// This will read in the numbers. This is possibly useful for giving the rooms their correct numbers.\n\t// Find all of the glyphs within the room using it's coordinates and the ID designated by roomsMap.\n\t// Organize their coordinates from left to right and translate the filename to what number they are.\n\t// These numbers from left to right are the room number.\n\n\t/*\n\t * NodeList glyphs = docEle.getElementsByTagName(\"use\"); if (nl != null && glyphs.getLength() > 0) { for (int i = 0; i < glyphs.getLength(); i++) {\n\t * \n\t * //get the employee element Element el = (Element) glyphs.item(i); //System.out.println(el.getAttribute(\"id\")); String x = el.getAttribute(\"x\"); String y = el.getAttribute(\"y\");\n\t * \n\t * //Create a new Employee with the value read from the xml nodes\n\t * \n\t * myGlyphs.add(new Point((int)Double.parseDouble(x), (int)(Double.parseDouble(y))));\n\t * \n\t * } }\n\t */\n\n\t//Log.d(Constants.TAG, \"XMLReader::parseDocument() Exiting!\");\n }", "private boolean inputXML(String xmlName, ArrayList<Map> fieldsAttribs, String outputFileName){\n ArrayList<String> wholeFile = this.readReturnFileContents(xmlName);\n String first = wholeFile.get(0);\n String xmlversion = \"((\\\\<\\\\?)\\\\s*(xml)\\\\s*(version)\\\\s*(=)\\\\s*(\\\\\\\".*?\\\\\\\")\\\\s*(\\\\?\\\\>))\";\n if(first.matches(xmlversion)){\n wholeFile.remove(0);\n }\n String t = \"\";\n for(String s : wholeFile){\n t+=s + \"\\n\";\n }\n if(this.parseXML(t, fieldsAttribs)){\n if(this.validateXML(t, fieldsAttribs, outputFileName))\n {\n return true;\n }\n }\n return false;\n }", "public void parseDocument(String XMLFilePath) {\n\t \n\t SAXParserFactory spf = SAXParserFactory.newInstance();\n\t try {\n\t\tSAXParser sp = spf.newSAXParser();\n\t\tsp.parse(XMLFilePath, this);\n\t }catch(SAXException se) {\n\t\tse.printStackTrace();\n\t }catch(ParserConfigurationException pce) {\n\t\tpce.printStackTrace();\n\t }catch (IOException ie) {\n\t\tie.printStackTrace();\n\t }\n\t}", "public void validate() throws org.exolab.castor.xml.ValidationException {\r\n\t\torg.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r\n\t\tvalidator.validate(this);\r\n\t}", "protected void startParsing(String xsdName, String xmlName, String outputFileName){\n boolean isValid = this.inputXSD(xsdName, xmlName, outputFileName);\n if(isValid){\n System.out.println(\"xml data is parsed successfully!\");\n }else {\n System.out.println(\"Program failed to parse xml data!\");\n }\n }", "public static void main(String[] args) throws Exception {\n \tString filename = null;\n \tboolean dtdValidate = false;\n \tboolean xsdValidate = false;\n \tString schemaSource = null;\n \t\n \targs[1] = \"/home/users/xblepa/git/labs/java/parser/src/test/data/personal-schema.xml\";\n \n boolean ignoreWhitespace = false;\n boolean ignoreComments = false;\n boolean putCDATAIntoText = false;\n boolean createEntityRefs = false;\n\n\t\t \n\t\tfor (int i = 0; i < args.length; i++) {\n\t\t if (args[i].equals(\"-dtd\")) { \n\t\t \t\tdtdValidate = true;\n\t\t } \n\t\t else if (args[i].equals(\"-xsd\")) {\n\t\t \txsdValidate = true;\n\t\t } \n\t\t else if (args[i].equals(\"-xsdss\")) {\n\t\t if (i == args.length - 1) {\n\t\t usage();\n\t\t }\n\t\t xsdValidate = true;\n\t\t schemaSource = args[++i];\n\t\t }\n\t\t else if (args[i].equals(\"-ws\")) {\n\t ignoreWhitespace = true;\n\t } \n\t else if (args[i].startsWith(\"-co\")) {\n\t ignoreComments = true;\n\t }\n\t else if (args[i].startsWith(\"-cd\")) {\n\t putCDATAIntoText = true;\n\t } \n\t else if (args[i].startsWith(\"-e\")) {\n\t createEntityRefs = true;\n\t // ...\n\t } \n\t\t else {\n\t\t filename = args[i];\n\t\t if (i != args.length - 1) {\n\t\t usage();\n\t\t }\n\t\t }\n\t\t}\n\t\t\n\t\tif (filename == null) {\n\t\t usage();\n\t\t}\n\t \t\n // Next, add the following code to the main() method, to obtain an instance of a factory that can give us a document builder.\n DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n \n dbf.setNamespaceAware(true);\n dbf.setValidating(dtdValidate || xsdValidate);\n \n // Now, add the following code to main() to get an instance of a builder, and use it to parse the specified file.\n DocumentBuilder db = dbf.newDocumentBuilder(); \n \n // The following code configures the document builder to use the error handler defined in Handle Errors. \n OutputStreamWriter errorWriter = new OutputStreamWriter(System.err,outputEncoding);\n db.setErrorHandler(new MyErrorHandler (new PrintWriter(errorWriter, true)));\n\n \n Document doc = db.parse(new File(filename)); \n \n }", "public void runParser() throws Exception {\n\t\tparseXmlFile();\r\n\t\t\r\n\t\t//get each employee element and create a Employee object\r\n\t\tparseDocument();\r\n\t\t\r\n\t\t//Iterate through the list and print the data\r\n\t\t//printData();\r\n\t\t\r\n\t}", "public static DOMParser getXercesParser(\n boolean validatingProcessor,\n boolean namespaceAware,\n boolean ignoreWhiteSpace){\n \n DOMParser parser = new DOMParser(); \n \n if(validatingProcessor){\n \n try {\n \n parser.setErrorHandler(new XMLErrorHandler());\n\n parser.setFeature(\"http://xml.org/sax/features/validation\", true); \n \n parser.setFeature(\n \"http://apache.org/xml/features/dom/include-ignorable-whitespace\",\n !ignoreWhiteSpace);\n \n } catch (SAXNotRecognizedException ex) {\n Logger.getLogger().error(\"\", ex, DOMUtils.class);\n } catch (SAXNotSupportedException ex) {\n Logger.getLogger().error(\"\", ex, DOMUtils.class);\n }\n \n }\n\n return parser;\n }", "public Document parse(File aFile)\n\t\t\t\t throws org.xml.sax.SAXException, java.io.IOException {\n\t\t/**\n\t\t * @todo Fix/implement this later\n\t\t */\n\t\tthrow new SAXException(\"Not supported\");\n\t}", "public void parseXML(String xmlString) {\n DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance(); \n Document document = null; \n try { \n //DOM parser instance \n DocumentBuilder builder = builderFactory.newDocumentBuilder(); \n \n //parse an XML file into a DOM tree, in this case, change the filepath to xml String \n document = builder.parse(new File(filePath));\n \n //get root element, which is <Airports>\n Element rootElement = document.getDocumentElement(); \n \n //traverse child elements. retrieve all the <Airport>\n NodeList nodes = rootElement.getChildNodes(); \n for (int i=0; i < nodes.getLength(); i++) \n { \n Node node = nodes.item(i); \n if (node.getNodeType() == Node.ELEMENT_NODE) { \n Element airport = (Element) node; \n \n //process child element \n String code = airport.getAttribute(\"Code\");\n String name = airport.getAttribute(\"Name\"); \n \n // child node of airport\n NodeList airportChildren = airport.getChildNodes();\n \n // value of longitude & latitude\n String longitude = airportChildren.item(1).getTextContent();\n String latitude = airportChildren.item(2).getTextContent();\n \n Location location = new Location(longitude, latitude);\n airportList.add(new Airport(code, name, location));\n } \n } \n \n // another approach to traverse all the listNode by tagName \n /*NodeList nodeList = rootElement.getElementsByTagName(\"book\"); \n if(nodeList != null) \n { \n for (int i = 0 ; i < nodeList.getLength(); i++) \n { \n Element element = (Element)nodeList.item(i); \n String id = element.getAttribute(\"id\"); \n } \n }*/\n // add the DOM object to the airportList\n } catch (ParserConfigurationException e) { \n e.printStackTrace(); \n } catch (SAXException e) { \n e.printStackTrace(); \n } catch (IOException e) { \n e.printStackTrace(); \n } \n }", "protected void extract() {\n\t\tfor (ITSState nodeState : doc.iterNodes()) {\n\t\t\tNode node = nodeState.node;\n\t\t\tRuleResolver resolver = resolvers.get(node.getNodeName()); \n\t\t\tif (resolver != null) {\n\t\t\t\tGlobalRule rule = resolver.extractRule(attrReader, parameters, nodeState.node);\n\t\t\t\tapplyRule(resolver, rule);\n\t\t\t}\n\t\t\t\n\t\t\tif (node.getNodeName().equals(\"its:param\")) {\n\t\t\t\tString name = node.getAttributes().getNamedItem(\"name\").getNodeValue();\n\t\t\t\tString value = node.getTextContent();\n\t\t\t\tparameters.add(name, value);\n\t\t\t} else if (attrReader.dialect.isRules(node)) { \n\t\t\t\t// we have external link (xlink:href or link href)\n\t\t\t\tString external = attrReader.dialect.getExternalRules(node);\n\t\t\t\tif (external != null) {\n\t\t\t\t\textractExternalRules(external);\n\t\t\t\t}\n\t\t\t} else if (node.getNodeName().equals(\"script\")) {\n\t\t\t\t// we have embedded\n\t\t\t\tif (node.hasAttributes()) {\n\t\t\t\t\tif (node.getAttributes().getNamedItem(\"type\").getNodeValue().equals(\"application/its+xml\")) {\n\t\t\t\t\t\textractEmbeddedRules(node.getTextContent());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!nodeState.nodePath.contains(\"its:rules\")) {\n\t\t\t\t// unless we're in rules, look at local annotations\n\t\t\t\t// LOCAL\n\t\t\t\textractLocal(nodeState);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// process inheritance\n\t\tfor (ITSState nodeState : doc.iterNodes()) {\n\t\t\t// Elements: handle inheritance \n\t\t\tITSData parentData = getParentState(nodeState);\n\t\t\tif (parentData != null) {\n\t\t\t\t// inherit from parent\n\t\t\t\tITSData thisData = nodeItsData.get(nodeState.nodePath);\n\t\t\t\tif (thisData == null) {\n\t\t\t\t\tthisData = new ITSData();\n\t\t\t\t\tapplyRuleToNode(nodeState.nodePath, thisData);\n\t\t\t\t} \n\t\t\t\tthisData.inherit(parentData);\t\t\t\t\n\t\t\t}\t\n\t\t\t\t\t\t\n\t\t} \n\t\t\n\t\t\n\t}", "public void validate()\n throws org.exolab.castor.xml.ValidationException {\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\n validator.validate(this);\n }", "private static void parse_xml() {\n\t\tUiHierarchyXmlLoader loader = new UiHierarchyXmlLoader();\n\t\tBasicTreeNode btn = loader.parseXml(\"/home/haos/haos.xml\");\n\n\t\tUtil.log(btn.getChildrenList());\n\t\tUtil.log(dump_node(btn, 0));\n\n\t\tfor (BasicTreeNode child : btn.getChildren()) {\n\t\t\tif (child instanceof UiNode) {\n\t\t\t\tsearch_for_clickables((UiNode) child);\n\t\t\t} else {\n\t\t\t\tUtil.err(child + \" is NOT UiNode\");\n\t\t\t}\n\t\t}\n\n\t\tList<Rectangle> nafs = loader.getNafNodes();\n\t\tUtil.log(nafs);\n\t}", "public void startDocument() throws SAXException {\n\t\ttry {\n\t\t\tlogger.info(\"Parsing XML buddies\");\n\t\t} catch (Exception e) {\n\t\t\tbuddies = null;\n\t\t\tthrow new SAXException(\"XMLBuddyParser error\", e);\n\t\t}\n\t}", "private void parseWSCTaskFile(String fileName) {\n\t\ttry {\n\t \tFile fXmlFile = new File(fileName);\n\t \tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\n\t \tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\n\t \tDocument doc = dBuilder.parse(fXmlFile);\n\n\t \torg.w3c.dom.Node provided = doc.getElementsByTagName(\"provided\").item(0);\n\t \tNodeList providedList = ((Element) provided).getElementsByTagName(\"instance\");\n\t \tINPUT = new String[providedList.getLength()];\n\t \tfor (int i = 0; i < providedList.getLength(); i++) {\n\t\t\t\torg.w3c.dom.Node item = providedList.item(i);\n\t\t\t\tElement e = (Element) item;\n\t\t\t\tINPUT[i] = e.getAttribute(\"name\");\n\t \t}\n\n\t \torg.w3c.dom.Node wanted = doc.getElementsByTagName(\"wanted\").item(0);\n\t \tNodeList wantedList = ((Element) wanted).getElementsByTagName(\"instance\");\n\t \tOUTPUT = new String[wantedList.getLength()];\n\t \tfor (int i = 0; i < wantedList.getLength(); i++) {\n\t\t\t\torg.w3c.dom.Node item = wantedList.item(i);\n\t\t\t\tElement e = (Element) item;\n\t\t\t\tOUTPUT[i] = e.getAttribute(\"name\");\n\t \t}\n\n\t\t\tavailableInputs = new HashSet<String>(Arrays.asList(INPUT));\n\t\t\trequiredOutputs = new HashSet<String>(Arrays.asList(OUTPUT));\n\t\t}\n\t\tcatch (ParserConfigurationException e) {\n System.out.println(\"Task file parsing failed...\");\n\t\t}\n\t\tcatch (SAXException e) {\n System.out.println(\"Task file parsing failed...\");\n\t\t}\n\t\tcatch (IOException e) {\n System.out.println(\"Task file parsing failed...\");\n\t\t}\n\t}", "public void validate()\r\n throws org.exolab.castor.xml.ValidationException\r\n {\r\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r\n validator.validate(this);\r\n }", "public void validate()\r\n throws org.exolab.castor.xml.ValidationException\r\n {\r\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r\n validator.validate(this);\r\n }", "public void readXML(InputStream in) throws ParserConfigurationException, IOException, SAXException {\n\n\t\tfor(int i = 0; i < desktops.size(); i++) {\n\t\t\tWSDesktop desk = (WSDesktop) desktops.get(i);\n\t\t\tdesk.clear();\n\t\t}\n\n\t\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n\t\tDocumentBuilder builder = factory.newDocumentBuilder();\n\t\tDocument doc = builder.parse(in);\n\t\tElement root = doc.getDocumentElement();\n\t\tif(root.getNodeName().equals(\"DockingDesktop\")) {\n\t\t\t// this is an old desktop file, missing the VLDocking root node (VLDocking 2.0 format)\n\t\t\t// so we noly have a single desktop\n\t\t\tWSDesktop desk = getDesktop(0); // only one\n\t\t\tdesk.readDesktopNode(root);\n\t\t} else {\n\t\t\tNodeList desktopChildren = root.getChildNodes();\n\t\t\tfor(int i = 0, len = desktopChildren.getLength(); i < len; i++) {\n\t\t\t\tNode node = desktopChildren.item(i);\n\t\t\t\tif(node instanceof Element) {\n\t\t\t\t\tElement deskChild = (Element) node;\n\t\t\t\t\tWSDesktop desk = getDesktop(deskChild.getAttribute(\"name\"));\n\t\t\t\t\tdesk.readDesktopNode(deskChild);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}", "public Process parse(InputSource isrc, URI systemURI) throws IOException, SAXException {\n XMLReader _xr = XMLParserUtils.getXMLReader();\n LocalEntityResolver resolver = new LocalEntityResolver();\n resolver.register(Bpel11QNames.NS_BPEL4WS_2003_03, getClass().getResource(\"/bpel4ws_1_1-fivesight.xsd\"));\n resolver.register(Bpel20QNames.NS_WSBPEL2_0, getClass().getResource(\"/wsbpel_main-draft-Apr-29-2006.xsd\"));\n resolver.register(Bpel20QNames.NS_WSBPEL2_0_FINAL_ABSTRACT, getClass().getResource(\"/ws-bpel_abstract_common_base.xsd\"));\n resolver.register(Bpel20QNames.NS_WSBPEL2_0_FINAL_EXEC, getClass().getResource(\"/ws-bpel_executable.xsd\"));\n resolver.register(Bpel20QNames.NS_WSBPEL2_0_FINAL_PLINK, getClass().getResource(\"/ws-bpel_plnktype.xsd\"));\n resolver.register(Bpel20QNames.NS_WSBPEL2_0_FINAL_SERVREF, getClass().getResource(\"/ws-bpel_serviceref.xsd\"));\n resolver.register(Bpel20QNames.NS_WSBPEL2_0_FINAL_VARPROP, getClass().getResource(\"/ws-bpel_varprop.xsd\"));\n resolver.register(XML, getClass().getResource(\"/xml.xsd\"));\n resolver.register(WSDL,getClass().getResource(\"/wsdl.xsd\"));\n resolver.register(Bpel20QNames.NS_WSBPEL_PARTNERLINK_2004_03,\n getClass().getResource(\"/wsbpel_plinkType-draft-Apr-29-2006.xsd\"));\n _xr.setEntityResolver(resolver);\n Document doc = DOMUtils.newDocument();\n _xr.setContentHandler(new DOMBuilderContentHandler(doc));\n _xr.setFeature(\"http://xml.org/sax/features/namespaces\",true);\n _xr.setFeature(\"http://xml.org/sax/features/namespace-prefixes\", true);\n \n _xr.setFeature(\"http://xml.org/sax/features/validation\", true);\n\t\tXMLParserUtils.addExternalSchemaURL(_xr, Bpel11QNames.NS_BPEL4WS_2003_03, Bpel11QNames.NS_BPEL4WS_2003_03);\n\t\tXMLParserUtils.addExternalSchemaURL(_xr, Bpel20QNames.NS_WSBPEL2_0, Bpel20QNames.NS_WSBPEL2_0);\n\t\tXMLParserUtils.addExternalSchemaURL(_xr, Bpel20QNames.NS_WSBPEL2_0_FINAL_EXEC, Bpel20QNames.NS_WSBPEL2_0_FINAL_EXEC);\n\t\tXMLParserUtils.addExternalSchemaURL(_xr, Bpel20QNames.NS_WSBPEL2_0_FINAL_ABSTRACT, Bpel20QNames.NS_WSBPEL2_0_FINAL_ABSTRACT);\n BOMSAXErrorHandler errorHandler = new BOMSAXErrorHandler();\n _xr.setErrorHandler(errorHandler);\n _xr.parse(isrc);\n if (Boolean.parseBoolean(System.getProperty(\"org.apache.ode.compiler.failOnValidationErrors\", \"false\"))) {\n\t if (!errorHandler.wasOK()) {\n\t \tthrow new SAXException(\"Validation errors during parsing\");\n\t }\n } else {\n \tif (!errorHandler.wasOK()) {\n \t\t__log.warn(\"Validation errors during parsing, continuing due to -Dorg.apache.ode.compiler.failOnValidationErrors=false switch\");\n \t}\n }\n return (Process) createBpelObject(doc.getDocumentElement(), systemURI);\n }", "public static void main(String[] args) throws Exception {\r\n //Get Document Builder\r\n boolean isAccordian=false;\r\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\r\n DocumentBuilder builder = factory.newDocumentBuilder();\r\n\r\n //Build Document\r\n Document document = builder.parse(new File(\"C:\\\\users\\\\amiraj2\\\\Desktop\\\\configurations.xml\"));\r\n\r\n //Normalize the XML Structure; It's just too important !!\r\n document.getDocumentElement().normalize();\r\n\r\n //Here comes the root node\r\n Element root = document.getDocumentElement();\r\n //// System.out.println(root.getNodeName());\r\n\r\n visitChildNodesOfRoot(document);\r\n\r\n //// System.out.println(\"============================\");\r\n }", "private void parse() throws XMLStreamException {\n while (reader.hasNext()) {\n if (reader.next() == START_ELEMENT) {\n handleElement();\n }\n }\n }", "public void validate()\n throws org.exolab.castor.xml.ValidationException\n {\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\n validator.validate(this);\n }", "public void validate()\n throws org.exolab.castor.xml.ValidationException\n {\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\n validator.validate(this);\n }", "public boolean processXml() throws Exception {\n\t\ttry {\n\t\t\tFile f = new File(fileOutboundLocation);\n\t\t\tString filesList[] = f.list();\n\t\n\t\t\tif (filesList != null) {\n\t\t\t\tfor (int i = 0; i < filesList.length; i++) {\n\t\t\t\t\tfileName = filesList[i];\n\t\t\t\t\tAppLogger.info(\"XmlProcessor.processXml()... file Name=\"+ filesList[i]);\n\t\t\t\t\tcopyFile(filesList[i], fileOutboundLocation, fileBackupLocation);\n\t\t\t\t\tSchemaValidator sv = new SchemaValidator();\n\t\t\t\t\tsv.validateXml(fileOutboundLocation+File.separator+filesList[i], xsdFileLocation, fileErrorLocation);\n\t\t\t\t\tString xmlString = fileRead(fileOutboundLocation + File.separator+ filesList[i]);\n\n\t\t\t\t\tconvertXmlToJavaObject(xmlString);\n\t\t\t\t\tpolicyNo = tXLifeType.getTXLifeRequest().getOLifE().getHolding().getPolicy().getPolNumber(); //RL_009109 - Changed by Kayal\n\t\t\t\t\tint indexOfUnderScore = fileName.indexOf(\"_\");\n\t\t\t\t\tString backupFileName = fileName.substring(0,indexOfUnderScore+1).concat(policyNo+\"_\").concat(fileName.substring(indexOfUnderScore+1));\n\t\t\t\t\t\n\t\t\t\t\trenameFile(fileName, fileBackupLocation, backupFileName, fileBackupLocation); //RL_009109 - Changed by Kayal\n\t\t\t\t\t\n\t\t\t\t\tsaveDetails();\n\t\t\t\t\tdeleteFile(filesList[i], fileOutboundLocation);\n\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tStringWriter sw = new StringWriter();\n\t\t\tPrintWriter pw = new PrintWriter(sw);\n\t\t\te.printStackTrace(pw);\n\t\t\tAppLogger.error(\"Error Occurred: Exception is=\"+sw.toString());\n\t\t\tcopyFile(fileName, fileOutboundLocation, fileErrorLocation);\n\t\t\tdeleteFile(fileName, fileOutboundLocation);\n\t\t\tApcDAO dao = new ApcDAO();\n\t\t\tdao.saveErrorMsg(fileName, sw.toString(), policyNo); //RL_009109\n\t\t}\n\n\t\treturn true;\n\t}", "public Document setUpDocumentToParse() throws ParserConfigurationException, SAXException, IOException{\n\t\tFile file = new File (dataFilePath);\n\t\tDocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();\n\t\tDocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();\n\t\tDocument document = documentBuilder.parse(file);\n\n\t\treturn document;\n\t}", "private static void parseDropinsFile(File file) throws IOException, XPathExpressionException, SAXException {\n Document doc = parseDropinsXMLFile(file);\n if (doc != null) {\n parseApplication(doc, XPATH_SERVER_APPLICATION);\n parseApplication(doc, XPATH_SERVER_WEB_APPLICATION);\n parseApplication(doc, XPATH_SERVER_ENTERPRISE_APPLICATION);\n parseInclude(doc);\n }\n }", "public void unMarshall(File xmlDocument) {\n\t\ttry {\n\n\t\t\tJAXBContext jaxbContext = JAXBContext.newInstance(\"peoplestore.generated\");\n\n\t\t\tUnmarshaller unMarshaller = jaxbContext.createUnmarshaller();\n\t\t\tSchemaFactory schemaFactory = SchemaFactory\n\t\t\t\t\t.newInstance(\"http://www.w3.org/2001/XMLSchema\");\n\t\t\tSchema schema = schemaFactory.newSchema(new File(\n\t\t\t\t\t\"people.xsd\"));\n\t\t\tunMarshaller.setSchema(schema);\n\t\t\tCustomValidationEventHandler validationEventHandler = new CustomValidationEventHandler();\n\t\t\tunMarshaller.setEventHandler(validationEventHandler);\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tJAXBElement<PeopleType> peopleElement = (JAXBElement<PeopleType>) unMarshaller\n\t\t\t\t\t.unmarshal(xmlDocument);\n\n\t\t\tPeopleType people = peopleElement.getValue();\n\n\t\t\tList<PersonType> personList = people.getPerson();\n\t\t\tfor (int i = 0; i < personList.size(); i++) {\n\t\t\t\t\n\t\t\t\t/**\n\t\t\t\t * Inside the for loop are printed\n\t\t\t\t * all the values of the person, calling \n\t\t\t\t * the accessor method get.\n\t\t\t\t * \n\t\t\t\t * Example:\n\t\t\t\t * \t\t\tperson.getFirstname()\n\t\t\t\t * \t\t\tget the firstname of the person at index i\n\t\t\t\t */\n\t\t\t\tPersonType person = (PersonType) personList.get(i);\n\t\t\t\tSystem.out.println(\"Id: \"+ person.getId());\n\t\t\t\tSystem.out.println(\"Firstname: \"+ person.getFirstname());\n\t\t\t\tSystem.out.println(\"Lastname: \"+ person.getLastname());\n\t\t\t\tSystem.out.println(\"Birthday: \"+ person.getBirthdate());\n\t\t\t\tHealthDataType hp = person.getHealthprofile();\n\t\t\t\tSystem.out.println(\" HealthProfile: \");\n\t\t\t\tSystem.out.println(\" Lastupdate: \"+ hp.getLastupdate());\n\t\t\t\tSystem.out.println(\" Weight: \"+ hp.getWeight());\n\t\t\t\tSystem.out.println(\" Height: \" + hp.getHeight());\n\t\t\t\tSystem.out.println(\" BMI: \" + hp.getBmi());\n\t\t\t\tSystem.out.println(\"=======================\");\n\n\t\t\t}\n\t\t} catch (JAXBException e) {\n\t\t\tSystem.out.println(e.toString());\n\t\t} catch (SAXException e) {\n\t\t\tSystem.out.println(e.toString());\n\t\t}\n\t}", "public void parseDocument(File XMLInputFile) throws FunctionException {\r\n\t\t\t\r\n\t\t\tLog.log(\"XMLParser -> parseDocument started\");\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\t//get a factory\r\n\t\t\t\tSAXParserFactory spf = SAXParserFactory.newInstance();\r\n\t\t\t\t//get a new instance of parser\r\n\t\t\t\tSAXParser sp = spf.newSAXParser();\r\n\t\t\t\t//parse the file and also register this class for call backs\r\n\t\t\t\tsp.parse(XMLInputFile, this);\r\n\t\t\t}catch(SAXException se) {\r\n\t\t\t\tthrow new FunctionException(\"SAXException had occurred.\\n\"+se.getMessage());\r\n\t\t\t}catch(ParserConfigurationException pce) {\r\n\t\t\t\tthrow new FunctionException(\"ParserConfigurationException had occurred.\\n\"+pce.getMessage());\r\n\t\t\t}catch (IOException ie) {\r\n\t\t\t\tthrow new FunctionException(\"IOException had occurred.\\n\"+ie.getMessage());\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tLog.log(\"XMLParser -> parseDocument completed\");\r\n\t\t}", "private Document initialize() {\r\n Document doc = null;\r\n try {\r\n File file = new File(\"./evidence.xml\");\r\n DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n DocumentBuilder docBuilder = dbFactory.newDocumentBuilder();\r\n doc = docBuilder.parse(file);\r\n doc.getDocumentElement().normalize();\r\n } catch (ParserConfigurationException | IOException | SAXException e) {\r\n System.err.println(\"Parser failed parse file:\"+e.getMessage());\r\n }\r\n return doc;\r\n }", "public void importElement(XmlPullParser xpp, Epml epml) {\n\t\tlineNumber = xpp.getLineNumber();\n\t\t/*\n\t\t * Import all attributes of this element.\n\t\t */\n\t\timportAttributes(xpp, epml);\n\t\t/*\n\t\t * Create afresh stack to keep track of start tags to match.\n\t\t */\n\t\tArrayList<String> stack = new ArrayList<String>();\n\t\t/*\n\t\t * Add the current tag to this stack, as we still have to find the\n\t\t * matching end tag.\n\t\t */\n\t\tstack.add(tag);\n\t\t/*\n\t\t * As long as the stack is not empty, we're still working on this\n\t\t * object.\n\t\t */\n\t\twhile (!stack.isEmpty()) {\n\t\t\ttry {\n\t\t\t\t/*\n\t\t\t\t * Get next event.\n\t\t\t\t */\n\t\t\t\tint eventType = xpp.next();\n\t\t\t\tif (eventType == XmlPullParser.END_DOCUMENT) {\n\t\t\t\t\t/*\n\t\t\t\t\t * End of document. Should not happen.\n\t\t\t\t\t */\n\t\t\t\t\tepml.log(tag, xpp.getLineNumber(), \"Found end of document\");\n\t\t\t\t\treturn;\n\t\t\t\t} else if (eventType == XmlPullParser.START_TAG) {\n\t\t\t\t\t//System.out.println(xpp.getLineNumber() + \" <\" + xpp.getName() + \">\");\n\t\t\t\t\t/*\n\t\t\t\t\t * Start tag. Push it on the stack.\n\t\t\t\t\t */\n\t\t\t\t\tstack.add(xpp.getName());\n\t\t\t\t\t/*\n\t\t\t\t\t * If this tag is the second on the stack, then it is a\n\t\t\t\t\t * direct child.\n\t\t\t\t\t */\n\t\t\t\t\tif (stack.size() == 2) {\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t * For a direct child, check whether the tag is known.\n\t\t\t\t\t\t * If so, take proper action. Note that this needs not\n\t\t\t\t\t\t * to be done for other offspring.\n\t\t\t\t\t\t */\n\t\t\t\t\t\tif (importElements(xpp, epml)) {\n\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t * Known start tag. The end tag has been matched and\n\t\t\t\t\t\t\t * can be popped from the stack.\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\tstack.remove(stack.size() - 1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if ((eventType == XmlPullParser.END_TAG)) {\n\t\t\t\t\t//System.out.println(xpp.getLineNumber() + \" </\" + xpp.getName() + \">\");\n\t\t\t\t\t/*\n\t\t\t\t\t * End tag. Should be identical to top of the stack.\n\t\t\t\t\t */\n\t\t\t\t\tif (xpp.getName().equals(stack.get(stack.size() - 1))) {\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t * Yes it is. Pop the stack.\n\t\t\t\t\t\t */\n\t\t\t\t\t\tstack.remove(stack.size() - 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t * No it is not. XML violation.\n\t\t\t\t\t\t */\n\t\t\t\t\t\tepml.log(tag, xpp.getLineNumber(), \"Found \" + xpp.getName() + \", expected \"\n\t\t\t\t\t\t\t\t+ stack.get(stack.size() - 1));\n\t\t\t\t\t}\n\t\t\t\t} else if (eventType == XmlPullParser.TEXT) {\n\t\t\t\t\t/*\n\t\t\t\t\t * Plain text. Import it.\n\t\t\t\t\t */\n\t\t\t\t\timportText(xpp.getText(), epml);\n\t\t\t\t}\n\t\t\t} catch (Exception ex) {\n\t\t\t\tepml.log(tag, xpp.getLineNumber(), ex.getMessage());\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t/*\n\t\t * The element has been imported. Now is a good time to check its\n\t\t * validity.\n\t\t */\n\t\tcheckValidity(epml);\n\t}", "protected void parseElements(XmlElement processElement) {\n\n parseStartEvents(processElement);\n parseActivities(processElement);\n parseEndEvents(processElement);\n parseSequenceFlow(processElement);\n }", "@Override\npublic\tvoid parseInput() {\n InputStream is = new ByteArrayInputStream(this.body.toString().getBytes());\n\t\t\n\t\t\n\t\ttry {\n\t\t\tthis.domIn = new XMLInputConversion(is);\n\t\t} catch (ParserConfigurationException | SAXException | IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tthis.rootXML = this.domIn.extractDOMContent();\n\t}", "public void readxml() throws JAXBException, FileNotFoundException {\n Player loadplayer = xml_methods.load();\n logger.info(\"player name: \" + loadplayer.getName());\n if (!item.isEmpty()) {\n logger.trace(loadplayer.getitem(0).getName());\n }\n tfName.setText(loadplayer.getName());\n isset = true;\n player = loadplayer;\n\n }", "@Override\n public void configureForXmlConformance() {\n mConfig.configureForXmlConformance();\n }", "protected void startCfgElement(String qName, Attributes attributes) throws SAXException {\n\t\tif (CONFIG_ROOT_ELMT.equals(qName)) {\n\t\t\tif (streamsConfigData.isStreamsAvailable()) {\n\t\t\t\tthrow new SAXParseException(StreamsResources.getStringFormatted(StreamsResources.RESOURCE_BUNDLE_NAME,\n\t\t\t\t\t\t\"ConfigParserHandler.multiple.elements\", qName), currParseLocation);\n\t\t\t}\n\t\t} else if (PROPERTY_ELMT.equals(qName)) {\n\t\t\tprocessProperty(attributes);\n\t\t} else if (FIELD_ELMT.equals(qName)) {\n\t\t\tprocessField(attributes);\n\t\t} else if (FIELD_LOC_ELMT.equals(qName)) {\n\t\t\tprocessFieldLocator(attributes);\n\t\t} else if (FIELD_MAP_ELMT.equals(qName)) {\n\t\t\tprocessFieldMap(attributes);\n\t\t} else if (PARSER_REF_ELMT.equals(qName)) {\n\t\t\tprocessParserRef(attributes);\n\t\t} else if (PARSER_ELMT.equals(qName)) {\n\t\t\tprocessParser(attributes);\n\t\t} else if (STREAM_ELMT.equals(qName)) {\n\t\t\tprocessStream(attributes);\n\t\t} else if (FILTER_ELMT.equals(qName)) {\n\t\t\tprocessFilter(attributes);\n\t\t} else if (VALUE_ELMT.equals(qName)) {\n\t\t\tprocessValue(attributes);\n\t\t} else if (EXPRESSION_ELMT.equals(qName)) {\n\t\t\tprocessFilterExpression(attributes);\n\t\t} else if (TNT4J_PROPERTIES_ELMT.equals(qName)) {\n\t\t\tprocessTNT4JProperties(attributes);\n\t\t} else if (REF_ELMT.equals(qName)) {\n\t\t\tprocessReference(attributes);\n\t\t} else if (JAVA_OBJ_ELMT.equals(qName)) {\n\t\t\tprocessJavaObject(attributes);\n\t\t} else if (PARAM_ELMT.equals(qName)) {\n\t\t\tprocessParam(attributes);\n\t\t} else if (FIELD_TRANSFORM_ELMT.equals(qName)) {\n\t\t\tprocessFieldTransform(attributes);\n\t\t} else if (EMBEDDED_ACTIVITY_ELMT.equals(qName)) {\n\t\t\tprocessEmbeddedActivity(attributes);\n\t\t} else if (CACHE_ELMT.equals(qName)) {\n\t\t\tprocessCache(attributes);\n\t\t} else if (CACHE_ENTRY_ELMT.equals(qName)) {\n\t\t\tprocessCacheEntry(attributes);\n\t\t} else if (CACHE_KEY_ELMT.equals(qName)) {\n\t\t\tprocessKey(attributes);\n\t\t} else if (FIELD_MAP_REF_ELMT.equals(qName)) {\n\t\t\tprocessFieldMapReference(attributes);\n\t\t} else if (RESOURCE_REF_ELMT.equals(qName)) {\n\t\t\tprocessResourceReference(attributes);\n\t\t} else if (CACHE_DEFAULT_VALUE_ELMT.equals(qName)) {\n\t\t\tprocessDefault(attributes);\n\t\t} else if (MATCH_EXP_ELMT.equals(qName)) {\n\t\t\tprocessMatchExpression(attributes);\n\t\t} else {\n\t\t\tthrow new SAXParseException(StreamsResources.getStringFormatted(StreamsResources.RESOURCE_BUNDLE_NAME,\n\t\t\t\t\t\"ConfigParserHandler.unknown.tag\", qName), currParseLocation);\n\t\t}\n\t}", "public void loadDocument() {\n\t\ttry {\n\t\t\tString defaultDirectory = Utils.lastVisitedDirectory;\n\t\t\tif (Utils.lastVisitedDocumentDirectory != null)\n\t\t\t\tdefaultDirectory = Utils.lastVisitedDocumentDirectory;\n\n\t\t\tJFileChooser fileChooser = new JFileChooser(defaultDirectory);\n\t\t\tint returnVal = fileChooser.showOpenDialog(new JFrame());\n\n\t\t\tif (returnVal != JFileChooser.APPROVE_OPTION) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tURL fileURL = fileChooser.getSelectedFile().toURL();\n\n\t\t\t((XsdTreeStructImpl) xsdTree).loadDocument(fileURL);\n\t\t\txsdTree.getMessageManager().sendMessage(\"XML document \" + fileURL + \" loaded.\", MessageManagerInt.simpleMessage);\n\t\t} catch (IOException urie) {\n\n\t\t} catch (SAXException saxe) {\n\n\t\t}\n\t\texampleLine = null;\n\t\t// updatePreview();\n\t}", "public static boolean isValidXml(final File file) {\n\t\ttry {\n\t\t\tsaxFactory.newSAXParser().parse(file, defaultHandler);\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}", "protected void parseRootElement() {\n\n // This is the Activiti method body for parsing through the XML object model\n // The Joda Engine needs less information than Activiti. That's why some methods are commented out.\n parseProcessDefinitions();\n }", "private void handleXMLBrowse(Shell parent) {\n\t\tFileDialog fileDialog = new FileDialog(parent);\n\t\tfileDialog.setFilterExtensions(new String[] { WSASCreationUIMessages.FILE_XML });\n\t\tString fileName = fileDialog.open();\n\t\tif (fileName != null) {\n\t\t\tservicesXMLPath.setText(fileName);\n\t\t\tmodel.setPathToServicesXML( servicesXMLPath.getText() );\n\t\t}\n\t}", "private void parseWSCTaxonomyFile(String fileName) {\n\t\ttry {\n\t \tFile fXmlFile = new File(fileName);\n\t \tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\n\t \tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\n\t \tDocument doc = dBuilder.parse(fXmlFile);\n\t \tElement taxonomy = (Element) doc.getChildNodes().item(0);\n\n\t \tprocessTaxonomyChildren(null, taxonomy.getChildNodes());\n\t\t}\n\n\t\tcatch (ParserConfigurationException e) {\n System.out.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t\tcatch (SAXException e) {\n System.out.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t\tcatch (IOException e) {\n System.out.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t}", "private static interface DefDocumentProcessor\n\t{\n\t\t/**\n\t\t * Called for every element found during processing of the s.t.\n\t\t * path.\n\t\t * @param documentPath an abstract pathname of the document\n\t\t * @throws XMLFormatException if document appears to be corrupted\n\t\t */\n\t\tvoid processElement(File documentPath) \n\t\t\tthrows XMLFormatException;\n\t}", "public static HelloAuthenticatedWithEntitlements parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n HelloAuthenticatedWithEntitlements object =\n new HelloAuthenticatedWithEntitlements();\n\n int event;\n java.lang.String nillableValue = null;\n java.lang.String prefix =\"\";\n java.lang.String namespaceuri =\"\";\n try {\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n\n \n if (reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"type\")!=null){\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\n \"type\");\n if (fullTypeName!=null){\n java.lang.String nsPrefix = null;\n if (fullTypeName.indexOf(\":\") > -1){\n nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(\":\"));\n }\n nsPrefix = nsPrefix==null?\"\":nsPrefix;\n\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\":\")+1);\n \n if (!\"helloAuthenticatedWithEntitlements\".equals(type)){\n //find namespace for the prefix\n java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);\n return (HelloAuthenticatedWithEntitlements)ExtensionMapper.getTypeObject(\n nsUri,type,reader);\n }\n \n\n }\n \n\n }\n\n \n\n \n // Note all attributes that were handled. Used to differ normal attributes\n // from anyAttributes.\n java.util.Vector handledAttributes = new java.util.Vector();\n \n\n \n \n reader.next();\n \n \n while (!reader.isStartElement() && !reader.isEndElement()) reader.next();\n \n if (reader.isStartElement() && new javax.xml.namespace.QName(\"http://ws.sample\",\"param0\").equals(reader.getName())){\n \n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\"nil\");\n if (!\"true\".equals(nillableValue) && !\"1\".equals(nillableValue)){\n \n java.lang.String content = reader.getElementText();\n \n object.setParam0(\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));\n \n } else {\n \n \n reader.getElementText(); // throw away text nodes if any.\n }\n \n reader.next();\n \n } // End of if for expected property start element\n \n else {\n \n }\n \n while (!reader.isStartElement() && !reader.isEndElement())\n reader.next();\n \n if (reader.isStartElement())\n // A start element we are not expecting indicates a trailing invalid property\n throw new org.apache.axis2.databinding.ADBException(\"Unexpected subelement \" + reader.getLocalName());\n \n\n\n\n } catch (javax.xml.stream.XMLStreamException e) {\n throw new java.lang.Exception(e);\n }\n\n return object;\n }", "@Override\n public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException {\n // <document>\n if (localName.equals(\"document\")) {\n curArticle = new ArticleSmallOpinion();\n curTagiot = new ArrayList<Tagit>();\n\n // add values\n if (atts.getValue(\"doc_id\") != null) curArticle.setDoc_id(atts.getValue(\"doc_id\"));\n if (atts.getValue(\"title\") != null) curArticle.setTitle(atts.getValue(\"title\"));\n if (atts.getValue(\"sub_title\") != null) curArticle.setSubTitle(atts.getValue(\"sub_title\"));\n if (atts.getValue(\"f7\") != null) curArticle.setF7(atts.getValue(\"f7\"));\n String author = atts.getValue(\"author_icon\");\n author = extractImageUrl(author);\n if (atts.getValue(\"author_icon\") != null) curArticle.setAuthorImgURL(author);\n if (atts.getValue(\"Created_On\") != null) curArticle.setCreatedOn(atts.getValue(\"Created_On\"));\n\n }\n // <f2>\n else if (localName.equals(\"f2\")) {\n if (atts.getValue(\"src\") != null) curArticle.setF2(atts.getValue(\"src\"));\n\n // currently not holding image photographer via \"title=\"\n }\n // <f3>\n if (localName.equals(\"f3\")) {\n if (atts.getValue(\"src\") != null) curArticle.setF3(atts.getValue(\"src\"));\n // currently not holding image photographer via \"title=\"\n }\n // <f4>\n else if (localName.equals(\"f4\")) {\n if (atts.getValue(\"src\") != null) curArticle.setF4(atts.getValue(\"src\"));\n // currently not holding image photographer via \"title=\"\n }\n // <tagit>\n else if (localName.equals(\"tagit\")) {\n Tagit tagit = new Tagit(atts.getValue(\"id\"), atts.getValue(\"simplified\"), \"\");\n curTagiot.add(tagit);\n }\n\n }", "@Override\n public void buildListDevices(final String fileName) {\n XMLStreamReader reader;\n String name;\n try (FileInputStream inputStream\n = new FileInputStream(new File(fileName))) {\n reader = inputFactory.createXMLStreamReader(inputStream);\n\n while (reader.hasNext()) {\n int type = reader.next();\n if (type == XMLStreamConstants.START_ELEMENT) {\n name = reader.getLocalName();\n parseSpecificDevice(name, reader);\n }\n }\n\n LOGGER.info(\"Parsing by DOM parser was successfully done!\");\n } catch (XMLStreamException ex) {\n LOGGER.error(\"StAX parsing error!\");\n } catch (FileNotFoundException ex) {\n LOGGER.error(\"File \" + fileName + \" not found!\");\n } catch (ParsingException e) {\n LOGGER.error(e.getMessage());\n } catch (IOException e) {\n LOGGER.error(\"Exception with file.\");\n }\n }", "public void init() {\r\n\t\ttry {\r\n\t\t\tSAXParserFactory factory = SAXParserFactory.newInstance();\r\n\t\t\t//factory.setValidating(true);\r\n\t\t\t//factory.setFeature(\r\n\t\t\t//\t\t\"http://apache.org/xml/features/validation/schema\", true);\r\n\t\t\tfactory.setNamespaceAware(true);\r\n\t\t\t_parser = factory.newSAXParser();\r\n\t\t} catch (Exception e) {\r\n\t\t\tlog.error(e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t\tLoggerUtilsServlet.logErrors(e);\r\n\t\t}\r\n\t}", "public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException {\n\t\tDocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\r\n\t\t//Create object of DocumentBuilder using DocumentBuilderFactory - to get the Document object for XML\r\n\t\tDocumentBuilder builder = documentBuilderFactory.newDocumentBuilder();\r\n\t\t\r\n\t\t//Create object of Document by parsing the input XML - to be able to obtain the NodeList for traversal.\r\n\t\tDocument document = builder.parse(\"D://employees.xml\");\r\n\t\t//ClassLoader.getSystemResourceAsStream(\"employees.xml\")\r\n\t\t\r\n\t\t//Create object of NodeList from the Document object - to be able to identify individual nodes (items)\r\n\t\tNodeList nodeList = document.getChildNodes();\r\n\t\t\r\n\t\tList<Employee> empList = new ArrayList<Employee>();\r\n\r\n\t\t//Looping over nodeList\r\n\t\tfor(int i=0;i<nodeList.getLength();i++)\r\n\t\t{\r\n\t\t\t//Picking up a node/item from the list\r\n\t\t\tNode node = nodeList.item(i);\r\n\t\t\t\r\n\t\t\tif(node instanceof Element)\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\t//emp.id = node.getAttributes().getNamedItem(\"id\").getNodeValue();\r\n\t\t\t\t\r\n\t\t\t\tNodeList internalNodeList = node.getChildNodes();\r\n\t\t\t\t\r\n\t\t\t\tfor(int j=0; j < internalNodeList.getLength(); j++)\r\n\t\t\t\t{\r\n\t\t\t\t\tEmployee emp = new Employee();\r\n\t\t\t\t\t\r\n\t\t\t\t\tNode iNode = internalNodeList.item(j);\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(iNode instanceof Element)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tString iNodeText = iNode.getLastChild().getTextContent().trim();\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tswitch(iNodeText)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\tcase \"firstName\":\r\n\t\t\t\t\t\t\temp.firstName = iNodeText;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase \"lastName\":\r\n\t\t\t\t\t\t\temp.lastName = iNodeText;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase \"location\":\r\n\t\t\t\t\t\t\temp.location = iNodeText;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tempList.add(emp);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tfor(Employee emp : empList)\r\n\t\t{\r\n\t\t\tSystem.out.println(emp);\r\n\t\t}\r\n\t}", "protected abstract void _fromXml_(Element in_xml) throws ConfigurationException;", "private void unpackGeneralXmlMarkup(Document doc, RepositioningInfo repInfo,\n RepositioningInfo ampCodingInfo, StatusListener statusListener)\n throws DocumentFormatException {\n boolean docHasContentButNoValidURL = hasContentButNoValidUrl(doc);\n\n XmlDocumentHandler xmlDocHandler = null;\n try {\n\n // Create a new Xml document handler\n xmlDocHandler =\n new XmlDocumentHandler(doc, this.markupElementsMap,\n this.element2StringMap);\n\n // Register a status listener with it\n xmlDocHandler.addStatusListener(statusListener);\n\n // set repositioning object\n xmlDocHandler.setRepositioningInfo(repInfo);\n\n // set the object with ampersand coding positions\n xmlDocHandler.setAmpCodingInfo(ampCodingInfo);\n\n // create the parser\n SAXDocumentParser newxmlParser = new SAXDocumentParser();\n\n // Set up the factory to create the appropriate type of parser\n // Fast Infoset doesn't support validating which is good as we would want\n // it off any way, but we do want it to be namesapace aware\n newxmlParser.setFeature(\"http://xml.org/sax/features/namespaces\", true);\n newxmlParser.setFeature(\"http://xml.org/sax/features/namespace-prefixes\",\n true);\n newxmlParser.setContentHandler(xmlDocHandler);\n newxmlParser.setErrorHandler(xmlDocHandler);\n newxmlParser.setDTDHandler(xmlDocHandler);\n newxmlParser.setEntityResolver(xmlDocHandler);\n\n // Parse the XML Document with the appropriate encoding\n Reader docReader = null;\n try {\n InputSource is;\n if(docHasContentButNoValidURL) {\n // no URL, so parse from string\n is = new InputSource(new StringReader(doc.getContent().toString()));\n } else if(doc instanceof TextualDocument) {\n // textual document - load with user specified encoding\n String docEncoding = ((TextualDocument)doc).getEncoding();\n // don't strip BOM on XML.\n docReader =\n new InputStreamReader(doc.getSourceUrl().openStream(),\n docEncoding);\n is = new InputSource(docReader);\n // must set system ID to allow relative URLs (e.g. to a DTD) to\n // work\n is.setSystemId(doc.getSourceUrl().toString());\n } else {\n // let the parser decide the encoding\n is = new InputSource(doc.getSourceUrl().toString());\n }\n newxmlParser.parse(is);\n } finally {\n // make sure the open streams are closed\n if(docReader != null) docReader.close();\n }\n\n ((DocumentImpl)doc).setNextAnnotationId(xmlDocHandler\n .getCustomObjectsId());\n } catch(SAXException e) {\n doc.getFeatures().put(\"parsingError\", Boolean.TRUE);\n\n Boolean bThrow =\n (Boolean)doc.getFeatures().get(\n GateConstants.THROWEX_FORMAT_PROPERTY_NAME);\n\n if(bThrow != null && bThrow.booleanValue()) {\n throw new DocumentFormatException(e);\n } else {\n Out.println(\"Warning: Document remains unparsed. \\n\"\n + \"\\n Stack Dump: \");\n e.printStackTrace(Out.getPrintWriter());\n }\n\n } catch(IOException e) {\n throw new DocumentFormatException(\"I/O exception for \"\n + doc.getSourceUrl(), e);\n } finally {\n if(xmlDocHandler != null)\n xmlDocHandler.removeStatusListener(statusListener);\n }\n }", "public LagartoDOMBuilder enableXmlMode() {\n\t\tconfig.ignoreWhitespacesBetweenTags = true; // ignore whitespaces that are non content\n\t\tconfig.parserConfig.setCaseSensitive(true); // XML is case sensitive\n\t\tconfig.parserConfig.setEnableRawTextModes(false); // all tags are parsed in the same way\n\t\tconfig.enabledVoidTags = false; // there are no void tags\n\t\tconfig.selfCloseVoidTags = false; // don't self close empty tags (can be changed!)\n\t\tconfig.impliedEndTags = false; // no implied tag ends\n\t\tconfig.parserConfig.setEnableConditionalComments(false); // disable IE conditional comments\n\t\tconfig.parserConfig.setParseXmlTags(true); // enable XML mode in parsing\n\t\treturn this;\n\t}", "private boolean validate() {\r\n\t\ttry {\r\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\t//validate the schema\r\n\t\t\tdbFactory.setValidating(true);\r\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\r\n\t\t\t//handling errors\r\n\t\t\tdBuilder.setErrorHandler(new ErrorHandler() {\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void error(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void fatalError(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void warning(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t\tFile file = new File(tempPath);\r\n\t\t\tFileInputStream fis = new FileInputStream(file);\r\n\t\t\tDocument doc = dBuilder.parse(fis);\r\n\t\t\t//if it matches the schema then parse the temp xml file into the original xml file\r\n\t\t\tdoc.setXmlStandalone(true);\r\n\t\t\tTransformerFactory tf = TransformerFactory.newInstance();\r\n\t\t\tTransformer transformer = tf.newTransformer();\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"ISO-8859-1\");\r\n\t\t\tDOMImplementation domImp = doc.getImplementation();\r\n\t\t\tDocumentType docType = domImp.createDocumentType(\"doctype\", \"SYSTEM\", new File(path).getName().substring(0, new File(path).getName().length() - 4) + \".dtd\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, docType.getSystemId());\r\n\t\t\tDOMSource domSource = new DOMSource(doc);\r\n\t\t\tFileOutputStream fos = new FileOutputStream(new File(path));\r\n\t\t\ttransformer.transform(domSource, new StreamResult(fos));\r\n\t\t\tfos.close();\r\n\t\t\tfis.close();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tcatch (ParserConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new ParserConfigurationException();\r\n\t\t\t} catch (RuntimeException | ParserConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerConfigurationException();\r\n\t\t\t} catch (RuntimeException | TransformerConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerException(e);\r\n\t\t\t} catch (RuntimeException | TransformerException err) {\r\n\t\t\t}\r\n\t\t} catch (SAXException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new SAXException();\r\n\t\t\t} catch (RuntimeException | SAXException err) {\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IOException();\r\n\t\t\t} catch (RuntimeException | IOException err) {\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public final void process() {\n parseReport();\n checkThreshold();\n updateQualityXML();\n }", "public void readXML(org.dom4j.Element el) throws Exception {\n String name,value;\n org.dom4j.Element node=el;\n\n if (el.attribute(\"type\") != null)\n setType(el.attribute(\"type\").getText());\n if (el.attribute(\"action\") != null)\n setAction(ActionList.valueOf(el.attribute(\"action\").getText()));\n if (el.attribute(\"direction\") != null)\n setDirection(DirectionList.valueOf(el.attribute(\"direction\").getText()));\n if (el.attribute(\"content\") != null)\n setContent(el.attribute(\"content\").getText());\n if (el.attribute(\"iterations\") != null)\n setIterations(org.jbrain.xml.binding._TypeConverter.parseInteger(el.attribute(\"iterations\").getText(), sObjName, \"Iterations\"));\n if (el.attribute(\"asynchronous\") != null)\n setAsynchronous(org.jbrain.xml.binding._TypeConverter.parseBoolean(el.attribute(\"asynchronous\").getText(), sObjName, \"Asynchronous\"));\n }", "public void parse()\n throws ClassNotFoundException, IllegalAccessException,\n\t InstantiationException, IOException, SAXException,\n\t ParserConfigurationException\n {\n\tSAXParser saxParser = SAXParserFactory.newInstance().newSAXParser();\n\txmlReader = saxParser.getXMLReader();\n\txmlReader.setContentHandler(this);\n\txmlReader.setEntityResolver(this);\n\txmlReader.setErrorHandler(this);\n\txmlReader.setDTDHandler(this);\n\txmlReader.parse(xmlSource);\n\t}", "public XmlParser(String strFile) throws XmlException\n {\n File fXmlFile = new File(strFile);\n DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\n DocumentBuilder dBuilder;\n try\n {\n dBuilder = dbFactory.newDocumentBuilder();\n doc = dBuilder.parse(fXmlFile);\n doc.getDocumentElement().normalize();\n }\n catch (ParserConfigurationException ex)\n {\n throw new XmlException(\"Unable to initialize XML parser for: \" + strFile);\n }\n catch (SAXException ex)\n {\n throw new XmlException(\"Incorrect XML format: \" + strFile);\n }\n catch (IOException ex)\n {\n throw new XmlException(\"Unable to open XML file: \" + strFile);\n }\n }", "void readXML(Element elem) throws XMLSyntaxError;", "private static Document initializeXML(String filePath) throws Exception {\n\t\ttry {\n\t\t\tlogger.info(\"Initializing the xml file :\" + filePath);\n\t\t\txmlDocument = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new File(filePath));\n\t\t\txmlDocument.getDocumentElement().normalize();\n\t\t\treturn xmlDocument;\n\t\t} catch (Exception e) {\n\n\t\t\tlogger.error(\"Error while reading from XML. File Path : \" + filePath + \" \\n\" + e.getMessage());\n\t\t\tthrow (new Exception(e.getMessage()));\n\n\t\t}\n\t}", "public static void main(String[] args) throws SAXException, IOException, ParserConfigurationException {\n\t\tcheckwithnodesxmltoexcel excl= new checkwithnodesxmltoexcel();\n\t\texcl.xmltoexcelfile();\n\n\t}", "protected boolean importElements(XmlPullParser xpp, Epml epml) {\n\t\treturn false;\n\t}", "public DOMClass() {\r\n section = \"TBD_section\";\r\n role = \"TBD_role\";\r\n xPath = \"TBD_xPath\";\r\n docSecType = \"TBD_type\";\r\n rootClass = \"TBD_root_class\";\r\n baseClassName = \"TBD_base_class_name\";\r\n localIdentifier = \"TBD_localIdentifier\";\r\n used = \"TBD_used\";\r\n extrnTitleQM = \"TBD_extrnTitleQM\";\r\n subClassLevel = 0;\r\n isUSERClass = false;\r\n // isUsedInClass = false;\r\n isMasterClass = false;\r\n isSchema1Class = false;\r\n isRegistryClass = false;\r\n isUsedInModel = false;\r\n isAnExtension = false;\r\n isARestriction = false;\r\n isVacuous = false;\r\n isUnitOfMeasure = false;\r\n isDataType = false;\r\n isTDO = false;\r\n // isAbstract = false;\r\n isChoice = false;\r\n isAny = false;\r\n includeInThisSchemaFile = false;\r\n isFromLDD = false;\r\n isReferencedFromLDD = false;\r\n isAssociatedExternalClass = false; // the class was defined using DD_Associate_External_Class\r\n isQueryModel = false;\r\n\r\n hasDOMPropInverse = null;\r\n hasDOMProtAttr = new ArrayList<>();\r\n\r\n subClassOf = null;\r\n subClassOfTitle = \"TBD_subClassOfTitle\";\r\n subClassOfIdentifier = \"TBD_subClassOfIdentifier\";\r\n\r\n subClassHierArr = new ArrayList<>(); // all subclasses (children) of this class\r\n superClassHierArr = new ArrayList<>(); // the superclass (parent) hierarchy for this\r\n // class\r\n\r\n ownedAttrArr = new ArrayList<>();\r\n inheritedAttrArr = new ArrayList<>();\r\n ownedAssocArr = new ArrayList<>();\r\n inheritedAssocArr = new ArrayList<>();\r\n\r\n allAttrAssocArr = new ArrayList<>();\r\n ownedAttrAssocArr = new ArrayList<>();\r\n ownedAttrAssocNOArr = new ArrayList<>();\r\n ownedAttrAssocNSTitleArr = new ArrayList<>();\r\n ownedTestedAttrAssocNSTitleArr = new ArrayList<>();\r\n ownedPropNSTitleMap = new TreeMap<>();\r\n ownedAttrAssocNSTitleMap = new TreeMap<>();\r\n allEnumAttrArr = new ArrayList<>();\r\n\r\n ocDataIdentifier = \"TBD_ocDataIdentifier\"; // data element\r\n desDataIdentifier = \"TBD_desDataIdentifier\"; // designation\r\n defDataIdentifier = \"TBD_defDataIdentifier\"; // definition\r\n teDataIdentifier = \"TBD_teDataIdentifier\"; // terminlogical entry\r\n administrationRecordValue = \"TBD_administrationRecordValue\";\r\n registeredByValue = \"TBD_registeredByValue\";\r\n }", "public CommandProcessXML(String filePath){\n _xmlFile = new File(filePath);\n _dbFactory = DocumentBuilderFactory.newInstance();\n }", "@Override\n public void startElement(String namespaceURI, String lName,\n String qName, Attributes attrs) throws SAXException {\n switch (qName) {\n case \"category\":\n String catName = attrs.getValue(NAME);\n String catId = attrs.getValue(ID);\n Category.Location location = YES.equals(attrs.getValue(EXTERNAL)) ?\n Category.Location.EXTERNAL : Category.Location.INTERNAL;\n boolean onByDefault = !OFF.equals(attrs.getValue(DEFAULT));\n String tabName = attrs.getValue(TABNAME);\n category = new Category(catId != null ? new CategoryId(catId) : null, catName, location, onByDefault, tabName);\n if (attrs.getValue(TYPE) != null) {\n categoryIssueType = attrs.getValue(TYPE);\n }\n if (attrs.getValue(\"tags\") != null) {\n categoryTags.addAll(Arrays.asList(attrs.getValue(\"tags\").split(\" \")));\n }\n break;\n case \"rules\":\n String languageStr = attrs.getValue(\"lang\");\n idPrefix = attrs.getValue(\"idprefix\");\n language = Languages.getLanguageForShortCode(languageStr);\n break;\n case \"regexp\":\n inRegex = true;\n regexMode = \"exact\".equals(attrs.getValue(\"type\")) ? RegexpMode.EXACT : RegexpMode.SMART;\n regexCaseSensitive = attrs.getValue(CASE_SENSITIVE) != null && YES.equals(attrs.getValue(CASE_SENSITIVE));\n regexpMark = attrs.getValue(MARK) != null ? Integer.parseInt(attrs.getValue(MARK)) : 0;\n break;\n case RULE:\n regex = new StringBuilder();\n inRule = true;\n shortMessage = new StringBuilder();\n message = new StringBuilder();\n suggestionsOutMsg = new StringBuilder();\n url = new StringBuilder();\n id = attrs.getValue(ID);\n name = attrs.getValue(NAME);\n if (inRuleGroup) {\n subId++;\n if (id == null) {\n id = ruleGroupId;\n }\n if (name == null) {\n name = ruleGroupDescription;\n }\n }\n if (id == null && !relaxedMode) {\n throw new RuntimeException(\"id is null for rule with name '\" + name + \"'\");\n }\n id = idPrefix != null ? idPrefix + id : id;\n\n if (inRuleGroup && ruleGroupDefaultOff && attrs.getValue(DEFAULT) != null) {\n throw new RuntimeException(\"Rule group \" + ruleGroupId + \" is off by default, thus rule \" + id + \" cannot specify 'default=...'\");\n }\n if (inRuleGroup && ruleGroupDefaultTempOff && attrs.getValue(DEFAULT) != null) {\n throw new RuntimeException(\"Rule group \" + ruleGroupId + \" is off by default, thus rule \" + id + \" cannot specify 'default=...'\");\n }\n if (inRuleGroup && ruleGroupDefaultOff) {\n defaultOff = true;\n } else if (inRuleGroup && ruleGroupDefaultTempOff) {\n defaultTempOff = true;\n } else {\n defaultOff = OFF.equals(attrs.getValue(DEFAULT));\n defaultTempOff = TEMP_OFF.equals(attrs.getValue(DEFAULT));\n }\n\n correctExamples = new ArrayList<>();\n incorrectExamples = new ArrayList<>();\n errorTriggeringExamples = new ArrayList<>();\n suggestionMatches.clear();\n suggestionMatchesOutMsg.clear();\n if (attrs.getValue(TYPE) != null) {\n ruleIssueType = attrs.getValue(TYPE);\n }\n isRuleSuppressMisspelled = false;\n if (attrs.getValue(\"tags\") != null) {\n ruleTags.addAll(Arrays.asList(attrs.getValue(\"tags\").split(\" \")));\n }\n break;\n case PATTERN:\n startPattern(attrs);\n tokenCountForMarker = 0;\n interpretPosTagsPreDisambiguation = YES.equals(attrs.getValue(RAW_TAG));\n break;\n case ANTIPATTERN:\n inAntiPattern = true;\n antiPatternCounter++;\n caseSensitive = YES.equals(attrs.getValue(CASE_SENSITIVE));\n tokenCounter = 0;\n tokenCountForMarker = 0;\n break;\n case AND:\n inAndGroup = true;\n tokenCountForMarker++;\n break;\n case OR:\n inOrGroup = true;\n tokenCountForMarker++;\n break;\n case UNIFY:\n inUnification = true;\n uniNegation = YES.equals(attrs.getValue(NEGATE));\n break;\n case UNIFY_IGNORE:\n inUnificationNeutral = true;\n break;\n case FEATURE:\n uFeature = attrs.getValue(ID);\n break;\n case TYPE:\n uType = attrs.getValue(ID);\n uTypeList.add(uType);\n break;\n case TOKEN:\n setToken(attrs);\n if (!inAndGroup && !inOrGroup) {\n tokenCountForMarker++;\n }\n break;\n case EXCEPTION:\n setExceptions(attrs);\n break;\n case EXAMPLE:\n String typeVal = attrs.getValue(TYPE);\n if (\"incorrect\".equals(typeVal) || attrs.getValue(\"correction\") != null) {\n inIncorrectExample = true;\n incorrectExample = new StringBuilder();\n exampleCorrection = new StringBuilder();\n if (attrs.getValue(\"correction\") != null) {\n exampleCorrection.append(attrs.getValue(\"correction\"));\n }\n } else if (\"triggers_error\".equals(typeVal)) {\n inErrorTriggerExample = true;\n errorTriggerExample = new StringBuilder();\n } else {\n // no attribute implies the sentence is a correct example\n inCorrectExample = true;\n correctExample = new StringBuilder();\n }\n break;\n case \"filter\":\n filterClassName = attrs.getValue(\"class\");\n filterArgs = attrs.getValue(\"args\");\n break;\n case MESSAGE:\n inMessage = true;\n inSuggestion = false;\n message = new StringBuilder();\n isRuleSuppressMisspelled = YES.equals(attrs.getValue(\"suppress_misspelled\"));\n if (isRuleSuppressMisspelled) {\n message.append(PLEASE_SPELL_ME);\n } \n break;\n case SUGGESTION:\n String strToAppend = \"<suggestion>\";\n isSuggestionSupressMisspelled = YES.equals(attrs.getValue(\"suppress_misspelled\"));\n if (isSuggestionSupressMisspelled || isRuleSuppressMisspelled) {\n strToAppend = strToAppend + PLEASE_SPELL_ME;\n }\n if (inMessage) {\n message.append(strToAppend);\n } else { // suggestions outside message\n suggestionsOutMsg.append(strToAppend);\n }\n inSuggestion = true;\n break;\n case \"short\":\n if (inRule) {\n inShortMessage = true;\n shortMessage = new StringBuilder();\n } else {\n inShortMessageForRuleGroup = true;\n shortMessageForRuleGroup = new StringBuilder();\n }\n break;\n case \"url\":\n if (inRule) {\n inUrl = true;\n url = new StringBuilder();\n } else {\n inUrlForRuleGroup = true;\n urlForRuleGroup = new StringBuilder();\n }\n break;\n case RULEGROUP:\n ruleGroupId = attrs.getValue(ID);\n ruleGroupDescription = attrs.getValue(NAME);\n ruleGroupDefaultOff = OFF.equals(attrs.getValue(DEFAULT));\n ruleGroupDefaultTempOff = TEMP_OFF.equals(attrs.getValue(DEFAULT));\n urlForRuleGroup = new StringBuilder();\n shortMessageForRuleGroup = new StringBuilder();\n inRuleGroup = true;\n subId = 0;\n if (attrs.getValue(TYPE) != null) {\n ruleGroupIssueType = attrs.getValue(TYPE);\n }\n if (attrs.getValue(\"tags\") != null) {\n ruleGroupTags.addAll(Arrays.asList(attrs.getValue(\"tags\").split(\" \")));\n }\n break;\n case MATCH:\n setMatchElement(attrs, inSuggestion && (isSuggestionSupressMisspelled || isRuleSuppressMisspelled));\n break;\n case MARKER:\n if (inIncorrectExample) {\n incorrectExample.append(MARKER_TAG);\n } else if (inCorrectExample) {\n correctExample.append(MARKER_TAG);\n } else if (inErrorTriggerExample) {\n errorTriggerExample.append(MARKER_TAG);\n } else if (inPattern || inAntiPattern) {\n startPos = tokenCounter;\n inMarker = true;\n }\n break;\n case UNIFICATION:\n uFeature = attrs.getValue(\"feature\");\n inUnificationDef = true;\n break;\n case \"equivalence\":\n uType = attrs.getValue(TYPE);\n break;\n case PHRASES:\n inPhrases = true;\n break;\n case \"includephrases\":\n break;\n case \"phrase\":\n if (inPhrases) {\n phraseId = attrs.getValue(ID);\n }\n break;\n case \"phraseref\":\n if (attrs.getValue(\"idref\") != null) {\n preparePhrase(attrs);\n tokenCountForMarker++;\n }\n break;\n }\n }", "private void marshallDocument(Virtualnetworkmanager root, PrintStream outputFile) throws JAXBException, SAXException {\n\t\t\n\t\t// Creating the JAXB context to perform a validation \n\t\tJAXBContext jc;\n\t\t// Creating an instance of the XML Schema \n\t\tSchema schema;\n\t\t\t\t\n\t\ttry {\n\t\t\tjc = JAXBContext.newInstance(PACKAGE);\n\t\t\tschema = SchemaFactory.newInstance(W3C_XML_SCHEMA_NS_URI).newSchema(new File(XSD_NAME));\n\t\t}\n\t\tcatch(IllegalArgumentException e) {\n\t\t\tSystem.err.println(\"Error! No implementation of the schema language is available\");\n\t\t\tthrow e;\n\t\t}\n\t\tcatch(NullPointerException e) {\n\t\t\tSystem.err.println(\"Error! The instance of the schema or the file of the schema is not well created!\\n\");\n\t\t\tthrow new SAXException(\"The schema file is null!\");\n\t\t}\n\t\t\n\t\t// Creating the XML document \t\t\n\t\tMarshaller m = jc.createMarshaller();\n\t\tm.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n\t\tm.setProperty(Marshaller.JAXB_SCHEMA_LOCATION, XSD_LOCATION+\" \"+XSD_NAME);\n\t\tm.setSchema(schema);\n\t\tm.marshal(root, outputFile);\n\t\t\n\t}", "@Override\n\tpublic void startDocument() throws SAXException {\n\t\tSystem.out.println(\"---解析文档开始----\");\n\t}", "public void startContent() throws XPathException {\r\n nextReceiver.startElement(elementNameCode, elementProperties);\r\n\r\n final int length = bufferedAttributes.getLength();\r\n for (int i=0; i<length; i++) {\r\n nextReceiver.attribute(bufferedAttributes.getNameCode(i),\r\n bufferedAttributes.getValue(i)\r\n );\r\n }\r\n for (NamespaceBinding nb : bufferedNamespaces) {\r\n nextReceiver.namespace(nb, 0);\r\n }\r\n\r\n nextReceiver.startContent();\r\n }", "@Override\n public void startElement(String namespaceURI, String lName,\n String qName, Attributes attrs) throws SAXException {\n if (qName.equals(RULE)) {\n translations.clear();\n id = attrs.getValue(\"id\");\n if (!(inRuleGroup && defaultOff)) {\n defaultOff = \"off\".equals(attrs.getValue(\"default\"));\n }\n if (inRuleGroup && id == null) {\n id = ruleGroupId;\n }\n correctExamples = new ArrayList<>();\n incorrectExamples = new ArrayList<>();\n } else if (qName.equals(PATTERN)) {\n inPattern = true;\n String languageStr = attrs.getValue(\"lang\");\n if (Languages.isLanguageSupported(languageStr)) {\n language = Languages.getLanguageForShortCode(languageStr);\n }\n } else if (qName.equals(TOKEN)) {\n setToken(attrs);\n } else if (qName.equals(TRANSLATION)) {\n inTranslation = true;\n String languageStr = attrs.getValue(\"lang\");\n if (Languages.isLanguageSupported(languageStr)) {\n Language tmpLang = Languages.getLanguageForShortCode(languageStr);\n currentTranslationLanguage = tmpLang;\n if (tmpLang.equalsConsiderVariantsIfSpecified(motherTongue)) {\n translationLanguage = tmpLang;\n }\n }\n } else if (qName.equals(EXAMPLE)) {\n correctExample = new StringBuilder();\n incorrectExample = new StringBuilder();\n if (attrs.getValue(TYPE).equals(\"incorrect\")) {\n inIncorrectExample = true;\n } else if (attrs.getValue(TYPE).equals(\"correct\")) {\n inCorrectExample = true;\n } else if (attrs.getValue(TYPE).equals(\"triggers_error\")) {\n throw new RuntimeException(\"'triggers_error' is not supported for false friend XML\");\n }\n } else if (qName.equals(MESSAGE)) {\n inMessage = true;\n message = new StringBuilder();\n } else if (qName.equals(RULEGROUP)) {\n ruleGroupId = attrs.getValue(\"id\");\n inRuleGroup = true;\n defaultOff = \"off\".equals(attrs.getValue(DEFAULT));\n }\n }", "public Document augmentDocumentXml(Document document) throws IOException, SAXException {\n\t\tString fileName = getBbnFileName(document);\n\n\t\t// move to the next BBN file if necessary\n\t\t// this will be efficient if the documents are passed in WSJ order as it avoids reloading the same file\n\t\tif (!fileName.equals(currentBbnFile)) {\n\t\t\tFile xmlFile = new File(StaticConfig.bbnPath + fileName);\n\t\t\txmlReader.parse(new InputSource(xmlFile.getPath()));\n\t\t\tcurrentBbnFile = fileName;\n\t\t}\n\n\t\tList<String> tags = handler.getTags(document.docId.getFileStr());\n\t\tList<Token> tokenList = document.tokenList;\n\n\t\t// sanity check: same number of tokens?\n\t\tif (tags.size() != tokenList.size()) {\n\t\t\tthrow new Error(\"Tag and token counts differ\");\n\t\t}\n\n\t\t// align tags and tokens\n\t\tfor (int i = 0; i < tokenList.size(); i++) {\n\t\t\tToken token = tokenList.get(i);\n\t\t\tString neTag = tags.get(i);\n\t\t\ttoken.goldNer = neTag;\n\t\t}\n\n\t\treturn document;\n\t}", "public void readBoardData(Document d){\r\n \r\n Element root = d.getDocumentElement();\r\n \r\n NodeList setList = root.getElementsByTagName(\"set\");\r\n NodeList office = root.getElementsByTagName(\"office\");\r\n NodeList trailer = root.getElementsByTagName(\"trailer\");\r\n \r\n \r\n //special handling for office:\r\n \r\n //reads data from the node\r\n Node officeNode = office.item(0);\r\n Element officeElement = (Element) officeNode;\r\n String officeName = \"office\";\r\n \r\n Room officeTemp = new Room();\r\n officeTemp.name = officeName;\r\n \r\n //office area\r\n NodeList officeArea = officeElement.getElementsByTagName(\"area\");\r\n Node tempNode = officeArea.item(0);\r\n Element officeBuilder = (Element) tempNode;\r\n officeTemp.x = Integer.parseInt(officeBuilder.getAttribute(\"x\"));\r\n officeTemp.y = Integer.parseInt(officeBuilder.getAttribute(\"y\"));\r\n officeTemp.h = Integer.parseInt(officeBuilder.getAttribute(\"h\"));\r\n officeTemp.w = Integer.parseInt(officeBuilder.getAttribute(\"w\"));\r\n \r\n //neighbors\r\n NodeList officeNeighbors = officeElement.getElementsByTagName(\"neighbor\");\r\n \r\n String[] officeNeighborList = new String[officeNeighbors.getLength()];\r\n \r\n for(int i = 0; i < officeNeighbors.getLength(); i++){\r\n Element n = (Element) officeNeighbors.item(i);\r\n String tempNeighborName = n.getAttribute(\"name\");\r\n officeNeighborList[i] = tempNeighborName;\r\n }\r\n officeTemp.neighbors = officeNeighborList;\r\n \r\n //upgrades\r\n NodeList officeUpgrades = officeElement.getElementsByTagName(\"upgrade\");\r\n \r\n Upgrade[] upgradeList = new Upgrade[officeUpgrades.getLength()];\r\n for(int k = 0; k < upgradeList.length; k++){\r\n upgradeList[k] = new Upgrade();\r\n }\r\n \r\n //put all upgrades into upgradeList\r\n for(int i = 0; i < officeUpgrades.getLength(); i++){\r\n Element n = (Element) officeUpgrades.item(i);\r\n upgradeList[i].level = Integer.parseInt(n.getAttribute(\"level\"));\r\n upgradeList[i].currency = n.getAttribute(\"currency\");\r\n upgradeList[i].amount = Integer.parseInt(n.getAttribute(\"amt\"));\r\n \r\n //upgrade area\r\n NodeList upgradeArea = n.getElementsByTagName(\"area\");\r\n tempNode = upgradeArea.item(0);\r\n Element upgradeBuilder = (Element) tempNode;\r\n upgradeList[i].x = Integer.parseInt(upgradeBuilder.getAttribute(\"x\"));\r\n upgradeList[i].y = Integer.parseInt(upgradeBuilder.getAttribute(\"y\"));\r\n upgradeList[i].h = Integer.parseInt(upgradeBuilder.getAttribute(\"h\"));\r\n upgradeList[i].w = Integer.parseInt(upgradeBuilder.getAttribute(\"w\")); \r\n }\r\n \r\n officeTemp.upgrades = upgradeList;\r\n officeTemp.doneShooting = true;\r\n Board.currentBoard[Board.currentBoardIndex++] = officeTemp;\r\n \r\n \r\n //special handling for trailer\r\n //reads data from the node\r\n Node trailerNode = trailer.item(0);\r\n \r\n Element trailerElement = (Element) trailerNode;\r\n String trailerName = \"trailer\";\r\n \r\n Room trailerTemp = new Room();\r\n trailerTemp.name = trailerName;\r\n NodeList trailerArea = trailerElement.getElementsByTagName(\"area\");\r\n \r\n //trailer area\r\n tempNode = trailerArea.item(0);\r\n Element trailerBuilder = (Element) tempNode;\r\n trailerTemp.x = Integer.parseInt(trailerBuilder.getAttribute(\"x\"));\r\n trailerTemp.y = Integer.parseInt(trailerBuilder.getAttribute(\"y\"));\r\n trailerTemp.h = Integer.parseInt(trailerBuilder.getAttribute(\"h\"));\r\n trailerTemp.w = Integer.parseInt(trailerBuilder.getAttribute(\"w\"));\r\n \r\n //neighbors\r\n NodeList trailerNeighbors = trailerElement.getElementsByTagName(\"neighbor\");\r\n \r\n String[] trailerNeighborList = new String[trailerNeighbors.getLength()];\r\n \r\n for(int i = 0; i < trailerNeighbors.getLength(); i++){\r\n Element n = (Element) trailerNeighbors.item(i);\r\n String tempNeighborName = n.getAttribute(\"name\");\r\n trailerNeighborList[i] = tempNeighborName;\r\n }\r\n trailerTemp.doneShooting = true;\r\n trailerTemp.neighbors = trailerNeighborList;\r\n \r\n Board.currentBoard[Board.currentBoardIndex++] = trailerTemp;\r\n \r\n //handles all the sets\r\n for(int i = 0; i < setList.getLength(); i++){\r\n \r\n Room tempRoom = new Room();\r\n \r\n //reads data from the nodes\r\n Node setNode = setList.item(i);\r\n \r\n //set name\r\n String setName = setNode.getAttributes().getNamedItem(\"name\").getNodeValue();\r\n tempRoom.name = setName;\r\n \r\n Element set = (Element) setNode;\r\n NodeList neighbors = set.getElementsByTagName(\"neighbor\");\r\n NodeList takes = set.getElementsByTagName(\"take\");\r\n NodeList parts = set.getElementsByTagName(\"part\");\r\n NodeList setArea = set.getElementsByTagName(\"area\");\r\n \r\n //area\r\n tempNode = setArea.item(0);\r\n Element setBuilder = (Element) tempNode; \r\n tempRoom.x = Integer.parseInt(setBuilder.getAttribute(\"x\"));\r\n tempRoom.y = Integer.parseInt(setBuilder.getAttribute(\"y\"));\r\n tempRoom.h = Integer.parseInt(setBuilder.getAttribute(\"h\"));\r\n tempRoom.w = Integer.parseInt(setBuilder.getAttribute(\"w\"));\r\n \r\n //neighbors\r\n String[] tempNeighbors = new String[neighbors.getLength()];\r\n \r\n for(int j = 0; j < neighbors.getLength(); j++){\r\n Element n = (Element) neighbors.item(j);\r\n String tempName = n.getAttribute(\"name\");\r\n tempNeighbors[j] = tempName;\r\n }\r\n tempRoom.neighbors = tempNeighbors;\r\n \r\n //takes\r\n Take[] tempTakes = new Take[takes.getLength()];\r\n for(int k = 0; k < takes.getLength(); k++){\r\n Take tempTake = new Take();\r\n Element t = (Element) takes.item(k);\r\n int num = Integer.parseInt(t.getAttribute(\"number\"));\r\n \r\n //takes area\r\n NodeList takeArea = t.getElementsByTagName(\"area\");\r\n Node takeNode = takeArea.item(0);\r\n Element takeBuilder = (Element) takeNode;\r\n tempTake.x = Integer.parseInt(takeBuilder.getAttribute(\"x\"));\r\n tempTake.y = Integer.parseInt(takeBuilder.getAttribute(\"y\"));\r\n tempTake.h = Integer.parseInt(takeBuilder.getAttribute(\"h\"));\r\n tempTake.w = Integer.parseInt(takeBuilder.getAttribute(\"w\")); \r\n \r\n tempTakes[k] = tempTake;\r\n }\r\n tempRoom.takes = tempTakes;\r\n tempRoom.maxTakes = takes.getLength();\r\n \r\n //parts\r\n Part[] tempParts = new Part[parts.getLength()];\r\n for(int j = 0; j < parts.getLength(); j++) {\r\n Part tempPart = new Part();\r\n Element n = (Element) parts.item(j);\r\n \r\n tempPart.name = n.getAttribute(\"name\");\r\n tempPart.level = Integer.parseInt(n.getAttribute(\"level\"));\r\n tempPart.line = n.getElementsByTagName(\"line\").item(0).getTextContent();\r\n tempPart.onCard = false;\r\n tempPart.isTaken = false;\r\n \r\n //part area\r\n NodeList partArea = n.getElementsByTagName(\"area\");\r\n Node partNode = partArea.item(0);\r\n Element partBuilder = (Element) partNode;\r\n \r\n tempPart.x = Integer.parseInt(partBuilder.getAttribute(\"x\"));\r\n tempPart.y = Integer.parseInt(partBuilder.getAttribute(\"y\"));\r\n tempPart.h = Integer.parseInt(partBuilder.getAttribute(\"h\"));\r\n tempPart.w = Integer.parseInt(partBuilder.getAttribute(\"w\"));\r\n \r\n tempParts[j] = tempPart;\r\n }\r\n tempRoom.parts = tempParts;\r\n Board.currentBoard[Board.currentBoardIndex++] = tempRoom;\r\n }\r\n }", "public void parse() throws XMLStreamException {\n\t\tInputStream dictStream = ClassLoader.getSystemResourceAsStream(fixFileName);\n\t\tXMLStreamReader reader = factory.createXMLStreamReader(dictStream);\n\t\tString curFieldName = \"\";\n\t\twhile (reader.hasNext()) {\n\t\t\tint event = reader.next();\n\t\t\tswitch (event) {\n\t\t\tcase XMLStreamConstants.START_ELEMENT:\n\t\t\t\tString elementName = reader.getLocalName();\n\t\t\t\telementNames.add(elementName);\n\t\t\t\tif (\"fields\".equals(elementName)) {\n\t\t\t\t\tisFieldsElement = true;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (\"field\".equals(elementName) && isFieldsElement) {\n\t\t\t\t\tString num = reader.getAttributeValue(null, \"number\");\n\t\t\t\t\tcurFieldName = reader.getAttributeValue(null, \"name\");\n\t\t\t\t\tFieldParser.logger.info(num + \", \" + curFieldName);\n\t\t\t\t\t// Integer tagNumber = Integer.parseInt(num);\n\t\t\t\t\ttagNameToNumber.put(curFieldName, num);\n\t\t\t\t\ttagNumberToName.put(num, curFieldName);\n\t\t\t\t\tMap<String, String> tagValueToTagValueDesc = tagNameToTagValueDesc.get(curFieldName);\n\t\t\t\t\tif (tagValueToTagValueDesc == null) {\n\t\t\t\t\t\ttagValueToTagValueDesc = new ConcurrentHashMap<>();\n\t\t\t\t\t\ttagNameToTagValueDesc.put(curFieldName, tagValueToTagValueDesc);\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (\"value\".equals(elementName) && !\"\".equals(curFieldName)) {\n\t\t\t\t\tMap<String, String> tagValueToTagValueDesc = tagNameToTagValueDesc.get(curFieldName);\n\t\t\t\t\tString enumNum = reader.getAttributeValue(null, \"enum\");\n\t\t\t\t\tString enumDesc = reader.getAttributeValue(null, \"description\");\n\t\t\t\t\ttagValueToTagValueDesc.put(enumNum, enumDesc);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase XMLStreamConstants.END_ELEMENT:\n\t\t\t\telementName = reader.getLocalName();\n\t\t\t\tif (\"fields\".equals(elementName)) {\n\t\t\t\t\tisFieldsElement = false;\n\t\t\t\t\tcurFieldName = \"\";\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t}\n\t\t}\n\t\treader.close();\n\t}", "private boolean parse(String fileName)\r\n {\r\n\t/* Make sure xml file exists */\r\n\tFile xml = new File(fileName);\r\n\tif(!xml.exists())\r\n\t {\r\n\t\tSystem.out.println(\"Error (parse): \" + fileName + \" does not exists\");\r\n\t\treturn false;\r\n\t }\r\n\r\n\t/* Create the filename */\r\n\ttry{\r\n\t /* create the parser */\r\n\t DefaultHandler handler = new ETDHandler(fileName);\r\n\r\n\t /* Remember, Remember, the fifth friday of every december */\r\n\t SAXParserFactory sax_fac = SAXParserFactory.newInstance();\r\n\t SAXParser sax_parser = sax_fac.newSAXParser();\r\n\t sax_parser.parse(xml, handler);\r\n\r\n\t}\r\n\tcatch(Throwable t)\r\n\t {\r\n\t\tSystem.out.println(\"Error (parse): \" + t.getMessage());\r\n\t\tt.printStackTrace();\r\n\t }\r\n\r\n\treturn true;\r\n }", "public Document parse (String filePath) {\n Document document = null;\n try {\n /* DOM parser instance */\n DocumentBuilder builder = builderFactory.newDocumentBuilder();\n /* parse an XML file into a DOM tree */\n document = builder.parse(filePath);\n } catch (ParserConfigurationException e) {\n e.printStackTrace();\n } catch (SAXException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return document;\n }", "XMLIn(String legendFile, RFO r)\n\t\t{\n\t\t\tsuper();\n\t\t\trfo = r;\n\t\t\telement = \"\";\n\t\t\tlocation = \"\";\n\t\t\tfiletype = \"\";\n\t\t\tmaterial = \"\";\n\t\t\tmElements = new double[16];\n\t\t\tsetMToIdentity();\t\t\t\n\t\t\t\n\t\t\tXMLReader xr = null;\n\t\t\ttry\n\t\t\t{\n\t\t\t\txr = XMLReaderFactory.createXMLReader();\n\t\t\t} catch (Exception e)\n\t\t\t{\n\t\t\t\tDebug.e(\"XMLIn() 1: \" + e);\n\t\t\t}\n\t\t\t\n\t\t\txr.setContentHandler(this);\n\t\t\txr.setErrorHandler(this);\n\t\t\ttry\n\t\t\t{\n\t\t\t\txr.parse(new InputSource(legendFile));\n\t\t\t} catch (Exception e)\n\t\t\t{\n\t\t\t\tDebug.e(\"XMLIn() 2: \" + e);\n\t\t\t}\n\n\t\t}", "public void writeToXML(){\n\t\t\n\t\t String s1 = \"\";\n\t\t String s2 = \"\";\n\t\t String s3 = \"\";\n\t\t Element lastElement= null;\n\t\t\n\t\tDocumentBuilderFactory dbfactory = DocumentBuilderFactory.newInstance();\n\t\tDocumentBuilder dbElement;\n\t\tBufferedReader brRead=null;\n\n\t\ttry{\n\t\t\tdbElement = dbfactory.newDocumentBuilder();\n\t\t\t\n\t\t\t//Create the root\n\t\t\tDocument docRoot = dbElement.newDocument();\n\t\t\tElement rootElement = docRoot.createElement(\"ROYAL\");\n\t\t\tdocRoot.appendChild(rootElement);\n\t\t\t\n\t\t\t//Create elements\n\t\t\t\n\t\t\t//Element fam = docRoot.createElement(\"FAM\");\n\t\t\tElement e= null;\n\t\t\tbrRead = new BufferedReader(new FileReader(\"complet.ged\"));\n\t\t\tString line=\"\";\n\t\t\twhile((line = brRead.readLine()) != null){\n\t\t\t\tString lineTrim = line.trim();\n\t\t\t\tString str[] = lineTrim.split(\" \");\n\t\t\t\t//System.out.println(\"length = \"+str.length);\n\n\t\t\t\tif(str.length == 2){\n\t\t\t\t\ts1 = str[0];\n\t\t\t\t\ts2 = str[1];\n\t\t\t\t\ts3 = \"\";\n\t\t\t\t}else if(str.length ==3){\n\t\t\t\t\ts1 = str[0];\n\t\t\t\t\ts2=\"\";\n\n\t\t\t\t\ts2 = str[1];\n//\t\t\t\t\tSystem.out.println(\"s2=\"+s2);\n\t\t\t\t\ts3=\"\";\n\t\t\t\t\ts3 = str[2];\n//\t\t\t\t\ts3 = s[0];\n\t\t\t\t\t\n\t\t\t\t}else if(str.length >3){\n\t\t\t\t\ts1 = str[0];\n\t\t\t\t\ts2 = str[1];\n\t\t\t\t\ts3=\"\";\n\t\t\t\t\tfor(int i =2; i<str.length; i++){\n\t\t\t\t\t\ts3 = s3 + str[i]+ \" \";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t//System.out.println(s1+\"!\"+s2+\"!\"+s3+\"!\");\n\t\t\t\t//Write to file xml\n\t\t\t\t//writeToXML(s1, s2, s3);\n\t\t\t//Element indi = docRoot.createElement(\"INDI\");\t\n\t\t\t//System.out.println(\"Check0 :\" + s1);\n\t\t\tif( Integer.parseInt(s1)==0){\n\t\t\t\t\n\t\t\t\t//System.out.println(\"Check1\");\n\t\t\t\tif(s3.equalsIgnoreCase(\"INDI\")){\n\t\t\t\t\t//System.out.println(\"Check2\");\n\t\t\t\t\tSystem.out.println(\"This is a famille Individual!\");\n\t\t\t\t\te = docRoot.createElement(\"INDI\");\n\t\t\t\t\trootElement.appendChild(e);\n\t\t\t\t\t\n\t\t\t\t\t//Set attribute to INDI\n\t\t\t\t\tAttr indiAttr = docRoot.createAttribute(\"id\");\n\t\t\t\t\ts2 = s2.substring(1, s2.length()-1);\n\t\t\t\t\tindiAttr.setValue(s2);\n\t\t\t\t\te.setAttributeNode(indiAttr);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t\t\n\t\t\t\t}if(s3.equalsIgnoreCase(\"FAM\")){\n\t\t\t\t\t//System.out.println(\"Check3\");\n\t\t\t\t\tSystem.out.println(\"This is a famille!\");\n\t\t\t\t\te = docRoot.createElement(\"FAM\");\n\t\t\t\t\trootElement.appendChild(e);\n\t\t\t\t\t//Set attribute to FAM\n\t\t\t\t\tAttr famAttr = docRoot.createAttribute(\"id\");\n\t\t\t\t\ts2 = s2.substring(1, s2.length()-1);\n\t\t\t\t\tfamAttr.setValue(s2);\n\t\t\t\t\te.setAttributeNode(famAttr);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t}if(s2.equalsIgnoreCase(\"HEAD\")){\n\t\t\t\t\tSystem.out.println(\"This is a head!\");\n\t\t\t\t\te = docRoot.createElement(\"HEAD\");\n\t\t\t\t\trootElement.appendChild(e);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t\t\n\t\t\t\t}if(s3.equalsIgnoreCase(\"SUBM\")){\n\n\t\t\t\t\tSystem.out.println(\"This is a subm!\");\n\t\t\t\t\te = docRoot.createElement(\"SUBM\");\n\t\t\t\t\trootElement.appendChild(e);\n\t\t\t\t\t//Set attribute to FAM\n\t\t\t\t\tAttr famAttr = docRoot.createAttribute(\"id\");\n\t\t\t\t\ts2 = s2.substring(1, s2.length()-1);\n\t\t\t\t\tfamAttr.setValue(s2);\n\t\t\t\t\te.setAttributeNode(famAttr);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(Integer.parseInt(s1)==1){\n\n\t\t\t\tString child = s2;\n\t\t\t\tif(child.equalsIgnoreCase(\"SOUR\")||child.equalsIgnoreCase(\"DEST\")||child.equalsIgnoreCase(\"DATE\")\n\t\t\t\t\t\t||child.equalsIgnoreCase(\"FILE\")||child.equalsIgnoreCase(\"CHAR\")\n\t\t\t\t\t\t||child.equalsIgnoreCase(\"NAME\")||child.equalsIgnoreCase(\"TITL\")||child.equalsIgnoreCase(\"SEX\")||child.equalsIgnoreCase(\"REFN\")\n\t\t\t\t\t\t||child.equalsIgnoreCase(\"PHON\")||child.equalsIgnoreCase(\"DIV\")){\n\t\t\t\t\tString name = lastElement.getNodeName();\n\t\t\t\t\tif(name.equalsIgnoreCase(\"INDI\")||name.equalsIgnoreCase(\"HEAD\")||name.equalsIgnoreCase(\"FAM\")||name.equalsIgnoreCase(\"SUBM\")){\t\n\t\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\t\te.setTextContent(s3);\n\t\t\t\t\t\t\n\t\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tNode p = e.getParentNode();\n\t\t\t\t\t\t\tElement x= docRoot.createElement(child);\n\t\t\t\t\t\t\tx.setTextContent(s3);\n\t\t\t\t\t\t\tp.appendChild(x);\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(child.equalsIgnoreCase(\"BIRT\")||child.equalsIgnoreCase(\"DEAT\")||child.equalsIgnoreCase(\"COMM\")\n\t\t\t\t\t\t||child.equalsIgnoreCase(\"BURI\")||child.equalsIgnoreCase(\"ADDR\")||child.equalsIgnoreCase(\"CHR\")){\n\t\t\t\t\t\n\t\t\t\t\tString name = lastElement.getNodeName();\t\n\t\t\t\t\tif(name.equalsIgnoreCase(\"INDI\")||name.equalsIgnoreCase(\"FAM\")||name.equalsIgnoreCase(\"SUBM\")){\t\n\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\te.setTextContent(s3);\n\t\t\t\t\t\n\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tNode p = e.getParentNode();\n\t\t\t\t\t\tElement x= docRoot.createElement(child);\n\t\t\t\t\t\tx.setTextContent(s3);\n\t\t\t\t\t\tp.appendChild(x);\n\t\t\t\t\t\tlastElement = x;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(child.equalsIgnoreCase(\"FAMS\")||child.equalsIgnoreCase(\"FAMC\")){\n\t\t\t\t\tString name = lastElement.getNodeName();\n\t\t\t\t\tif(name.equalsIgnoreCase(\"INDI\")||name.equalsIgnoreCase(\"FAM\")){\t\n\t\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\t\ts3 = s3.substring(1, s3.length()-1);\n\t\t\t\t\t\te.setAttribute(\"id\",s3);\n\t\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t\t\tlastElement = e;\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tNode p = e.getParentNode();\n\t\t\t\t\t\t\tElement x= docRoot.createElement(child);\n\t\t\t\t\t\t\ts3 = s3.substring(1, s3.length()-1);\n\t\t\t\t\t\t\tx.setAttribute(\"id\",s3);\n\t\t\t\t\t\t\tp.appendChild(x);\n\t\t\t\t\t\t\tlastElement = x;\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(child.equalsIgnoreCase(\"HUSB\")||child.equalsIgnoreCase(\"WIFE\")||child.equalsIgnoreCase(\"CHIL\")){\n\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\ts3 = s3.substring(1, s3.length()-1);\n\t\t\t\t\te.setAttribute(\"id\",s3);\n\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t}\n\t\t\t\tif(child.equalsIgnoreCase(\"MARR\")){\n\t\t\t\t\te= docRoot.createElement(child);\n\t\t\t\t\tlastElement.appendChild(e);\n\t\t\t\t\tlastElement = e;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(Integer.parseInt(s1)==2){\n\t\t\t\tString lastName = lastElement.getNodeName();\n\t\t\t\tif((lastName.equalsIgnoreCase(\"BIRT\"))||(lastName.equalsIgnoreCase(\"DEAT\"))||(lastName.equalsIgnoreCase(\"BURI\"))\n\t\t\t\t\t\t||(lastName.equalsIgnoreCase(\"MARR\"))||(lastName.equalsIgnoreCase(\"CHR\"))){\n\t\t\t\t\t//Add child nodes to birt, deat or marr\n\t\t\t\t\tif(s2.equalsIgnoreCase(\"DATE\")){\n\t\t\t\t\t\tElement date = docRoot.createElement(\"DATE\");\n\t\t\t\t\t\tdate.setTextContent(s3);\n\t\t\t\t\t\tlastElement.appendChild(date);\n\t\t\t\t\t}\n\t\t\t\t\tif(s2.equalsIgnoreCase(\"PLAC\")){\n\t\t\t\t\t\tElement plac = docRoot.createElement(\"PLAC\");\n\t\t\t\t\t\tplac.setTextContent(s3);\n\t\t\t\t\t\tlastElement.appendChild(plac);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tif(lastName.equalsIgnoreCase(\"COMM\")||lastName.equalsIgnoreCase(\"ADDR\")){\n\t\t\t\t\tif(s2.equalsIgnoreCase(\"CONT\")){\n\t\t\t\t\t\tElement plac = docRoot.createElement(\"CONT\");\n\t\t\t\t\t\tplac.setTextContent(s3);\n\t\t\t\t\t\tlastElement.appendChild(plac);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//lastElement = e;\n\t\t\t}\n\n\t\t\t\n\t\t\t\n\t\t\t//Saved this element for the next step\n\t\t\t\n\t\t\t//Write to file\n\t\t\tTransformerFactory transformerFactory = TransformerFactory.newInstance();\n\t\t\tTransformer transformer = transformerFactory.newTransformer();\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"iso-8859-1\");\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, \"Royal.dtd\");\n\t\t\tDOMSource source = new DOMSource(docRoot);\n\t\t\tStreamResult result = new StreamResult(new File(\"complet.xml\"));\n\t \n\t\t\t// Output to console for testing\n\t\t\t// StreamResult result = new StreamResult(System.out);\t \n\t\t\ttransformer.transform(source, result);\n\t \n\t\t\tSystem.out.println(\"\\nXML DOM Created Successfully.\");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "public void process(final String filename) throws JDOMException, IOException {\n\n // Parsing our XML file being located below \"resources\"\n final Document docInput = builder.build(\n getClass().getClassLoader().getResource(filename)\n );\n\n // Accessing the document's root element <catalog>\n final Element docRoot = docInput.getRootElement();\n\n // Accessing the <item> children of parent element <catalog>\n docRoot.getChildren().stream().\n map(item -> \"Article: \" + item.getText() +\n \", order number: \" + item.getAttributeValue(\"orderNo\")).\n forEach(System.out::println);\n }", "@Override\n\t\tpublic void startDocument() throws SAXException {\n\t\t\t\n\t\t}", "private void validate(Document document) {\n try {\n SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);\n URL schemaUrl = this.getClass().getResource(\"/edu/mit/blocks/codeblocks/codeblocks.xsd\");\n Schema schema = schemaFactory.newSchema(schemaUrl);\n Validator validator = schema.newValidator();\n validator.validate(new DOMSource(document));\n }\n catch (MalformedURLException e) {\n throw new RuntimeException(e);\n }\n catch (SAXException e) {\n throw new RuntimeException(e);\n }\n catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "private void parseWSCTaxonomyFile(String fileName) {\n\t\ttry {\n\t\t\tFile fXmlFile = new File(fileName);\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\n\t\t\tDocument doc = dBuilder.parse(fXmlFile);\n\t\t\tNodeList taxonomyRoots = doc.getChildNodes();\n\n\t\t\tprocessTaxonomyChildren(null, taxonomyRoots);\n\t\t}\n\n\t\tcatch (ParserConfigurationException e) {\n\t\t\tSystem.err.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t\tcatch (SAXException e) {\n\t\t\tSystem.err.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tSystem.err.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t}", "private void parseXMLResult(String respFile, ProcureLineItem pli,\r\n\t\t\tApprovalRequest ar, BaseVector lineItems, Approvable lic)\r\n\t\t\tthrows SAXException, ParserConfigurationException, IOException {\r\n\t\tLog.customer.debug(\"After calling getVertexTaxResponse()...: %s\",\r\n\t\t\t\t\"CatTaxCustomApprover response file before parsing : - %s\",\r\n\t\t\t\tclassName, respFile);\r\n\t\t// Parsing XML and populating field in Ariba.....\r\n\t\tlic = ar.getApprovable();\r\n\t\tLog.customer.debug(\" Parsing XML file ...........: %s\", className);\r\n\t\tFile file1 = new File(respFile);\r\n\t\tDocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\r\n\t\tDocumentBuilder db = dbf.newDocumentBuilder();\r\n\t\tDocument doc = db.parse(file1);\r\n\t\t// if(respFile!=null){\r\n\t\tdoc.getDocumentElement().normalize();\r\n\t\tNodeList nodeList = doc.getElementsByTagName(\"LineItem\");\r\n\t\tLog.customer.debug(\"%s Information of all Line Item nodeList %s\",\r\n\t\t\t\tclassName, nodeList.getLength());\r\n\r\n\t\tfor (int s = 0; s < nodeList.getLength(); s++) {\r\n\t\t\tNode fstNode = nodeList.item(s);\r\n\t\t\tElement fstElmntlnm = (Element) fstNode;\r\n\t\t\tString lineItemNumber = fstElmntlnm.getAttribute(\"lineItemNumber\");\r\n\t\t\tint index = Integer.parseInt(lineItemNumber);\r\n\t\t\ttry {\r\n\t\t\t\tint plinumber = index - 1;\r\n\t\t\t\tLog.customer.debug(\r\n\t\t\t\t\t\t\"%s *** lineItemNumber plinumber after: %s\",\r\n\t\t\t\t\t\tclassName, plinumber);\r\n\t\t\t\tpli = (ProcureLineItem) lineItems.get(plinumber);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tLog.customer.debug(\"%s *** in catch of pli : %s\", className,\r\n\t\t\t\t\t\tlineItemNumber + \" ******** \" + e.toString());\r\n\t\t\t\tLog.customer.debug(pli.toString());\r\n\t\t\t\tLog.customer.debug(e.getClass());\r\n\t\t\t}\r\n\t\t\tif (fstNode.getNodeType() == Node.ELEMENT_NODE) {\r\n\r\n\t\t\t\tElement fstElmnt = (Element) fstNode;\r\n\t\t\t\tNodeList countryElmntLst = fstElmnt\r\n\t\t\t\t\t\t.getElementsByTagName(\"Country\");\r\n\t\t\t\tElement lstNmElmnt = (Element) countryElmntLst.item(0);\r\n\t\t\t\tNodeList lstNm = lstNmElmnt.getChildNodes();\r\n\t\t\t\tLog.customer.debug(\"%s *** Country : %s\", className,\r\n\t\t\t\t\t\t((Node) lstNm.item(0)).getNodeValue());\r\n\r\n\t\t\t\t// Total Tax\r\n\t\t\t\tNodeList totaltaxElmntLst = fstElmnt\r\n\t\t\t\t\t\t.getElementsByTagName(\"TotalTax\");\r\n\t\t\t\tElement lstNmElmnt1 = (Element) totaltaxElmntLst.item(0);\r\n\t\t\t\tNodeList lstNm1 = lstNmElmnt1.getChildNodes();\r\n\t\t\t\tString totalTax = ((Node) lstNm1.item(0)).getNodeValue();\r\n\t\t\t\tBigDecimal taxAmount = new BigDecimal(totalTax);\r\n\t\t\t\tMoney taxTotal = new Money(taxAmount, pli.getAmount()\r\n\t\t\t\t\t\t.getCurrency());\r\n\t\t\t\tpli.setFieldValue(\"TaxAmount\", taxTotal);\r\n\t\t\t\tLog.customer.debug(\"%s *** Tax Amount : %s\", className,\r\n\t\t\t\t\t\ttotalTax);\r\n\r\n\t\t\t\t// Reason code\r\n\t\t\t\tElement fstElmntRC = (Element) fstNode;\r\n\t\t\t\tNodeList lstNmElmntLstRC = fstElmntRC\r\n\t\t\t\t\t\t.getElementsByTagName(\"AssistedParameter\");\r\n\t\t\t\tString ReasonCode = \" \";\r\n\t\t\t\tfor (int b = 0; b < lstNmElmntLstRC.getLength(); b++) {\r\n\t\t\t\t\tNode fstNodeRC = lstNmElmntLstRC.item(b);\r\n\t\t\t\t\tif (fstNodeRC.getNodeType() == Node.ELEMENT_NODE) {\r\n\t\t\t\t\t\tElement fstElmntRC1 = (Element) fstNodeRC;\r\n\t\t\t\t\t\tString fieldIdRC = fstElmntRC1.getAttribute(\"phase\");\r\n\t\t\t\t\t\tLog.customer.debug(\"%s *** ReasonCode in loop : \"\r\n\t\t\t\t\t\t\t\t+ fieldIdRC);\r\n\t\t\t\t\t\tif (\"POST\".equalsIgnoreCase(fieldIdRC)) {\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tElement lstNmElmntRC = (Element) lstNmElmntLstRC\r\n\t\t\t\t\t\t\t\t\t\t.item(0);\r\n\t\t\t\t\t\t\t\tif (lstNmElmntRC.equals(null)\r\n\t\t\t\t\t\t\t\t\t\t|| lstNmElmntRC.equals(\"\")) {\r\n\t\t\t\t\t\t\t\t\tReasonCode = \"\";\r\n\t\t\t\t\t\t\t\t\tLog.customer.debug(\r\n\t\t\t\t\t\t\t\t\t\t\t\"%s *** ReasonCode in if : %s\",\r\n\t\t\t\t\t\t\t\t\t\t\tclassName, ReasonCode);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tNodeList lstNmRC = lstNmElmntRC\r\n\t\t\t\t\t\t\t\t\t\t\t.getChildNodes();\r\n\t\t\t\t\t\t\t\t\tReasonCode = ((Node) lstNmRC.item(0))\r\n\t\t\t\t\t\t\t\t\t\t\t.getNodeValue();\r\n\t\t\t\t\t\t\t\t\tLog.customer.debug(\r\n\t\t\t\t\t\t\t\t\t\t\t\"%s *** ReasonCode in else : %s\",\r\n\t\t\t\t\t\t\t\t\t\t\tclassName, ReasonCode);\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t} catch (NullPointerException e) {\r\n\t\t\t\t\t\t\t\tLog.customer.debug(\r\n\t\t\t\t\t\t\t\t\t\t\"%s *** inside exception : %s\",\r\n\t\t\t\t\t\t\t\t\t\tclassName);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t/*****************************************/\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tLog.customer.debug(\"inside loop still....\");\r\n\t\t\t\t}\r\n\t\t\t\tLog.customer.debug(\"outside loop .....\");\r\n\t\t\t\t// *********************************************************************************\r\n\t\t\t\t// TaxAmount = 0 and Reason code = Null then exempt Reason code\r\n\t\t\t\t// is E0.\r\n\r\n\t\t\t\t// Start : RSD 111 (FRD4.0/TD 1.2)\r\n\r\n\t\t\t\tString sapsource = null;\r\n\t\t\t\tsapsource = (String)pli.getLineItemCollection().getDottedFieldValue(\"CompanyCode.SAPSource\");\r\n\r\n\t\t\t\tLog.customer.debug(\"*** ReasonCode logic RSD111 SAPSource is: %s\",sapsource);\r\n\r\n\t\t\t\tif((sapsource.equals(\"MACH1\")) && ((ReasonCode != null) && (!\"\"\r\n\t\t\t\t\t\t.equals(ReasonCode))))\r\n\t\t\t\t{\r\n\t\t\t\t\t/** Fetching Description from Table. */\r\n\t\t\t\t\tLog.customer.debug(\"*** ReasonCode logic RSD111: \" + ReasonCode);\r\n\t\t\t\t\tString taxCodeForLookup = ReasonCode; // Please Replace with\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the Actual value\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// from Web Service\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Response.\r\n\t\t\t\t\tString qryStringrc = \"Select TaxExemptDescription from cat.core.TaxExemptReasonCode where TaxExemptUniqueName = '\"\r\n\t\t\t\t\t\t\t+ taxCodeForLookup + \"'\";\r\n\t\t\t\t\tLog.customer.debug(\"%s TaxExemptReasonCode : qryString \"\r\n\t\t\t\t\t\t\t+ qryStringrc);\r\n\t\t\t\t\t// Replace the cntrctrequest - Invoice Reconciliation Object\r\n\t\t\t\t\tAQLOptions queryOptionsrc = new AQLOptions(ar\r\n\t\t\t\t\t\t\t.getPartition());\r\n\t\t\t\t\tAQLResultCollection queryResultsrc = Base.getService()\r\n\t\t\t\t\t\t\t.executeQuery(qryStringrc, queryOptionsrc);\r\n\t\t\t\t\tif (queryResultsrc != null) {\r\n\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t.debug(\" RSD111 -- TaxExemptReasonCode: Query Results not null\");\r\n\t\t\t\t\t\twhile (queryResultsrc.next()) {\r\n\t\t\t\t\t\t\tString taxdescfromLookupvalue = (String) queryResultsrc\r\n\t\t\t\t\t\t\t\t\t.getString(0);\r\n\t\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t\t.debug(\" RSD111 TaxExemptReasonCode: taxdescfromLookupvalue = \"\r\n\t\t\t\t\t\t\t\t\t\t\t+ taxdescfromLookupvalue);\r\n\t\t\t\t\t\t\t// Change the rli to appropriate Carrier Holding\r\n\t\t\t\t\t\t\t// object, i.e. IR Line object\r\n\t\t\t\t\t\t\tif (\"\".equals(taxdescfromLookupvalue)\r\n\t\t\t\t\t\t\t\t\t|| taxdescfromLookupvalue == null\r\n\t\t\t\t\t\t\t\t\t|| \"null\".equals(taxdescfromLookupvalue)) {\r\n\t\t\t\t\t\t\t\t// if(taxdescfromLookupvalue.equals(\"\")||taxdescfromLookupvalue\r\n\t\t\t\t\t\t\t\t// ==\r\n\t\t\t\t\t\t\t\t// null||taxdescfromLookupvalue.equals(\"null\")\r\n\t\t\t\t\t\t\t\t// ){\r\n\t\t\t\t\t\t\t\ttaxdescfromLookupvalue = \"\";\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tpli\r\n\t\t\t\t\t\t\t\t\t.setFieldValue(\"Carrier\",\r\n\t\t\t\t\t\t\t\t\t\t\ttaxdescfromLookupvalue);\r\n\t\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t\t.debug(\" RSD111 -- TaxExemptReasonCode Applied on Carrier: \"\r\n\t\t\t\t\t\t\t\t\t\t\t+ taxdescfromLookupvalue);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// End : RSD 111 (FRD4.0/TD 1.2)\r\n\r\n\r\n\t\t\t\t} else if ((\"0.0\".equals(totalTax) && ((ReasonCode == null) || (\"\"\r\n\t\t\t\t\t\t.equals(ReasonCode))))) {\r\n\t\t\t\t\tReasonCode = \"E0\";\r\n\t\t\t\t\tLog.customer.debug(\"*** ReasonCode in condition : %s\",\r\n\t\t\t\t\t\t\tclassName, ReasonCode);\r\n\t\t\t\t} else if ((\"0.0\".equals(totalTax) && ((ReasonCode != null) || (!\"\"\r\n\t\t\t\t\t\t.equals(ReasonCode))))) {\r\n\r\n\t\t\t\t\t// End Exempt Reason code logic.\r\n\t\t\t\t\t/** Fetching Description from Table. */\r\n\t\t\t\t\tLog.customer.debug(\"*** ReasonCode after : \" + ReasonCode);\r\n\t\t\t\t\tString taxCodeForLookup = ReasonCode; // Please Replace with\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the Actual value\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// from Web Service\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Response.\r\n\t\t\t\t\tString qryStringrc = \"Select TaxExemptDescription from cat.core.TaxExemptReasonCode where TaxExemptUniqueName = '\"\r\n\t\t\t\t\t\t\t+ taxCodeForLookup + \"'\";\r\n\t\t\t\t\tLog.customer.debug(\"%s TaxExemptReasonCode : qryString \"\r\n\t\t\t\t\t\t\t+ qryStringrc);\r\n\t\t\t\t\t// Replace the cntrctrequest - Invoice Reconciliation Object\r\n\t\t\t\t\tAQLOptions queryOptionsrc = new AQLOptions(ar\r\n\t\t\t\t\t\t\t.getPartition());\r\n\t\t\t\t\tAQLResultCollection queryResultsrc = Base.getService()\r\n\t\t\t\t\t\t\t.executeQuery(qryStringrc, queryOptionsrc);\r\n\t\t\t\t\tif (queryResultsrc != null) {\r\n\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t.debug(\" TaxExemptReasonCode: Query Results not null\");\r\n\t\t\t\t\t\twhile (queryResultsrc.next()) {\r\n\t\t\t\t\t\t\tString taxdescfromLookupvalue = (String) queryResultsrc\r\n\t\t\t\t\t\t\t\t\t.getString(0);\r\n\t\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t\t.debug(\" TaxExemptReasonCode: taxdescfromLookupvalue = \"\r\n\t\t\t\t\t\t\t\t\t\t\t+ taxdescfromLookupvalue);\r\n\t\t\t\t\t\t\t// Change the rli to appropriate Carrier Holding\r\n\t\t\t\t\t\t\t// object, i.e. IR Line object\r\n\t\t\t\t\t\t\tif (\"\".equals(taxdescfromLookupvalue)\r\n\t\t\t\t\t\t\t\t\t|| taxdescfromLookupvalue == null\r\n\t\t\t\t\t\t\t\t\t|| \"null\".equals(taxdescfromLookupvalue)) {\r\n\t\t\t\t\t\t\t\t// if(taxdescfromLookupvalue.equals(\"\")||taxdescfromLookupvalue\r\n\t\t\t\t\t\t\t\t// ==\r\n\t\t\t\t\t\t\t\t// null||taxdescfromLookupvalue.equals(\"null\")\r\n\t\t\t\t\t\t\t\t// ){\r\n\t\t\t\t\t\t\t\ttaxdescfromLookupvalue = \"\";\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tpli\r\n\t\t\t\t\t\t\t\t\t.setFieldValue(\"Carrier\",\r\n\t\t\t\t\t\t\t\t\t\t\ttaxdescfromLookupvalue);\r\n\t\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t\t.debug(\" TaxExemptReasonCode Applied on Carrier: \"\r\n\t\t\t\t\t\t\t\t\t\t\t+ taxdescfromLookupvalue);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// End Exempt Reason code logic.\r\n\r\n\t\t\t\t// *****************************************************************************//*\r\n\t\t\t\t// tax code logic ...\r\n\t\t\t\tif (totalTax.equals(\"0.0\")) {\r\n\t\t\t\t\tString companyCode = (String) lic\r\n\t\t\t\t\t\t\t.getDottedFieldValue(\"CompanyCode.UniqueName\");\r\n\t\t\t\t\tString state = (String) pli\r\n\t\t\t\t\t\t\t.getDottedFieldValue(\"ShipTo.State\");\r\n\t\t\t\t\tString formattedString = companyCode + \"_\" + state + \"_\"\r\n\t\t\t\t\t\t\t+ \"B0\";\r\n\t\t\t\t\tLog.customer.debug(\"***formattedString : \"\r\n\t\t\t\t\t\t\t+ formattedString);\r\n\t\t\t\t\tString qryString = \"Select TaxCode,UniqueName, SAPTaxCode from ariba.tax.core.TaxCode where UniqueName = '\"\r\n\t\t\t\t\t\t\t+ formattedString\r\n\t\t\t\t\t\t\t+ \"' and Country.UniqueName ='\"\r\n\t\t\t\t\t\t\t+ pli\r\n\t\t\t\t\t\t\t\t\t.getDottedFieldValue(\"ShipTo.Country.UniqueName\")\r\n\t\t\t\t\t\t\t+ \"'\";\r\n\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t.debug(\" CatMSCTaxCodeDetermination : REQUISITION: qryString \"\r\n\t\t\t\t\t\t\t\t\t+ qryString);\r\n\t\t\t\t\tAQLOptions queryOptions = new AQLOptions(ar.getPartition());\r\n\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t.debug(\" CatMSCTaxCodeDetermination: REQUISITION - Stage I\");\r\n\t\t\t\t\tAQLResultCollection queryResults = Base.getService()\r\n\t\t\t\t\t\t\t.executeQuery(qryString, queryOptions);\r\n\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t.debug(\" CatMSCTaxCodeDetermination: REQUISITION - Stage II- Query Executed\");\r\n\t\t\t\t\tif (queryResults != null) {\r\n\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t.debug(\" CatMSCTaxCodeDetermination: REQUISITION - Stage III - Query Results not null\");\r\n\t\t\t\t\t\twhile (queryResults.next()) {\r\n\t\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t\t.debug(\" CatMSCTaxCodeDetermination: REQUISITION - Stage IV - Entering the DO of DO-WHILE\"\r\n\t\t\t\t\t\t\t\t\t\t\t+ queryResults.getBaseId(0).get());\r\n\t\t\t\t\t\t\tTaxCode taxfromLookupvalue = (TaxCode) queryResults\r\n\t\t\t\t\t\t\t\t\t.getBaseId(0).get();\r\n\t\t\t\t\t\t\tLog.customer.debug(\" taxfromLookupvalue\"\r\n\t\t\t\t\t\t\t\t\t+ taxfromLookupvalue);\r\n\t\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t\t.debug(\" CatMSCTaxCodeDetermination : REQUISITION: TaxCodefromLookup\"\r\n\t\t\t\t\t\t\t\t\t\t\t+ taxfromLookupvalue);\r\n\t\t\t\t\t\t\t// Set the Value of LineItem.TaxCode.UniqueName =\r\n\t\t\t\t\t\t\t// 'formattedString'\r\n\t\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t\t.debug(\" CatMSCTaxCodeDetermination : REQUISITION: Setting TaxCodefromLookup\"\r\n\t\t\t\t\t\t\t\t\t\t\t+ taxfromLookupvalue);\r\n\t\t\t\t\t\t\tpli.setFieldValue(\"TaxCode\", taxfromLookupvalue);\r\n\t\t\t\t\t\t\tLog.customer\r\n\t\t\t\t\t\t\t\t\t.debug(\" CatMSCTaxCodeDetermination : REQUISITION: Applied \"\r\n\t\t\t\t\t\t\t\t\t\t\t+ taxfromLookupvalue);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t// end Tax code...\r\n\t\t\t\tLog.customer.debug(\"*** After loop Tax code : \");\r\n\t\t\t}\r\n\t\t}\r\n\t\t// }\r\n\t}", "protected Document parse(Document originalForm, Document extendDocument) throws Exception {\r\n\r\n ArrayList operationNodes = this.extractOperationNodes(extendDocument);\r\n for (int i = 0; i < operationNodes.size(); i++) {\r\n Node operationNode = (Node) operationNodes.get(i);\r\n if (operationNode != null) {\r\n try {\r\n ExtendedXmlOperation operation = this.getNodeOperation(operationNode);\r\n this.executeOperation(originalForm, operation);\r\n } catch (Exception e) {\r\n ExtendedXmlParser.logger.error(null, e);\r\n throw e;\r\n }\r\n }\r\n }\r\n return originalForm;\r\n }", "public static void main(String argv[]) {\n try {\n \t PrintWriter writer = new PrintWriter(\"filename.txt\", \"UTF-8\");\n\tSAXParserFactory factory = SAXParserFactory.newInstance();\n\tSAXParser saxParser = factory.newSAXParser();\n \n\tDefaultHandler handler = new DefaultHandler() {\n \n\tboolean author = false;\n\tboolean title = false;\n\tboolean year = false;\n\tboolean journal = false;\n\tboolean number = false;\n int flag=1;\n\tpublic void startElement(String uri, String localName,String qName, \n Attributes attributes) throws SAXException {\n \n\t\t//System.out.println(\"Start Element :\" + qName);\n \n\t\tif (qName.equalsIgnoreCase(\"Author\")) {\n\t\t\tauthor = true;\n\t\t}\n \n\t\tif (qName.equalsIgnoreCase(\"title\")) {\n\t\t\ttitle = true;\n\t\t}\n \n\t\tif (qName.equalsIgnoreCase(\"year\")) {\n\t\t\tyear = true;\n\t\t}\n \n\t\tif (qName.equalsIgnoreCase(\"journal\")) {\n\t\t\tjournal = true;\n\t\t}\n\t\tif (qName.equalsIgnoreCase(\"number\")) {\n\t\t\tnumber = true;\n\t\t}\n \n\t}\n \n\tpublic void endElement(String uri, String localName,\n\t\tString qName) throws SAXException {\n \n\t\t//System.out.println(\"End Element :\" + qName);\n \n\t}\n \n\tpublic void characters(char ch[], int start, int length) throws SAXException {\n \n\t\tif (author) {\n\t\t\tif(flag==1)\n\t\t\t{\n\t\t\t\t//System.out.println(\"paper!\");\n\t\t\t\twriter.println(\"paper!\");\n\t\t\t\tflag=0;\n\t\t\t}\n\t\t\t//System.out.println(\"author : \" + new String(ch, start, length));\n\t\t\twriter.println(\"author : \" + new String(ch, start, length));\n\t\t\tauthor = false;\n\t\t}\n \n\t\tif (title) {\n\t\t\t//System.out.println(\"title : \" + new String(ch, start, length));\n\t\t\twriter.println(\"title : \" + new String(ch, start, length));\n\t\t\ttitle = false;\n\t\t\tflag=1;\n\t\t}\n \n\t\tif (year) {\n\t\t\t//System.out.println(\"year : \" + new String(ch, start, length));\n\t\t\twriter.println(\"year : \" + new String(ch, start, length));\n\t\t\tyear = false;\n\t\t}\n \n\t\tif (journal) {\n\t\t\t//System.out.println(\"journal : \" + new String(ch, start, length));\n\t\t\twriter.println(\"journal : \" + new String(ch, start, length));\n\t\t\tjournal = false;\n\t\t}\n\t\tif (number) {\n\t\t\t//System.out.println(\"number : \" + new String(ch, start, length));\n\t\t\twriter.println(\"number : \" + new String(ch, start, length));\n\t\t\tnumber = false;\n\t\t}\n \n\t}\n \n };\n \n saxParser.parse(\"C:/Users/Tanvi/workspace/example/src/dblp.xml\", handler);\n // writer.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n \n }", "public void startElement(String name, String namespace, AttributeSet atts, Namespaces nsDecls)\n throws XMLException {\n // -- Do delagation if necessary\n if (unmarshaller != null) {\n unmarshaller.startElement(name, namespace, atts, nsDecls);\n ++depth;\n return;\n }\n\n if (SchemaNames.ANNOTATION.equals(name)) {\n if (foundElement || foundGroup || foundModelGroup)\n error(\"An annotation may only appear as the first child \" + \"of an element definition.\");\n\n\n if (foundAnnotation)\n error(\"Only one (1) 'annotation' is allowed as a child of \" + \"element definitions.\");\n\n foundAnnotation = true;\n unmarshaller = new AnnotationUnmarshaller(getSchemaContext(), atts);\n } else if (SchemaNames.ELEMENT.equals(name)) {\n foundElement = true;\n unmarshaller = new ElementUnmarshaller(getSchemaContext(), _schema, atts);\n }\n // --group\n else if (name.equals(SchemaNames.GROUP)) {\n foundModelGroup = true;\n unmarshaller = new ModelGroupUnmarshaller(getSchemaContext(), _schema, atts);\n }\n\n // --all, sequence, choice\n else if ((SchemaNames.isGroupName(name)) && (name != SchemaNames.GROUP)) {\n foundGroup = true;\n if (SchemaNames.ALL.equals(name))\n foundAll = true;\n unmarshaller = new GroupUnmarshaller(getSchemaContext(), _schema, name, atts);\n }\n // --any\n else if (SchemaNames.ANY.equals(name)) {\n if (foundAll)\n error(\"<any> can not appear as a child of a <all> element\");\n unmarshaller = new WildcardUnmarshaller(getSchemaContext(), _group, _schema, name, atts);\n }\n\n else {\n StringBuffer err = new StringBuffer(\"illegal element <\");\n err.append(name);\n err.append(\"> found in <group>.\");\n throw new SchemaException(err.toString());\n }\n\n }" ]
[ "0.58326226", "0.56266403", "0.55713665", "0.5537583", "0.55195224", "0.54939884", "0.5479064", "0.5471765", "0.54424757", "0.5380962", "0.53124696", "0.53120136", "0.5279694", "0.5254697", "0.52197933", "0.5217953", "0.52094454", "0.5180963", "0.51676023", "0.5139349", "0.51376355", "0.5127465", "0.5112617", "0.5106763", "0.50987846", "0.5089684", "0.50850266", "0.5074761", "0.5067631", "0.5059325", "0.5049199", "0.5042381", "0.50233084", "0.5013698", "0.5006796", "0.49919227", "0.49919227", "0.4990462", "0.49832743", "0.49795625", "0.4976174", "0.49685332", "0.49685332", "0.49672696", "0.4937884", "0.49266392", "0.49221888", "0.4920287", "0.49138594", "0.49085906", "0.48982927", "0.48656613", "0.48524022", "0.48512912", "0.4848897", "0.48472673", "0.4842869", "0.48405132", "0.48282635", "0.48181388", "0.48124242", "0.48111314", "0.48103458", "0.4805253", "0.48037937", "0.4799922", "0.47991535", "0.4792652", "0.47875452", "0.47869068", "0.47863188", "0.4780985", "0.47804362", "0.47796333", "0.47782272", "0.4771994", "0.47535178", "0.47496814", "0.47486717", "0.47380814", "0.47333515", "0.47304836", "0.4727128", "0.47263923", "0.47241557", "0.4723905", "0.4723711", "0.4721755", "0.47168446", "0.4716528", "0.4707504", "0.47074535", "0.47025192", "0.47000948", "0.46958628", "0.46811223", "0.46777645", "0.46757624", "0.46724948", "0.46723992" ]
0.5296909
12
This method is specific to the Content Package Validator only. This method sets whether or not the content package test subject contains the required files at the root of the package. The required files include the imsmanifest.xml file as well as the controlling documents needed for the validation parse.
protected void setIsIMSManifestPresent(boolean imsManifestResult) { mIsIMSManifestPresent = imsManifestResult; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setIsRequiredFiles(boolean iRequiredFilesResult) {\r\n\t\tmIsRequiredFiles = iRequiredFilesResult;\r\n\t}", "public boolean validate(FileObject subject) {\n\t\t\r\n\t\treturn false;\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tSolverPackage theSolverPackage = (SolverPackage)EPackage.Registry.INSTANCE.getEPackage(SolverPackage.eNS_URI);\n\t\tSolverjacopPackage theSolverjacopPackage = (SolverjacopPackage)EPackage.Registry.INSTANCE.getEPackage(SolverjacopPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\ttoUseSolverCpGeneratorEClass.getESuperTypes().add(theSolverPackage.getGenerator());\n\t\ttoUseSolverCpTupleEClass.getESuperTypes().add(theSolverPackage.getGeneratorTuple());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(toUseSolverCpFolderEClass, ToUseSolverCpFolder.class, \"ToUseSolverCpFolder\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpFolder_SubFolders(), this.getToUseSolverCpFolder(), null, \"SubFolders\", null, 0, -1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getToUseSolverCpFolder_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpFolder_ToUseGenerators(), this.getToUseSolverCpGenerator(), null, \"ToUseGenerators\", null, 0, -1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(toUseSolverCpGeneratorEClass, ToUseSolverCpGenerator.class, \"ToUseSolverCpGenerator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpGenerator_Solver(), theSolverjacopPackage.getSolverJacop(), null, \"Solver\", null, 0, -1, ToUseSolverCpGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpGenerator_ToUseTuples(), this.getToUseSolverCpTuple(), null, \"ToUseTuples\", null, 0, -1, ToUseSolverCpGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(toUseSolverCpTupleEClass, ToUseSolverCpTuple.class, \"ToUseSolverCpTuple\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseLinears(), theSolverPackage.getGeneratorCpLinear(), null, \"ToUseLinears\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseVars(), theSolverPackage.getGeneratorCpVarAtomic(), null, \"ToUseVars\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseLogicals(), theSolverPackage.getGeneratorCpLogical(), null, \"ToUseLogicals\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void verify() {\n lblSourcePackageFolder();\n lblClasspath();\n btAddJARFolder();\n btRemove();\n lblOutputFolderOrJAR();\n txtOutputFolder();\n btBrowse();\n lstClasspath();\n cboSourcePackageFolder();\n btMoveUp();\n btMoveDown();\n lblOnlineError();\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\torg.unicase.model.ModelPackage theModelPackage_1 = (org.unicase.model.ModelPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.unicase.model.ModelPackage.eNS_URI);\r\n\t\tTaskPackage theTaskPackage = (TaskPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(TaskPackage.eNS_URI);\r\n\t\torg.eclipse.emf.emfstore.internal.common.model.ModelPackage theModelPackage_2 = (org.eclipse.emf.emfstore.internal.common.model.ModelPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.eclipse.emf.emfstore.internal.common.model.ModelPackage.eNS_URI);\r\n\t\tOrganizationPackage theOrganizationPackage = (OrganizationPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(OrganizationPackage.eNS_URI);\r\n\t\tAttachmentPackage theAttachmentPackage = (AttachmentPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(AttachmentPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tissueEClass.getESuperTypes().add(theModelPackage_1.getAnnotation());\r\n\t\tissueEClass.getESuperTypes().add(theTaskPackage.getCheckable());\r\n\t\tissueEClass.getESuperTypes().add(theTaskPackage.getWorkItem());\r\n\t\tproposalEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tproposalEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tsolutionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tsolutionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tcriterionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tassessmentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tassessmentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tcommentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tcommentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(issueEClass, Issue.class, \"Issue\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getIssue_Proposals(), this.getProposal(),\r\n\t\t\t\tthis.getProposal_Issue(), \"proposals\", null, 0, -1,\r\n\t\t\t\tIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getIssue_Solution(), this.getSolution(),\r\n\t\t\t\tthis.getSolution_Issue(), \"solution\", null, 0, 1, Issue.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getIssue_Criteria(), this.getCriterion(), null,\r\n\t\t\t\t\"criteria\", null, 0, -1, Issue.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getIssue_Activity(), theTaskPackage.getActivityType(),\r\n\t\t\t\t\"activity\", null, 0, 1, Issue.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getIssue_Assessments(), this.getAssessment(), null,\r\n\t\t\t\t\"assessments\", null, 0, -1, Issue.class, IS_TRANSIENT,\r\n\t\t\t\tIS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(proposalEClass, Proposal.class, \"Proposal\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getProposal_Assessments(), this.getAssessment(),\r\n\t\t\t\tthis.getAssessment_Proposal(), \"assessments\", null, 0, -1,\r\n\t\t\t\tProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getProposal_Issue(), this.getIssue(),\r\n\t\t\t\tthis.getIssue_Proposals(), \"issue\", null, 0, 1, Proposal.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(solutionEClass, Solution.class, \"Solution\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getSolution_UnderlyingProposals(), this.getProposal(),\r\n\t\t\t\tnull, \"underlyingProposals\", null, 0, -1, Solution.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getSolution_Issue(), this.getIssue(),\r\n\t\t\t\tthis.getIssue_Solution(), \"issue\", null, 0, 1, Solution.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(criterionEClass, Criterion.class, \"Criterion\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getCriterion_Assessments(), this.getAssessment(),\r\n\t\t\t\tthis.getAssessment_Criterion(), \"assessments\", null, 0, -1,\r\n\t\t\t\tCriterion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(assessmentEClass, Assessment.class, \"Assessment\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAssessment_Proposal(), this.getProposal(),\r\n\t\t\t\tthis.getProposal_Assessments(), \"proposal\", null, 0, 1,\r\n\t\t\t\tAssessment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAssessment_Criterion(), this.getCriterion(),\r\n\t\t\t\tthis.getCriterion_Assessments(), \"criterion\", null, 0, 1,\r\n\t\t\t\tAssessment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAssessment_Value(), ecorePackage.getEInt(), \"value\",\r\n\t\t\t\tnull, 0, 1, Assessment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(commentEClass, Comment.class, \"Comment\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getComment_Sender(),\r\n\t\t\t\ttheOrganizationPackage.getOrgUnit(), null, \"sender\", null, 0,\r\n\t\t\t\t1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getComment_Recipients(),\r\n\t\t\t\ttheOrganizationPackage.getOrgUnit(), null, \"recipients\", null,\r\n\t\t\t\t0, -1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getComment_CommentedElement(),\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement(),\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement_Comments(),\r\n\t\t\t\t\"commentedElement\", null, 0, 1, Comment.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(audioCommentEClass, AudioComment.class, \"AudioComment\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAudioComment_AudioFile(),\r\n\t\t\t\ttheAttachmentPackage.getFileAttachment(), null, \"audioFile\",\r\n\t\t\t\tnull, 0, 1, AudioComment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create annotations\r\n\t\t// org.eclipse.emf.ecp.editor\r\n\t\tcreateOrgAnnotations();\r\n\t}", "protected void validateMcaDeployedToWorkingDir() {\n\t\tassertTrue(unitTestDir.exists());\n\t\tassertTrue(new File(unitTestDir, \"composition.groovy\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/components/components.jar\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/promoted/promoted.jar\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/hidden/hidden.jar\").exists());\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n openEClass.getESuperTypes().add(this.getINSTRUCTION());\n gotoEClass.getESuperTypes().add(this.getINSTRUCTION());\n clickEClass.getESuperTypes().add(this.getINSTRUCTION());\n fillEClass.getESuperTypes().add(this.getINSTRUCTION());\n checkEClass.getESuperTypes().add(this.getINSTRUCTION());\n uncheckEClass.getESuperTypes().add(this.getINSTRUCTION());\n selectEClass.getESuperTypes().add(this.getINSTRUCTION());\n readEClass.getESuperTypes().add(this.getINSTRUCTION());\n verifyEClass.getESuperTypes().add(this.getINSTRUCTION());\n verifY_CONTAINSEClass.getESuperTypes().add(this.getVERIFY());\n verifY_EQUALSEClass.getESuperTypes().add(this.getVERIFY());\n countEClass.getESuperTypes().add(this.getINSTRUCTION());\n playEClass.getESuperTypes().add(this.getINSTRUCTION());\n\n // Initialize classes and features; add operations and parameters\n initEClass(programmeEClass, org.xtext.project.browserautomationdsl.domainmodel.PROGRAMME.class, \"PROGRAMME\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPROGRAMME_Procedures(), this.getPROCEDURE(), null, \"procedures\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROGRAMME.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(procedureEClass, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, \"PROCEDURE\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPROCEDURE_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPROCEDURE_Param(), ecorePackage.getEString(), \"param\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPROCEDURE_Params(), ecorePackage.getEString(), \"params\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPROCEDURE_Inst(), this.getINSTRUCTION(), null, \"inst\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(instructionEClass, org.xtext.project.browserautomationdsl.domainmodel.INSTRUCTION.class, \"INSTRUCTION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(openEClass, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, \"OPEN\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getOPEN_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getOPEN_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(gotoEClass, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, \"GOTO\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getGOTO_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGOTO_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(clickEClass, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, \"CLICK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCLICK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCLICK_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCLICK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fillEClass, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, \"FILL\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFILL_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_FieldType(), ecorePackage.getEString(), \"fieldType\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFILL_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(checkEClass, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, \"CHECK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCHECK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCHECK_All(), ecorePackage.getEString(), \"all\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCHECK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(uncheckEClass, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, \"UNCHECK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUNCHECK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getUNCHECK_All(), ecorePackage.getEString(), \"all\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getUNCHECK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectEClass, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, \"SELECT\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSELECT_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getSELECT_Elem(), ecorePackage.getEString(), \"elem\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSELECT_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(readEClass, org.xtext.project.browserautomationdsl.domainmodel.READ.class, \"READ\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getREAD_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getREAD_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getREAD_SavePath(), this.getSAVEVAR(), null, \"savePath\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(elementidentifierEClass, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, \"ELEMENTIDENTIFIER\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getELEMENTIDENTIFIER_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Info(), ecorePackage.getEString(), \"info\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifyEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY.class, \"VERIFY\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVERIFY_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifY_CONTAINSEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, \"VERIFY_CONTAINS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVERIFY_CONTAINS_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_ContainedIdentifier(), this.getELEMENTIDENTIFIER(), null, \"containedIdentifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_Variable(), this.getREGISTERED_VALUE(), null, \"variable\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifY_EQUALSEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, \"VERIFY_EQUALS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getVERIFY_EQUALS_Operation(), this.getCOUNT(), null, \"operation\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_EQUALS_RegisteredValue(), this.getREGISTERED_VALUE(), null, \"registeredValue\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(registereD_VALUEEClass, org.xtext.project.browserautomationdsl.domainmodel.REGISTERED_VALUE.class, \"REGISTERED_VALUE\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getREGISTERED_VALUE_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.REGISTERED_VALUE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(countEClass, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, \"COUNT\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCOUNT_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCOUNT_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCOUNT_SaveVariable(), this.getSAVEVAR(), null, \"saveVariable\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(savevarEClass, org.xtext.project.browserautomationdsl.domainmodel.SAVEVAR.class, \"SAVEVAR\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSAVEVAR_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SAVEVAR.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(playEClass, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, \"PLAY\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPLAY_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPLAY_Preocedure(), ecorePackage.getEString(), \"preocedure\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPLAY_Params(), ecorePackage.getEString(), \"params\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public boolean getIsRequiredFiles() {\r\n\t\treturn mIsRequiredFiles;\r\n\t}", "public boolean checkSetup(){\n return checkSetup(folderName);\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tVpmlPackage theVpmlPackage = (VpmlPackage)EPackage.Registry.INSTANCE.getEPackage(VpmlPackage.eNS_URI);\r\n\t\tProcesspackagePackage theProcesspackagePackage = (ProcesspackagePackage)EPackage.Registry.INSTANCE.getEPackage(ProcesspackagePackage.eNS_URI);\r\n\t\tResourcepackagePackage theResourcepackagePackage = (ResourcepackagePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcepackagePackage.eNS_URI);\r\n\t\tOrganizationpackagePackage theOrganizationpackagePackage = (OrganizationpackagePackage)EPackage.Registry.INSTANCE.getEPackage(OrganizationpackagePackage.eNS_URI);\r\n\r\n\t\t// Add supertypes to classes\r\n\t\temcLogicalConnectorEClass.getESuperTypes().add(theVpmlPackage.getEMObject());\r\n\t\temcAndEClass.getESuperTypes().add(this.getEMCLogicalConnector());\r\n\t\temcorEClass.getESuperTypes().add(this.getEMCLogicalConnector());\r\n\t\temcCollaborationGroupEClass.getESuperTypes().add(theVpmlPackage.getEMObject());\r\n\t\temcDiagramEClass.getESuperTypes().add(theVpmlPackage.getEMDiagram());\r\n\t\temcCollaborationRelationEClass.getESuperTypes().add(this.getEMCRelation());\r\n\t\temcSequenceRelationEClass.getESuperTypes().add(this.getEMCRelation());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(emcLogicalConnectorEClass, EMCLogicalConnector.class, \"EMCLogicalConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(emcAndEClass, EMCAnd.class, \"EMCAnd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCAnd_ColAndDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColAnd(), \"colAndDiagram\", null, 0, 1, EMCAnd.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcorEClass, vpml.collaborationpackage.EMCOR.class, \"EMCOR\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCOR_ColORDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColOR(), \"colORDiagram\", null, 0, 1, vpml.collaborationpackage.EMCOR.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcCollaborationGroupEClass, EMCCollaborationGroup.class, \"EMCCollaborationGroup\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCCollaborationGroup_ColColGroupDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColColGroup(), \"colColGroupDiagram\", null, 0, 1, EMCCollaborationGroup.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcDiagramEClass, EMCDiagram.class, \"EMCDiagram\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCDiagram_EmpDiagram(), theProcesspackagePackage.getEMPDiagram(), theProcesspackagePackage.getEMPDiagram_EmcDiagram(), \"empDiagram\", null, 1, 1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEMCDiagram_AssociatePrModel(), ecorePackage.getEString(), \"associatePrModel\", null, 0, 1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColAnd(), this.getEMCAnd(), this.getEMCAnd_ColAndDiagram(), \"colAnd\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColOR(), this.getEMCOR(), this.getEMCOR_ColORDiagram(), \"colOR\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColRole(), theResourcepackagePackage.getEMRRole(), theResourcepackagePackage.getEMRRole_ColRoleDiagram(), \"colRole\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColLocation(), theResourcepackagePackage.getEMRLocationType(), theResourcepackagePackage.getEMRLocationType_ColLocationDiagram(), \"colLocation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColMachine(), theResourcepackagePackage.getEMRMachineType(), theResourcepackagePackage.getEMRMachineType_ColMachineDiagram(), \"colMachine\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColEMOGroup(), theOrganizationpackagePackage.getEMOResourceGroupType(), theOrganizationpackagePackage.getEMOResourceGroupType_ColEMOGroupDiagram(), \"colEMOGroup\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColColGroup(), this.getEMCCollaborationGroup(), this.getEMCCollaborationGroup_ColColGroupDiagram(), \"colColGroup\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColColRelation(), this.getEMCCollaborationRelation(), this.getEMCCollaborationRelation_ColColRelationDiagram(), \"colColRelation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColSeqRelation(), this.getEMCSequenceRelation(), this.getEMCSequenceRelation_ColSeqRelationDiagram(), \"colSeqRelation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcRelationEClass, EMCRelation.class, \"EMCRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCRelation_SourceRelationSourceObj(), theVpmlPackage.getEMObject(), theVpmlPackage.getEMObject_SourceObjSourceRelation(), \"sourceRelationSourceObj\", null, 0, 1, EMCRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCRelation_TargetRelationTargetObj(), theVpmlPackage.getEMObject(), theVpmlPackage.getEMObject_TargetObjTargetRelation(), \"targetRelationTargetObj\", null, 0, 1, EMCRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcCollaborationRelationEClass, EMCCollaborationRelation.class, \"EMCCollaborationRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCCollaborationRelation_ColColRelationDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColColRelation(), \"colColRelationDiagram\", null, 0, 1, EMCCollaborationRelation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcSequenceRelationEClass, EMCSequenceRelation.class, \"EMCSequenceRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCSequenceRelation_ColSeqRelationDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColSeqRelation(), \"colSeqRelationDiagram\", null, 0, 1, EMCSequenceRelation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t}", "@Test\n public void testValidateManifest() {\n KicIngester.validateManifest(new File(SCP_DATA_DIR), \"Manifest\",\n KicIngester.getScpFiles(new File(SCP_DATA_DIR),\n SCP_FILENAME_PATTERN));\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\teActorEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\t\teItemEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(eDomainSchemaEClass, EDomainSchema.class, \"EDomainSchema\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDomainSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSchema_Ds(), this.getEDataSchema(), null, \"ds\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eControlSchemaEClass, EControlSchema.class, \"EControlSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEControlSchema_Actor(), this.getEActor(), null, \"actor\", null, 1, -1, EControlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDataSchemaEClass, EDataSchema.class, \"EDataSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDataSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 1, 1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDataSchema_Item(), this.getEItem(), null, \"item\", null, 1, -1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificEntityEClass, EDomainSpecificEntity.class, \"EDomainSpecificEntity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificEntity_CommandPriority(), ecorePackage.getEInt(), \"commandPriority\", null, 0, 1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSpecificEntity_Cmd(), this.getEDomainSpecificCommand(), null, \"cmd\", null, 0, -1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificCommandEClass, EDomainSpecificCommand.class, \"EDomainSpecificCommand\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificCommand_CmdId(), ecorePackage.getEInt(), \"cmdId\", null, 0, 1, EDomainSpecificCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eActorEClass, EActor.class, \"EActor\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEActor_KindInteraction(), this.getECoordinationBehavior(), \"kindInteraction\", null, 0, 1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEActor_TypesControlled(), this.getEDomainSpecificType(), null, \"typesControlled\", null, 0, -1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eItemEClass, EItem.class, \"EItem\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEItem_ArisingBehavior(), this.getEArising(), \"arisingBehavior\", null, 0, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEItem_Type(), this.getEDomainSpecificType(), null, \"type\", null, 1, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificTypeEClass, EDomainSpecificType.class, \"EDomainSpecificType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificType_InteractionBehavior(), this.getEInteractionBehavior(), \"interactionBehavior\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEDomainSpecificType_Cardinality(), this.getECardinality(), \"cardinality\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(eArisingEEnum, EArising.class, \"EArising\");\n\t\taddEEnumLiteral(eArisingEEnum, EArising.STATIC);\n\t\taddEEnumLiteral(eArisingEEnum, EArising.DYNAMIC);\n\n\t\tinitEEnum(eCardinalityEEnum, ECardinality.class, \"ECardinality\");\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.ONE);\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.MANY);\n\n\t\tinitEEnum(eInteractionBehaviorEEnum, EInteractionBehavior.class, \"EInteractionBehavior\");\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.SYNC);\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.ASYNC);\n\n\t\tinitEEnum(eCoordinationBehaviorEEnum, ECoordinationBehavior.class, \"ECoordinationBehavior\");\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.LOCAL);\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.DISTRIBUTED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(packageDeclarationEClass, PackageDeclaration.class, \"PackageDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPackageDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, PackageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPackageDeclaration_Content(), this.getNamedElement(), null, \"content\", null, 0, -1, PackageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(referenceableEClass, Referenceable.class, \"Referenceable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "@SuppressWarnings(\"deprecation\")\n private static void setUp() {\n FileUtil.setMIMEType(\"cc\", MIMENames.CPLUSPLUS_MIME_TYPE); // NOI18N\n FileUtil.setMIMEType(\"h\", MIMENames.HEADER_MIME_TYPE); // NOI18N\n FileUtil.setMIMEType(\"c\", MIMENames.C_MIME_TYPE); // NOI18N\n\n JEditorPane.registerEditorKitForContentType(MIMENames.CPLUSPLUS_MIME_TYPE, \"org.netbeans.modules.cnd.editor.cplusplus.CCKit\"); // NOI18N\n JEditorPane.registerEditorKitForContentType(MIMENames.HEADER_MIME_TYPE, \"org.netbeans.modules.cnd.editor.cplusplus.HKit\"); // NOI18N\n JEditorPane.registerEditorKitForContentType(MIMENames.C_MIME_TYPE, \"org.netbeans.modules.cnd.editor.cplusplus.CKit\"); // NOI18N\n }", "public boolean checkProtXmlFiles(Appendable err, UIAlerter alerter, Component comp) throws IOException {\n if (!Globals.byPeptide && (Globals.protXmlFiles == null || Globals.protXmlFiles.isEmpty())) {\n if (err != null) {\n err.append(\"No protXML files were found in '\" + Globals.srcDir + \"'\\n\");\n }\n if (alerter != null) {\n alerter.alert(comp);\n }\n\n return false;\n }\n return true;\n }", "@Override\n protected boolean preEmitCheck(SourceXmlSchemaHelper schemaHelper, \n CachedUrl cu, ArticleMetadata thisAM) {\n ArchivalUnit B_au = cu.getArchivalUnit();\n\n // The schema tells us which raw metadata value points to the correct article xml file\n String key_for_filename = schemaHelper.getFilenameXPathKey();\n\n // Use the map created earlier to locate the file from it's relative path\n String full_article_md_file = TarContentsMap.get(thisAM.getRaw(key_for_filename));\n log.debug3(\"full_article_md_file is : \" + thisAM.getRaw(key_for_filename));\n if (full_article_md_file == null) {\n return false;\n }\n\n /*\n * 1. Check for existence of PDF file; otherwise return false & don't emit\n */\n // pdf file has the same name as the xml file, but with \".pdf\" suffix\n\n CachedUrl fileCu = null;\n CachedUrl mdCu = null;;\n try {\n String full_article_pdf = full_article_md_file.substring(0,full_article_md_file.length() - 3) + \"pdf\"; \n fileCu = B_au.makeCachedUrl(full_article_pdf);\n log.debug3(\"Check for existence of \" + full_article_pdf);\n if(fileCu != null && (fileCu.hasContent())) {\n thisAM.put(MetadataField.FIELD_ACCESS_URL, fileCu.getUrl());\n /*\n * 2. Now get the volume, issue and supplement status from the URL\n * key_for_filename looks like this:\n * 03781119/v554i2/S0378111914011998/main.xml\n * we want the second section which could have a v, i, and s component\n * v# or v#-# \n * i# or i#-#\n * s#orLtr\n * will have at least v\n * exs: /v113-115sC/ or /v58i2-3/ or /v117i6/ or /v39sC/ or /v100i8sS/ \n */\n \n Matcher vMat = ISSUE_INFO_PATTERN.matcher(thisAM.getRaw(ElsevierDTD5XmlSchemaHelper.dataset_article_metadata));\n log.debug3(\"checking for volume information from path\");\n if (vMat.matches()) {\n String vol = vMat.group(1);\n String optIss = vMat.group(2);\n String optSup = vMat.group(3);\n log.debug3(\"found volume information: V\" + vol + \"I\" + optIss + \"S\" + optSup);\n thisAM.put(MetadataField.FIELD_VOLUME, vol);\n if( (optIss != null) || (optSup != null)){\n StringBuilder val = new StringBuilder();\n if (optIss != null) {\n val.append(optIss);\n }\n if (optSup != null) {\n val.append(optSup);\n }\n // there is no field equivalent to the suppl used by Elsevier\n thisAM.put(MetadataField.FIELD_ISSUE, val.toString()); \n }\n }\n /* \n * 3. Now get remaining metadata from the article xml file \n */\n mdCu = B_au.makeCachedUrl(full_article_md_file);\n /*\n * This is defensive programming. It's not clear how this could happen.\n * Since we got the full_article_md_file from the map, we know it's in\n * the AU. So an error here is a sign of a big problem.\n */\n if(mdCu == null || !(mdCu.hasContent())) {\n log.siteWarning(\"The stored article XML file is no longer accessible\");\n return true; \n }\n extractRemainingMetadata(thisAM, mdCu);\n return true;\n }\n } finally {\n AuUtil.safeRelease(fileCu);\n AuUtil.safeRelease(mdCu);\n }\n log.debug3(\"No pdf file exists associated with this record - don't emit\");\n return false; \n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n cssOtherTopLevelDeclarationEClass.getESuperTypes().add(this.getCSSTopLevelStatement());\n mediaDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n pageDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n namespaceDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n fontFaceDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n ruleSetEClass.getESuperTypes().add(this.getCSSTopLevelStatement());\n ruleSetEClass.getESuperTypes().add(this.getMediaDeclarationMembers());\n propertyDeclarationEClass.getESuperTypes().add(this.getMediaDeclarationMembers());\n knownPropertyDeclarationEClass.getESuperTypes().add(this.getPropertyDeclaration());\n unrecognizedPropertyDeclarationEClass.getESuperTypes().add(this.getPropertyDeclaration());\n typeSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n universalSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n attributeSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n idSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n classSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n pseudoSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n noArgsPseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n pseudoElementSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n languagePseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n functionalPseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n linearArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n constantArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n parityArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n negationSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n sizeLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n stringLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n colorLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n componentColorLiteralEClass.getESuperTypes().add(this.getColorLiteral());\n urlLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n functionCallLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n descendantCombinatorEClass.getESuperTypes().add(this.getSelector());\n childCombinatorEClass.getESuperTypes().add(this.getSelector());\n adjacentSiblingCombinatorEClass.getESuperTypes().add(this.getSelector());\n generalSiblingCombinatorEClass.getESuperTypes().add(this.getSelector());\n simpleSelectorSequenceEClass.getESuperTypes().add(this.getSelector());\n universalNamespacePrefixEClass.getESuperTypes().add(this.getNamespacePrefix());\n withoutNamespacePrefixEClass.getESuperTypes().add(this.getNamespacePrefix());\n stringAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n integerAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n decimalAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n integerLiteralEClass.getESuperTypes().add(this.getNumberLiteral());\n decimalLiteralEClass.getESuperTypes().add(this.getNumberLiteral());\n quantifiedSizeLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n qualifiedSizeLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n fontHeightLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n rgbColorEClass.getESuperTypes().add(this.getColorLiteral());\n namedColorEClass.getESuperTypes().add(this.getColorLiteral());\n componentRGBColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentRGBAlphaColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentHSLColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentHSLAlphaColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n alphaLiteralEClass.getESuperTypes().add(this.getFunctionCallLiteral());\n\n // Initialize classes and features; add operations and parameters\n initEClass(stylesheetEClass, Stylesheet.class, \"Stylesheet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStylesheet_CharSet(), ecorePackage.getEString(), \"charSet\", null, 0, 1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getStylesheet_Imports(), this.getImportDeclaration(), null, \"imports\", null, 0, -1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getStylesheet_Statements(), this.getCSSTopLevelStatement(), null, \"statements\", null, 0, -1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(cssTopLevelStatementEClass, CSSTopLevelStatement.class, \"CSSTopLevelStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(cssOtherTopLevelDeclarationEClass, CSSOtherTopLevelDeclaration.class, \"CSSOtherTopLevelDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(importDeclarationEClass, ImportDeclaration.class, \"ImportDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getImportDeclaration_ImportURI(), ecorePackage.getEString(), \"importURI\", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getImportDeclaration_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getImportDeclaration_Media(), ecorePackage.getEString(), \"media\", null, 0, -1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaDeclarationEClass, MediaDeclaration.class, \"MediaDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMediaDeclaration_MediaQueries(), this.getMediaQuery(), null, \"mediaQueries\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaDeclaration_Media(), this.getMediaQuery(), null, \"media\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaDeclaration_Members(), this.getMediaDeclarationMembers(), null, \"members\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaDeclarationMembersEClass, MediaDeclarationMembers.class, \"MediaDeclarationMembers\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(mediaQueryEClass, MediaQuery.class, \"MediaQuery\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getMediaQuery_Only(), ecorePackage.getEBoolean(), \"only\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMediaQuery_Not(), ecorePackage.getEBoolean(), \"not\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMediaQuery_MediaType(), ecorePackage.getEString(), \"mediaType\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaQuery_Expressions(), this.getMediaQueryExpression(), null, \"expressions\", null, 0, -1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaQueryExpressionEClass, MediaQueryExpression.class, \"MediaQueryExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getMediaQueryExpression_Feature(), ecorePackage.getEString(), \"feature\", null, 0, 1, MediaQueryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaQueryExpression_Expression(), this.getValueLiteral(), null, \"expression\", null, 0, 1, MediaQueryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pageDeclarationEClass, PageDeclaration.class, \"PageDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPageDeclaration_PseudoPage(), ecorePackage.getEString(), \"pseudoPage\", null, 0, 1, PageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPageDeclaration_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, PageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namespaceDeclarationEClass, NamespaceDeclaration.class, \"NamespaceDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamespaceDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamespaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getNamespaceDeclaration_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, NamespaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fontFaceDeclarationEClass, FontFaceDeclaration.class, \"FontFaceDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFontFaceDeclaration_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, FontFaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleSetEClass, RuleSet.class, \"RuleSet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRuleSet_Selectors(), this.getSelector(), null, \"selectors\", null, 0, -1, RuleSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRuleSet_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, RuleSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleSetBodyEClass, RuleSetBody.class, \"RuleSetBody\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRuleSetBody_Declarations(), this.getPropertyDeclaration(), null, \"declarations\", null, 0, -1, RuleSetBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyDeclarationEClass, PropertyDeclaration.class, \"PropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyDeclaration_ValuesLists(), this.getPropertyValuesLists(), null, \"valuesLists\", null, 0, 1, PropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(knownPropertyDeclarationEClass, KnownPropertyDeclaration.class, \"KnownPropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getKnownPropertyDeclaration_Name(), this.getKnownProperties(), \"name\", null, 0, 1, KnownPropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(unrecognizedPropertyDeclarationEClass, UnrecognizedPropertyDeclaration.class, \"UnrecognizedPropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUnrecognizedPropertyDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, UnrecognizedPropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValuesListsEClass, PropertyValuesLists.class, \"PropertyValuesLists\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValuesLists_Lists(), this.getPropertyValuesList(), null, \"lists\", null, 0, -1, PropertyValuesLists.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValuesListEClass, PropertyValuesList.class, \"PropertyValuesList\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValuesList_Values(), this.getPropertyValue(), null, \"values\", null, 0, -1, PropertyValuesList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValueEClass, PropertyValue.class, \"PropertyValue\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValue_Value(), this.getValueLiteral(), null, \"value\", null, 0, 1, PropertyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPropertyValue_Important(), ecorePackage.getEBoolean(), \"important\", null, 0, 1, PropertyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectorEClass, Selector.class, \"Selector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(simpleSelectorEClass, SimpleSelector.class, \"SimpleSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(typeSelectorEClass, TypeSelector.class, \"TypeSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTypeSelector_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, TypeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTypeSelector_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, TypeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namespacePrefixEClass, NamespacePrefix.class, \"NamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getNamespacePrefix_Namespace(), this.getNamespaceDeclaration(), null, \"namespace\", null, 0, 1, NamespacePrefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(universalSelectorEClass, UniversalSelector.class, \"UniversalSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUniversalSelector_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, UniversalSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeSelectorEClass, AttributeSelector.class, \"AttributeSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAttributeSelector_Attribute(), this.getAttribute(), null, \"attribute\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttributeSelector_Matcher(), this.getAttributeSelectorMatchers(), \"matcher\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAttributeSelector_Value(), this.getAttributeValueLiteral(), null, \"value\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAttribute_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeValueLiteralEClass, AttributeValueLiteral.class, \"AttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(idSelectorEClass, IDSelector.class, \"IDSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIDSelector_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, IDSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(classSelectorEClass, ClassSelector.class, \"ClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getClassSelector_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pseudoSelectorEClass, PseudoSelector.class, \"PseudoSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(noArgsPseudoClassSelectorEClass, NoArgsPseudoClassSelector.class, \"NoArgsPseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNoArgsPseudoClassSelector_Pseudo(), this.getNoArgsPseudos(), \"pseudo\", null, 0, 1, NoArgsPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pseudoElementSelectorEClass, PseudoElementSelector.class, \"PseudoElementSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPseudoElementSelector_DoubleSemiColon(), ecorePackage.getEBoolean(), \"doubleSemiColon\", null, 0, 1, PseudoElementSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPseudoElementSelector_Pseudo(), this.getPseudoElements(), \"pseudo\", null, 0, 1, PseudoElementSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(languagePseudoClassSelectorEClass, LanguagePseudoClassSelector.class, \"LanguagePseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLanguagePseudoClassSelector_LangugageId(), ecorePackage.getEString(), \"langugageId\", null, 0, 1, LanguagePseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(functionalPseudoClassSelectorEClass, FunctionalPseudoClassSelector.class, \"FunctionalPseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFunctionalPseudoClassSelector_Pseudo(), this.getFunctionalPseudoClasses(), \"pseudo\", null, 0, 1, FunctionalPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFunctionalPseudoClassSelector_Argument(), this.getTypeArgument(), null, \"argument\", null, 0, 1, FunctionalPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeArgumentEClass, TypeArgument.class, \"TypeArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(linearArgumentEClass, LinearArgument.class, \"LinearArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLinearArgument_Coefficient(), this.getCoefficient(), null, \"coefficient\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLinearArgument_ConstantSign(), ecorePackage.getEString(), \"constantSign\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLinearArgument_Constant(), ecorePackage.getEInt(), \"constant\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(coefficientEClass, Coefficient.class, \"Coefficient\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCoefficient_Ident(), ecorePackage.getEString(), \"ident\", null, 0, 1, Coefficient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCoefficient_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, Coefficient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(constantArgumentEClass, ConstantArgument.class, \"ConstantArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getConstantArgument_Sign(), ecorePackage.getEString(), \"sign\", null, 0, 1, ConstantArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getConstantArgument_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, ConstantArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(parityArgumentEClass, ParityArgument.class, \"ParityArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getParityArgument_Parity(), this.getParities(), \"parity\", null, 0, 1, ParityArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(negationSelectorEClass, NegationSelector.class, \"NegationSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getNegationSelector_SimpleSelector(), this.getSimpleSelector(), null, \"simpleSelector\", null, 0, 1, NegationSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(valueLiteralEClass, ValueLiteral.class, \"ValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(numberLiteralEClass, NumberLiteral.class, \"NumberLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(sizeLiteralEClass, SizeLiteral.class, \"SizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(stringLiteralEClass, StringLiteral.class, \"StringLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(colorLiteralEClass, ColorLiteral.class, \"ColorLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(componentColorLiteralEClass, ComponentColorLiteral.class, \"ComponentColorLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(colorComponentLiteralEClass, ColorComponentLiteral.class, \"ColorComponentLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getColorComponentLiteral_Number(), this.getNumberLiteral(), null, \"number\", null, 0, 1, ColorComponentLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getColorComponentLiteral_Percentage(), ecorePackage.getEBoolean(), \"percentage\", null, 0, 1, ColorComponentLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(urlLiteralEClass, URLLiteral.class, \"URLLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getURLLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, URLLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bareWordLiteralEClass, BareWordLiteral.class, \"BareWordLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getBareWordLiteral_BareWord(), ecorePackage.getEString(), \"bareWord\", null, 0, 1, BareWordLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(functionCallLiteralEClass, FunctionCallLiteral.class, \"FunctionCallLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFunctionCallLiteral_Function(), ecorePackage.getEString(), \"function\", null, 0, 1, FunctionCallLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFunctionCallLiteral_Arguments(), this.getValueLiteral(), null, \"arguments\", null, 0, -1, FunctionCallLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(descendantCombinatorEClass, DescendantCombinator.class, \"DescendantCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDescendantCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDescendantCombinator_WsI(), ecorePackage.getEString(), \"wsI\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDescendantCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(childCombinatorEClass, ChildCombinator.class, \"ChildCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getChildCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getChildCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getChildCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getChildCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(adjacentSiblingCombinatorEClass, AdjacentSiblingCombinator.class, \"AdjacentSiblingCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdjacentSiblingCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdjacentSiblingCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdjacentSiblingCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAdjacentSiblingCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(generalSiblingCombinatorEClass, GeneralSiblingCombinator.class, \"GeneralSiblingCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getGeneralSiblingCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGeneralSiblingCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGeneralSiblingCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getGeneralSiblingCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(simpleSelectorSequenceEClass, SimpleSelectorSequence.class, \"SimpleSelectorSequence\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSimpleSelectorSequence_Head(), this.getSimpleSelector(), null, \"head\", null, 0, 1, SimpleSelectorSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSimpleSelectorSequence_SimpleSelectors(), this.getSimpleSelector(), null, \"simpleSelectors\", null, 0, -1, SimpleSelectorSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(universalNamespacePrefixEClass, UniversalNamespacePrefix.class, \"UniversalNamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(withoutNamespacePrefixEClass, WithoutNamespacePrefix.class, \"WithoutNamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(stringAttributeValueLiteralEClass, StringAttributeValueLiteral.class, \"StringAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStringAttributeValueLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(integerAttributeValueLiteralEClass, IntegerAttributeValueLiteral.class, \"IntegerAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIntegerAttributeValueLiteral_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, IntegerAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(decimalAttributeValueLiteralEClass, DecimalAttributeValueLiteral.class, \"DecimalAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDecimalAttributeValueLiteral_Value(), ecorePackage.getEDouble(), \"value\", null, 0, 1, DecimalAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(integerLiteralEClass, IntegerLiteral.class, \"IntegerLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIntegerLiteral_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, IntegerLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(decimalLiteralEClass, DecimalLiteral.class, \"DecimalLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDecimalLiteral_Decimal(), ecorePackage.getEDouble(), \"decimal\", null, 0, 1, DecimalLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(quantifiedSizeLiteralEClass, QuantifiedSizeLiteral.class, \"QuantifiedSizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getQuantifiedSizeLiteral_Number(), this.getNumberLiteral(), null, \"number\", null, 0, 1, QuantifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getQuantifiedSizeLiteral_Dimension(), this.getDimensions(), \"dimension\", null, 0, 1, QuantifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(qualifiedSizeLiteralEClass, QualifiedSizeLiteral.class, \"QualifiedSizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getQualifiedSizeLiteral_Bareword(), ecorePackage.getEString(), \"bareword\", null, 0, 1, QualifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fontHeightLiteralEClass, FontHeightLiteral.class, \"FontHeightLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFontHeightLiteral_FontHeight(), this.getSizeLiteral(), null, \"fontHeight\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFontHeightLiteral_LineHeight(), this.getNumberLiteral(), null, \"lineHeight\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFontHeightLiteral_LineHeightDimension(), this.getDimensions(), \"lineHeightDimension\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(rgbColorEClass, RGBColor.class, \"RGBColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRGBColor_Rgb(), ecorePackage.getEString(), \"rgb\", null, 0, 1, RGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namedColorEClass, NamedColor.class, \"NamedColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamedColor_Color(), this.getColorNames(), \"color\", null, 0, 1, NamedColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentRGBColorEClass, ComponentRGBColor.class, \"ComponentRGBColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentRGBColor_Red(), this.getColorComponentLiteral(), null, \"red\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBColor_Green(), this.getColorComponentLiteral(), null, \"green\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBColor_Blue(), this.getColorComponentLiteral(), null, \"blue\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentRGBAlphaColorEClass, ComponentRGBAlphaColor.class, \"ComponentRGBAlphaColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentRGBAlphaColor_Red(), this.getColorComponentLiteral(), null, \"red\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Green(), this.getColorComponentLiteral(), null, \"green\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Blue(), this.getColorComponentLiteral(), null, \"blue\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Opacity(), this.getColorComponentLiteral(), null, \"opacity\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentHSLColorEClass, ComponentHSLColor.class, \"ComponentHSLColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentHSLColor_Hue(), this.getColorComponentLiteral(), null, \"hue\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLColor_Saturation(), this.getColorComponentLiteral(), null, \"saturation\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLColor_Lightness(), this.getColorComponentLiteral(), null, \"lightness\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentHSLAlphaColorEClass, ComponentHSLAlphaColor.class, \"ComponentHSLAlphaColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentHSLAlphaColor_Hue(), this.getColorComponentLiteral(), null, \"hue\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Saturation(), this.getColorComponentLiteral(), null, \"saturation\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Lightness(), this.getColorComponentLiteral(), null, \"lightness\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Opacity(), this.getColorComponentLiteral(), null, \"opacity\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(alphaLiteralEClass, AlphaLiteral.class, \"AlphaLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAlphaLiteral_Opacity(), this.getNumberLiteral(), null, \"opacity\", null, 0, 1, AlphaLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Initialize enums and add enum literals\n initEEnum(knownPropertiesEEnum, KnownProperties.class, \"KnownProperties\");\n addEEnumLiteral(knownPropertiesEEnum, KnownProperties.COLOR);\n addEEnumLiteral(knownPropertiesEEnum, KnownProperties.BORDER_TOP);\n\n initEEnum(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.class, \"AttributeSelectorMatchers\");\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.PREFIX);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.SUFFIX);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.SUBSTRING);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.EXACT);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.INCLUDES);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.LANGUAGE);\n\n initEEnum(noArgsPseudosEEnum, NoArgsPseudos.class, \"NoArgsPseudos\");\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.LINK);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.VISITED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.HOVER);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ACTIVE);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.FOCUS);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.TARGET);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ENABLED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.DISABLED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.CHECKED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.INDETERMINATE);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ROOT);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.FIRST_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.LAST_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ONLY_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.EMPTY);\n\n initEEnum(pseudoElementsEEnum, PseudoElements.class, \"PseudoElements\");\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.FIRST_LETTER);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.FIRST_LINE);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.BEFORE);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.AFTER);\n\n initEEnum(functionalPseudoClassesEEnum, FunctionalPseudoClasses.class, \"FunctionalPseudoClasses\");\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_CHILD);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_LAST_CHILD);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_LAST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.FIRST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.LAST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.ONLY_OF_TYPE);\n\n initEEnum(paritiesEEnum, Parities.class, \"Parities\");\n addEEnumLiteral(paritiesEEnum, Parities.ODD);\n addEEnumLiteral(paritiesEEnum, Parities.EVEN);\n\n initEEnum(dimensionsEEnum, Dimensions.class, \"Dimensions\");\n addEEnumLiteral(dimensionsEEnum, Dimensions.IN);\n addEEnumLiteral(dimensionsEEnum, Dimensions.CM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.MM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PT);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PC);\n addEEnumLiteral(dimensionsEEnum, Dimensions.EM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.EX);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PX);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PERC);\n\n initEEnum(colorNamesEEnum, ColorNames.class, \"ColorNames\");\n addEEnumLiteral(colorNamesEEnum, ColorNames.BLACK);\n addEEnumLiteral(colorNamesEEnum, ColorNames.WHITE);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tServicesPackage theServicesPackage = (ServicesPackage)EPackage.Registry.INSTANCE.getEPackage(ServicesPackage.eNS_URI);\n\t\tLibraryPackage theLibraryPackage = (LibraryPackage)EPackage.Registry.INSTANCE.getEPackage(LibraryPackage.eNS_URI);\n\t\tXMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);\n\t\tGenericsPackage theGenericsPackage = (GenericsPackage)EPackage.Registry.INSTANCE.getEPackage(GenericsPackage.eNS_URI);\n\t\tMetricsPackage theMetricsPackage = (MetricsPackage)EPackage.Registry.INSTANCE.getEPackage(MetricsPackage.eNS_URI);\n\t\tOperatorsPackage theOperatorsPackage = (OperatorsPackage)EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tanalyzerJobEClass.getESuperTypes().add(this.getJob());\n\t\tcomponentFailureEClass.getESuperTypes().add(this.getExpressionFailure());\n\t\tcomponentWorkFlowRunEClass.getESuperTypes().add(this.getWorkFlowRun());\n\t\texpressionFailureEClass.getESuperTypes().add(this.getFailure());\n\t\tjobEClass.getESuperTypes().add(theGenericsPackage.getBase());\n\t\tmetricSourceJobEClass.getESuperTypes().add(this.getJob());\n\t\tnodeReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tnodeTypeReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\toperatorReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tretentionJobEClass.getESuperTypes().add(this.getJob());\n\t\trfsServiceMonitoringJobEClass.getESuperTypes().add(this.getJob());\n\t\trfsServiceReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tserviceUserFailureEClass.getESuperTypes().add(this.getExpressionFailure());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(analyzerJobEClass, AnalyzerJob.class, \"AnalyzerJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnalyzerJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, AnalyzerJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentFailureEClass, ComponentFailure.class, \"ComponentFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentFailure_ComponentRef(), theLibraryPackage.getComponent(), null, \"componentRef\", null, 0, 1, ComponentFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentWorkFlowRunEClass, ComponentWorkFlowRun.class, \"ComponentWorkFlowRun\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentWorkFlowRun_FailureRefs(), this.getFailure(), null, \"failureRefs\", null, 0, -1, ComponentWorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(expressionFailureEClass, ExpressionFailure.class, \"ExpressionFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExpressionFailure_ExpressionRef(), theLibraryPackage.getExpression(), null, \"expressionRef\", null, 0, 1, ExpressionFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(failureEClass, Failure.class, \"Failure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFailure_Message(), theXMLTypePackage.getString(), \"message\", null, 0, 1, Failure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jobEClass, Job.class, \"Job\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJob_EndTime(), theXMLTypePackage.getDateTime(), \"endTime\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Interval(), theXMLTypePackage.getInt(), \"interval\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_JobState(), this.getJobState(), \"jobState\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Repeat(), theXMLTypePackage.getInt(), \"repeat\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_StartTime(), theXMLTypePackage.getDateTime(), \"startTime\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jobRunContainerEClass, JobRunContainer.class, \"JobRunContainer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJobRunContainer_Job(), this.getJob(), null, \"job\", null, 1, 1, JobRunContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJobRunContainer_WorkFlowRuns(), this.getWorkFlowRun(), null, \"workFlowRuns\", null, 0, -1, JobRunContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(metricSourceJobEClass, MetricSourceJob.class, \"MetricSourceJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMetricSourceJob_MetricSources(), theMetricsPackage.getMetricSource(), null, \"metricSources\", null, 1, -1, MetricSourceJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeReporterJobEClass, NodeReporterJob.class, \"NodeReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNodeReporterJob_Node(), theOperatorsPackage.getNode(), null, \"node\", null, 1, 1, NodeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeTypeReporterJobEClass, NodeTypeReporterJob.class, \"NodeTypeReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNodeTypeReporterJob_NodeType(), theLibraryPackage.getNodeType(), null, \"nodeType\", null, 1, 1, NodeTypeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getNodeTypeReporterJob_ScopeObject(), ecorePackage.getEObject(), null, \"scopeObject\", null, 1, 1, NodeTypeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(operatorReporterJobEClass, OperatorReporterJob.class, \"OperatorReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOperatorReporterJob_Operator(), theOperatorsPackage.getOperator(), null, \"operator\", null, 1, 1, OperatorReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(retentionJobEClass, RetentionJob.class, \"RetentionJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(rfsServiceMonitoringJobEClass, RFSServiceMonitoringJob.class, \"RFSServiceMonitoringJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRFSServiceMonitoringJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, RFSServiceMonitoringJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(rfsServiceReporterJobEClass, RFSServiceReporterJob.class, \"RFSServiceReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRFSServiceReporterJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, RFSServiceReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(serviceUserFailureEClass, ServiceUserFailure.class, \"ServiceUserFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getServiceUserFailure_ServiceUserRef(), theServicesPackage.getServiceUser(), null, \"serviceUserRef\", null, 0, 1, ServiceUserFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(workFlowRunEClass, WorkFlowRun.class, \"WorkFlowRun\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getWorkFlowRun_Ended(), theXMLTypePackage.getDateTime(), \"ended\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Log(), theGenericsPackage.getLongText(), \"log\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Progress(), theXMLTypePackage.getInt(), \"progress\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_ProgressMessage(), theXMLTypePackage.getString(), \"progressMessage\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_ProgressTask(), theXMLTypePackage.getString(), \"progressTask\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Started(), theXMLTypePackage.getDateTime(), \"started\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_State(), this.getJobRunState(), \"state\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(jobRunStateEEnum, JobRunState.class, \"JobRunState\");\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.RUNNING);\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.FINISHED_SUCCESSFULLY);\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.FINISHED_WITH_ERROR);\n\n\t\tinitEEnum(jobStateEEnum, JobState.class, \"JobState\");\n\t\taddEEnumLiteral(jobStateEEnum, JobState.ACTIVE);\n\t\taddEEnumLiteral(jobStateEEnum, JobState.IN_ACTIVE);\n\n\t\t// Initialize data types\n\t\tinitEDataType(jobRunStateObjectEDataType, JobRunState.class, \"JobRunStateObject\", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(jobStateObjectEDataType, JobState.class, \"JobStateObject\", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "private void validate() {\r\n if (cmtFileSetList.size() == 0) {\r\n throw new BuildException(\"Nested Element 'fileset' missing for task 'cmt'.\");\r\n }\r\n if (output == null) {\r\n throw new BuildException(\"Parameter 'output' missing for task 'cmt'.\");\r\n }\r\n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n createFolderStatementEClass.getESuperTypes().add(this.getCreateStatement());\n createFileStatementEClass.getESuperTypes().add(this.getCreateStatement());\n\n // Initialize classes and features; add operations and parameters\n initEClass(persistEClass, Persist.class, \"Persist\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPersist_Model(), ecorePackage.getEString(), \"model\", null, 0, 1, Persist.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPersist_Statements(), this.getRuleStatement(), null, \"statements\", null, 0, -1, Persist.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleStatementEClass, RuleStatement.class, \"RuleStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRuleStatement_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, RuleStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRuleStatement_Rules(), this.getForEachStatement(), null, \"rules\", null, 0, -1, RuleStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(forEachStatementEClass, ForEachStatement.class, \"ForEachStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getForEachStatement_Class(), this.getEClassName(), null, \"class\", null, 0, 1, ForEachStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getForEachStatement_Contents(), this.getCreateStatement(), null, \"contents\", null, 0, -1, ForEachStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getForEachStatement_Calls(), this.getCallStatement(), null, \"calls\", null, 0, -1, ForEachStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(createStatementEClass, CreateStatement.class, \"CreateStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCreateStatement_Name(), this.getFileName(), null, \"name\", null, 0, 1, CreateStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(createFolderStatementEClass, CreateFolderStatement.class, \"CreateFolderStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCreateFolderStatement_Contents(), this.getCreateStatement(), null, \"contents\", null, 0, -1, CreateFolderStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCreateFolderStatement_Calls(), this.getCallStatement(), null, \"calls\", null, 0, -1, CreateFolderStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(createFileStatementEClass, CreateFileStatement.class, \"CreateFileStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCreateFileStatement_IncludedReferencing(), this.getWithStatement(), null, \"includedReferencing\", null, 0, 1, CreateFileStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCreateFileStatement_IncludedAttributes(), this.getIncludeStatement(), null, \"includedAttributes\", null, 0, 1, CreateFileStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fileNameEClass, FileName.class, \"FileName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFileName_Prefix(), ecorePackage.getEString(), \"prefix\", null, 0, 1, FileName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFileName_Attr(), this.getEAttributeName(), null, \"attr\", null, 0, 1, FileName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFileName_Right(), this.getFileName(), null, \"right\", null, 0, 1, FileName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(includeStatementEClass, IncludeStatement.class, \"IncludeStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getIncludeStatement_Included(), this.getEReferenceName(), null, \"included\", null, 0, -1, IncludeStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(withStatementEClass, WithStatement.class, \"WithStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getWithStatement_Included(), this.getEClassName(), null, \"included\", null, 0, -1, WithStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(callStatementEClass, CallStatement.class, \"CallStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCallStatement_Rules(), ecorePackage.getEString(), \"rules\", null, 0, -1, CallStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(eClassNameEClass, EClassName.class, \"EClassName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEClassName_Base(), ecorePackage.getEString(), \"base\", null, 0, 1, EClassName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEClassName_Fields(), ecorePackage.getEString(), \"fields\", null, 0, -1, EClassName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(eAttributeNameEClass, EAttributeName.class, \"EAttributeName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEAttributeName_Base(), ecorePackage.getEString(), \"base\", null, 0, 1, EAttributeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEAttributeName_Fields(), ecorePackage.getEString(), \"fields\", null, 0, -1, EAttributeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(eReferenceNameEClass, EReferenceName.class, \"EReferenceName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEReferenceName_Base(), ecorePackage.getEString(), \"base\", null, 0, 1, EReferenceName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEReferenceName_Fields(), ecorePackage.getEString(), \"fields\", null, 0, -1, EReferenceName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "@Test(priority = 5)\n\tpublic void validateContents() {\n\t\tlog = Logger.getLogger(HeroImageProducttestscripts.class);\n\t\tLogReport.getlogger();\n\t\tlogger = extent.startTest(\"Validating the content of the product\");\n\t\tHeroImageProductPageFlow.clickHeroImage(locator);\n\t\theroImg.validateDescriptionContent(locator, validate);\n\t\t;\n\t\tlog.info(\"Content validation is correct\");\n\t\tHeroImageProductPageFlow.clickProductSpecification(locator);\n\t\theroImg.validateSpecificationContent(locator, validate);\n\t\tlog.info(\"Content is present\");\n\t\tlog.info(\"Starting Sorting functionality testing\");\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tlogicalConditionEClass.getESuperTypes().add(this.getCondition());\n\t\tnaturalLangConditionEClass.getESuperTypes().add(this.getCondition());\n\t\tmathConditionEClass.getESuperTypes().add(this.getCondition());\n\t\tnegformulaEClass.getESuperTypes().add(this.getLogicalCondition());\n\t\toRformulaEClass.getESuperTypes().add(this.getLogicalCondition());\n\t\tanDformulaEClass.getESuperTypes().add(this.getLogicalCondition());\n\t\tequalFormulaEClass.getESuperTypes().add(this.getMathCondition());\n\t\tmoreEqformulaEClass.getESuperTypes().add(this.getMathCondition());\n\t\tlessformulaEClass.getESuperTypes().add(this.getMathCondition());\n\t\tnumberPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tbooleanPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tstringPropertyEClass.getESuperTypes().add(this.getProperty());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(ontologicalStructureEClass, OntologicalStructure.class, \"OntologicalStructure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOntologicalStructure_OntologicalConcepts(), this.getOntologicalConcept(), null, \"ontologicalConcepts\", null, 0, -1, OntologicalStructure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntologicalStructure_Conditions(), this.getCondition(), null, \"conditions\", null, 0, -1, OntologicalStructure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntologicalStructure_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, OntologicalStructure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ontologicalConceptEClass, OntologicalConcept.class, \"OntologicalConcept\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOntologicalConcept_Label(), ecorePackage.getEString(), \"label\", null, 1, 1, OntologicalConcept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOntologicalConcept_URI(), ecorePackage.getEString(), \"URI\", null, 1, 1, OntologicalConcept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conditionEClass, Condition.class, \"Condition\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCondition_Label(), ecorePackage.getEString(), \"label\", null, 0, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(logicalConditionEClass, LogicalCondition.class, \"LogicalCondition\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(naturalLangConditionEClass, NaturalLangCondition.class, \"NaturalLangCondition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNaturalLangCondition_Statement(), ecorePackage.getEString(), \"statement\", null, 1, 1, NaturalLangCondition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(mathConditionEClass, MathCondition.class, \"MathCondition\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(negformulaEClass, Negformula.class, \"Negformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNegformula_ConditionStatement(), this.getCondition(), null, \"conditionStatement\", null, 0, 1, Negformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(oRformulaEClass, ORformula.class, \"ORformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getORformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, ORformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getORformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, ORformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(anDformulaEClass, ANDformula.class, \"ANDformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getANDformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, ANDformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getANDformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, ANDformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(equalFormulaEClass, equalFormula.class, \"equalFormula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getequalFormula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, equalFormula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getequalFormula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, equalFormula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(moreEqformulaEClass, moreEqformula.class, \"moreEqformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getmoreEqformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, moreEqformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getmoreEqformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, moreEqformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(lessformulaEClass, lessformula.class, \"lessformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getlessformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, lessformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getlessformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, lessformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, Property.class, \"Property\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProperty_Label(), ecorePackage.getEString(), \"label\", null, 1, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(numberPropertyEClass, NumberProperty.class, \"NumberProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNumberProperty_Value(), ecorePackage.getEDouble(), \"value\", null, 0, 1, NumberProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(booleanPropertyEClass, BooleanProperty.class, \"BooleanProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getBooleanProperty_Value(), ecorePackage.getEBoolean(), \"value\", null, 0, 1, BooleanProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(stringPropertyEClass, StringProperty.class, \"StringProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getStringProperty_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tReliabilityPackage theReliabilityPackage = (ReliabilityPackage)EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI);\n\t\tseff.SeffPackage theSeffPackage_1 = (seff.SeffPackage)EPackage.Registry.INSTANCE.getEPackage(seff.SeffPackage.eNS_URI);\n\t\tFailuretypesPackage theFailuretypesPackage = (FailuretypesPackage)EPackage.Registry.INSTANCE.getEPackage(FailuretypesPackage.eNS_URI);\n\t\tBasePackage theBasePackage = (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI);\n\t\tBehaviourseffPackage theBehaviourseffPackage = (BehaviourseffPackage)EPackage.Registry.INSTANCE.getEPackage(BehaviourseffPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tinternalFailureOccurrenceDescriptionEClass.getESuperTypes().add(theReliabilityPackage.getFailureOccurrenceDescription());\n\t\trecoveryActionEClass.getESuperTypes().add(theSeffPackage_1.getAbstractInternalControlFlowAction());\n\t\trecoveryActionBehaviourEClass.getESuperTypes().add(this.getFailureHandlingEntity());\n\t\trecoveryActionBehaviourEClass.getESuperTypes().add(theSeffPackage_1.getBehaviour());\n\t\tfailureHandlingEntityEClass.getESuperTypes().add(theBasePackage.getEntity());\n\t\tfailureHandlingExternalCallActionEClass.getESuperTypes().add(this.getFailureHandlingEntity());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(internalFailureOccurrenceDescriptionEClass, InternalFailureOccurrenceDescription.class, \"InternalFailureOccurrenceDescription\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInternalFailureOccurrenceDescription_InternalAction__InternalFailureOccurrenceDescription(), theSeffPackage_1.getInternalAction(), null, \"internalAction__InternalFailureOccurrenceDescription\", null, 1, 1, InternalFailureOccurrenceDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEReference(getInternalFailureOccurrenceDescription_SoftwareInducedFailureType__InternalFailureOccurrenceDescription(), theFailuretypesPackage.getSoftwareInducedFailureType(), theFailuretypesPackage.getSoftwareInducedFailureType_InternalFailureOccurrenceDescriptions__SoftwareInducedFailureType(), \"softwareInducedFailureType__InternalFailureOccurrenceDescription\", null, 1, 1, InternalFailureOccurrenceDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tEOperation op = addEOperation(internalFailureOccurrenceDescriptionEClass, ecorePackage.getEBoolean(), \"NoResourceTimeoutFailureAllowedForInternalFailureOccurrenceDescription\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(ecorePackage.getEMap());\n\t\tEGenericType g2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(recoveryActionEClass, RecoveryAction.class, \"RecoveryAction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRecoveryAction_PrimaryBehaviour__RecoveryAction(), this.getRecoveryActionBehaviour(), null, \"primaryBehaviour__RecoveryAction\", null, 1, 1, RecoveryAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEReference(getRecoveryAction_RecoveryActionBehaviours__RecoveryAction(), this.getRecoveryActionBehaviour(), this.getRecoveryActionBehaviour_RecoveryAction__RecoveryActionBehaviour(), \"recoveryActionBehaviours__RecoveryAction\", null, 2, -1, RecoveryAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\top = addEOperation(recoveryActionEClass, ecorePackage.getEBoolean(), \"PrimaryBehaviourOfRecoveryActionMustBeSet\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEMap());\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(recoveryActionBehaviourEClass, RecoveryActionBehaviour.class, \"RecoveryActionBehaviour\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRecoveryActionBehaviour_FailureHandlingAlternatives__RecoveryActionBehaviour(), this.getRecoveryActionBehaviour(), null, \"failureHandlingAlternatives__RecoveryActionBehaviour\", null, 0, -1, RecoveryActionBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEReference(getRecoveryActionBehaviour_RecoveryAction__RecoveryActionBehaviour(), this.getRecoveryAction(), this.getRecoveryAction_RecoveryActionBehaviours__RecoveryAction(), \"recoveryAction__RecoveryActionBehaviour\", null, 1, 1, RecoveryActionBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\top = addEOperation(recoveryActionBehaviourEClass, ecorePackage.getEBoolean(), \"RecoveryActionBehaviourHasOnlyOnePredecessor\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEMap());\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(recoveryActionBehaviourEClass, ecorePackage.getEBoolean(), \"RecoveryActionBehaviourIsNotSuccessorOfItself\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEMap());\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(recoveryActionBehaviourEClass, ecorePackage.getEBoolean(), \"SuccessorsOfRecoveryActionBehaviourHandleDisjointFailureTypes\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEMap());\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(failureHandlingEntityEClass, FailureHandlingEntity.class, \"FailureHandlingEntity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFailureHandlingEntity_FailureTypes_FailureHandlingEntity(), theFailuretypesPackage.getFailureType(), null, \"failureTypes_FailureHandlingEntity\", null, 0, -1, FailureHandlingEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(failureHandlingExternalCallActionEClass, FailureHandlingExternalCallAction.class, \"FailureHandlingExternalCallAction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFailureHandlingExternalCallAction_Owner(), theBehaviourseffPackage.getExternalCallAction(), null, \"owner\", null, 1, 1, FailureHandlingExternalCallAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(acquireActionTimeoutEClass, AcquireActionTimeout.class, \"AcquireActionTimeout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAcquireActionTimeout_Owner(), theBehaviourseffPackage.getAcquireAction(), null, \"owner\", null, 1, 1, AcquireActionTimeout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAcquireActionTimeout_TimeoutValue(), ecorePackage.getEDouble(), \"timeoutValue\", null, 1, 1, AcquireActionTimeout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/uml2/1.1.0/GenModel\n\t\tcreateGenModel_1Annotations();\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n externalDefEClass.getESuperTypes().add(this.getDeclaration());\n typeEClass.getESuperTypes().add(this.getDeclaration());\n resultStatementEClass.getESuperTypes().add(this.getDeclaration());\n plusEClass.getESuperTypes().add(this.getExpression());\n minusEClass.getESuperTypes().add(this.getExpression());\n multEClass.getESuperTypes().add(this.getExpression());\n divEClass.getESuperTypes().add(this.getExpression());\n varEClass.getESuperTypes().add(this.getExpression());\n letEClass.getESuperTypes().add(this.getExpression());\n externalUseEClass.getESuperTypes().add(this.getExpression());\n numEClass.getESuperTypes().add(this.getExpression());\n\n // Initialize classes and features; add operations and parameters\n initEClass(mathExpEClass, MathExp.class, \"MathExp\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMathExp_Declarations(), this.getDeclaration(), null, \"declarations\", null, 0, -1, MathExp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(declarationEClass, Declaration.class, \"Declaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(externalDefEClass, ExternalDef.class, \"ExternalDef\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getExternalDef_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ExternalDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getExternalDef_Parameters(), this.getParameter(), null, \"parameters\", null, 0, -1, ExternalDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(parameterEClass, Parameter.class, \"Parameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getParameter_Type(), this.getType(), null, \"type\", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getParameter_ParameterName(), ecorePackage.getEString(), \"parameterName\", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeEClass, Type.class, \"Type\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getType_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(resultStatementEClass, ResultStatement.class, \"ResultStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getResultStatement_Label(), ecorePackage.getEString(), \"label\", null, 0, 1, ResultStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getResultStatement_Exp(), this.getExpression(), null, \"exp\", null, 0, 1, ResultStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(expressionEClass, Expression.class, \"Expression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(plusEClass, Plus.class, \"Plus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPlus_Left(), this.getExpression(), null, \"left\", null, 0, 1, Plus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPlus_Right(), this.getExpression(), null, \"right\", null, 0, 1, Plus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(minusEClass, Minus.class, \"Minus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMinus_Left(), this.getExpression(), null, \"left\", null, 0, 1, Minus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMinus_Right(), this.getExpression(), null, \"right\", null, 0, 1, Minus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(multEClass, Mult.class, \"Mult\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMult_Left(), this.getExpression(), null, \"left\", null, 0, 1, Mult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMult_Right(), this.getExpression(), null, \"right\", null, 0, 1, Mult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(divEClass, Div.class, \"Div\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDiv_Left(), this.getExpression(), null, \"left\", null, 0, 1, Div.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDiv_Right(), this.getExpression(), null, \"right\", null, 0, 1, Div.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(varEClass, Var.class, \"Var\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVar_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Var.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(letEClass, Let.class, \"Let\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLet_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getLet_Binding(), this.getExpression(), null, \"binding\", null, 0, 1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getLet_Body(), this.getExpression(), null, \"body\", null, 0, 1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(externalUseEClass, ExternalUse.class, \"ExternalUse\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getExternalUse_External(), this.getExternalDef(), null, \"external\", null, 0, 1, ExternalUse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getExternalUse_Arguments(), this.getExpression(), null, \"arguments\", null, 0, -1, ExternalUse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(numEClass, Num.class, \"Num\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNum_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, Num.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tpluginEClass.getESuperTypes().add(this.getAnalysisComponent());\n\t\tinputPortEClass.getESuperTypes().add(this.getPort());\n\t\toutputPortEClass.getESuperTypes().add(this.getPort());\n\t\tfilterEClass.getESuperTypes().add(this.getPlugin());\n\t\treaderEClass.getESuperTypes().add(this.getPlugin());\n\t\trepositoryEClass.getESuperTypes().add(this.getAnalysisComponent());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(projectEClass, MIProject.class, \"Project\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getProject_Plugins(), this.getPlugin(), null, \"plugins\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProject_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Repositories(), this.getRepository(), null, \"repositories\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Dependencies(), this.getDependency(), null, \"dependencies\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Views(), this.getView(), null, \"views\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(pluginEClass, MIPlugin.class, \"Plugin\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPlugin_Repositories(), this.getRepositoryConnector(), null, \"repositories\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_OutputPorts(), this.getOutputPort(), this.getOutputPort_Parent(), \"outputPorts\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_Displays(), this.getDisplay(), this.getDisplay_Parent(), \"displays\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(portEClass, MIPort.class, \"Port\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPort_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_EventTypes(), ecorePackage.getEString(), \"eventTypes\", null, 1, -1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(inputPortEClass, MIInputPort.class, \"InputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInputPort_Parent(), this.getFilter(), this.getFilter_InputPorts(), \"parent\", null, 1, 1, MIInputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(outputPortEClass, MIOutputPort.class, \"OutputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOutputPort_Subscribers(), this.getInputPort(), null, \"subscribers\", null, 0, -1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOutputPort_Parent(), this.getPlugin(), this.getPlugin_OutputPorts(), \"parent\", null, 1, 1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, MIProperty.class, \"Property\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProperty_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(filterEClass, MIFilter.class, \"Filter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFilter_InputPorts(), this.getInputPort(), this.getInputPort_Parent(), \"inputPorts\", null, 0, -1, MIFilter.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readerEClass, MIReader.class, \"Reader\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(repositoryEClass, MIRepository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(dependencyEClass, MIDependency.class, \"Dependency\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDependency_FilePath(), ecorePackage.getEString(), \"filePath\", null, 1, 1, MIDependency.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(repositoryConnectorEClass, MIRepositoryConnector.class, \"RepositoryConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRepositoryConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRepositoryConnector_Repository(), this.getRepository(), null, \"repository\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRepositoryConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayEClass, MIDisplay.class, \"Display\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplay_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplay_Parent(), this.getPlugin(), this.getPlugin_Displays(), \"parent\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplay_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\tIS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(viewEClass, MIView.class, \"View\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getView_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getView_DisplayConnectors(), this.getDisplayConnector(), null, \"displayConnectors\", null, 0, -1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayConnectorEClass, MIDisplayConnector.class, \"DisplayConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplayConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplayConnector_Display(), this.getDisplay(), null, \"display\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplayConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(analysisComponentEClass, MIAnalysisComponent.class, \"AnalysisComponent\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAnalysisComponent_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Classname(), ecorePackage.getEString(), \"classname\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnalysisComponent_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIAnalysisComponent.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(treeEClass, Tree.class, \"Tree\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTree_Children(), this.getNode(), null, \"children\", null, 0, -1, Tree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeEClass, Node.class, \"Node\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNode_Children(), this.getNode(), null, \"children\", null, 0, -1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNode_Name(), ecorePackage.getEString(), \"name\", \"Node\", 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// gmf.diagram\n\t\tcreateGmfAnnotations();\n\t\t// gmf.node\n\t\tcreateGmf_1Annotations();\n\t\t// gmf.compartment\n\t\tcreateGmf_2Annotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI);\n\t\tContextPackage theContextPackage = (ContextPackage)EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI);\n\t\tJavaPackage theJavaPackage = (JavaPackage)EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\taudioEClass.getESuperTypes().add(theEntityPackage.getEntityIdentifiable());\n\t\taudioRecorderEClass.getESuperTypes().add(theJavaPackage.getJavaCloseable());\n\t\taudioPlayerEClass.getESuperTypes().add(theJavaPackage.getJavaCloseable());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(audioEClass, Audio.class, \"Audio\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAudio_Content(), ecorePackage.getEByteArray(), \"content\", null, 0, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAudio_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAudio_Text(), ecorePackage.getEString(), \"text\", null, 1, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(audioManagerEClass, AudioManager.class, \"AudioManager\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tEOperation op = addEOperation(audioManagerEClass, this.getAudioRecorder(), \"record\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(audioManagerEClass, this.getAudioPlayer(), \"play\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getAudio(), \"audio\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"start\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"waitEnd\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(audioManagerEClass, this.getAudioPlayer(), \"play\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getAudioStyle(), \"style\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"text\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"start\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"waitEnd\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(audioRecorderEClass, AudioRecorder.class, \"AudioRecorder\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\taddEOperation(audioRecorderEClass, null, \"close\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, theJavaPackage.getJavaOutputStream(), \"getOutputStream\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, ecorePackage.getEBoolean(), \"isStopped\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, null, \"start\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(audioPlayerEClass, AudioPlayer.class, \"AudioPlayer\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\taddEOperation(audioPlayerEClass, null, \"close\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, this.getAudio(), \"getAudio\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, ecorePackage.getEBoolean(), \"isStopped\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, null, \"start\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(audioStyleEEnum, AudioStyle.class, \"AudioStyle\");\n\t\taddEEnumLiteral(audioStyleEEnum, AudioStyle.A);\n\t\taddEEnumLiteral(audioStyleEEnum, AudioStyle.B);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "private Collection<File> getInputFiles(String docRoot) {\r\n File dir = new File(docRoot);\r\n if (testXMLDir == null || !dir.isDirectory() || !dir.canRead()) {\r\n throw new RuntimeException(\"unable to read from this directory: \" + testXMLDir);\r\n }\r\n Collection<File> xmlFiles = new ArrayList<File>();\r\n xmlFiles = listFileNames(dir,xmlFiles);\r\n return xmlFiles;\r\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tServiceCIMPackage theServiceCIMPackage = (ServiceCIMPackage)EPackage.Registry.INSTANCE.getEPackage(ServiceCIMPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tauthorizableResourceEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannResourceEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tannPropertyEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tauthorizationSubjectEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannCRUDActivityEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tnewPropertyEClass.getESuperTypes().add(this.getAnnotation());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(annotationModelEClass, AnnotationModel.class, \"AnnotationModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAnnotationModel_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotatedElement(), this.getAnnotatedElement(), null, \"hasAnnotatedElement\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotation(), this.getAnnotation(), null, \"hasAnnotation\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(authorizableResourceEClass, AuthorizableResource.class, \"AuthorizableResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizableResource_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAuthorizableResource_IsAuthorizableResource(), this.getAnnResource(), null, \"isAuthorizableResource\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAuthorizableResource_BTrackOwnership(), ecorePackage.getEBoolean(), \"bTrackOwnership\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicySetEClass, ResourceAccessPolicySet.class, \"ResourceAccessPolicySet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_PolicyCombiningAlgorithm(), this.getCombiningAlgorithm(), \"policyCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicy(), this.getResourceAccessPolicy(), null, \"hasResourceAccessPolicy\", null, 1, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 0, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotatedElementEClass, AnnotatedElement.class, \"AnnotatedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(annResourceEClass, AnnResource.class, \"AnnResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnResource_AnnotatesResource(), theServiceCIMPackage.getResource(), null, \"annotatesResource\", null, 1, 1, AnnResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicyEClass, ResourceAccessPolicy.class, \"ResourceAccessPolicy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicy_RuleCombiningAlgorithm(), this.getCombiningAlgorithm(), \"ruleCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasApplyCondition(), this.getCondition(), null, \"hasApplyCondition\", null, 0, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasResourceAccessRule(), this.getResourceAccessRule(), null, \"hasResourceAccessRule\", null, 1, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(conditionEClass, Condition.class, \"Condition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getCondition_Operator(), this.getOperator(), \"operator\", \"UNDEFINED\", 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasLeftSideOperand(), this.getAttribute(), null, \"hasLeftSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasRightSideOperand(), this.getAttribute(), null, \"hasRightSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAttribute_AttributeCategory(), this.getAttributeCategory(), \"attributeCategory\", null, 1, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeExistingProperty(), this.getAnnProperty(), null, \"isAttributeExistingProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAttribute_Value(), ecorePackage.getEString(), \"value\", null, 0, -1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeNewProperty(), this.getNewProperty(), null, \"isAttributeNewProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeResource(), this.getAnnResource(), null, \"isAttributeResource\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annPropertyEClass, AnnProperty.class, \"AnnProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnProperty_AnnotatesProperty(), theServiceCIMPackage.getProperty(), null, \"annotatesProperty\", null, 1, 1, AnnProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessRuleEClass, ResourceAccessRule.class, \"ResourceAccessRule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getResourceAccessRule_HasMatchCondition(), this.getCondition(), null, \"hasMatchCondition\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_RuleType(), this.getRuleType(), \"ruleType\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessRule_HasAllowedAction(), this.getAllowedAction(), null, \"hasAllowedAction\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(authorizationSubjectEClass, AuthorizationSubject.class, \"AuthorizationSubject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizationSubject_IsAuthorizationSubject(), this.getAnnResource(), null, \"isAuthorizationSubject\", null, 1, 1, AuthorizationSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annCRUDActivityEClass, AnnCRUDActivity.class, \"AnnCRUDActivity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnCRUDActivity_AnnotatesCRUDActivity(), theServiceCIMPackage.getCRUDActivity(), null, \"annotatesCRUDActivity\", null, 1, 1, AnnCRUDActivity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(allowedActionEClass, AllowedAction.class, \"AllowedAction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAllowedAction_IsAllowedAction(), this.getAnnCRUDActivity(), null, \"isAllowedAction\", null, 1, 1, AllowedAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(newPropertyEClass, NewProperty.class, \"NewProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getNewProperty_BelongsToResource(), this.getAnnResource(), null, \"belongsToResource\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Type(), ecorePackage.getEString(), \"type\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_BIsUnique(), ecorePackage.getEBoolean(), \"bIsUnique\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(combiningAlgorithmEEnum, CombiningAlgorithm.class, \"CombiningAlgorithm\");\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_UNLESS_PERMIT);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_UNLESS_DENY);\r\n\r\n\t\tinitEEnum(operatorEEnum, Operator.class, \"Operator\");\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_NOT_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.REGEX);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.UNDEFINED);\r\n\r\n\t\tinitEEnum(attributeCategoryEEnum, AttributeCategory.class, \"AttributeCategory\");\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESS_SUBJECT);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESSED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.PARENT_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CHILD_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.INCLUDED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CONSTANT);\r\n\r\n\t\tinitEEnum(ruleTypeEEnum, RuleType.class, \"RuleType\");\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.PERMIT);\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.DENY);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tjTypeEClass.getESuperTypes().add(this.getJElement());\n\t\tjTypedElementEClass.getESuperTypes().add(this.getJElement());\n\t\tjPrimitiveEClass.getESuperTypes().add(this.getJType());\n\t\tjEnumerationEClass.getESuperTypes().add(this.getJType());\n\t\tjClassEClass.getESuperTypes().add(this.getJType());\n\t\tjAttributeEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjOperationEClass.getESuperTypes().add(this.getJElement());\n\t\tjParameterEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjRelationshipEClass.getESuperTypes().add(this.getJElement());\n\t\tjRoleEClass.getESuperTypes().add(this.getJElement());\n\t\tjLiteralEClass.getESuperTypes().add(this.getJElement());\n\t\tjPackageEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateMachineEClass.getESuperTypes().add(this.getJElement());\n\t\tjTransitionEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateEClass.getESuperTypes().add(this.getJElement());\n\t\tjGuardEClass.getESuperTypes().add(this.getJElement());\n\t\tjModelEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiMenuItemEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAttributeGroupEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiFilterEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAliasEClass.getESuperTypes().add(this.getJElement());\n\t\tjInfoEClass.getESuperTypes().add(this.getJElement());\n\t\tjSubmodelEClass.getESuperTypes().add(this.getJElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(jElementEClass, JElement.class, \"JElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJElement_Uuid(), ecorePackage.getEString(), \"uuid\", null, 1, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_ShortName(), ecorePackage.getEString(), \"shortName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_FullName(), ecorePackage.getEString(), \"fullName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Framework(), ecorePackage.getEBoolean(), \"framework\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Participates(), this.getJLayer(), \"participates\", null, 0, -1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Visibility(), this.getJVisibility(), \"visibility\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTypeEClass, JType.class, \"JType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(jTypedElementEClass, JTypedElement.class, \"JTypedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTypedElement_Type(), this.getJType(), null, \"type\", null, 1, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Ordered(), ecorePackage.getEBoolean(), \"ordered\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPrimitiveEClass, JPrimitive.class, \"JPrimitive\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPrimitive_Package(), this.getJPackage(), this.getJPackage_Primitives(), \"package\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJPrimitive_UseForIdType(), ecorePackage.getEBoolean(), \"useForIdType\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jEnumerationEClass, JEnumeration.class, \"JEnumeration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJEnumeration_Package(), this.getJPackage(), this.getJPackage_Enumerations(), \"package\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_Literals(), this.getJLiteral(), this.getJLiteral_Enumeration(), \"literals\", null, 0, -1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_ClassRepresentation(), this.getJClass(), this.getJClass_FixedEnum(), \"classRepresentation\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jClassEClass, JClass.class, \"JClass\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJClass_Abstract(), ecorePackage.getEBoolean(), \"abstract\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_StateMachines(), this.getJStateMachine(), this.getJStateMachine_OwnerClass(), \"stateMachines\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Operations(), this.getJOperation(), this.getJOperation_OwnerClass(), \"operations\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributeOrder(), this.getJUIAttributeGroup(), null, \"attributeOrder\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributesForListing(), this.getJAttribute(), null, \"attributesForListing\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_FixedEnum(), this.getJEnumeration(), this.getJEnumeration_ClassRepresentation(), \"fixedEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenant(), ecorePackage.getEBoolean(), \"representsTenant\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_TenantMember(), ecorePackage.getEBoolean(), \"tenantMember\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Representation(), this.getJAttribute(), null, \"representation\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnum(), ecorePackage.getEBoolean(), \"representsEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenantUser(), ecorePackage.getEBoolean(), \"representsTenantUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsUser(), ecorePackage.getEBoolean(), \"representsUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Supertype(), this.getJClass(), null, \"supertype\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Package(), this.getJPackage(), this.getJPackage_Classes(), \"package\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Roles(), this.getJRole(), this.getJRole_OwnerClass(), \"roles\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Attributes(), this.getJAttribute(), this.getJAttribute_OwnerClass(), \"attributes\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_BusinessSingleton(), ecorePackage.getEBoolean(), \"businessSingleton\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Aliases(), this.getJUIAlias(), this.getJUIAlias_OwnerClass(), \"aliases\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnumValue(), ecorePackage.getEBoolean(), \"representsEnumValue\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jAttributeEClass, JAttribute.class, \"JAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJAttribute_Placeholder(), ecorePackage.getEString(), \"placeholder\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Regexp(), ecorePackage.getEString(), \"regexp\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Mandatory(), ecorePackage.getEBoolean(), \"mandatory\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Decimals(), ecorePackage.getEInt(), \"decimals\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Technical(), ecorePackage.getEBoolean(), \"technical\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJAttribute_OwnerClass(), this.getJClass(), this.getJClass_Attributes(), \"ownerClass\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_UiNoSearch(), ecorePackage.getEBoolean(), \"uiNoSearch\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_RepresentsId(), ecorePackage.getEBoolean(), \"representsId\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jOperationEClass, JOperation.class, \"JOperation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJOperation_ClassBased(), ecorePackage.getEBoolean(), \"classBased\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_OwnerClass(), this.getJClass(), this.getJClass_Operations(), \"ownerClass\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Parameters(), this.getJParameter(), this.getJParameter_OwnerOperation(), \"parameters\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Transition(), this.getJTransition(), this.getJTransition_ExecutingOperation(), \"transition\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Bulk(), ecorePackage.getEBoolean(), \"bulk\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Kind(), this.getJOperationKind(), \"kind\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_UiMustConfirm(), ecorePackage.getEBoolean(), \"uiMustConfirm\", \"false\", 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jParameterEClass, JParameter.class, \"JParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJParameter_OwnerOperation(), this.getJOperation(), this.getJOperation_Parameters(), \"ownerOperation\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Input(), ecorePackage.getEBoolean(), \"input\", \"true\", 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRelationshipEClass, JRelationship.class, \"JRelationship\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJRelationship_Package(), this.getJPackage(), this.getJPackage_Relationships(), \"package\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRelationship_Roles(), this.getJRole(), this.getJRole_OwnerRelationship(), \"roles\", null, 2, 2, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRelationship_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRoleEClass, JRole.class, \"JRole\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJRole_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Navigable(), ecorePackage.getEBoolean(), \"navigable\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Ordered(), ecorePackage.getEBoolean(), \"ordered\", \"true\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerRelationship(), this.getJRelationship(), this.getJRelationship_Roles(), \"ownerRelationship\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedExpression(), ecorePackage.getEString(), \"derivedExpression\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedDescription(), ecorePackage.getEString(), \"derivedDescription\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Kind(), this.getJAssociationKind(), \"kind\", \"ASSOCIATION\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_OptionScript(), ecorePackage.getEString(), \"optionScript\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerClass(), this.getJClass(), this.getJClass_Roles(), \"ownerClass\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jLiteralEClass, JLiteral.class, \"JLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJLiteral_Enumeration(), this.getJEnumeration(), this.getJEnumeration_Literals(), \"enumeration\", null, 0, 1, JLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPackageEClass, JPackage.class, \"JPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPackage_Enumerations(), this.getJEnumeration(), this.getJEnumeration_Package(), \"enumerations\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Primitives(), this.getJPrimitive(), this.getJPrimitive_Package(), \"primitives\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Relationships(), this.getJRelationship(), this.getJRelationship_Package(), \"relationships\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Children(), this.getJPackage(), this.getJPackage_Parent(), \"children\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Parent(), this.getJPackage(), this.getJPackage_Children(), \"parent\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_OwnerModel(), this.getJModel(), this.getJModel_Packages(), \"ownerModel\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Classes(), this.getJClass(), this.getJClass_Package(), \"classes\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateMachineEClass, JStateMachine.class, \"JStateMachine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJStateMachine_OwnerClass(), this.getJClass(), this.getJClass_StateMachines(), \"ownerClass\", null, 0, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_States(), this.getJState(), this.getJState_OwnerStateMachine(), \"states\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_Transitions(), this.getJTransition(), this.getJTransition_StateMachine(), \"transitions\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_CorrespondingEnum(), this.getJEnumeration(), null, \"correspondingEnum\", null, 1, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTransitionEClass, JTransition.class, \"JTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTransition_StateMachine(), this.getJStateMachine(), this.getJStateMachine_Transitions(), \"stateMachine\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_Guard(), this.getJGuard(), this.getJGuard_Transition(), \"guard\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ToState(), this.getJState(), this.getJState_IncomingTransitions(), \"toState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_FromState(), this.getJState(), this.getJState_OutgoingTransitions(), \"fromState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ExecutingOperation(), this.getJOperation(), this.getJOperation_Transition(), \"executingOperation\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateEClass, JState.class, \"JState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJState_OwnerStateMachine(), this.getJStateMachine(), this.getJStateMachine_States(), \"ownerStateMachine\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_IncomingTransitions(), this.getJTransition(), this.getJTransition_ToState(), \"incomingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_OutgoingTransitions(), this.getJTransition(), this.getJTransition_FromState(), \"outgoingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_InitialState(), ecorePackage.getEBoolean(), \"initialState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_FinalState(), ecorePackage.getEBoolean(), \"finalState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jGuardEClass, JGuard.class, \"JGuard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJGuard_Transition(), this.getJTransition(), this.getJTransition_Guard(), \"transition\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Expression(), ecorePackage.getEString(), \"expression\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jModelEClass, JModel.class, \"JModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJModel_Packages(), this.getJPackage(), this.getJPackage_OwnerModel(), \"packages\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJModel_PackagePrefix(), ecorePackage.getEString(), \"packagePrefix\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_ApplicationTop(), this.getJPackage(), null, \"applicationTop\", null, 1, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_RootMenuItems(), this.getJUIMenuItem(), null, \"rootMenuItems\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_Info(), this.getJInfo(), null, \"info\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiMenuItemEClass, JUIMenuItem.class, \"JUIMenuItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIMenuItem_Children(), this.getJUIMenuItem(), this.getJUIMenuItem_Parent(), \"children\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Parent(), this.getJUIMenuItem(), this.getJUIMenuItem_Children(), \"parent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Represent(), this.getJClass(), null, \"represent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Uifilters(), this.getJUIFilter(), null, \"uifilters\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIMenuItem_Type(), this.getJMenuItemType(), \"type\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Alias(), this.getJUIAlias(), null, \"alias\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAttributeGroupEClass, JUIAttributeGroup.class, \"JUIAttributeGroup\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAttributeGroup_Attributes(), this.getJAttribute(), null, \"attributes\", null, 0, -1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIAttributeGroup_Position(), ecorePackage.getEInt(), \"position\", null, 0, 1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiFilterEClass, JUIFilter.class, \"JUIFilter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIFilter_Attribute(), this.getJAttribute(), null, \"attribute\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Operator(), this.getJOperator(), \"operator\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAliasEClass, JUIAlias.class, \"JUIAlias\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAlias_OwnerClass(), this.getJClass(), this.getJClass_Aliases(), \"ownerClass\", null, 1, 1, JUIAlias.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jInfoEClass, JInfo.class, \"JInfo\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJInfo_Submodels(), this.getJSubmodel(), null, \"submodels\", null, 0, -1, JInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jSubmodelEClass, JSubmodel.class, \"JSubmodel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJSubmodel_Version(), ecorePackage.getEString(), \"version\", null, 0, 1, JSubmodel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(jVisibilityEEnum, JVisibility.class, \"JVisibility\");\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PUBLIC);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PROTECTED);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PACKAGE);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PRIVATE);\n\n\t\tinitEEnum(jAssociationKindEEnum, JAssociationKind.class, \"JAssociationKind\");\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.ASSOCIATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.AGGREGATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.COMPOSITION);\n\n\t\tinitEEnum(jOperationKindEEnum, JOperationKind.class, \"JOperationKind\");\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.CUSTOM);\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.QUERY);\n\n\t\tinitEEnum(jLayerEEnum, JLayer.class, \"JLayer\");\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.ALL);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERSISTENCE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SERVICE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.OPERATION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.REST);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.UI);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.DOCUMENT);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERMISSION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SCREEN);\n\n\t\tinitEEnum(jMenuItemTypeEEnum, JMenuItemType.class, \"JMenuItemType\");\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.OBJECT);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.LIST);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.NONE);\n\n\t\tinitEEnum(jOperatorEEnum, JOperator.class, \"JOperator\");\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.EQ);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.NE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LTE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GTE);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public boolean checkPepXmlFiles(Appendable err, UIAlerter alerter, Component comp) throws IOException {\n if (Globals.pepXmlFiles == null || Globals.pepXmlFiles.isEmpty()) {\n if (err != null) {\n err.append(\"No pepXML files were found in '\" + Globals.srcDir + \"'\\n\");\n }\n if (alerter != null) {\n alerter.alert(comp);\n }\n return false;\n }\n return true;\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tfticBaseEClass.getESuperTypes().add(ecorePackage.getEObject());\n\t\titemEClass.getESuperTypes().add(this.getFTICBase());\n\t\thypertextEClass.getESuperTypes().add(this.getFTICBase());\n\t\ttextElementEClass.getESuperTypes().add(this.getFTICBase());\n\t\tlinkEClass.getESuperTypes().add(this.getTextElement());\n\t\ttermEClass.getESuperTypes().add(this.getTextElement());\n\t\tfactorTableEClass.getESuperTypes().add(this.getFTICBase());\n\t\tftEntryEClass.getESuperTypes().add(this.getItem());\n\t\tfactorCategoryEClass.getESuperTypes().add(this.getFTEntry());\n\t\tfactorEClass.getESuperTypes().add(this.getFTEntry());\n\t\tissueCardEClass.getESuperTypes().add(this.getItem());\n\t\tstrategyEClass.getESuperTypes().add(this.getItem());\n\t\tinfluencingFactorEClass.getESuperTypes().add(this.getFTICBase());\n\t\trelatedIssueEClass.getESuperTypes().add(this.getFTICBase());\n\t\tfticPackageEClass.getESuperTypes().add(this.getFTICBase());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(fticBaseEClass, FTICBase.class, \"FTICBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(itemEClass, Item.class, \"Item\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(hypertextEClass, Hypertext.class, \"Hypertext\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getHypertext_Content(), this.getTextElement(), null, \"content\", null, 0, -1, Hypertext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(textElementEClass, TextElement.class, \"TextElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTextElement_VisibleContent(), ecorePackage.getEString(), \"visibleContent\", null, 0, 1, TextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(linkEClass, Link.class, \"Link\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLink_Target(), ecorePackage.getEObject(), null, \"target\", null, 1, 1, Link.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorTableEClass, FactorTable.class, \"FactorTable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFactorTable_Type(), this.getCategoryType(), \"type\", null, 0, 1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactorTable_Entries(), this.getFTEntry(), null, \"entries\", null, 0, -1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ftEntryEClass, FTEntry.class, \"FTEntry\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFTEntry_Numbering(), ecorePackage.getEString(), \"numbering\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTEntry_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTEntry_Children(), this.getFTEntry(), null, \"children\", null, 0, -1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(factorCategoryEClass, FactorCategory.class, \"FactorCategory\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorEClass, Factor.class, \"Factor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Flexibility(), this.getHypertext(), null, \"flexibility\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Changeability(), this.getHypertext(), null, \"changeability\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Influence(), this.getHypertext(), null, \"influence\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFactor_Priority(), ecorePackage.getEString(), \"priority\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(issueCardEClass, IssueCard.class, \"IssueCard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIssueCard_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Description(), this.getHypertext(), null, \"description\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Solution(), this.getHypertext(), null, \"solution\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Strategies(), this.getStrategy(), null, \"strategies\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_InfluencingFactors(), this.getInfluencingFactor(), null, \"influencingFactors\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_RelatedIssues(), this.getRelatedIssue(), null, \"relatedIssues\", null, 0, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(strategyEClass, Strategy.class, \"Strategy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getStrategy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStrategy_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(influencingFactorEClass, InfluencingFactor.class, \"InfluencingFactor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInfluencingFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInfluencingFactor_Factor(), this.getFactor(), null, \"factor\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relatedIssueEClass, RelatedIssue.class, \"RelatedIssue\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelatedIssue_Issue(), this.getItem(), null, \"Issue\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelatedIssue_Description(), this.getHypertext(), null, \"description\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(fticPackageEClass, FTICPackage.class, \"FTICPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFTICPackage_Tables(), this.getFactorTable(), null, \"tables\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTICPackage_IssueCards(), this.getIssueCard(), null, \"issueCards\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTICPackage_Name(), ecorePackage.getEString(), \"Name\", null, 1, 1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(categoryTypeEEnum, CategoryType.class, \"CategoryType\");\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.ORGANIZATIONAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.TECHNOLOGICAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.PRODUCT);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void testFiles(AugeasProxy augeas){\n \t System.out.print(\"Test if all included configuration files was discovered and loaded.\");\n \t AugeasConfigurationApache config = (AugeasConfigurationApache)augeas.getConfiguration();\n \t List<File> configFiles = config.getAllConfigurationFiles();\n \t \n \t /*\n \t * There are three files one main file one which is included from main file and one which is included from \n \t * included file and which is declared in IfModule. All of them must be discovered.\n \t */\n\t boolean found=false;\n \t for (File confFile : configFiles){\n\t found = false;\n \t for (String fileName : ApacheTestConstants.CONFIG_FILE_NAMES){\n \t if (!confFile.getName().equals(fileName))\n\t found= true;\n \t }\n \t assert found;\n \t }\n System.out.println(\" [success!]\");\n \t }", "public boolean isSetFileBody() {\n return this.fileBody != null;\n }", "@Override\r\n \t\tprotected boolean validatePage() {\r\n \t\t\tif (super.validatePage()) {\r\n \t\t\t\tString extension = new Path(getFileName()).getFileExtension();\r\n \t\t\t\tif (extension == null || !FILE_EXTENSIONS.contains(extension)) {\r\n \t\t\t\t\tString key = FILE_EXTENSIONS.size() > 1 ? \"_WARN_FilenameExtensions\" : \"_WARN_FilenameExtension\";\r\n \t\t\t\t\tsetErrorMessage(Reqif10EditorPlugin.INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));\r\n \t\t\t\t\treturn false;\r\n \t\t\t\t}\r\n \t\t\t\treturn true;\r\n \t\t\t}\r\n \t\t\treturn false;\r\n \t\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\torg.abchip.mimo.entity.EntityPackage theEntityPackage_1 = (org.abchip.mimo.entity.EntityPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.entity.EntityPackage.eNS_URI);\n\t\tPartyPackage thePartyPackage_1 = (PartyPackage)EPackage.Registry.INSTANCE.getEPackage(PartyPackage.eNS_URI);\n\t\tStatusPackage theStatusPackage = (StatusPackage)EPackage.Registry.INSTANCE.getEPackage(StatusPackage.eNS_URI);\n\t\tContentPackage theContentPackage = (ContentPackage)EPackage.Registry.INSTANCE.getEPackage(ContentPackage.eNS_URI);\n\t\tPositionPackage thePositionPackage = (PositionPackage)EPackage.Registry.INSTANCE.getEPackage(PositionPackage.eNS_URI);\n\t\tPaymentPackage thePaymentPackage = (PaymentPackage)EPackage.Registry.INSTANCE.getEPackage(PaymentPackage.eNS_URI);\n\t\tTrainingsPackage theTrainingsPackage = (TrainingsPackage)EPackage.Registry.INSTANCE.getEPackage(TrainingsPackage.eNS_URI);\n\t\tWorkeffortPackage theWorkeffortPackage = (WorkeffortPackage)EPackage.Registry.INSTANCE.getEPackage(WorkeffortPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tEGenericType g2 = createEGenericType(this.getPartyQualType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tpartyQualEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tpartyQualEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getPartyQual());\n\t\tg1.getETypeArguments().add(g2);\n\t\tpartyQualTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tpartyQualTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tpartyResumeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpartyResumeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tpartySkillEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpartySkillEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tperfRatingTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperfRatingTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperfReviewEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getPerfReviewItemType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tperfReviewItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getPerfReviewItem());\n\t\tg1.getETypeArguments().add(g2);\n\t\tperfReviewItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tperformanceNoteEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperformanceNoteEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tpersonTrainingEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpersonTrainingEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tresponsibilityTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tresponsibilityTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tskillTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tskillTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\ttrainingClassTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\ttrainingClassTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(partyQualEClass, PartyQual.class, \"PartyQual\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPartyQual_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_PartyQualType(), this.getPartyQualType(), null, \"partyQualType\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_QualificationDesc(), ecorePackage.getEString(), \"qualificationDesc\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_Title(), ecorePackage.getEString(), \"title\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_VerifStatus(), theStatusPackage.getStatusItem(), null, \"verifStatus\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partyQualTypeEClass, PartyQualType.class, \"PartyQualType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPartyQualType_PartyQualTypeId(), ecorePackage.getEString(), \"partyQualTypeId\", null, 1, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQualType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQualType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQualType_ParentType(), this.getPartyQualType(), null, \"parentType\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partyResumeEClass, PartyResume.class, \"PartyResume\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPartyResume_ResumeId(), ecorePackage.getEString(), \"resumeId\", null, 1, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyResume_Content(), theContentPackage.getContent(), null, \"content\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyResume_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyResume_ResumeDate(), ecorePackage.getEDate(), \"resumeDate\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyResume_ResumeText(), ecorePackage.getEString(), \"resumeText\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partySkillEClass, PartySkill.class, \"PartySkill\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPartySkill_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartySkill_SkillType(), this.getSkillType(), null, \"skillType\", null, 1, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_Rating(), ecorePackage.getELong(), \"rating\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_SkillLevel(), ecorePackage.getELong(), \"skillLevel\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_StartedUsingDate(), ecorePackage.getEDate(), \"startedUsingDate\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_YearsExperience(), ecorePackage.getELong(), \"yearsExperience\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfRatingTypeEClass, PerfRatingType.class, \"PerfRatingType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPerfRatingType_PerfRatingTypeId(), ecorePackage.getEString(), \"perfRatingTypeId\", null, 1, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfRatingType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfRatingType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfRatingType_ParentType(), this.getPerfRatingType(), null, \"parentType\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewEClass, PerfReview.class, \"PerfReview\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerfReview_EmployeeParty(), thePartyPackage_1.getParty(), null, \"employeeParty\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_EmployeeRoleTypeId(), ecorePackage.getEString(), \"employeeRoleTypeId\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_PerfReviewId(), ecorePackage.getEString(), \"perfReviewId\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_EmplPosition(), thePositionPackage.getEmplPosition(), null, \"emplPosition\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_ManagerParty(), thePartyPackage_1.getParty(), null, \"managerParty\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_ManagerRoleTypeId(), ecorePackage.getEString(), \"managerRoleTypeId\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_Payment(), thePaymentPackage.getPayment(), null, \"payment\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewItemEClass, PerfReviewItem.class, \"PerfReviewItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerfReviewItem_EmployeeParty(), thePartyPackage_1.getParty(), null, \"employeeParty\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_EmployeeRoleTypeId(), ecorePackage.getEString(), \"employeeRoleTypeId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_PerfReviewId(), ecorePackage.getEString(), \"perfReviewId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_PerfReviewItemSeqId(), ecorePackage.getEString(), \"perfReviewItemSeqId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItem_PerfRatingType(), this.getPerfRatingType(), null, \"perfRatingType\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItem_PerfReviewItemType(), this.getPerfReviewItemType(), null, \"perfReviewItemType\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewItemTypeEClass, PerfReviewItemType.class, \"PerfReviewItemType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPerfReviewItemType_PerfReviewItemTypeId(), ecorePackage.getEString(), \"perfReviewItemTypeId\", null, 1, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItemType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItemType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItemType_ParentType(), this.getPerfReviewItemType(), null, \"parentType\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(performanceNoteEClass, PerformanceNote.class, \"PerformanceNote\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerformanceNote_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_RoleTypeId(), ecorePackage.getEString(), \"roleTypeId\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_CommunicationDate(), ecorePackage.getEDate(), \"communicationDate\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(personTrainingEClass, PersonTraining.class, \"PersonTraining\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPersonTraining_Party(), thePartyPackage_1.getPerson(), null, \"party\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_TrainingClassType(), this.getTrainingClassType(), null, \"trainingClassType\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_ApprovalStatus(), ecorePackage.getEString(), \"approvalStatus\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_Approver(), thePartyPackage_1.getPerson(), null, \"approver\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_Reason(), ecorePackage.getEString(), \"reason\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_TrainingRequest(), theTrainingsPackage.getTrainingRequest(), null, \"trainingRequest\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_WorkEffort(), theWorkeffortPackage.getWorkEffort(), null, \"workEffort\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(responsibilityTypeEClass, ResponsibilityType.class, \"ResponsibilityType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getResponsibilityType_ResponsibilityTypeId(), ecorePackage.getEString(), \"responsibilityTypeId\", null, 1, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getResponsibilityType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getResponsibilityType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getResponsibilityType_ParentType(), this.getResponsibilityType(), null, \"parentType\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(skillTypeEClass, SkillType.class, \"SkillType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSkillType_SkillTypeId(), ecorePackage.getEString(), \"skillTypeId\", null, 1, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSkillType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSkillType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSkillType_ParentType(), this.getSkillType(), null, \"parentType\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(trainingClassTypeEClass, TrainingClassType.class, \"TrainingClassType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTrainingClassType_TrainingClassTypeId(), ecorePackage.getEString(), \"trainingClassTypeId\", null, 1, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrainingClassType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrainingClassType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTrainingClassType_ParentType(), this.getTrainingClassType(), null, \"parentType\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// mimo-ent-frame\n\t\tcreateMimoentframeAnnotations();\n\t\t// mimo-ent-slot\n\t\tcreateMimoentslotAnnotations();\n\t\t// mimo-ent-format\n\t\tcreateMimoentformatAnnotations();\n\t}", "@Test(expected = PipelineException.class)\n public void testValidateManifestWithMissingFiles() {\n KicIngester.validateManifest(new File(SCP_DATA_DIR),\n \"Manifest.missing-files\", KicIngester.getScpFiles(new File(\n SCP_DATA_DIR), SCP_FILENAME_PATTERN));\n }", "@Override\n\tpublic boolean validateContent()\n\t{\n\t\treturn true;\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getElement());\n\t\tidentifiedElementEClass.getESuperTypes().add(this.getElement());\n\t\timportEClass.getESuperTypes().add(this.getElement());\n\t\tinstanceEClass.getESuperTypes().add(this.getElement());\n\t\taxiomEClass.getESuperTypes().add(this.getElement());\n\t\tassertionEClass.getESuperTypes().add(this.getElement());\n\t\tpredicateEClass.getESuperTypes().add(this.getElement());\n\t\targumentEClass.getESuperTypes().add(this.getElement());\n\t\tliteralEClass.getESuperTypes().add(this.getElement());\n\t\tontologyEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tmemberEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tvocabularyBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tdescriptionBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tvocabularyEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tvocabularyBundleEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tdescriptionEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tdescriptionBundleEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tstatementEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyMemberEClass.getESuperTypes().add(this.getMember());\n\t\tdescriptionMemberEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getDescriptionMember());\n\t\ttermEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\truleEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tbuiltInEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getTerm());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tpropertyEClass.getESuperTypes().add(this.getTerm());\n\t\ttypeEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\trelationBaseEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tclassifierEClass.getESuperTypes().add(this.getType());\n\t\tscalarEClass.getESuperTypes().add(this.getType());\n\t\tentityEClass.getESuperTypes().add(this.getClassifier());\n\t\tstructureEClass.getESuperTypes().add(this.getClassifier());\n\t\taspectEClass.getESuperTypes().add(this.getEntity());\n\t\tconceptEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getRelationBase());\n\t\tannotationPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tsemanticPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\trelationEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tforwardRelationEClass.getESuperTypes().add(this.getRelation());\n\t\treverseRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelationBase());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getDescriptionStatement());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tconceptInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\trelationInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\tstructureInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tkeyAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tspecializationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tinstanceEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRestrictionAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tliteralEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tclassifierEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tscalarEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRangeRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyCardinalityRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyValueRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertySelfRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\ttypeAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tpropertyValueAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tunaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbinaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbuiltInPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\ttypePredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tpropertyPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tsameAsPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tdifferentFromPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tquotedLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tintegerLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdecimalLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdoubleLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tbooleanLiteralEClass.getESuperTypes().add(this.getLiteral());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(elementEClass, Element.class, \"Element\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getElement__GetOntology(), this.getOntology(), \"getOntology\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getElement__ExtraValidate__DiagnosticChain_Map(), theEcorePackage.getEBoolean(), \"extraValidate\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(theEcorePackage.getEMap());\n\t\tEGenericType g2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Property(), this.getAnnotationProperty(), null, \"property\", null, 1, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_ReferenceValue(), this.getMember(), null, \"referenceValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_OwningElement(), this.getIdentifiedElement(), this.getIdentifiedElement_OwnedAnnotations(), \"owningElement\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetAnnotatedElement(), this.getIdentifiedElement(), \"getAnnotatedElement\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(identifiedElementEClass, IdentifiedElement.class, \"IdentifiedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIdentifiedElement_OwnedAnnotations(), this.getAnnotation(), this.getAnnotation_OwningElement(), \"ownedAnnotations\", null, 0, -1, IdentifiedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIdentifiedElement__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(importEClass, Import.class, \"Import\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImport_Kind(), this.getImportKind(), \"kind\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Prefix(), this.getID(), \"prefix\", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImport_OwningOntology(), this.getOntology(), this.getOntology_OwnedImports(), \"owningOntology\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEClass, Instance.class, \"Instance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstance_OwnedPropertyValues(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_OwningInstance(), \"ownedPropertyValues\", null, 0, -1, Instance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(axiomEClass, Axiom.class, \"Axiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(assertionEClass, Assertion.class, \"Assertion\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(predicateEClass, Predicate.class, \"Predicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPredicate_AntecedentRule(), this.getRule(), this.getRule_Antecedent(), \"antecedentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPredicate_ConsequentRule(), this.getRule(), this.getRule_Consequent(), \"consequentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(argumentEClass, Argument.class, \"Argument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArgument_Variable(), this.getID(), \"variable\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Literal(), this.getLiteral(), null, \"literal\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Instance(), this.getNamedInstance(), null, \"instance\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(literalEClass, Literal.class, \"Literal\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getLiteral__GetValue(), theEcorePackage.getEJavaObject(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetStringValue(), theEcorePackage.getEString(), \"getStringValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(ontologyEClass, Ontology.class, \"Ontology\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOntology_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOntology_Prefix(), this.getID(), \"prefix\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntology_OwnedImports(), this.getImport(), this.getImport_OwningOntology(), \"ownedImports\", null, 0, -1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(memberEClass, Member.class, \"Member\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMember_Name(), this.getID(), \"name\", null, 0, 1, Member.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__IsRef(), theEcorePackage.getEBoolean(), \"isRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__Resolve(), this.getMember(), \"resolve\", 1, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetAbbreviatedIri(), theEcorePackage.getEString(), \"getAbbreviatedIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBoxEClass, VocabularyBox.class, \"VocabularyBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionBoxEClass, DescriptionBox.class, \"DescriptionBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyEClass, Vocabulary.class, \"Vocabulary\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabulary_OwnedStatements(), this.getVocabularyStatement(), this.getVocabularyStatement_OwningVocabulary(), \"ownedStatements\", null, 0, -1, Vocabulary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBundleEClass, VocabularyBundle.class, \"VocabularyBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionEClass, Description.class, \"Description\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescription_OwnedStatements(), this.getDescriptionStatement(), this.getDescriptionStatement_OwningDescription(), \"ownedStatements\", null, 0, -1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionBundleEClass, DescriptionBundle.class, \"DescriptionBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(statementEClass, Statement.class, \"Statement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyMemberEClass, VocabularyMember.class, \"VocabularyMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionMemberEClass, DescriptionMember.class, \"DescriptionMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyStatementEClass, VocabularyStatement.class, \"VocabularyStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabularyStatement_OwningVocabulary(), this.getVocabulary(), this.getVocabulary_OwnedStatements(), \"owningVocabulary\", null, 1, 1, VocabularyStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionStatementEClass, DescriptionStatement.class, \"DescriptionStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescriptionStatement_OwningDescription(), this.getDescription(), this.getDescription_OwnedStatements(), \"owningDescription\", null, 1, 1, DescriptionStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ruleEClass, Rule.class, \"Rule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRule_Ref(), this.getRule(), null, \"ref\", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Antecedent(), this.getPredicate(), this.getPredicate_AntecedentRule(), \"antecedent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Consequent(), this.getPredicate(), this.getPredicate_ConsequentRule(), \"consequent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInEClass, BuiltIn.class, \"BuiltIn\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltIn_Ref(), this.getBuiltIn(), null, \"ref\", null, 0, 1, BuiltIn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializableTermEClass, SpecializableTerm.class, \"SpecializableTerm\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableTerm_OwnedSpecializations(), this.getSpecializationAxiom(), this.getSpecializationAxiom_OwningTerm(), \"ownedSpecializations\", null, 0, -1, SpecializableTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, Property.class, \"Property\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeEClass, Type.class, \"Type\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(relationBaseEClass, RelationBase.class, \"RelationBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationBase_Sources(), this.getEntity(), null, \"sources\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_Targets(), this.getEntity(), null, \"targets\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_ReverseRelation(), this.getReverseRelation(), this.getReverseRelation_RelationBase(), \"reverseRelation\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_InverseFunctional(), theEcorePackage.getEBoolean(), \"inverseFunctional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Symmetric(), theEcorePackage.getEBoolean(), \"symmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Asymmetric(), theEcorePackage.getEBoolean(), \"asymmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Reflexive(), theEcorePackage.getEBoolean(), \"reflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Irreflexive(), theEcorePackage.getEBoolean(), \"irreflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Transitive(), theEcorePackage.getEBoolean(), \"transitive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializablePropertyEClass, SpecializableProperty.class, \"SpecializableProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableProperty_OwnedEquivalences(), this.getPropertyEquivalenceAxiom(), this.getPropertyEquivalenceAxiom_OwningProperty(), \"ownedEquivalences\", null, 0, -1, SpecializableProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(classifierEClass, Classifier.class, \"Classifier\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifier_OwnedEquivalences(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwningClassifier(), \"ownedEquivalences\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifier_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningClassifier(), \"ownedPropertyRestrictions\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(scalarEClass, Scalar.class, \"Scalar\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalar_Ref(), this.getScalar(), null, \"ref\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEnumeration(), this.getLiteralEnumerationAxiom(), this.getLiteralEnumerationAxiom_OwningScalar(), \"ownedEnumeration\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEquivalences(), this.getScalarEquivalenceAxiom(), this.getScalarEquivalenceAxiom_OwningScalar(), \"ownedEquivalences\", null, 0, -1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(entityEClass, Entity.class, \"Entity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEntity_OwnedKeys(), this.getKeyAxiom(), this.getKeyAxiom_OwningEntity(), \"ownedKeys\", null, 0, -1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureEClass, Structure.class, \"Structure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructure_Ref(), this.getStructure(), null, \"ref\", null, 0, 1, Structure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(aspectEClass, Aspect.class, \"Aspect\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAspect_Ref(), this.getAspect(), null, \"ref\", null, 0, 1, Aspect.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptEClass, Concept.class, \"Concept\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConcept_Ref(), this.getConcept(), null, \"ref\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getConcept_OwnedEnumeration(), this.getInstanceEnumerationAxiom(), this.getInstanceEnumerationAxiom_OwningConcept(), \"ownedEnumeration\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityEClass, RelationEntity.class, \"RelationEntity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntity_Ref(), this.getRelationEntity(), null, \"ref\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationEntity_ForwardRelation(), this.getForwardRelation(), this.getForwardRelation_RelationEntity(), \"forwardRelation\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(annotationPropertyEClass, AnnotationProperty.class, \"AnnotationProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotationProperty_Ref(), this.getAnnotationProperty(), null, \"ref\", null, 0, 1, AnnotationProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticPropertyEClass, SemanticProperty.class, \"SemanticProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getSemanticProperty__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarPropertyEClass, ScalarProperty.class, \"ScalarProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarProperty_Ref(), this.getScalarProperty(), null, \"ref\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Ranges(), this.getScalar(), null, \"ranges\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(structuredPropertyEClass, StructuredProperty.class, \"StructuredProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructuredProperty_Ref(), this.getStructuredProperty(), null, \"ref\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getStructuredProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Ranges(), this.getStructure(), null, \"ranges\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(relationEClass, Relation.class, \"Relation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(forwardRelationEClass, ForwardRelation.class, \"ForwardRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getForwardRelation_RelationEntity(), this.getRelationEntity(), this.getRelationEntity_ForwardRelation(), \"relationEntity\", null, 1, 1, ForwardRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(reverseRelationEClass, ReverseRelation.class, \"ReverseRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getReverseRelation_RelationBase(), this.getRelationBase(), this.getRelationBase_ReverseRelation(), \"relationBase\", null, 1, 1, ReverseRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unreifiedRelationEClass, UnreifiedRelation.class, \"UnreifiedRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnreifiedRelation_Ref(), this.getRelation(), null, \"ref\", null, 0, 1, UnreifiedRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(namedInstanceEClass, NamedInstance.class, \"NamedInstance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNamedInstance_OwnedTypes(), this.getTypeAssertion(), this.getTypeAssertion_OwningInstance(), \"ownedTypes\", null, 0, -1, NamedInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptInstanceEClass, ConceptInstance.class, \"ConceptInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConceptInstance_Ref(), this.getConceptInstance(), null, \"ref\", null, 0, 1, ConceptInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationInstanceEClass, RelationInstance.class, \"RelationInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationInstance_Ref(), this.getRelationInstance(), null, \"ref\", null, 0, 1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Sources(), this.getNamedInstance(), null, \"sources\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Targets(), this.getNamedInstance(), null, \"targets\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureInstanceEClass, StructureInstance.class, \"StructureInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructureInstance_Type(), this.getStructure(), null, \"type\", null, 1, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAxiom(), this.getPropertyValueRestrictionAxiom(), this.getPropertyValueRestrictionAxiom_StructureInstanceValue(), \"owningAxiom\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAssertion(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_StructureInstanceValue(), \"owningAssertion\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(keyAxiomEClass, KeyAxiom.class, \"KeyAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getKeyAxiom_Properties(), this.getProperty(), null, \"properties\", null, 1, -1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getKeyAxiom_OwningEntity(), this.getEntity(), this.getEntity_OwnedKeys(), \"owningEntity\", null, 0, 1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetKeyedEntity(), this.getEntity(), \"getKeyedEntity\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetCharacterizedTerm(), this.getEntity(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(specializationAxiomEClass, SpecializationAxiom.class, \"SpecializationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializationAxiom_SuperTerm(), this.getTerm(), null, \"superTerm\", null, 1, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSpecializationAxiom_OwningTerm(), this.getSpecializableTerm(), this.getSpecializableTerm_OwnedSpecializations(), \"owningTerm\", null, 0, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetSubTerm(), this.getTerm(), \"getSubTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEnumerationAxiomEClass, InstanceEnumerationAxiom.class, \"InstanceEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstanceEnumerationAxiom_Instances(), this.getConceptInstance(), null, \"instances\", null, 1, -1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInstanceEnumerationAxiom_OwningConcept(), this.getConcept(), this.getConcept_OwnedEnumeration(), \"owningConcept\", null, 0, 1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetEnumeratedConcept(), this.getConcept(), \"getEnumeratedConcept\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetCharacterizedTerm(), this.getConcept(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRestrictionAxiomEClass, PropertyRestrictionAxiom.class, \"PropertyRestrictionAxiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyRestrictionAxiom_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedPropertyRestrictions(), \"owningClassifier\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningAxiom(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), \"owningAxiom\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetRestrictingDomain(), this.getClassifier(), \"getRestrictingDomain\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(literalEnumerationAxiomEClass, LiteralEnumerationAxiom.class, \"LiteralEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLiteralEnumerationAxiom_Literals(), this.getLiteral(), null, \"literals\", null, 1, -1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLiteralEnumerationAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEnumeration(), \"owningScalar\", null, 0, 1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetEnumeratedScalar(), this.getScalar(), \"getEnumeratedScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(classifierEquivalenceAxiomEClass, ClassifierEquivalenceAxiom.class, \"ClassifierEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifierEquivalenceAxiom_SuperClassifiers(), this.getClassifier(), null, \"superClassifiers\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningAxiom(), \"ownedPropertyRestrictions\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedEquivalences(), \"owningClassifier\", null, 0, 1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetSubClassifier(), this.getClassifier(), \"getSubClassifier\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarEquivalenceAxiomEClass, ScalarEquivalenceAxiom.class, \"ScalarEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarEquivalenceAxiom_SuperScalar(), this.getScalar(), null, \"superScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEquivalences(), \"owningScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Length(), this.getUnsignedInteger(), \"length\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MinLength(), this.getUnsignedInteger(), \"minLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MaxLength(), this.getUnsignedInteger(), \"maxLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Pattern(), theEcorePackage.getEString(), \"pattern\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Language(), theEcorePackage.getEString(), \"language\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinInclusive(), this.getLiteral(), null, \"minInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinExclusive(), this.getLiteral(), null, \"minExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxInclusive(), this.getLiteral(), null, \"maxInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxExclusive(), this.getLiteral(), null, \"maxExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetSubScalar(), this.getScalar(), \"getSubScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyEquivalenceAxiomEClass, PropertyEquivalenceAxiom.class, \"PropertyEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyEquivalenceAxiom_SuperProperty(), this.getProperty(), null, \"superProperty\", null, 1, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyEquivalenceAxiom_OwningProperty(), this.getSpecializableProperty(), this.getSpecializableProperty_OwnedEquivalences(), \"owningProperty\", null, 0, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetSubProperty(), this.getProperty(), \"getSubProperty\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetCharacterizedTerm(), this.getProperty(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRangeRestrictionAxiomEClass, PropertyRangeRestrictionAxiom.class, \"PropertyRangeRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyRangeRestrictionAxiom_Kind(), this.getRangeRestrictionKind(), \"kind\", \"all\", 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRangeRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyCardinalityRestrictionAxiomEClass, PropertyCardinalityRestrictionAxiom.class, \"PropertyCardinalityRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Kind(), this.getCardinalityRestrictionKind(), \"kind\", \"exactly\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Cardinality(), this.getUnsignedInt(), \"cardinality\", \"1\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyCardinalityRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 0, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyValueRestrictionAxiomEClass, PropertyValueRestrictionAxiom.class, \"PropertyValueRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAxiom(), \"structureInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueRestrictionAxiom__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertySelfRestrictionAxiomEClass, PropertySelfRestrictionAxiom.class, \"PropertySelfRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeAssertionEClass, TypeAssertion.class, \"TypeAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypeAssertion_Type(), this.getEntity(), null, \"type\", null, 1, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTypeAssertion_OwningInstance(), this.getNamedInstance(), this.getNamedInstance_OwnedTypes(), \"owningInstance\", null, 0, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetSubject(), this.getNamedInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyValueAssertionEClass, PropertyValueAssertion.class, \"PropertyValueAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueAssertion_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAssertion(), \"structureInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_OwningInstance(), this.getInstance(), this.getInstance_OwnedPropertyValues(), \"owningInstance\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unaryPredicateEClass, UnaryPredicate.class, \"UnaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnaryPredicate_Argument(), this.getArgument(), null, \"argument\", null, 1, 1, UnaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(binaryPredicateEClass, BinaryPredicate.class, \"BinaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBinaryPredicate_Argument1(), this.getArgument(), null, \"argument1\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBinaryPredicate_Argument2(), this.getArgument(), null, \"argument2\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInPredicateEClass, BuiltInPredicate.class, \"BuiltInPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltInPredicate_BuiltIn(), this.getBuiltIn(), null, \"builtIn\", null, 1, 1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBuiltInPredicate_Arguments(), this.getArgument(), null, \"arguments\", null, 1, -1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(typePredicateEClass, TypePredicate.class, \"TypePredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypePredicate_Type(), this.getType(), null, \"type\", null, 1, 1, TypePredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityPredicateEClass, RelationEntityPredicate.class, \"RelationEntityPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntityPredicate_Type(), this.getRelationEntity(), null, \"type\", null, 1, 1, RelationEntityPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyPredicateEClass, PropertyPredicate.class, \"PropertyPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyPredicate_Property(), this.getProperty(), null, \"property\", null, 1, 1, PropertyPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(sameAsPredicateEClass, SameAsPredicate.class, \"SameAsPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(differentFromPredicateEClass, DifferentFromPredicate.class, \"DifferentFromPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(quotedLiteralEClass, QuotedLiteral.class, \"QuotedLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getQuotedLiteral_Value(), theEcorePackage.getEString(), \"value\", null, 1, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getQuotedLiteral_LangTag(), theEcorePackage.getEString(), \"langTag\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getQuotedLiteral_Type(), this.getScalar(), null, \"type\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(integerLiteralEClass, IntegerLiteral.class, \"IntegerLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIntegerLiteral_Value(), theEcorePackage.getEIntegerObject(), \"value\", \"0\", 0, 1, IntegerLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIntegerLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(decimalLiteralEClass, DecimalLiteral.class, \"DecimalLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDecimalLiteral_Value(), this.getDecimal(), \"value\", \"0.0\", 1, 1, DecimalLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDecimalLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(doubleLiteralEClass, DoubleLiteral.class, \"DoubleLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDoubleLiteral_Value(), theEcorePackage.getEDoubleObject(), \"value\", \"0.0\", 0, 1, DoubleLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDoubleLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(booleanLiteralEClass, BooleanLiteral.class, \"BooleanLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getBooleanLiteral_Value(), theEcorePackage.getEBooleanObject(), \"value\", \"false\", 0, 1, BooleanLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__IsValue(), theEcorePackage.getEBoolean(), \"isValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(separatorKindEEnum, SeparatorKind.class, \"SeparatorKind\");\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.HASH);\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.SLASH);\n\n\t\tinitEEnum(rangeRestrictionKindEEnum, RangeRestrictionKind.class, \"RangeRestrictionKind\");\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.ALL);\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.SOME);\n\n\t\tinitEEnum(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.class, \"CardinalityRestrictionKind\");\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.EXACTLY);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MIN);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MAX);\n\n\t\tinitEEnum(importKindEEnum, ImportKind.class, \"ImportKind\");\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.EXTENSION);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.USAGE);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.INCLUSION);\n\n\t\t// Initialize data types\n\t\tinitEDataType(unsignedIntEDataType, long.class, \"UnsignedInt\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(unsignedIntegerEDataType, Long.class, \"UnsignedInteger\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(decimalEDataType, BigDecimal.class, \"Decimal\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(idEDataType, String.class, \"ID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(namespaceEDataType, String.class, \"Namespace\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// https://tabatkins.github.io/bikeshed/headings\n\t\tcreateHeadingsAnnotations();\n\t\t// https://tabatkins.github.io/bikeshed\n\t\tcreateBikeshedAnnotations();\n\t\t// http://www.eclipse.org/emf/2011/Xcore\n\t\tcreateXcoreAnnotations();\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "@Test(expected = PipelineException.class)\n public void testValidateManifestWithMungedFiles() {\n KicIngester.validateManifest(new File(SCP_DATA_DIR),\n \"Manifest.munged-files\", KicIngester.getScpFiles(new File(\n SCP_DATA_DIR), SCP_FILENAME_PATTERN));\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tUMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);\n\t\tTypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(textualRepresentationEClass, TextualRepresentation.class, \"TextualRepresentation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTextualRepresentation_Base_Comment(), theUMLPackage.getComment(), null, \"base_Comment\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getTextualRepresentation_Language(), theTypesPackage.getString(), \"language\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "@Test\n public void testSpecificationFile() {\n \texpectedExit = 0;\n \tignoreNotes = true;\n \tString subdir = \"testspecs\" + \"/\" + classname;\n \tString testname = null;\n for (File f: new File(subdir).listFiles()) {\n \tif (f.getName().startsWith(\"Test\")) {\n \t\ttestname = f.getName().replace(\".java\",\"\");\n \t\tbreak;\n \t}\n }\n \thelpTCF(subdir,subdir,testname);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tPivotModelPackage thePivotModelPackage = (PivotModelPackage) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(PivotModelPackage.eNS_URI);\n\t\tExpressionsPackageImpl theExpressionsPackage = (ExpressionsPackageImpl) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(ExpressionsPackageImpl.eNS_URI);\n\t\tDatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(DatatypesPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tbagTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\ttupleTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\tcollectionTypeEClass.getESuperTypes().add(\n\t\t\t\tthePivotModelPackage.getType());\n\t\tinvalidTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\torderedSetTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tsequenceTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tsetTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tvoidTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\ttypeTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\tanyTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(\n\t\t\t\tbagTypeEClass,\n\t\t\t\tBagType.class,\n\t\t\t\t\"BagType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\ttupleTypeEClass,\n\t\t\t\tTupleType.class,\n\t\t\t\t\"TupleType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetTupleType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tnull,\n\t\t\t\t\"oclLibrary\", null, 1, 1, TupleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tcollectionTypeEClass,\n\t\t\t\tCollectionType.class,\n\t\t\t\t\"CollectionType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetCollectionType_ElementType(),\n\t\t\t\tthePivotModelPackage.getType(),\n\t\t\t\tnull,\n\t\t\t\t\"elementType\", null, 0, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetCollectionType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tnull,\n\t\t\t\t\"oclLibrary\", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEAttribute(\n\t\t\t\tgetCollectionType_Kind(),\n\t\t\t\ttheExpressionsPackage.getCollectionKind(),\n\t\t\t\t\"kind\", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tinvalidTypeEClass,\n\t\t\t\tInvalidType.class,\n\t\t\t\t\"InvalidType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetInvalidType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tthis.getOclLibrary_OclInvalid(),\n\t\t\t\t\"oclLibrary\", null, 1, 1, InvalidType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\torderedSetTypeEClass,\n\t\t\t\tOrderedSetType.class,\n\t\t\t\t\"OrderedSetType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tsequenceTypeEClass,\n\t\t\t\tSequenceType.class,\n\t\t\t\t\"SequenceType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tsetTypeEClass,\n\t\t\t\tSetType.class,\n\t\t\t\t\"SetType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tvoidTypeEClass,\n\t\t\t\tVoidType.class,\n\t\t\t\t\"VoidType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetVoidType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tthis.getOclLibrary_OclVoid(),\n\t\t\t\t\"oclLibrary\", null, 1, 1, VoidType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\ttypeTypeEClass,\n\t\t\t\tTypeType.class,\n\t\t\t\t\"TypeType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetTypeType_RepresentedType(),\n\t\t\t\tthePivotModelPackage.getType(),\n\t\t\t\tnull,\n\t\t\t\t\"representedType\", null, 0, 1, TypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\toclLibraryEClass,\n\t\t\t\tOclLibrary.class,\n\t\t\t\t\"OclLibrary\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclBoolean(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclBoolean\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclString(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclString\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclInteger(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclInteger\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclReal(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclReal\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclAny(),\n\t\t\t\tthis.getAnyType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclAny\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclVoid(),\n\t\t\t\tthis.getVoidType(),\n\t\t\t\tthis.getVoidType_OclLibrary(),\n\t\t\t\t\"oclVoid\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclInvalid(),\n\t\t\t\tthis.getInvalidType(),\n\t\t\t\tthis.getInvalidType_OclLibrary(),\n\t\t\t\t\"oclInvalid\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclType(),\n\t\t\t\tthis.getTypeType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclType\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclCollection(),\n\t\t\t\tthis.getCollectionType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclCollection\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclSequence(),\n\t\t\t\tthis.getSequenceType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclSequence\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclBag(),\n\t\t\t\tthis.getBagType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclBag\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclSet(),\n\t\t\t\tthis.getSetType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclSet\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclOrderedSet(),\n\t\t\t\tthis.getOrderedSetType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclOrderedSet\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclTuple(),\n\t\t\t\tthis.getTupleType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclTuple\", null, 1, -1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tEOperation op = addEOperation(oclLibraryEClass, this.getTupleType(),\n\t\t\t\t\"makeTupleType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\tEGenericType g1 = createEGenericType(theDatatypesPackage.getSequence());\n\t\tEGenericType g2 = createEGenericType(thePivotModelPackage.getProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"atts\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getCollectionType(),\n\t\t\t\t\"getCollectionType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getSequenceType(),\n\t\t\t\t\"getSequenceType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getBagType(),\n\t\t\t\t\"getBagType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getSetType(),\n\t\t\t\t\"getSetType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getOrderedSetType(),\n\t\t\t\t\"getOrderedSetType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getTypeType(),\n\t\t\t\t\"getTypeType\", 1, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"representedType\", 1, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tanyTypeEClass,\n\t\t\t\tAnyType.class,\n\t\t\t\t\"AnyType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "@Test\n public void filesValidateTest() throws ApiException {\n String owner = null;\n String repo = null;\n FilesValidate data = null;\n api.filesValidate(owner, repo, data);\n\n // TODO: test validations\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tXMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(controlEClass, Control.class, \"Control\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getControl_Midi(), this.getMidi(), null, \"midi\", null, 1, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Background(), theXMLTypePackage.getString(), \"background\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Centered(), theXMLTypePackage.getString(), \"centered\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Color(), theXMLTypePackage.getString(), \"color\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_H(), theXMLTypePackage.getString(), \"h\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Inverted(), theXMLTypePackage.getString(), \"inverted\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedX(), theXMLTypePackage.getString(), \"invertedX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedY(), theXMLTypePackage.getString(), \"invertedY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_LocalOff(), theXMLTypePackage.getString(), \"localOff\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Number(), theXMLTypePackage.getString(), \"number\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberX(), theXMLTypePackage.getString(), \"numberX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberY(), theXMLTypePackage.getString(), \"numberY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_OscCs(), theXMLTypePackage.getString(), \"oscCs\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Outline(), theXMLTypePackage.getString(), \"outline\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Response(), theXMLTypePackage.getString(), \"response\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalef(), theXMLTypePackage.getString(), \"scalef\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalet(), theXMLTypePackage.getString(), \"scalet\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Seconds(), theXMLTypePackage.getString(), \"seconds\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Size(), theXMLTypePackage.getString(), \"size\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Text(), theXMLTypePackage.getString(), \"text\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_W(), theXMLTypePackage.getString(), \"w\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_X(), theXMLTypePackage.getString(), \"x\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Y(), theXMLTypePackage.getString(), \"y\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(layoutEClass, Layout.class, \"Layout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLayout_Tabpage(), this.getTabpage(), null, \"tabpage\", null, 1, -1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Mode(), theXMLTypePackage.getString(), \"mode\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Orientation(), theXMLTypePackage.getString(), \"orientation\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Version(), theXMLTypePackage.getString(), \"version\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(midiEClass, Midi.class, \"Midi\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMidi_Channel(), theXMLTypePackage.getString(), \"channel\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data1(), theXMLTypePackage.getString(), \"data1\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2f(), theXMLTypePackage.getString(), \"data2f\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2t(), theXMLTypePackage.getString(), \"data2t\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Var(), theXMLTypePackage.getString(), \"var\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(tabpageEClass, Tabpage.class, \"Tabpage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTabpage_Control(), this.getControl(), null, \"control\", null, 1, -1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTabpage_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(topEClass, net.sf.smbt.touchosc.touchosc.TOP.class, \"TOP\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTOP_Layout(), this.getLayout(), null, \"layout\", null, 1, 1, net.sf.smbt.touchosc.touchosc.TOP.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttargetLanguageEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttechnologyEClass.getESuperTypes().add(this.getNamedElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Implementations(), this.getImplementation(), null, \"implementations\", null, 0, -1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(implementationEClass, Implementation.class, \"Implementation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImplementation_Code(), ecorePackage.getEString(), \"code\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Technology(), this.getTechnology(), null, \"technology\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Language(), this.getTargetLanguage(), null, \"language\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticsEClass, Semantics.class, \"Semantics\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSemantics_Annotations(), this.getAnnotation(), null, \"annotations\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Languages(), this.getTargetLanguage(), null, \"languages\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Technologies(), this.getTechnology(), null, \"technologies\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(targetLanguageEClass, TargetLanguage.class, \"TargetLanguage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(technologyEClass, Technology.class, \"Technology\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n acT_SpNoMsgEClass.getESuperTypes().add(this.getACTION());\n acT_SpBrEClass.getESuperTypes().add(this.getACTION());\n acT_SpUniEClass.getESuperTypes().add(this.getACTION());\n acT_InBrEClass.getESuperTypes().add(this.getACTION());\n acT_InUniEClass.getESuperTypes().add(this.getACTION());\n pR_ExprEClass.getESuperTypes().add(this.getTerminal_PR_Expr());\n ratE_ExprEClass.getESuperTypes().add(this.getIRange());\n ratE_ExprEClass.getESuperTypes().add(this.getTerminal_RATE_Expr());\n agenT_NUMEClass.getESuperTypes().add(this.getTerminal_PR_Expr());\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Params(), this.getParam(), null, \"params\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModel_States(), this.getAgentState(), null, \"states\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModel_Population(), this.getPOPULATION(), null, \"population\", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(paramEClass, Param.class, \"Param\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getParam_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getParam_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentStateEClass, AgentState.class, \"AgentState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAgentState_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, AgentState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAgentState_Prefixs(), this.getPrefix(), null, \"prefixs\", null, 0, -1, AgentState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(prefixEClass, Prefix.class, \"Prefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPrefix_Action(), this.getACTION(), null, \"action\", null, 0, 1, Prefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrefix_Continue(), ecorePackage.getEString(), \"continue\", null, 0, 1, Prefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(actionEClass, org.xtext.edinburgh.paloma.ACTION.class, \"ACTION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getACTION_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.edinburgh.paloma.ACTION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getACTION_Rate(), this.getRATE_Expr(), null, \"rate\", null, 0, 1, org.xtext.edinburgh.paloma.ACTION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_SpNoMsgEClass, ACT_SpNoMsg.class, \"ACT_SpNoMsg\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(acT_SpBrEClass, ACT_SpBr.class, \"ACT_SpBr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_SpBr_Range(), this.getIRange(), null, \"range\", null, 0, 1, ACT_SpBr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_SpUniEClass, ACT_SpUni.class, \"ACT_SpUni\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_SpUni_Range(), this.getIRange(), null, \"range\", null, 0, 1, ACT_SpUni.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_InBrEClass, ACT_InBr.class, \"ACT_InBr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_InBr_Value(), this.getPR_Expr(), null, \"value\", null, 0, 1, ACT_InBr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_InUniEClass, ACT_InUni.class, \"ACT_InUni\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_InUni_Value(), this.getPR_Expr(), null, \"value\", null, 0, 1, ACT_InUni.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(iRangeEClass, IRange.class, \"IRange\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(pR_ExprEClass, PR_Expr.class, \"PR_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPR_Expr_PrE(), this.getTerminal_PR_Expr(), null, \"prE\", null, 0, -1, PR_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(terminal_PR_ExprEClass, Terminal_PR_Expr.class, \"Terminal_PR_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTerminal_PR_Expr_LinkedParam(), ecorePackage.getEString(), \"linkedParam\", null, 0, 1, Terminal_PR_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ratE_ExprEClass, RATE_Expr.class, \"RATE_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRATE_Expr_Rt(), this.getTerminal_RATE_Expr(), null, \"rt\", null, 0, -1, RATE_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(terminal_RATE_ExprEClass, Terminal_RATE_Expr.class, \"Terminal_RATE_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTerminal_RATE_Expr_LinkedParam(), ecorePackage.getEString(), \"linkedParam\", null, 0, 1, Terminal_RATE_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agenT_NUMEClass, org.xtext.edinburgh.paloma.AGENT_NUM.class, \"AGENT_NUM\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAGENT_NUM_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.edinburgh.paloma.AGENT_NUM.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(populationEClass, org.xtext.edinburgh.paloma.POPULATION.class, \"POPULATION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPOPULATION_Popu(), this.getAGENTS(), null, \"popu\", null, 0, -1, org.xtext.edinburgh.paloma.POPULATION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentsEClass, org.xtext.edinburgh.paloma.AGENTS.class, \"AGENTS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAGENTS_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.edinburgh.paloma.AGENTS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\torg.abchip.mimo.entity.EntityPackage theEntityPackage_1 = (org.abchip.mimo.entity.EntityPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.entity.EntityPackage.eNS_URI);\n\t\tPaymentPackage thePaymentPackage = (PaymentPackage)EPackage.Registry.INSTANCE.getEPackage(PaymentPackage.eNS_URI);\n\t\torg.abchip.mimo.biz.model.party.contact.ContactPackage theContactPackage_1 = (org.abchip.mimo.biz.model.party.contact.ContactPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.biz.model.party.contact.ContactPackage.eNS_URI);\n\t\tUomPackage theUomPackage = (UomPackage)EPackage.Registry.INSTANCE.getEPackage(UomPackage.eNS_URI);\n\t\tPartyPackage thePartyPackage_1 = (PartyPackage)EPackage.Registry.INSTANCE.getEPackage(PartyPackage.eNS_URI);\n\t\tSchedulePackage theSchedulePackage = (SchedulePackage)EPackage.Registry.INSTANCE.getEPackage(SchedulePackage.eNS_URI);\n\t\tStatusPackage theStatusPackage = (StatusPackage)EPackage.Registry.INSTANCE.getEPackage(StatusPackage.eNS_URI);\n\t\tContentPackage theContentPackage = (ContentPackage)EPackage.Registry.INSTANCE.getEPackage(ContentPackage.eNS_URI);\n\t\tInventoryPackage theInventoryPackage = (InventoryPackage)EPackage.Registry.INSTANCE.getEPackage(InventoryPackage.eNS_URI);\n\t\tLedgerPackage theLedgerPackage = (LedgerPackage)EPackage.Registry.INSTANCE.getEPackage(LedgerPackage.eNS_URI);\n\t\tProductPackage theProductPackage = (ProductPackage)EPackage.Registry.INSTANCE.getEPackage(ProductPackage.eNS_URI);\n\t\tFeaturePackage theFeaturePackage = (FeaturePackage)EPackage.Registry.INSTANCE.getEPackage(FeaturePackage.eNS_URI);\n\t\tOpportunityPackage theOpportunityPackage = (OpportunityPackage)EPackage.Registry.INSTANCE.getEPackage(OpportunityPackage.eNS_URI);\n\t\tGeoPackage theGeoPackage = (GeoPackage)EPackage.Registry.INSTANCE.getEPackage(GeoPackage.eNS_URI);\n\t\tTaxPackage theTaxPackage = (TaxPackage)EPackage.Registry.INSTANCE.getEPackage(TaxPackage.eNS_URI);\n\t\tBizPackage theBizPackage = (BizPackage)EPackage.Registry.INSTANCE.getEPackage(BizPackage.eNS_URI);\n\t\tLoginPackage theLoginPackage = (LoginPackage)EPackage.Registry.INSTANCE.getEPackage(LoginPackage.eNS_URI);\n\t\tAgreementPackage theAgreementPackage = (AgreementPackage)EPackage.Registry.INSTANCE.getEPackage(AgreementPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tEGenericType g2 = createEGenericType(this.getInvoiceType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContactMechEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceContactMechEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceContentType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceContentEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContentEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceContent());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceContentTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContentTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceItemType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceItemAssocType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemAssocEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemAssocEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceItemAssoc());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemAssocTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemAssocTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceItemAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceItem());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceItemTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeGlAccountEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeGlAccountEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeMapEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeMapEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceNoteEClass.getESuperTypes().add(theBizPackage.getBizEntityNote());\n\t\tinvoiceRoleEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceRoleEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceStatusEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceStatusEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTermEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTermEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTermAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTermAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoice());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(invoiceEClass, Invoice.class, \"Invoice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoice_InvoiceId(), ecorePackage.getEString(), \"invoiceId\", null, 1, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_BillingAccount(), thePaymentPackage.getBillingAccount(), null, \"billingAccount\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_ContactMech(), theContactPackage_1.getContactMech(), null, \"contactMech\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_CurrencyUom(), theUomPackage.getUom(), null, \"currencyUom\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_DueDate(), ecorePackage.getEDate(), \"dueDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceAttributes(), this.getInvoiceAttribute(), null, \"invoiceAttributes\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_InvoiceDate(), ecorePackage.getEDate(), \"invoiceDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceItems(), this.getInvoiceItem(), null, \"invoiceItems\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_InvoiceMessage(), ecorePackage.getEString(), \"invoiceMessage\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceNotes(), this.getInvoiceNote(), null, \"invoiceNotes\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceStatuses(), this.getInvoiceStatus(), null, \"invoiceStatuses\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_PaidDate(), ecorePackage.getEDate(), \"paidDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_PartyIdFrom(), thePartyPackage_1.getParty(), null, \"partyIdFrom\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_RecurrenceInfo(), theSchedulePackage.getRecurrenceInfo(), null, \"recurrenceInfo\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_ReferenceNumber(), ecorePackage.getEString(), \"referenceNumber\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_RoleType(), thePartyPackage_1.getRoleType(), null, \"roleType\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\taddEOperation(invoiceEClass, ecorePackage.getEBigDecimal(), \"getTotal\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(invoiceAttributeEClass, InvoiceAttribute.class, \"InvoiceAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceAttribute_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContactMechEClass, InvoiceContactMech.class, \"InvoiceContactMech\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceContactMech_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContactMech_ContactMech(), theContactPackage_1.getContactMech(), null, \"contactMech\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContactMech_ContactMechPurposeType(), theContactPackage_1.getContactMechPurposeType(), null, \"contactMechPurposeType\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContentEClass, InvoiceContent.class, \"InvoiceContent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceContent_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContent_Content(), theContentPackage.getContent(), null, \"content\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContent_InvoiceContentType(), this.getInvoiceContentType(), null, \"invoiceContentType\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContent_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContent_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContentTypeEClass, InvoiceContentType.class, \"InvoiceContentType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceContentType_InvoiceContentTypeId(), ecorePackage.getEString(), \"invoiceContentTypeId\", null, 1, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContentType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContentType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContentType_ParentType(), this.getInvoiceContentType(), null, \"parentType\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemEClass, InvoiceItem.class, \"InvoiceItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItem_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Amount(), ecorePackage.getEBigDecimal(), \"amount\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_InventoryItem(), theInventoryPackage.getInventoryItem(), null, \"inventoryItem\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_OverrideGlAccount(), theLedgerPackage.getGlAccount(), null, \"overrideGlAccount\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_OverrideOrgParty(), thePartyPackage_1.getParty(), null, \"overrideOrgParty\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_ParentInvoiceId(), ecorePackage.getEString(), \"parentInvoiceId\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_ParentInvoiceItemSeqId(), ecorePackage.getEString(), \"parentInvoiceItemSeqId\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_Product(), theProductPackage.getProduct(), null, \"product\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_ProductFeature(), theFeaturePackage.getProductFeature(), null, \"productFeature\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Quantity(), ecorePackage.getEBigDecimal(), \"quantity\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_SalesOpportunity(), theOpportunityPackage.getSalesOpportunity(), null, \"salesOpportunity\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthGeo(), theGeoPackage.getGeo(), null, \"taxAuthGeo\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthParty(), thePartyPackage_1.getParty(), null, \"taxAuthParty\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthorityRateSeq(), theTaxPackage.getTaxAuthorityRateProduct(), null, \"taxAuthorityRateSeq\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_TaxableFlag(), ecorePackage.getEBoolean(), \"taxableFlag\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_Uom(), theUomPackage.getUom(), null, \"uom\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAssocEClass, InvoiceItemAssoc.class, \"InvoiceItemAssoc\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemAssoc_InvoiceItemAssocType(), this.getInvoiceItemAssocType(), null, \"invoiceItemAssocType\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceIdFrom(), ecorePackage.getEString(), \"invoiceIdFrom\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceIdTo(), ecorePackage.getEString(), \"invoiceIdTo\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceItemSeqIdFrom(), ecorePackage.getEString(), \"invoiceItemSeqIdFrom\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceItemSeqIdTo(), ecorePackage.getEString(), \"invoiceItemSeqIdTo\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_Amount(), ecorePackage.getEBigDecimal(), \"amount\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssoc_PartyIdFrom(), thePartyPackage_1.getParty(), null, \"partyIdFrom\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssoc_PartyIdTo(), thePartyPackage_1.getParty(), null, \"partyIdTo\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_Quantity(), ecorePackage.getEBigDecimal(), \"quantity\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAssocTypeEClass, InvoiceItemAssocType.class, \"InvoiceItemAssocType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemAssocType_InvoiceItemAssocTypeId(), ecorePackage.getEString(), \"invoiceItemAssocTypeId\", null, 1, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssocType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssocType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssocType_ParentType(), this.getInvoiceItemAssocType(), null, \"parentType\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAttributeEClass, InvoiceItemAttribute.class, \"InvoiceItemAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_InvoiceId(), ecorePackage.getEString(), \"invoiceId\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeEClass, InvoiceItemType.class, \"InvoiceItemType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemType_InvoiceItemTypeId(), ecorePackage.getEString(), \"invoiceItemTypeId\", null, 1, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_DefaultGlAccount(), theLedgerPackage.getGlAccount(), null, \"defaultGlAccount\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_InvoiceItemTypeAttrs(), this.getInvoiceItemTypeAttr(), null, \"invoiceItemTypeAttrs\", null, 0, -1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_InvoiceItemTypeGlAccounts(), this.getInvoiceItemTypeGlAccount(), null, \"invoiceItemTypeGlAccounts\", null, 0, -1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_ParentType(), this.getInvoiceItemType(), null, \"parentType\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeAttrEClass, InvoiceItemTypeAttr.class, \"InvoiceItemTypeAttr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeAttr_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 1, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeAttr_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeAttr_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeGlAccountEClass, InvoiceItemTypeGlAccount.class, \"InvoiceItemTypeGlAccount\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 1, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_OrganizationParty(), thePartyPackage_1.getParty(), null, \"organizationParty\", null, 1, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_GlAccount(), theLedgerPackage.getGlAccount(), null, \"glAccount\", null, 0, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeMapEClass, InvoiceItemTypeMap.class, \"InvoiceItemTypeMap\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeMap_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 1, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeMap_InvoiceItemMapKey(), ecorePackage.getEString(), \"invoiceItemMapKey\", null, 1, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeMap_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 0, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceNoteEClass, InvoiceNote.class, \"InvoiceNote\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceNote_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceRoleEClass, InvoiceRole.class, \"InvoiceRole\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceRole_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceRole_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceRole_RoleType(), thePartyPackage_1.getRoleType(), null, \"roleType\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceRole_DatetimePerformed(), ecorePackage.getEDate(), \"datetimePerformed\", null, 0, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceRole_Percentage(), ecorePackage.getEBigDecimal(), \"percentage\", null, 0, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceStatusEClass, InvoiceStatus.class, \"InvoiceStatus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceStatus_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceStatus_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceStatus_StatusDate(), ecorePackage.getEDate(), \"statusDate\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceStatus_ChangeByUserLogin(), theLoginPackage.getUserLogin(), null, \"changeByUserLogin\", null, 0, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTermEClass, InvoiceTerm.class, \"InvoiceTerm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceTerm_InvoiceTermId(), ecorePackage.getEString(), \"invoiceTermId\", null, 1, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_Invoice(), this.getInvoice(), null, \"invoice\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_InvoiceTermAttributes(), this.getInvoiceTermAttribute(), null, \"invoiceTermAttributes\", null, 0, -1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TermDays(), ecorePackage.getELong(), \"termDays\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_TermType(), theAgreementPackage.getTermType(), null, \"termType\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TermValue(), ecorePackage.getEBigDecimal(), \"termValue\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TextValue(), ecorePackage.getEString(), \"textValue\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_UomId(), ecorePackage.getEString(), \"uomId\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTermAttributeEClass, InvoiceTermAttribute.class, \"InvoiceTermAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceTermAttribute_InvoiceTerm(), this.getInvoiceTerm(), null, \"invoiceTerm\", null, 1, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTypeEClass, InvoiceType.class, \"InvoiceType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceType_InvoiceTypeId(), ecorePackage.getEString(), \"invoiceTypeId\", null, 1, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceType_InvoiceTypeAttrs(), this.getInvoiceTypeAttr(), null, \"invoiceTypeAttrs\", null, 0, -1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceType_ParentType(), this.getInvoiceType(), null, \"parentType\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTypeAttrEClass, InvoiceTypeAttr.class, \"InvoiceTypeAttr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceTypeAttr_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 1, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTypeAttr_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTypeAttr_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// mimo-ent-frame\n\t\tcreateMimoentframeAnnotations();\n\t\t// org.abchip.mimo.core.base.invocation\n\t\tcreateOrgAnnotations();\n\t\t// mimo-ent-format\n\t\tcreateMimoentformatAnnotations();\n\t\t// mimo-ent-slot-constraints\n\t\tcreateMimoentslotconstraintsAnnotations();\n\t\t// mimo-ent-slot\n\t\tcreateMimoentslotAnnotations();\n\t}", "public void initializePackageContents()\n\t{\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Initialize data types\n\t\tinitEDataType(featureNotFoundExceptionEDataType, FeatureNotFoundException.class, \"FeatureNotFoundException\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tPersistencePackage thePersistencePackage = (PersistencePackage)EPackage.Registry.INSTANCE.getEPackage(PersistencePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tlocalAuthenticationSystemEClass.getESuperTypes().add(this.getAuthentication());\n\t\tcasAuthenticationEClass.getESuperTypes().add(this.getAuthentication());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(securityEClass, Security.class, \"Security\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSecurity_Authentication(), this.getAuthentication(), this.getAuthentication_Security(), \"authentication\", null, 0, 1, Security.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(authenticationEClass, Authentication.class, \"Authentication\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAuthentication_Security(), this.getSecurity(), this.getSecurity_Authentication(), \"security\", null, 1, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAuthentication_UserModel(), thePersistencePackage.getEntity(), null, \"userModel\", null, 1, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationName(), ecorePackage.getEString(), \"implicitRegistrationName\", \"registration\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationUnitLabel(), ecorePackage.getEString(), \"implicitRegistrationUnitLabel\", \"Create Account\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationActionLabel(), ecorePackage.getEString(), \"implicitRegistrationActionLabel\", \"Create Account\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationConfirmLabel(), ecorePackage.getEString(), \"implicitRegistrationConfirmLabel\", \"Create Account\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationUri(), ecorePackage.getEString(), \"implicitRegistrationUri\", \"register\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginName(), ecorePackage.getEString(), \"implicitLoginName\", \"login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginUnitLabel(), ecorePackage.getEString(), \"implicitLoginUnitLabel\", \"Login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginActionLabel(), ecorePackage.getEString(), \"implicitLoginActionLabel\", \"Login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginConfirmLabel(), ecorePackage.getEString(), \"implicitLoginConfirmLabel\", \"Login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginUri(), ecorePackage.getEString(), \"implicitLoginUri\", \"login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutName(), ecorePackage.getEString(), \"implicitLogoutName\", \"logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutUnitLabel(), ecorePackage.getEString(), \"implicitLogoutUnitLabel\", \"Logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutActionLabel(), ecorePackage.getEString(), \"implicitLogoutActionLabel\", \"Logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutConfirmLabel(), ecorePackage.getEString(), \"implicitLogoutConfirmLabel\", \"Logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutUri(), ecorePackage.getEString(), \"implicitLogoutUri\", \"logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordName(), ecorePackage.getEString(), \"implicitForgottenPasswordName\", \"forgotten\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordUnitLabel(), ecorePackage.getEString(), \"implicitForgottenPasswordUnitLabel\", \"Reset Password Request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordActionLabel(), ecorePackage.getEString(), \"implicitForgottenPasswordActionLabel\", \"Forgotten Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordConfirmLabel(), ecorePackage.getEString(), \"implicitForgottenPasswordConfirmLabel\", \"Reset Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordUriRequest(), ecorePackage.getEString(), \"implicitForgottenPasswordUriRequest\", \"reset-password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordUriEmailSent(), ecorePackage.getEString(), \"implicitForgottenPasswordUriEmailSent\", \"check-email\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailSubject(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailSubject\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailMessage(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailMessage\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailSentCaption(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailSentCaption\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailSentMessage(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailSentMessage\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordName(), ecorePackage.getEString(), \"implicitResetPasswordName\", \"reset\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordUnitLabel(), ecorePackage.getEString(), \"implicitResetPasswordUnitLabel\", \"Reset Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordActionLabel(), ecorePackage.getEString(), \"implicitResetPasswordActionLabel\", \"Reset Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordConfirmLabel(), ecorePackage.getEString(), \"implicitResetPasswordConfirmLabel\", \"Set Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordUri(), ecorePackage.getEString(), \"implicitResetPasswordUri\", \"reset\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(localAuthenticationSystemEClass, LocalAuthenticationSystem.class, \"LocalAuthenticationSystem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLocalAuthenticationSystem_AuthenticationModel(), thePersistencePackage.getEntity(), null, \"authenticationModel\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_AuthenticationName(), ecorePackage.getEString(), \"authenticationName\", \"Authentication\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_UserKey(), thePersistencePackage.getAttribute(), null, \"userKey\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_AuthenticationKey(), thePersistencePackage.getAttribute(), null, \"authenticationKey\", null, 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_IdentifierFeature(), thePersistencePackage.getAttribute(), null, \"identifierFeature\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_PasswordFeature(), thePersistencePackage.getAttribute(), null, \"passwordFeature\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_ResetPasswordRequestModel(), thePersistencePackage.getEntity(), null, \"resetPasswordRequestModel\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_ResetPasswordRequestName(), ecorePackage.getEString(), \"resetPasswordRequestName\", \"ResetPasswordRequest\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_RegistrationUnit(), this.getSecurityUnit(), null, \"registrationUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_LoginUnit(), this.getSecurityUnit(), null, \"loginUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_LogoutUnit(), this.getSecurityUnit(), null, \"logoutUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_ForgottenPasswordUnit(), this.getSecurityUnit(), null, \"forgottenPasswordUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_ResetPasswordUnit(), this.getSecurityUnit(), null, \"resetPasswordUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_ViewRole(), ecorePackage.getEString(), \"viewRole\", \"ROLE_SECURITY\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_EditRole(), ecorePackage.getEString(), \"editRole\", \"ROLE_SECURITY\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_UseCaptcha(), ecorePackage.getEBoolean(), \"useCaptcha\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_AllowRememberMe(), ecorePackage.getEBoolean(), \"allowRememberMe\", \"false\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_AllowSelfRegistration(), ecorePackage.getEBoolean(), \"allowSelfRegistration\", \"false\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_TrackLoginAttempts(), ecorePackage.getEBoolean(), \"trackLoginAttempts\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_UseEmailActivation(), ecorePackage.getEBoolean(), \"useEmailActivation\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_SendWelcomeEmail(), ecorePackage.getEBoolean(), \"sendWelcomeEmail\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(casAuthenticationEClass, CasAuthentication.class, \"CasAuthentication\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCasAuthentication_LoginLabel(), ecorePackage.getEString(), \"loginLabel\", \"login\", 0, 1, CasAuthentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getCasAuthentication_LogoutLabel(), ecorePackage.getEString(), \"logoutLabel\", \"logout\", 0, 1, CasAuthentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(securityUnitEClass, SecurityUnit.class, \"SecurityUnit\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// http://www.eclipse.org/emf/2002/Ecore/OCL\n\t\tcreateOCLAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEefnrPackage theEefnrPackage = (EefnrPackage)EPackage.Registry.INSTANCE.getEPackage(EefnrPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tdeferedFlatReferenceTableEditorSampleEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\t\tdeferedReferenceTableEditorSampleEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\t\townerEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\t\tsubtypeEClass.getESuperTypes().add(this.getOwner());\n\t\tanotherSubTypeEClass.getESuperTypes().add(this.getSubtype());\n\t\telementEClass.getESuperTypes().add(theEefnrPackage.getNamedElement());\n\t\tattributeNavigationSampleEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(deferedFlatReferenceTableEditorSampleEClass, DeferedFlatReferenceTableEditorSample.class, \"DeferedFlatReferenceTableEditorSample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeferedFlatReferenceTableEditorSample_References(), this.getDeferedReference(), null, \"references\", null, 0, -1, DeferedFlatReferenceTableEditorSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deferedReferenceEClass, DeferedReference.class, \"DeferedReference\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeferedReference_FlatreferenceEditor(), theEefnrPackage.getTotalSample(), null, \"flatreferenceEditor\", null, 1, 1, DeferedReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deferedReferenceTableEditorSampleEClass, DeferedReferenceTableEditorSample.class, \"DeferedReferenceTableEditorSample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeferedReferenceTableEditorSample_References(), this.getDeferedReference(), null, \"references\", null, 0, -1, DeferedReferenceTableEditorSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ownerEClass, Owner.class, \"Owner\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOwner_MultipleReferencers(), this.getMultipleReferencer(), null, \"multipleReferencers\", null, 0, -1, Owner.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOwner_SingleReferencers(), this.getSingleReferencer(), null, \"singleReferencers\", null, 0, 1, Owner.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(multipleReferencerEClass, MultipleReferencer.class, \"MultipleReferencer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForTableComposition(), this.getOwner(), null, \"multipleSampleForTableComposition\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForAdvancedTableComposition(), this.getOwner(), null, \"multipleSampleForAdvancedTableComposition\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForReferencesTable(), this.getOwner(), null, \"multipleSampleForReferencesTable\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleAdvancedReferencesTable(), this.getOwner(), null, \"multipleSampleAdvancedReferencesTable\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForFlatReferencesTable(), this.getOwner(), null, \"multipleSampleForFlatReferencesTable\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(subtypeEClass, Subtype.class, \"Subtype\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSubtype_SpecialisedElement(), ecorePackage.getEBoolean(), \"specialisedElement\", null, 0, 1, Subtype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(singleReferencerEClass, SingleReferencer.class, \"SingleReferencer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSingleReferencer_SingleSampleForTableComposition(), this.getOwner(), null, \"singleSampleForTableComposition\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleForAdvancedTableComposition(), this.getOwner(), null, \"singleSampleForAdvancedTableComposition\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleForReferencesTable(), this.getOwner(), null, \"singleSampleForReferencesTable\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleAdvancedReferencesTable(), this.getOwner(), null, \"singleSampleAdvancedReferencesTable\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleForFlatReferencesTable(), this.getOwner(), null, \"singleSampleForFlatReferencesTable\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleContainmentForEObjectFlatComboViewer(), this.getOwner(), null, \"singleContainmentForEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleReferenceForEObjectFlatComboViewer(), this.getOwner(), null, \"singleReferenceForEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleContainmentForAdvancedEObjectFlatComboViewer(), this.getOwner(), null, \"singleContainmentForAdvancedEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleReferenceForAdvancedEObjectFlatComboViewer(), this.getOwner(), null, \"singleReferenceForAdvancedEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSingleReferencer_BooleanAttribute(), ecorePackage.getEBoolean(), \"booleanAttribute\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSingleReferencer_EenumAttribute(), ecorePackage.getEEnumerator(), \"eenumAttribute\", null, 0, 1, SingleReferencer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSingleReferencer_StringAttribute(), ecorePackage.getEString(), \"stringAttribute\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(ecorePackage.getEEList());\n\t\tEGenericType g2 = createEGenericType();\n\t\tg1.getETypeArguments().add(g2);\n\t\tinitEAttribute(getSingleReferencer_ListAttribute(), g1, \"listAttribute\", null, 0, 1, SingleReferencer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(anotherSubTypeEClass, AnotherSubType.class, \"AnotherSubType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAnotherSubType_AnotherSpecialisation(), ecorePackage.getEBoolean(), \"anotherSpecialisation\", null, 0, 1, AnotherSubType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(elementEClass, Element.class, \"Element\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getElement_Visible(), ecorePackage.getEBoolean(), \"visible\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(attributeNavigationSampleEClass, AttributeNavigationSample.class, \"AttributeNavigationSample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAttributeNavigationSample_SingleValuedAttributeDelegate(), this.getAttributeDelegate(), null, \"singleValuedAttributeDelegate\", null, 0, 1, AttributeNavigationSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAttributeNavigationSample_MultiValuedAttributeDelegate(), this.getAttributeDelegate(), null, \"multiValuedAttributeDelegate\", null, 0, -1, AttributeNavigationSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(attributeDelegateEClass, AttributeDelegate.class, \"AttributeDelegate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAttributeDelegate_Delegate1(), ecorePackage.getEString(), \"delegate1\", null, 1, 1, AttributeDelegate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAttributeDelegate_Delegate2(), ecorePackage.getEInt(), \"delegate2\", null, 0, 1, AttributeDelegate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t}", "private void validateRequiredDocuments(Noc noc, Object mdmsData) {\n\t\tMap<String, List<String>> masterData = mdmsValidator.getAttributeValues(mdmsData);\n\n\t\tif (!noc.getWorkflow().getAction().equalsIgnoreCase(NOCConstants.ACTION_REJECT) && !noc.getWorkflow().getAction().equalsIgnoreCase(NOCConstants.ACTION_VOID)) {\n\t\t\tList<Document> documents = noc.getDocuments();\n\t\t\tString filterExp = \"$.[?(@.applicationType=='\" + noc.getApplicationType() + \"' && @.nocType=='\" + noc.getNocType() + \"')].docTypes\";\n\t\t\tList<Object> docTypeMappings = JsonPath.read(masterData.get(NOCConstants.NOC_DOC_TYPE_MAPPING), filterExp);\n\t\t\tif (CollectionUtils.isEmpty(docTypeMappings)) {\n\t\t\t\tthrow new CustomException(\"MDMS_DATA_ERROR\", \"Unable to fetch noc document mapping\");\n\t\t\t}\n\t\t\t// fetch all document types for noc type\n\t\t\tList<String> docTypes = JsonPath.read(docTypeMappings, \"$..documentType\");\n\n\t\t\t// filter mandatory document list\n\t\t\tfilterExp = \"$..[?(@.required==true)].documentType\";\n\t\t\tList<String> requiredDocTypes = JsonPath.read(docTypeMappings, filterExp);\n\n\t\t\tfilterExp = \"$.[?(@.active==true)].code\";\n\t\t\tList<String> validDocumentTypes = JsonPath.read(masterData.get(NOCConstants.DOCUMENT_TYPE), filterExp);\n\n\t\t\tif (!CollectionUtils.isEmpty(documents)) {\n\t\t\t\tdocuments.forEach(document -> {\n\t\t\t\t\tif (StringUtils.isEmpty(document.getFileStoreId())) {\n\t\t\t\t\t\tthrow new CustomException(\"NOC_FILE_EMPTY\", \"Filestore id is empty\");\n\t\t\t\t\t}\n\t\t\t\t\tif (!validDocumentTypes.contains(document.getDocumentType())) {\n\t\t\t\t\t\tthrow new CustomException(\"NOC_UNKNOWN_DOCUMENTTYPE\", document.getDocumentType() + \" is Unkown\");\n\t\t\t\t\t}\n\t\t\t\t\tif (requiredDocTypes.size() > 0 && documents.size() < requiredDocTypes.size()) {\n\t\t\t\t\t\tthrow new CustomException(\"NOC_MANDATORY_DOCUMENTYPE_MISSING\", requiredDocTypes.size() + \" Documents are requied \");\n\t\t\t\t\t} else if (requiredDocTypes.size() > 0) {\n\t\t\t\t\t\tList<String> addedDocTypes = new ArrayList<String>();\n\n\t\t\t\t\t\tdocuments.forEach(doc -> {\n\t\t\t\t\t\t\tString docType = doc.getDocumentType();\n\t\t\t\t\t\t\tint lastIndex = docType.lastIndexOf(\".\");\n\t\t\t\t\t\t\tString documentNs = \"\";\n\t\t\t\t\t\t\tif (lastIndex > 1) {\n\t\t\t\t\t\t\t\tdocumentNs = docType.substring(0, lastIndex);\n\t\t\t\t\t\t\t} else if (lastIndex == 1) {\n\t\t\t\t\t\t\t\tthrow new CustomException(\"NOC_INVALID_DOCUMENTTYPE\", document.getDocumentType() + \" is invalid\");\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tdocumentNs = docType;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\taddedDocTypes.add(documentNs);\n\t\t\t\t\t\t});\n\t\t\t\t\t\trequiredDocTypes.forEach(docType -> {\n\t\t\t\t\t\t\tif (!addedDocTypes.contains(docType)) {\n\t\t\t\t\t\t\t\tthrow new CustomException(\"NOC_MANDATORY_DOCUMENTYPE_MISSING\", \"Document Type \" + docType + \" is missing\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\taddedDocTypes.forEach(documentType -> {\n\t\t\t\t\t\t\tif (!docTypes.contains(documentType)) {\n\t\t\t\t\t\t\t\tthrow new CustomException(\"NOC_INVALID_DOCUMENTTYPE\", \"Document Type \" + documentType + \" is invalid for \" + noc.getNocType() + \" application\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else if (requiredDocTypes.size() > 0) {\n\t\t\t\tthrow new CustomException(\"NOC_MANDATORY_DOCUMENTYPE_MISSING\", \"Atleast \" + requiredDocTypes.size() + \" Documents are required \");\n\t\t\t}\n\t\t}\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tInfrastructurePackage theInfrastructurePackage = (InfrastructurePackage)EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);\n\t\tOCCIPackage theOCCIPackage = (OCCIPackage)EPackage.Registry.INSTANCE.getEPackage(OCCIPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tcontainerEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\t\tlinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tnetworklinkEClass.getESuperTypes().add(this.getLink());\n\t\tvolumesfromEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tcontainsEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tmachineEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\t\tvolumeEClass.getESuperTypes().add(theInfrastructurePackage.getStorage());\n\t\tnetworkEClass.getESuperTypes().add(theInfrastructurePackage.getNetwork());\n\t\tmachinegenericEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineamazonec2EClass.getESuperTypes().add(this.getMachine());\n\t\tmachinedigitaloceanEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinegooglecomputeengineEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineibmsoftlayerEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinemicrosoftazureEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinemicrosofthypervEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineopenstackEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinerackspaceEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevirtualboxEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarefusionEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarevcloudairEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarevsphereEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineexoscaleEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinegrid5000EClass.getESuperTypes().add(this.getMachine());\n\t\tclusterEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(arrayOfStringEClass, ArrayOfString.class, \"ArrayOfString\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArrayOfString_Values(), ecorePackage.getEString(), \"values\", null, 0, -1, ArrayOfString.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(containerEClass, org.eclipse.cmf.occi.docker.Container.class, \"Container\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getContainer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Containerid(), ecorePackage.getEString(), \"containerid\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Build(), ecorePackage.getEString(), \"build\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Command(), ecorePackage.getEString(), \"command\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Ports(), ecorePackage.getEString(), \"ports\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Expose(), ecorePackage.getEString(), \"expose\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Volumes(), ecorePackage.getEString(), \"volumes\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Environment(), ecorePackage.getEString(), \"environment\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_EnvFile(), ecorePackage.getEString(), \"envFile\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Net(), ecorePackage.getEString(), \"net\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Dns(), ecorePackage.getEString(), \"dns\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DnsSearch(), ecorePackage.getEString(), \"dnsSearch\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CapAdd(), ecorePackage.getEString(), \"capAdd\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CapDrop(), ecorePackage.getEString(), \"capDrop\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_WorkingDir(), ecorePackage.getEString(), \"workingDir\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Entrypoint(), ecorePackage.getEString(), \"entrypoint\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_User(), ecorePackage.getEString(), \"user\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DomainName(), ecorePackage.getEString(), \"domainName\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemLimit(), ecorePackage.getEBigInteger(), \"memLimit\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemorySwap(), ecorePackage.getEBigInteger(), \"memorySwap\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Privileged(), ecorePackage.getEBoolean(), \"privileged\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Restart(), ecorePackage.getEString(), \"restart\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_StdinOpen(), ecorePackage.getEBoolean(), \"stdinOpen\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Interactive(), ecorePackage.getEBoolean(), \"interactive\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuShares(), ecorePackage.getEBigInteger(), \"cpuShares\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Pid(), ecorePackage.getEString(), \"pid\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Ipc(), ecorePackage.getEString(), \"ipc\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_AddHost(), ecorePackage.getEString(), \"addHost\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MacAddress(), theInfrastructurePackage.getMac(), \"macAddress\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Rm(), ecorePackage.getEBoolean(), \"rm\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_SecurityOpt(), ecorePackage.getEString(), \"securityOpt\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Device(), ecorePackage.getEString(), \"device\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_LxcConf(), ecorePackage.getEString(), \"lxcConf\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_PublishAll(), ecorePackage.getEBoolean(), \"publishAll\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_ReadOnly(), ecorePackage.getEBoolean(), \"readOnly\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Monitored(), ecorePackage.getEBoolean(), \"monitored\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuUsed(), ecorePackage.getEBigInteger(), \"cpuUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryUsed(), ecorePackage.getEBigInteger(), \"memoryUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuPercent(), ecorePackage.getEString(), \"cpuPercent\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryPercent(), ecorePackage.getEString(), \"memoryPercent\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DiskUsed(), ecorePackage.getEBigInteger(), \"diskUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DiskPercent(), ecorePackage.getEString(), \"diskPercent\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_BandwidthUsed(), ecorePackage.getEBigInteger(), \"bandwidthUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_BandwidthPercent(), ecorePackage.getEString(), \"bandwidthPercent\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MonitoringInterval(), ecorePackage.getEBigInteger(), \"monitoringInterval\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuMaxValue(), ecorePackage.getEBigInteger(), \"cpuMaxValue\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryMaxValue(), ecorePackage.getEBigInteger(), \"memoryMaxValue\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CoreMax(), ecorePackage.getEBigInteger(), \"coreMax\", \"1\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuSetCpus(), ecorePackage.getEString(), \"cpuSetCpus\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuSetMems(), ecorePackage.getEString(), \"cpuSetMems\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Tty(), ecorePackage.getEBoolean(), \"tty\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Create(), null, \"create\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Stop(), null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Run(), null, \"run\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Pause(), null, \"pause\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Unpause(), null, \"unpause\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getContainer__Kill__String(), null, \"kill\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"signal\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(linkEClass, Link.class, \"Link\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLink_Alias(), ecorePackage.getEString(), \"alias\", null, 0, 1, Link.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(networklinkEClass, Networklink.class, \"Networklink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(volumesfromEClass, Volumesfrom.class, \"Volumesfrom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getVolumesfrom_Mode(), this.getMode(), \"mode\", \"readWrite\", 0, 1, Volumesfrom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(containsEClass, Contains.class, \"Contains\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(machineEClass, Machine.class, \"Machine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachine_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineInstallURL(), ecorePackage.getEString(), \"engineInstallURL\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineOpt(), ecorePackage.getEString(), \"engineOpt\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineInsecureRegistry(), ecorePackage.getEString(), \"engineInsecureRegistry\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineRegistryMirror(), ecorePackage.getEString(), \"engineRegistryMirror\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineLabel(), ecorePackage.getEString(), \"engineLabel\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineStorageDriver(), ecorePackage.getEString(), \"engineStorageDriver\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineEnv(), ecorePackage.getEString(), \"engineEnv\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_Swarm(), ecorePackage.getEBoolean(), \"swarm\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmImage(), ecorePackage.getEString(), \"swarmImage\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmMaster(), ecorePackage.getEBoolean(), \"swarmMaster\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmDiscovery(), ecorePackage.getEString(), \"swarmDiscovery\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmStrategy(), ecorePackage.getEString(), \"swarmStrategy\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmOpt(), ecorePackage.getEString(), \"swarmOpt\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmHost(), ecorePackage.getEString(), \"swarmHost\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmAddr(), ecorePackage.getEString(), \"swarmAddr\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmExperimental(), ecorePackage.getEString(), \"swarmExperimental\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_TlsSan(), ecorePackage.getEString(), \"tlsSan\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getMachine__Startall(), null, \"startall\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(volumeEClass, Volume.class, \"Volume\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getVolume_Driver(), ecorePackage.getEString(), \"driver\", \"local\", 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Labels(), ecorePackage.getEString(), \"labels\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Options(), ecorePackage.getEString(), \"options\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Source(), ecorePackage.getEString(), \"source\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Destination(), ecorePackage.getEString(), \"destination\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Mode(), ecorePackage.getEString(), \"mode\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Rw(), ecorePackage.getEString(), \"rw\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Propagation(), ecorePackage.getEString(), \"propagation\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(networkEClass, Network.class, \"Network\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNetwork_NetworkId(), ecorePackage.getEString(), \"networkId\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_AuxAddress(), ecorePackage.getEString(), \"auxAddress\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Driver(), ecorePackage.getEString(), \"driver\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Gateway(), ecorePackage.getEString(), \"gateway\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Internal(), ecorePackage.getEBoolean(), \"internal\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpRange(), ecorePackage.getEString(), \"ipRange\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpamDriver(), ecorePackage.getEString(), \"ipamDriver\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpamOpt(), ecorePackage.getEString(), \"ipamOpt\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Ipv6(), ecorePackage.getEBoolean(), \"ipv6\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Opt(), ecorePackage.getEString(), \"opt\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Subnet(), ecorePackage.getEString(), \"subnet\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegenericEClass, Machinegeneric.class, \"Machinegeneric\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegeneric_EnginePort(), ecorePackage.getEBigInteger(), \"enginePort\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_IpAddress(), ecorePackage.getEString(), \"ipAddress\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshKey(), ecorePackage.getEString(), \"sshKey\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshUser(), ecorePackage.getEString(), \"sshUser\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineamazonec2EClass, Machineamazonec2.class, \"Machineamazonec2\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineamazonec2_AccessKey(), ecorePackage.getEString(), \"accessKey\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Ami(), ecorePackage.getEString(), \"ami\", \"ami-4ae27e22\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_InstanceType(), ecorePackage.getEString(), \"instanceType\", \"t2.micro\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Region(), ecorePackage.getEString(), \"region\", \"us-east-1\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_RootSize(), ecorePackage.getEBigInteger(), \"rootSize\", \"16\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SecretKey(), ecorePackage.getEString(), \"secretKey\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SecurityGroup(), ecorePackage.getEString(), \"securityGroup\", \"docker-machine\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SessionToken(), ecorePackage.getEString(), \"sessionToken\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SubnetId(), ecorePackage.getEString(), \"subnetId\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_VpcId(), ecorePackage.getEString(), \"vpcId\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Zone(), ecorePackage.getEString(), \"zone\", \"a\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinedigitaloceanEClass, Machinedigitalocean.class, \"Machinedigitalocean\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinedigitalocean_AccessToken(), ecorePackage.getEString(), \"accessToken\", null, 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Image(), ecorePackage.getEString(), \"image\", \"docker\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Region(), ecorePackage.getEString(), \"region\", \"nyc3\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Size(), ecorePackage.getEString(), \"size\", \"512mb\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegooglecomputeengineEClass, Machinegooglecomputeengine.class, \"Machinegooglecomputeengine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Zone(), ecorePackage.getEString(), \"zone\", \"us-central1-a\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_MachineType(), ecorePackage.getEString(), \"machineType\", \"f1-micro\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Username(), ecorePackage.getEString(), \"username\", \"docker-user\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_InstanceName(), ecorePackage.getEString(), \"instanceName\", \"docker-machine\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Project(), ecorePackage.getEString(), \"project\", null, 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineibmsoftlayerEClass, Machineibmsoftlayer.class, \"Machineibmsoftlayer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineibmsoftlayer_ApiEndpoint(), ecorePackage.getEString(), \"apiEndpoint\", \"api.softlayer.com/rest/v3\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_User(), ecorePackage.getEString(), \"user\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Cpu(), ecorePackage.getEBigInteger(), \"cpu\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Domain(), ecorePackage.getEString(), \"domain\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_HourlyBilling(), ecorePackage.getEBoolean(), \"hourlyBilling\", \"false\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Image(), ecorePackage.getEString(), \"image\", \"UBUNTU_LATEST\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_LocalDisk(), ecorePackage.getEBoolean(), \"localDisk\", \"false\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PrivateNetOnly(), ecorePackage.getEBoolean(), \"privateNetOnly\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PublicVlanId(), ecorePackage.getEString(), \"publicVlanId\", \"0\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PrivateVlanId(), ecorePackage.getEString(), \"privateVlanId\", \"0\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinemicrosoftazureEClass, Machinemicrosoftazure.class, \"Machinemicrosoftazure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubscriptionId(), ecorePackage.getEString(), \"subscriptionId\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubscriptionCert(), ecorePackage.getEString(), \"subscriptionCert\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Environment(), ecorePackage.getEString(), \"environment\", \"AzurePublicCloud\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_MachineLocation(), ecorePackage.getEString(), \"machineLocation\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_ResourceGroup(), ecorePackage.getEString(), \"resourceGroup\", \"docker-machine\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Size(), ecorePackage.getEString(), \"size\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SshUser(), ecorePackage.getEString(), \"sshUser\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Vnet(), ecorePackage.getEString(), \"vnet\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Subnet(), ecorePackage.getEString(), \"subnet\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubnetPrefix(), ecorePackage.getEString(), \"subnetPrefix\", \"192.168.0.0/16\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_AvailabilitySet(), ecorePackage.getEString(), \"availabilitySet\", \"docker-machine\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_OpenPort(), ecorePackage.getEBigInteger(), \"openPort\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_PrivateIpAddress(), ecorePackage.getEString(), \"privateIpAddress\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_NoPublicIp(), ecorePackage.getEString(), \"noPublicIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_StaticPublicIp(), ecorePackage.getEString(), \"staticPublicIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_DockerPort(), ecorePackage.getEString(), \"dockerPort\", \"2376\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_UsePrivateIp(), ecorePackage.getEString(), \"usePrivateIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinemicrosofthypervEClass, Machinemicrosofthyperv.class, \"Machinemicrosofthyperv\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinemicrosofthyperv_VirtualSwitch(), ecorePackage.getEString(), \"virtualSwitch\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_StaticMacAddress(), theInfrastructurePackage.getMac(), \"staticMacAddress\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_VlanId(), ecorePackage.getEString(), \"vlanId\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineopenstackEClass, Machineopenstack.class, \"Machineopenstack\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineopenstack_FlavorId(), ecorePackage.getEString(), \"flavorId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_FlavorName(), ecorePackage.getEString(), \"flavorName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ImageId(), ecorePackage.getEString(), \"imageId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ImageName(), ecorePackage.getEString(), \"imageName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_AuthUrl(), ecorePackage.getEString(), \"authUrl\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_TenantName(), ecorePackage.getEString(), \"tenantName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_TenantId(), ecorePackage.getEString(), \"tenantId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_EndpointType(), ecorePackage.getEString(), \"endpointType\", \"publicURL\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_NetId(), ecorePackage.getEString(), \"netId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_NetName(), ecorePackage.getEString(), \"netName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SecGroups(), ecorePackage.getEString(), \"secGroups\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_FloatingIpPool(), ecorePackage.getEString(), \"floatingIpPool\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ActiveTimeOut(), ecorePackage.getEBigInteger(), \"activeTimeOut\", \"200\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_AvailabilityZone(), ecorePackage.getEString(), \"availabilityZone\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_DomainId(), ecorePackage.getEString(), \"domainId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_DomainName(), ecorePackage.getEString(), \"domainName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Insecure(), ecorePackage.getEBoolean(), \"insecure\", \"false\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_IpVersion(), ecorePackage.getEBigInteger(), \"ipVersion\", \"4\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_KeypairName(), ecorePackage.getEString(), \"keypairName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_PrivateKeyFile(), ecorePackage.getEString(), \"privateKeyFile\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SshUser(), ecorePackage.getEString(), \"sshUser\", \"root\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinerackspaceEClass, Machinerackspace.class, \"Machinerackspace\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinerackspace_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_EndPointType(), ecorePackage.getEString(), \"endPointType\", \"publicURL\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_ImageId(), ecorePackage.getEString(), \"imageId\", \"59a3fadd-93e7-4674-886a-64883e17115f\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_FlavorId(), ecorePackage.getEString(), \"flavorId\", \"general1-1\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_SshUser(), ecorePackage.getEString(), \"sshUser\", \"root\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_DockerInstall(), ecorePackage.getEBoolean(), \"dockerInstall\", \"true\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevirtualboxEClass, Machinevirtualbox.class, \"Machinevirtualbox\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevirtualbox_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostDNSResolver(), ecorePackage.getEBoolean(), \"hostDNSResolver\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_ImportBoot2DockerVM(), ecorePackage.getEString(), \"importBoot2DockerVM\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyCIDR(), ecorePackage.getEString(), \"hostOnlyCIDR\", \"192.168.99.1/24\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyNICType(), ecorePackage.getEString(), \"hostOnlyNICType\", \"82540EM\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyNICPromisc(), ecorePackage.getEString(), \"hostOnlyNICPromisc\", \"deny\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoShare(), ecorePackage.getEBoolean(), \"noShare\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoDNSProxy(), ecorePackage.getEBoolean(), \"noDNSProxy\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoVTXCheck(), ecorePackage.getEBoolean(), \"noVTXCheck\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_ShareFolder(), ecorePackage.getEString(), \"shareFolder\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarefusionEClass, Machinevmwarefusion.class, \"Machinevmwarefusion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarefusion_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"1024\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_NoShare(), ecorePackage.getEBoolean(), \"noShare\", \"false\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarevcloudairEClass, Machinevmwarevcloudair.class, \"Machinevmwarevcloudair\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Catalog(), ecorePackage.getEString(), \"catalog\", \"Public Catalog\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_CatalogItem(), ecorePackage.getEString(), \"catalogItem\", \"Ubuntu Server 12.04 LTS (amd64 20140927)\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_ComputeId(), ecorePackage.getEString(), \"computeId\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_CpuCount(), ecorePackage.getEBigInteger(), \"cpuCount\", \"1\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_DockerPort(), ecorePackage.getEBigInteger(), \"dockerPort\", \"2376\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Edgegateway(), ecorePackage.getEString(), \"edgegateway\", \"&lt;vdcid>\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"2048\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_VappName(), ecorePackage.getEString(), \"vappName\", \"&lt;autogenerated>\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Orgvdcnetwork(), ecorePackage.getEString(), \"orgvdcnetwork\", \"&lt;vdcid>-default-routed\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Provision(), ecorePackage.getEBoolean(), \"provision\", \"true\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_PublicIp(), ecorePackage.getEString(), \"publicIp\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_VdcId(), ecorePackage.getEString(), \"vdcId\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarevsphereEClass, Machinevmwarevsphere.class, \"Machinevmwarevsphere\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarevsphere_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_ComputeIp(), ecorePackage.getEString(), \"computeIp\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_CpuCount(), ecorePackage.getEBigInteger(), \"cpuCount\", \"2\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Datacenter(), ecorePackage.getEString(), \"datacenter\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Datastore(), ecorePackage.getEString(), \"datastore\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"2048\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Network(), ecorePackage.getEString(), \"network\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Pool(), ecorePackage.getEString(), \"pool\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Vcenter(), ecorePackage.getEString(), \"vcenter\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineexoscaleEClass, Machineexoscale.class, \"Machineexoscale\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineexoscale_Url(), ecorePackage.getEString(), \"url\", \"https://api.exoscale.ch/compute\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_ApiSecretKey(), ecorePackage.getEString(), \"apiSecretKey\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_InstanceProfile(), ecorePackage.getEString(), \"instanceProfile\", \"small\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_Image(), ecorePackage.getEString(), \"image\", \"ubuntu-16.04\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_SecurityGroup(), ecorePackage.getEString(), \"securityGroup\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_AvailabilityZone(), ecorePackage.getEString(), \"availabilityZone\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_SshUser(), ecorePackage.getEString(), \"sshUser\", \"ubuntu\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_UserData(), ecorePackage.getEString(), \"userData\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_AffinityGroup(), ecorePackage.getEString(), \"affinityGroup\", \"docker-machine\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegrid5000EClass, Machinegrid5000.class, \"Machinegrid5000\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegrid5000_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Site(), ecorePackage.getEString(), \"site\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Walltime(), ecorePackage.getEString(), \"walltime\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_SshPrivateKey(), ecorePackage.getEString(), \"sshPrivateKey\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_SshPublicKey(), ecorePackage.getEString(), \"sshPublicKey\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_ResourceProperties(), ecorePackage.getEString(), \"resourceProperties\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_UseJobReservation(), ecorePackage.getEString(), \"useJobReservation\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_HostToProvision(), ecorePackage.getEString(), \"hostToProvision\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(clusterEClass, Cluster.class, \"Cluster\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCluster_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Cluster.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(modeEEnum, Mode.class, \"Mode\");\n\t\taddEEnumLiteral(modeEEnum, Mode.READ_WRITE);\n\t\taddEEnumLiteral(modeEEnum, Mode.READ);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t}", "public void setUseFiles(boolean yesno);", "@Test\n\tpublic void testValidate_14()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\n\t\tfixture.validate(fileName, validateFileExtension);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "public void testGetDocumentForSanity() {\n String document = myAuthorizationConfiguration.getXmlFile();\n assertEquals(XMLAuthorizationMockFactory.RELATIVE_XML_DOCUMENT, document);\n }", "@Override\r\n\tprotected void isBodyValid() {\r\n\t\tif( withinButton.isSelected() \r\n\t\t\t\t&& withinField.getText().equals(\"\")){\r\n//\t\t\tinformation.setText(\"When --within is selected you must specify a file.\");\r\n\t\t\tvalidBody = false;\r\n\t\t}\r\n\t\telse \r\n\t\t\tvalidBody = true;\r\n\t\t\r\n\t\tokForm();\r\n\r\n\t}", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "public void SetTestFiles(File[] testFiles)\n\t{\n\t\tthis.testFiles = testFiles;\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCapellacorePackage theCapellacorePackage = (CapellacorePackage)EPackage.Registry.INSTANCE.getEPackage(CapellacorePackage.eNS_URI);\n\t\tFaPackage theFaPackage = (FaPackage)EPackage.Registry.INSTANCE.getEPackage(FaPackage.eNS_URI);\n\t\tRequirementPackage theRequirementPackage = (RequirementPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementPackage.eNS_URI);\n\t\tCapellacommonPackage theCapellacommonPackage = (CapellacommonPackage)EPackage.Registry.INSTANCE.getEPackage(CapellacommonPackage.eNS_URI);\n\t\tInformationPackage theInformationPackage = (InformationPackage)EPackage.Registry.INSTANCE.getEPackage(InformationPackage.eNS_URI);\n\t\tCommunicationPackage theCommunicationPackage = (CommunicationPackage)EPackage.Registry.INSTANCE.getEPackage(CommunicationPackage.eNS_URI);\n\t\tModellingcorePackage theModellingcorePackage = (ModellingcorePackage)EPackage.Registry.INSTANCE.getEPackage(ModellingcorePackage.eNS_URI);\n\t\tEpbsPackage theEpbsPackage = (EpbsPackage)EPackage.Registry.INSTANCE.getEPackage(EpbsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tblockArchitecturePkgEClass.getESuperTypes().add(theCapellacorePackage.getModellingArchitecturePkg());\n\t\tblockArchitectureEClass.getESuperTypes().add(theFaPackage.getAbstractFunctionalArchitecture());\n\t\tblockEClass.getESuperTypes().add(theCapellacorePackage.getModellingBlock());\n\t\tblockEClass.getESuperTypes().add(theFaPackage.getAbstractFunctionalBlock());\n\t\tcomponentArchitectureEClass.getESuperTypes().add(this.getBlockArchitecture());\n\t\tcomponentEClass.getESuperTypes().add(this.getBlock());\n\t\tcomponentEClass.getESuperTypes().add(theInformationPackage.getPartitionableElement());\n\t\tcomponentEClass.getESuperTypes().add(this.getInterfaceAllocator());\n\t\tcomponentEClass.getESuperTypes().add(theCommunicationPackage.getCommunicationLinkExchanger());\n\t\tabstractActorEClass.getESuperTypes().add(this.getComponent());\n\t\tabstractActorEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvedElement());\n\t\tpartEClass.getESuperTypes().add(theInformationPackage.getPartition());\n\t\tpartEClass.getESuperTypes().add(theModellingcorePackage.getInformationsExchanger());\n\t\tpartEClass.getESuperTypes().add(this.getDeployableElement());\n\t\tpartEClass.getESuperTypes().add(this.getDeploymentTarget());\n\t\tpartEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tarchitectureAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tcomponentAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tsystemComponentEClass.getESuperTypes().add(this.getComponent());\n\t\tsystemComponentEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvedElement());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCommunicationPackage.getMessageReferencePkg());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCapellacorePackage.getAbstractDependenciesPkg());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCapellacorePackage.getAbstractExchangeItemPkg());\n\t\tinterfaceEClass.getESuperTypes().add(theCapellacorePackage.getGeneralClass());\n\t\tinterfaceEClass.getESuperTypes().add(this.getInterfaceAllocator());\n\t\tinterfaceImplementationEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tinterfaceUseEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tprovidedInterfaceLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\trequiredInterfaceLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tinterfaceAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tinterfaceAllocatorEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tactorCapabilityRealizationInvolvementEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvement());\n\t\tsystemComponentCapabilityRealizationInvolvementEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvement());\n\t\tcomponentContextEClass.getESuperTypes().add(this.getComponent());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theInformationPackage.getAbstractEventOperation());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theModellingcorePackage.getFinalizableElement());\n\t\tdeployableElementEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tdeploymentTargetEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tabstractDeploymentLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tabstractPathInvolvedElementEClass.getESuperTypes().add(theCapellacorePackage.getInvolvedElement());\n\t\tabstractPhysicalArtifactEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tabstractPhysicalLinkEndEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tabstractPhysicalPathLinkEClass.getESuperTypes().add(theFaPackage.getComponentExchangeAllocator());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPhysicalPathLink());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPhysicalArtifact());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tphysicalLinkCategoryEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tphysicalLinkEndEClass.getESuperTypes().add(this.getAbstractPhysicalLinkEnd());\n\t\tphysicalLinkRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tphysicalPathEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tphysicalPathEClass.getESuperTypes().add(theFaPackage.getComponentExchangeAllocator());\n\t\tphysicalPathEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tphysicalPathEClass.getESuperTypes().add(theCapellacorePackage.getInvolverElement());\n\t\tphysicalPathInvolvementEClass.getESuperTypes().add(theCapellacorePackage.getInvolvement());\n\t\tphysicalPathReferenceEClass.getESuperTypes().add(this.getPhysicalPathInvolvement());\n\t\tphysicalPathRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tphysicalPortEClass.getESuperTypes().add(theInformationPackage.getPartition());\n\t\tphysicalPortEClass.getESuperTypes().add(theInformationPackage.getPort());\n\t\tphysicalPortEClass.getESuperTypes().add(this.getAbstractPhysicalArtifact());\n\t\tphysicalPortEClass.getESuperTypes().add(theModellingcorePackage.getInformationsExchanger());\n\t\tphysicalPortEClass.getESuperTypes().add(this.getAbstractPhysicalLinkEnd());\n\t\tphysicalPortRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(blockArchitecturePkgEClass, BlockArchitecturePkg.class, \"BlockArchitecturePkg\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(blockArchitectureEClass, BlockArchitecture.class, \"BlockArchitecture\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlockArchitecture_OwnedRequirementPkgs(), theRequirementPackage.getRequirementsPkg(), null, \"ownedRequirementPkgs\", null, 0, -1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedAbstractCapabilityPkg(), theCapellacommonPackage.getAbstractCapabilityPkg(), null, \"ownedAbstractCapabilityPkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedInterfacePkg(), this.getInterfacePkg(), null, \"ownedInterfacePkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedDataPkg(), theInformationPackage.getDataPkg(), null, \"ownedDataPkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_ProvisionedArchitectureAllocations(), this.getArchitectureAllocation(), this.getArchitectureAllocation_AllocatingArchitecture(), \"provisionedArchitectureAllocations\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_ProvisioningArchitectureAllocations(), this.getArchitectureAllocation(), this.getArchitectureAllocation_AllocatedArchitecture(), \"provisioningArchitectureAllocations\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_AllocatedArchitectures(), this.getBlockArchitecture(), null, \"allocatedArchitectures\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_AllocatingArchitectures(), this.getBlockArchitecture(), null, \"allocatingArchitectures\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(blockEClass, Block.class, \"Block\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlock_OwnedAbstractCapabilityPkg(), theCapellacommonPackage.getAbstractCapabilityPkg(), null, \"ownedAbstractCapabilityPkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedInterfacePkg(), this.getInterfacePkg(), null, \"ownedInterfacePkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedDataPkg(), theInformationPackage.getDataPkg(), null, \"ownedDataPkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedStateMachines(), theCapellacommonPackage.getStateMachine(), null, \"ownedStateMachines\", null, 0, -1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentArchitectureEClass, ComponentArchitecture.class, \"ComponentArchitecture\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(componentEClass, Component.class, \"Component\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponent_OwnedInterfaceUses(), this.getInterfaceUse(), null, \"ownedInterfaceUses\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_UsedInterfaceLinks(), this.getInterfaceUse(), this.getInterfaceUse_InterfaceUser(), \"usedInterfaceLinks\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_UsedInterfaces(), this.getInterface(), this.getInterface_UserComponents(), \"usedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedInterfaceImplementations(), this.getInterfaceImplementation(), null, \"ownedInterfaceImplementations\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ImplementedInterfaceLinks(), this.getInterfaceImplementation(), this.getInterfaceImplementation_InterfaceImplementor(), \"implementedInterfaceLinks\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ImplementedInterfaces(), this.getInterface(), this.getInterface_ImplementorComponents(), \"implementedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvisionedComponentAllocations(), this.getComponentAllocation(), this.getComponentAllocation_AllocatingComponent(), \"provisionedComponentAllocations\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvisioningComponentAllocations(), this.getComponentAllocation(), this.getComponentAllocation_AllocatedComponent(), \"provisioningComponentAllocations\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_AllocatedComponents(), this.getComponent(), null, \"allocatedComponents\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_AllocatingComponents(), this.getComponent(), null, \"allocatingComponents\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvidedInterfaces(), this.getInterface(), null, \"providedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_RequiredInterfaces(), this.getInterface(), null, \"requiredInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedComponentPorts(), theFaPackage.getComponentPort(), null, \"containedComponentPorts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedParts(), this.getPart(), null, \"containedParts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedPhysicalPorts(), this.getPhysicalPort(), null, \"containedPhysicalPorts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalPath(), this.getPhysicalPath(), null, \"ownedPhysicalPath\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalLinks(), this.getPhysicalLink(), null, \"ownedPhysicalLinks\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalLinkCategories(), this.getPhysicalLinkCategory(), null, \"ownedPhysicalLinkCategories\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractActorEClass, AbstractActor.class, \"AbstractActor\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(partEClass, Part.class, \"Part\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPart_ProvidedInterfaces(), this.getInterface(), null, \"providedInterfaces\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_RequiredInterfaces(), this.getInterface(), null, \"requiredInterfaces\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_OwnedDeploymentLinks(), this.getAbstractDeploymentLink(), null, \"ownedDeploymentLinks\", null, 0, -1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_DeployedParts(), this.getPart(), null, \"deployedParts\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_DeployingParts(), this.getPart(), null, \"deployingParts\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_OwnedAbstractType(), theModellingcorePackage.getAbstractType(), null, \"ownedAbstractType\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_MaxValue(), ecorePackage.getEInt(), \"maxValue\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_MinValue(), ecorePackage.getEInt(), \"minValue\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_CurrentMass(), ecorePackage.getEInt(), \"currentMass\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEBoolean(), \"isOverhead\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEBoolean(), \"isSatured\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEInt(), \"computeMass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, null, \"print\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(architectureAllocationEClass, ArchitectureAllocation.class, \"ArchitectureAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getArchitectureAllocation_AllocatedArchitecture(), this.getBlockArchitecture(), this.getBlockArchitecture_ProvisioningArchitectureAllocations(), \"allocatedArchitecture\", null, 1, 1, ArchitectureAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArchitectureAllocation_AllocatingArchitecture(), this.getBlockArchitecture(), this.getBlockArchitecture_ProvisionedArchitectureAllocations(), \"allocatingArchitecture\", null, 1, 1, ArchitectureAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentAllocationEClass, ComponentAllocation.class, \"ComponentAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentAllocation_AllocatedComponent(), this.getComponent(), this.getComponent_ProvisioningComponentAllocations(), \"allocatedComponent\", null, 0, 1, ComponentAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponentAllocation_AllocatingComponent(), this.getComponent(), this.getComponent_ProvisionedComponentAllocations(), \"allocatingComponent\", null, 0, 1, ComponentAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(systemComponentEClass, SystemComponent.class, \"SystemComponent\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSystemComponent_DataComponent(), ecorePackage.getEBoolean(), \"dataComponent\", null, 0, 1, SystemComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSystemComponent_DataType(), theCapellacorePackage.getClassifier(), null, \"dataType\", null, 0, -1, SystemComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSystemComponent_ParticipationsInCapabilityRealizations(), this.getSystemComponentCapabilityRealizationInvolvement(), null, \"participationsInCapabilityRealizations\", null, 0, -1, SystemComponent.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfacePkgEClass, InterfacePkg.class, \"InterfacePkg\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfacePkg_OwnedInterfaces(), this.getInterface(), null, \"ownedInterfaces\", null, 0, -1, InterfacePkg.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfacePkg_OwnedInterfacePkgs(), this.getInterfacePkg(), null, \"ownedInterfacePkgs\", null, 0, -1, InterfacePkg.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceEClass, Interface.class, \"Interface\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInterface_Mechanism(), ecorePackage.getEString(), \"mechanism\", null, 0, 1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInterface_Structural(), ecorePackage.getEBoolean(), \"structural\", \"true\", 0, 1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ImplementorComponents(), this.getComponent(), this.getComponent_ImplementedInterfaces(), \"implementorComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_UserComponents(), this.getComponent(), this.getComponent_UsedInterfaces(), \"userComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_InterfaceImplementations(), this.getInterfaceImplementation(), null, \"interfaceImplementations\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_InterfaceUses(), this.getInterfaceUse(), null, \"interfaceUses\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvisioningInterfaceAllocations(), this.getInterfaceAllocation(), this.getInterfaceAllocation_AllocatedInterface(), \"provisioningInterfaceAllocations\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_AllocatingInterfaces(), this.getInterface(), null, \"allocatingInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_AllocatingComponents(), this.getComponent(), null, \"allocatingComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ExchangeItems(), theInformationPackage.getExchangeItem(), null, \"exchangeItems\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_OwnedExchangeItemAllocations(), this.getExchangeItemAllocation(), null, \"ownedExchangeItemAllocations\", null, 0, -1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RequiringComponents(), this.getComponent(), null, \"requiringComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RequiringComponentPorts(), theFaPackage.getComponentPort(), null, \"requiringComponentPorts\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvidingComponents(), this.getComponent(), null, \"providingComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvidingComponentPorts(), theFaPackage.getComponentPort(), null, \"providingComponentPorts\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizingLogicalInterfaces(), this.getInterface(), null, \"realizingLogicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizedContextInterfaces(), this.getInterface(), null, \"realizedContextInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizingPhysicalInterfaces(), this.getInterface(), null, \"realizingPhysicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizedLogicalInterfaces(), this.getInterface(), null, \"realizedLogicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceImplementationEClass, InterfaceImplementation.class, \"InterfaceImplementation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceImplementation_InterfaceImplementor(), this.getComponent(), this.getComponent_ImplementedInterfaceLinks(), \"interfaceImplementor\", null, 1, 1, InterfaceImplementation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceImplementation_ImplementedInterface(), this.getInterface(), null, \"implementedInterface\", null, 1, 1, InterfaceImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceUseEClass, InterfaceUse.class, \"InterfaceUse\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceUse_InterfaceUser(), this.getComponent(), this.getComponent_UsedInterfaceLinks(), \"interfaceUser\", null, 1, 1, InterfaceUse.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceUse_UsedInterface(), this.getInterface(), null, \"usedInterface\", null, 1, 1, InterfaceUse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(providedInterfaceLinkEClass, ProvidedInterfaceLink.class, \"ProvidedInterfaceLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getProvidedInterfaceLink_Interface(), this.getInterface(), null, \"interface\", null, 1, 1, ProvidedInterfaceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(requiredInterfaceLinkEClass, RequiredInterfaceLink.class, \"RequiredInterfaceLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRequiredInterfaceLink_Interface(), this.getInterface(), null, \"interface\", null, 1, 1, RequiredInterfaceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceAllocationEClass, InterfaceAllocation.class, \"InterfaceAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceAllocation_AllocatedInterface(), this.getInterface(), this.getInterface_ProvisioningInterfaceAllocations(), \"allocatedInterface\", null, 1, 1, InterfaceAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocation_AllocatingInterfaceAllocator(), this.getInterfaceAllocator(), this.getInterfaceAllocator_ProvisionedInterfaceAllocations(), \"allocatingInterfaceAllocator\", null, 1, 1, InterfaceAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(interfaceAllocatorEClass, InterfaceAllocator.class, \"InterfaceAllocator\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceAllocator_OwnedInterfaceAllocations(), this.getInterfaceAllocation(), null, \"ownedInterfaceAllocations\", null, 0, -1, InterfaceAllocator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocator_ProvisionedInterfaceAllocations(), this.getInterfaceAllocation(), this.getInterfaceAllocation_AllocatingInterfaceAllocator(), \"provisionedInterfaceAllocations\", null, 0, -1, InterfaceAllocator.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocator_AllocatedInterfaces(), this.getInterface(), null, \"allocatedInterfaces\", null, 0, -1, InterfaceAllocator.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(actorCapabilityRealizationInvolvementEClass, ActorCapabilityRealizationInvolvement.class, \"ActorCapabilityRealizationInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(systemComponentCapabilityRealizationInvolvementEClass, SystemComponentCapabilityRealizationInvolvement.class, \"SystemComponentCapabilityRealizationInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(componentContextEClass, ComponentContext.class, \"ComponentContext\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(exchangeItemAllocationEClass, ExchangeItemAllocation.class, \"ExchangeItemAllocation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getExchangeItemAllocation_SendProtocol(), theCommunicationPackage.getCommunicationLinkProtocol(), \"sendProtocol\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExchangeItemAllocation_ReceiveProtocol(), theCommunicationPackage.getCommunicationLinkProtocol(), \"receiveProtocol\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getExchangeItemAllocation_AllocatedItem(), theInformationPackage.getExchangeItem(), null, \"allocatedItem\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getExchangeItemAllocation_AllocatingInterface(), this.getInterface(), null, \"allocatingInterface\", null, 0, 1, ExchangeItemAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deployableElementEClass, DeployableElement.class, \"DeployableElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeployableElement_DeployingLinks(), this.getAbstractDeploymentLink(), null, \"deployingLinks\", null, 0, -1, DeployableElement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deploymentTargetEClass, DeploymentTarget.class, \"DeploymentTarget\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeploymentTarget_DeploymentLinks(), this.getAbstractDeploymentLink(), null, \"deploymentLinks\", null, 0, -1, DeploymentTarget.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractDeploymentLinkEClass, AbstractDeploymentLink.class, \"AbstractDeploymentLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractDeploymentLink_DeployedElement(), this.getDeployableElement(), null, \"deployedElement\", null, 1, 1, AbstractDeploymentLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAbstractDeploymentLink_Location(), this.getDeploymentTarget(), null, \"location\", null, 1, 1, AbstractDeploymentLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPathInvolvedElementEClass, AbstractPathInvolvedElement.class, \"AbstractPathInvolvedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(abstractPhysicalArtifactEClass, AbstractPhysicalArtifact.class, \"AbstractPhysicalArtifact\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractPhysicalArtifact_AllocatorConfigurationItems(), theEpbsPackage.getConfigurationItem(), theEpbsPackage.getConfigurationItem_AllocatedPhysicalArtifacts(), \"allocatorConfigurationItems\", null, 0, -1, AbstractPhysicalArtifact.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPhysicalLinkEndEClass, AbstractPhysicalLinkEnd.class, \"AbstractPhysicalLinkEnd\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractPhysicalLinkEnd_InvolvedLinks(), this.getPhysicalLink(), null, \"involvedLinks\", null, 0, -1, AbstractPhysicalLinkEnd.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPhysicalPathLinkEClass, AbstractPhysicalPathLink.class, \"AbstractPhysicalPathLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalLinkEClass, PhysicalLink.class, \"PhysicalLink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLink_LinkEnds(), this.getAbstractPhysicalLinkEnd(), null, \"linkEnds\", null, 2, 2, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedComponentExchangeFunctionalExchangeAllocations(), theFaPackage.getComponentExchangeFunctionalExchangeAllocation(), null, \"ownedComponentExchangeFunctionalExchangeAllocations\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedPhysicalLinkEnds(), this.getPhysicalLinkEnd(), null, \"ownedPhysicalLinkEnds\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedPhysicalLinkRealizations(), this.getPhysicalLinkRealization(), null, \"ownedPhysicalLinkRealizations\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_Categories(), this.getPhysicalLinkCategory(), this.getPhysicalLinkCategory_Links(), \"categories\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_SourcePhysicalPort(), this.getPhysicalPort(), null, \"sourcePhysicalPort\", null, 0, 1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_TargetPhysicalPort(), this.getPhysicalPort(), null, \"targetPhysicalPort\", null, 0, 1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_RealizedPhysicalLinks(), this.getPhysicalLink(), null, \"realizedPhysicalLinks\", null, 0, -1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_RealizingPhysicalLinks(), this.getPhysicalLink(), null, \"realizingPhysicalLinks\", null, 0, -1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkCategoryEClass, PhysicalLinkCategory.class, \"PhysicalLinkCategory\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLinkCategory_Links(), this.getPhysicalLink(), this.getPhysicalLink_Categories(), \"links\", null, 0, -1, PhysicalLinkCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkEndEClass, PhysicalLinkEnd.class, \"PhysicalLinkEnd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLinkEnd_Port(), this.getPhysicalPort(), null, \"port\", null, 0, 1, PhysicalLinkEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLinkEnd_Part(), this.getPart(), null, \"part\", null, 0, 1, PhysicalLinkEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkRealizationEClass, PhysicalLinkRealization.class, \"PhysicalLinkRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalPathEClass, PhysicalPath.class, \"PhysicalPath\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPath_InvolvedLinks(), this.getAbstractPhysicalPathLink(), null, \"involvedLinks\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_OwnedPhysicalPathInvolvements(), this.getPhysicalPathInvolvement(), null, \"ownedPhysicalPathInvolvements\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_FirstPhysicalPathInvolvements(), this.getPhysicalPathInvolvement(), null, \"firstPhysicalPathInvolvements\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_OwnedPhysicalPathRealizations(), this.getPhysicalPathRealization(), null, \"ownedPhysicalPathRealizations\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_RealizedPhysicalPaths(), this.getPhysicalPath(), null, \"realizedPhysicalPaths\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_RealizingPhysicalPaths(), this.getPhysicalPath(), null, \"realizingPhysicalPaths\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathInvolvementEClass, PhysicalPathInvolvement.class, \"PhysicalPathInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPathInvolvement_NextInvolvements(), this.getPhysicalPathInvolvement(), null, \"nextInvolvements\", null, 0, -1, PhysicalPathInvolvement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_PreviousInvolvements(), this.getPhysicalPathInvolvement(), null, \"previousInvolvements\", null, 0, -1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_InvolvedElement(), this.getAbstractPathInvolvedElement(), null, \"involvedElement\", null, 0, 1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_InvolvedComponent(), this.getComponent(), null, \"involvedComponent\", null, 0, 1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathReferenceEClass, PhysicalPathReference.class, \"PhysicalPathReference\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPathReference_ReferencedPhysicalPath(), this.getPhysicalPath(), null, \"referencedPhysicalPath\", null, 0, 1, PhysicalPathReference.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathRealizationEClass, PhysicalPathRealization.class, \"PhysicalPathRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalPortEClass, PhysicalPort.class, \"PhysicalPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPort_OwnedComponentPortAllocations(), theFaPackage.getComponentPortAllocation(), null, \"ownedComponentPortAllocations\", null, 0, -1, PhysicalPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_OwnedPhysicalPortRealizations(), this.getPhysicalPortRealization(), null, \"ownedPhysicalPortRealizations\", null, 0, -1, PhysicalPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_AllocatedComponentPorts(), theFaPackage.getComponentPort(), theFaPackage.getComponentPort_AllocatingPhysicalPorts(), \"allocatedComponentPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_RealizedPhysicalPorts(), this.getPhysicalPort(), null, \"realizedPhysicalPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_RealizingPhysicalPorts(), this.getPhysicalPort(), null, \"realizingPhysicalPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPortRealizationEClass, PhysicalPortRealization.class, \"PhysicalPortRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.polarsys.org/kitalpha/dsl/2007/dslfactory\n\t\tcreateDslfactoryAnnotations();\n\t\t// http://www.polarsys.org/kitalpha/ecore/documentation\n\t\tcreateDocumentationAnnotations();\n\t\t// http://www.polarsys.org/capella/semantic\n\t\tcreateSemanticAnnotations();\n\t\t// http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping\n\t\tcreateMappingAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/BusinessInformation\n\t\tcreateBusinessInformationAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/UML2Mapping\n\t\tcreateUML2MappingAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/ImpactAnalysis/Segment\n\t\tcreateSegmentAnnotations();\n\t\t// http://www.polarsys.org/capella/derived\n\t\tcreateDerivedAnnotations();\n\t\t// aspect\n\t\tcreateAspectAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/ImpactAnalysis/Ignore\n\t\tcreateIgnoreAnnotations();\n\t}", "private PackageValidator() {}", "public void initializePackageContents() {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n bitShiftExprEClass.getESuperTypes().add(this.getExpr());\n bitShiftExprChildEClass.getESuperTypes().add(this.getExpr());\n additiveExprEClass.getESuperTypes().add(this.getBitShiftExprChild());\n additiveExprChildEClass.getESuperTypes().add(this.getBitShiftExprChild());\n multiplicativeExprEClass.getESuperTypes().add(this.getAdditiveExprChild());\n multiplicativeExprChildEClass.getESuperTypes().add(this.getAdditiveExprChild());\n numberEClass.getESuperTypes().add(this.getMultiplicativeExprChild());\n\n // Initialize classes and features; add operations and parameters\n initEClass(calcEClass, Calc.class, \"Calc\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCalc_Expr(), this.getExpr(), null, \"expr\", null, 1, -1, Calc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(exprEClass, Expr.class, \"Expr\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(bitShiftExprEClass, BitShiftExpr.class, \"BitShiftExpr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getBitShiftExpr_Children(), this.getBitShiftExprChild(), null, \"children\", null, 2, -1, BitShiftExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getBitShiftExpr_Operators(), this.getBitShiftOp(), \"operators\", null, 1, -1, BitShiftExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bitShiftExprChildEClass, BitShiftExprChild.class, \"BitShiftExprChild\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(additiveExprEClass, AdditiveExpr.class, \"AdditiveExpr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdditiveExpr_Children(), this.getAdditiveExprChild(), null, \"children\", null, 2, -1, AdditiveExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdditiveExpr_Operators(), this.getAdditiveOp(), \"operators\", null, 1, -1, AdditiveExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(additiveExprChildEClass, AdditiveExprChild.class, \"AdditiveExprChild\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(multiplicativeExprEClass, MultiplicativeExpr.class, \"MultiplicativeExpr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMultiplicativeExpr_Children(), this.getMultiplicativeExprChild(), null, \"children\", null, 2, -1, MultiplicativeExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMultiplicativeExpr_Operators(), this.getMultiplicativeOp(), \"operators\", null, 1, -1, MultiplicativeExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(multiplicativeExprChildEClass, MultiplicativeExprChild.class, \"MultiplicativeExprChild\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(numberEClass, org.emftext.language.arithm.Number.class, \"Number\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNumber_Value(), ecorePackage.getEInt(), \"value\", null, 1, 1, org.emftext.language.arithm.Number.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Initialize enums and add enum literals\n initEEnum(bitShiftOpEEnum, BitShiftOp.class, \"BitShiftOp\");\n addEEnumLiteral(bitShiftOpEEnum, BitShiftOp.LEFT);\n addEEnumLiteral(bitShiftOpEEnum, BitShiftOp.RIGHT);\n\n initEEnum(additiveOpEEnum, AdditiveOp.class, \"AdditiveOp\");\n addEEnumLiteral(additiveOpEEnum, AdditiveOp.ADD);\n addEEnumLiteral(additiveOpEEnum, AdditiveOp.SUB);\n\n initEEnum(multiplicativeOpEEnum, MultiplicativeOp.class, \"MultiplicativeOp\");\n addEEnumLiteral(multiplicativeOpEEnum, MultiplicativeOp.MUL);\n addEEnumLiteral(multiplicativeOpEEnum, MultiplicativeOp.DIV);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void validate() throws BuildException {\n if (pack == null) {\n throw new BuildException(\"A package must be specified\");\n }\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(metadataEClass, Metadata.class, \"Metadata\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMetadata_Gamename(), ecorePackage.getEString(), \"Gamename\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Shortname(), ecorePackage.getEString(), \"Shortname\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Timing(), ecorePackage.getEString(), \"Timing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Adressing(), ecorePackage.getEString(), \"Adressing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_CartridgeType(), ecorePackage.getEString(), \"CartridgeType\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RomSize(), ecorePackage.getEString(), \"RomSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RamSize(), ecorePackage.getEString(), \"RamSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Licensee(), ecorePackage.getEString(), \"Licensee\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Country(), ecorePackage.getEString(), \"Country\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Videoformat(), ecorePackage.getEString(), \"Videoformat\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Version(), ecorePackage.getEInt(), \"Version\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_IdeVersion(), ecorePackage.getEString(), \"IdeVersion\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tOCCIPackage theOCCIPackage = (OCCIPackage)EPackage.Registry.INSTANCE.getEPackage(OCCIPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tldprojectEClass.getESuperTypes().add(theOCCIPackage.getResource());\n\t\tlddatabaselinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tldprojectlinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tldnodeEClass.getESuperTypes().add(theOCCIPackage.getResource());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(ldprojectEClass, Ldproject.class, \"Ldproject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLdproject_Name(), theOCCIPackage.getString(), \"name\", null, 1, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdproject_Lifecycle(), this.getLifecycle(), \"lifecycle\", null, 0, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdproject_Robustness(), this.getRobustness(), \"robustness\", null, 0, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Publish(), null, \"publish\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Unpublish(), null, \"unpublish\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Update(), null, \"update\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(lddatabaselinkEClass, Lddatabaselink.class, \"Lddatabaselink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLddatabaselink_Database(), theOCCIPackage.getString(), \"database\", \"datacore\", 1, 1, Lddatabaselink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLddatabaselink_Port(), theOCCIPackage.getNumber(), \"port\", \"27017\", 0, 1, Lddatabaselink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ldprojectlinkEClass, Ldprojectlink.class, \"Ldprojectlink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ldnodeEClass, Ldnode.class, \"Ldnode\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLdnode_Name(), theOCCIPackage.getString(), \"name\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_MongoHosts(), theOCCIPackage.getString(), \"mongoHosts\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_MainProject(), theOCCIPackage.getString(), \"mainProject\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_AnalyticsReadPreference(), theOCCIPackage.getString(), \"analyticsReadPreference\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(lifecycleEEnum, Lifecycle.class, \"Lifecycle\");\n\t\taddEEnumLiteral(lifecycleEEnum, Lifecycle.DRAFT);\n\t\taddEEnumLiteral(lifecycleEEnum, Lifecycle.PUBLISHED);\n\n\t\tinitEEnum(robustnessEEnum, Robustness.class, \"Robustness\");\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.CLUSTER);\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.NODE);\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.NONE);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// OCCIE2Ecore\n\t\tcreateOCCIE2EcoreAnnotations();\n\t}", "public void testGetDocumentForSuccess() {\n String document = myAuthorizationConfiguration.getXmlFile();\n assertNotNull(document);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\t\tObjectsPackage theObjectsPackage = (ObjectsPackage)EPackage.Registry.INSTANCE.getEPackage(ObjectsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\treadCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tprintEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tassertTablesMatchEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tasTableDataEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadPropertiesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(readCsvFileEClass, ReadCsvFile.class, \"ReadCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadCsvFile_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPrint_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeCsvFileEClass, WriteCsvFile.class, \"WriteCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getWriteCsvFile_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteCsvFile_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeColumnsEClass, ExcludeColumns.class, \"ExcludeColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectColumnsEClass, SelectColumns.class, \"SelectColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(assertTablesMatchEClass, AssertTablesMatch.class, \"AssertTablesMatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAssertTablesMatch_Left(), theObjectsPackage.getTable(), null, \"left\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAssertTablesMatch_Right(), theObjectsPackage.getTable(), null, \"right\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreColumnOrder(), theEcorePackage.getEBoolean(), \"ignoreColumnOrder\", \"false\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreMissingColumns(), this.getIgnoreColumnsMode(), \"ignoreMissingColumns\", \"NONE\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeLinesEClass, WriteLines.class, \"WriteLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getWriteLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteLines_Append(), theEcorePackage.getEBoolean(), \"append\", \"false\", 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readLinesEClass, ReadLines.class, \"ReadLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 1, 1, ReadLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectRowsEClass, SelectRows.class, \"SelectRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeRowsEClass, ExcludeRows.class, \"ExcludeRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(asTableDataEClass, AsTableData.class, \"AsTableData\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAsTableData_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, AsTableData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readPropertiesEClass, ReadProperties.class, \"ReadProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadProperties_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(ignoreColumnsModeEEnum, IgnoreColumnsMode.class, \"IgnoreColumnsMode\");\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.NONE);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.LEFT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.RIGHT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.BOTH);\n\n\t\tinitEEnum(rowMatchModeEEnum, RowMatchMode.class, \"RowMatchMode\");\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.EXACT);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.GLOB);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.REGEXP);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/ecl/docs\n\t\tcreateDocsAnnotations();\n\t\t// http://www.eclipse.org/ecl/internal\n\t\tcreateInternalAnnotations();\n\t\t// http://www.eclipse.org/ecl/input\n\t\tcreateInputAnnotations();\n\t}", "public void initializePackageContents() {\n if(isInitialized) {\n return;\n }\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n modularizationModelEClass.getESuperTypes().add(this.getNamedElement());\n moduleEClass.getESuperTypes().add(this.getNamedElement());\n classEClass.getESuperTypes().add(this.getNamedElement());\n\n // Initialize classes, features, and operations; add parameters\n initEClass(namedElementEClass, NamedElement.class, \"NamedElement\", !IS_ABSTRACT, !IS_INTERFACE,\n IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class,\n !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(modularizationModelEClass, ModularizationModel.class, \"ModularizationModel\", !IS_ABSTRACT,\n !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModularizationModel_Modules(), this.getModule(), null, \"modules\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n initEReference(getModularizationModel_Classes(), this.getClass_(), null, \"classes\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n initEClass(moduleEClass, Module.class, \"Module\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModule_Classes(), this.getClass_(), this.getClass_Module(), \"classes\", null, 0, -1,\n Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(classEClass, at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, \"Class\",\n !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getClass_Module(), this.getModule(), this.getModule_Classes(), \"module\", null, 0, 1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependsOn(), this.getClass_(), this.getClass_DependedOnBy(), \"dependsOn\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependedOnBy(), this.getClass_(), this.getClass_DependsOn(), \"dependedOnBy\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tQIntegratedLanguageCorePackage theIntegratedLanguageCorePackage = (QIntegratedLanguageCorePackage)EPackage.Registry.INSTANCE.getEPackage(QIntegratedLanguageCorePackage.eNS_URI);\n\t\tQIntegratedLanguageCoreCtxPackage theIntegratedLanguageCoreCtxPackage = (QIntegratedLanguageCoreCtxPackage)EPackage.Registry.INSTANCE.getEPackage(QIntegratedLanguageCoreCtxPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\trepositoryEClass.getESuperTypes().add(theIntegratedLanguageCorePackage.getObjectNameable());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(repositoryEClass, QRepository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRepository_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, QRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRepository_Location(), ecorePackage.getEString(), \"location\", null, 1, 1, QRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(repositoryManagerEClass, QRepositoryManager.class, \"RepositoryManager\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tEOperation op = addEOperation(repositoryManagerEClass, ecorePackage.getEBoolean(), \"checkUpdates\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"repositoryLocation\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(repositoryManagerEClass, ecorePackage.getEBoolean(), \"update\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"repositoryLocation\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(repositoryManagerEClass, null, \"updateAll\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theIntegratedLanguageCoreCtxPackage.getContextProvider(), \"contextProvider\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "@Override\n\tpublic boolean acceptDomainFiles(DomainFile[] data) {\n\t\treturn true;\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\torg.palladiosimulator.pcm.core.composition.CompositionPackage theCompositionPackage_1 = (org.palladiosimulator.pcm.core.composition.CompositionPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.palladiosimulator.pcm.core.composition.CompositionPackage.eNS_URI);\r\n\t\torg.palladiosimulator.pcm.repository.RepositoryPackage theRepositoryPackage_1 = (org.palladiosimulator.pcm.repository.RepositoryPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.palladiosimulator.pcm.repository.RepositoryPackage.eNS_URI);\r\n\t\tCompositionPackage theCompositionPackage = (CompositionPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(CompositionPackage.eNS_URI);\r\n\t\tPartitioningPackage thePartitioningPackage = (PartitioningPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(PartitioningPackage.eNS_URI);\r\n\t\tDatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(DatatypesPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tdataChannelEClass.getESuperTypes().add(theCompositionPackage_1.getEventChannel());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(dataChannelEClass, DataChannel.class, \"DataChannel\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getDataChannel_Capacity(), ecorePackage.getEInt(), \"capacity\", \"-1\", 1, 1, DataChannel.class,\r\n\t\t\t\tIS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_SourceEventGroup(), theRepositoryPackage_1.getEventGroup(), null,\r\n\t\t\t\t\"sourceEventGroup\", null, 1, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_SinkEventGroup(), theRepositoryPackage_1.getEventGroup(), null, \"sinkEventGroup\",\r\n\t\t\t\tnull, 1, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_DataChannelSourceConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSourceConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSourceConnector_DataChannel(), \"dataChannelSourceConnector\", null,\r\n\t\t\t\t0, -1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_DataChannelSinkConnector(), theCompositionPackage.getDataChannelSinkConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSinkConnector_DataChannel(), \"dataChannelSinkConnector\", null, 0,\r\n\t\t\t\t-1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_Partitioning(), thePartitioningPackage.getPartitioning(), null, \"partitioning\",\r\n\t\t\t\tnull, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_TimeGrouping(), thePartitioningPackage.getTimeGrouping(), null, \"timeGrouping\",\r\n\t\t\t\tnull, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_Joins(), thePartitioningPackage.getJoining(), null, \"joins\", null, 0, -1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_OutgoingDistribution(), theDatatypesPackage.getOutgoingDistribution(),\r\n\t\t\t\t\"outgoingDistribution\", null, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_Scheduling(), theDatatypesPackage.getScheduling(), \"scheduling\", null, 0, 1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_PutPolicy(), theDatatypesPackage.getPutPolicy(), \"putPolicy\", null, 0, 1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "private void prepare(boolean allowAllFiles) {\n resetChoosableFileFilters();\n // create general file chooser that holds all file types\n if (!accepted.isEmpty()) {\n for (ExtensionFileFilter filter : accepted) {\n addChoosableFileFilter(filter);\n }\n if (allowAllFiles) {\n // create \"all files\" file chooser\n CumulativeGeneralFilter cumulativeGeneralFilter = new CumulativeGeneralFilter(accepted);\n setFileFilter(cumulativeGeneralFilter);\n } else {\n setFileFilter(accepted.get(0));\n }\n setAcceptAllFileFilterUsed(false);\n }\n }", "public void initializePackageContents() {\n if (this.isInitialized) {\n return;\n }\n this.isInitialized = true;\n\n // Initialize package\n this.setName(eNAME);\n this.setNsPrefix(eNS_PREFIX);\n this.setNsURI(eNS_URI);\n\n // Obtain other dependent packages\n final QosannotationsPackage theQosannotationsPackage = (QosannotationsPackage) EPackage.Registry.INSTANCE\n .getEPackage(QosannotationsPackage.eNS_URI);\n final CorePackage theCorePackage = (CorePackage) EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\n final CompositionPackage theCompositionPackage = (CompositionPackage) EPackage.Registry.INSTANCE\n .getEPackage(CompositionPackage.eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n this.systemSpecifiedExecutionTimeEClass.getESuperTypes().add(this.getSpecifiedExecutionTime());\n this.specifiedExecutionTimeEClass.getESuperTypes().add(theQosannotationsPackage.getSpecifiedQoSAnnotation());\n this.componentSpecifiedExecutionTimeEClass.getESuperTypes().add(this.getSpecifiedExecutionTime());\n\n // Initialize classes and features; add operations and parameters\n this.initEClass(this.systemSpecifiedExecutionTimeEClass, SystemSpecifiedExecutionTime.class,\n \"SystemSpecifiedExecutionTime\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n final EOperation op = this.addEOperation(this.systemSpecifiedExecutionTimeEClass,\n this.ecorePackage.getEBoolean(), \"SystemSpecifiedExecutionTimeMustReferenceRequiredRoleOfASystem\", 0, 1,\n IS_UNIQUE, IS_ORDERED);\n this.addEParameter(op, this.ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n final EGenericType g1 = this.createEGenericType(this.ecorePackage.getEMap());\n EGenericType g2 = this.createEGenericType(this.ecorePackage.getEJavaObject());\n g1.getETypeArguments().add(g2);\n g2 = this.createEGenericType(this.ecorePackage.getEJavaObject());\n g1.getETypeArguments().add(g2);\n this.addEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n this.initEClass(this.specifiedExecutionTimeEClass, SpecifiedExecutionTime.class, \"SpecifiedExecutionTime\",\n IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n this.initEReference(this.getSpecifiedExecutionTime_Specification_SpecifiedExecutionTime(),\n theCorePackage.getPCMRandomVariable(),\n theCorePackage.getPCMRandomVariable_SpecifiedExecutionTime_PCMRandomVariable(),\n \"specification_SpecifiedExecutionTime\", null, 1, 1, SpecifiedExecutionTime.class, !IS_TRANSIENT,\n !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n !IS_ORDERED);\n\n this.initEClass(this.componentSpecifiedExecutionTimeEClass, ComponentSpecifiedExecutionTime.class,\n \"ComponentSpecifiedExecutionTime\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n this.initEReference(this.getComponentSpecifiedExecutionTime_AssemblyContext_ComponentSpecifiedExecutionTime(),\n theCompositionPackage.getAssemblyContext(), null, \"assemblyContext_ComponentSpecifiedExecutionTime\",\n null, 1, 1, ComponentSpecifiedExecutionTime.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n }", "public void expectFiles(Path[] files)\n {\n expect_files = files;\n }", "private void prepareAssignmentFiles() {\n for (Assignment assignment : assignments) {\n //---------- initialize the assignmentFiles array list ----------\n assignment.assignmentFiles = new ArrayList<>();\n\n //create a temporary assignment files array list\n ArrayList<File> assignmentFiles = new ArrayList<>();\n\n //---------- call the recursive findAssignmentFiles method ----------\n findAssignmentFiles(assignmentFiles, assignment.assignmentDirectory);\n\n //---------- set the language for the assignment ----------\n if (language.equals( IAGConstant.LANGUAGE_AUTO) ) {\n assignment.language = autoDetectLanguage(assignmentFiles);\n }\n else {\n assignment.language = language;\n }\n\n String[] extensions;\n\n switch (assignment.language) {\n case IAGConstant.LANGUAGE_PYTHON3:\n extensions = IAGConstant.PYTHON_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_CPP:\n extensions = IAGConstant.CPP_EXTENSIONS;\n break;\n default: //unable to determine the language\n extensions = new String[] {};\n }\n\n //add only files of the right type to the assignment file list\n for (File f: assignmentFiles) {\n String f_extension = getFileExtension(f).toLowerCase();\n if (Arrays.asList(extensions).contains(f_extension)){\n //---------- if the extension on the file matches\n // one of the extension in the extensions list, add\n // it to the programming files list. ----------\n assignment.assignmentFiles.add(f);\n }\n }\n assignment.bAutoGraded = false; //indicate the assignment has not yet been auto-graded\n }\n\n }", "@Test(enabled= true,description = \"Create Assets/Deals and add pre-requites data which is given in Manual Test Case\")\r\n\tpublic void preRequisites() throws Exception {\r\n\r\n\t\t\r\n\t}", "@Test\n\tpublic void testValidate_11()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\n\t\tfixture.validate(fileName, validateFileExtension);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n\n // Initialize classes and features; add operations and parameters\n initEClass(ledsCodeDSLEClass, LedsCodeDSL.class, \"LedsCodeDSL\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLedsCodeDSL_Project(), this.getProject(), null, \"project\", null, 0, -1, LedsCodeDSL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(projectEClass, Project.class, \"Project\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getProject_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_InfrastructureBlock(), this.getInfrastructureBlock(), null, \"infrastructureBlock\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_InterfaceBlock(), this.getInterfaceBlock(), null, \"interfaceBlock\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_ApplicationBlock(), this.getApplicationBlock(), null, \"applicationBlock\", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_DomainBlock(), this.getDomainBlock(), null, \"domainBlock\", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(interfaceBlockEClass, InterfaceBlock.class, \"InterfaceBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInterfaceBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, InterfaceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInterfaceBlock_InterfaceApplication(), this.getInterfaceApplication(), null, \"interfaceApplication\", null, 0, -1, InterfaceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(interfaceApplicationEClass, InterfaceApplication.class, \"InterfaceApplication\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInterfaceApplication_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInterfaceApplication_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInterfaceApplication_NameApp(), ecorePackage.getEString(), \"nameApp\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(infrastructureBlockEClass, InfrastructureBlock.class, \"InfrastructureBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInfrastructureBlock_BasePackage(), ecorePackage.getEString(), \"basePackage\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInfrastructureBlock_ProjectVersion(), ecorePackage.getEString(), \"projectVersion\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Language(), this.getNameVersion(), null, \"language\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Framework(), this.getNameVersion(), null, \"framework\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Orm(), this.getNameVersion(), null, \"orm\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Database(), this.getDatabase(), null, \"database\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(databaseEClass, Database.class, \"Database\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDatabase_VersionValue(), ecorePackage.getEString(), \"versionValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_NameValue(), ecorePackage.getEString(), \"nameValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_UserValue(), ecorePackage.getEString(), \"userValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_PassValue(), ecorePackage.getEString(), \"passValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_HostValue(), ecorePackage.getEString(), \"hostValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_EnvValue(), ecorePackage.getEString(), \"envValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(nameVersionEClass, NameVersion.class, \"NameVersion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNameVersion_NameValue(), ecorePackage.getEString(), \"nameValue\", null, 0, 1, NameVersion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getNameVersion_VersionValue(), ecorePackage.getEString(), \"versionValue\", null, 0, 1, NameVersion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(applicationBlockEClass, ApplicationBlock.class, \"ApplicationBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getApplicationBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ApplicationBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getApplicationBlock_ApplicationDomain(), ecorePackage.getEString(), \"applicationDomain\", null, 0, -1, ApplicationBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(domainBlockEClass, DomainBlock.class, \"DomainBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDomainBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, DomainBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDomainBlock_Module(), this.getModuleBlock(), null, \"module\", null, 0, -1, DomainBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(moduleBlockEClass, ModuleBlock.class, \"ModuleBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getModuleBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_EnumBlock(), this.getEnumBlock(), null, \"enumBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_EntityBlock(), this.getEntityBlock(), null, \"entityBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_ServiceBlock(), this.getServiceBlock(), null, \"serviceBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(serviceBlockEClass, ServiceBlock.class, \"ServiceBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getServiceBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ServiceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getServiceBlock_ServiceFields(), this.getServiceMethod(), null, \"serviceFields\", null, 0, -1, ServiceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(serviceMethodEClass, ServiceMethod.class, \"ServiceMethod\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getServiceMethod_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ServiceMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getServiceMethod_MethodAcess(), this.getRepositoryFields(), null, \"methodAcess\", null, 0, 1, ServiceMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(entityBlockEClass, EntityBlock.class, \"EntityBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEntityBlock_AcessModifier(), ecorePackage.getEString(), \"acessModifier\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEntityBlock_IsAbstract(), ecorePackage.getEBoolean(), \"isAbstract\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEntityBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_ClassExtends(), this.getExtendBlock(), null, \"classExtends\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_Attributes(), this.getAttribute(), null, \"attributes\", null, 0, -1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_Repository(), this.getRepository(), null, \"repository\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAttribute_AcessModifier(), ecorePackage.getEString(), \"acessModifier\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Pk(), ecorePackage.getEBoolean(), \"pk\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Unique(), ecorePackage.getEString(), \"unique\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Nullable(), ecorePackage.getEString(), \"nullable\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Min(), ecorePackage.getEIntegerObject(), \"min\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Max(), ecorePackage.getEIntegerObject(), \"max\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(repositoryEClass, Repository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRepository_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRepository_Methods(), this.getRepositoryFields(), null, \"methods\", null, 0, -1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(repositoryFieldsEClass, RepositoryFields.class, \"RepositoryFields\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRepositoryFields_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRepositoryFields_MethodsParameters(), this.getMethodParameter(), null, \"methodsParameters\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getRepositoryFields_ReturnType(), ecorePackage.getEString(), \"returnType\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(enumBlockEClass, EnumBlock.class, \"EnumBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEnumBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EnumBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEnumBlock_Values(), ecorePackage.getEString(), \"values\", null, 0, -1, EnumBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(methodParameterEClass, MethodParameter.class, \"MethodParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMethodParameter_TypeAndAttr(), this.getTypeAndAttribute(), null, \"typeAndAttr\", null, 0, -1, MethodParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeAndAttributeEClass, TypeAndAttribute.class, \"TypeAndAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTypeAndAttribute_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, TypeAndAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTypeAndAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TypeAndAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(extendBlockEClass, ExtendBlock.class, \"ExtendBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getExtendBlock_Values(), this.getEntityBlock(), null, \"values\", null, 0, -1, ExtendBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "@Test\n\tpublic void testValidate_28()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\t\tInputStream is = new Base64InputStream(new UnsyncByteArrayInputStream(new byte[] {}));\n\n\t\tfixture.validate(fileName, validateFileExtension, is);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "@Test\n\tpublic void testValidate_13()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\n\t\tfixture.validate(fileName, validateFileExtension);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "@Test\n\tpublic void testValidate_26()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\t\tInputStream is = new Base64InputStream(new UnsyncByteArrayInputStream(new byte[] {}));\n\n\t\tfixture.validate(fileName, validateFileExtension, is);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "public final boolean needsPermission() {\n return FileUtil.needsPermission(this.form, this.resolvedPath);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tcompoundCmdEClass.getESuperTypes().add(this.getCmd());\n\t\txCmdEClass.getESuperTypes().add(this.getCmd());\n\t\tbyteCmdEClass.getESuperTypes().add(this.getCmd());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(cmdEClass, Cmd.class, \"Cmd\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCmd_Priority(), this.getPRIORITY(), \"priority\", null, 0, 1, Cmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getCmd_Stamp(), ecorePackage.getELong(), \"stamp\", null, 0, 1, Cmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(compoundCmdEClass, CompoundCmd.class, \"CompoundCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getCompoundCmd_Children(), this.getCmd(), null, \"children\", null, 0, -1, CompoundCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tEOperation op = addEOperation(compoundCmdEClass, null, \"add\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"add\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEInt(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"queue\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(compoundCmdEClass, null, \"pop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"remove\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEInt(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"remove\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(compoundCmdEClass, null, \"drop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(xCmdEClass, XCmd.class, \"XCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getXCmd_Obj(), ecorePackage.getEJavaObject(), \"obj\", null, 0, 1, XCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(byteCmdEClass, ByteCmd.class, \"ByteCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getByteCmd_Message(), ecorePackage.getEByteArray(), \"message\", null, 0, 1, ByteCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.class, \"PRIORITY\");\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.LOWEST);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.LOW);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.MEDIUM);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.HIGH);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.HIGHEST);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.NONE);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.VITAL);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n assignmentEClass.getESuperTypes().add(this.getSimpleStatement());\n expressionEClass.getESuperTypes().add(this.getSimpleStatement());\n unaryMinusExpressionEClass.getESuperTypes().add(this.getExpression());\n unaryPlusExpressionEClass.getESuperTypes().add(this.getExpression());\n logicalNegationExpressionEClass.getESuperTypes().add(this.getExpression());\n bracketExpressionEClass.getESuperTypes().add(this.getExpression());\n pointerCallEClass.getESuperTypes().add(this.getExpression());\n variableCallEClass.getESuperTypes().add(this.getExpression());\n unarySpecifierEClass.getESuperTypes().add(this.getArraySpecifier());\n rangeSpecifierEClass.getESuperTypes().add(this.getArraySpecifier());\n ioFunctionsEClass.getESuperTypes().add(this.getExpression());\n infoFunctionsEClass.getESuperTypes().add(this.getExpression());\n manipFunctionsEClass.getESuperTypes().add(this.getExpression());\n arithFunctionsEClass.getESuperTypes().add(this.getExpression());\n loadEClass.getESuperTypes().add(this.getIOFunctions());\n storeEClass.getESuperTypes().add(this.getIOFunctions());\n exportEClass.getESuperTypes().add(this.getIOFunctions());\n printEClass.getESuperTypes().add(this.getSimpleStatement());\n depthEClass.getESuperTypes().add(this.getInfoFunctions());\n fieldInfoEClass.getESuperTypes().add(this.getInfoFunctions());\n containsEClass.getESuperTypes().add(this.getInfoFunctions());\n selectEClass.getESuperTypes().add(this.getManipFunctions());\n lengthEClass.getESuperTypes().add(this.getInfoFunctions());\n sumEClass.getESuperTypes().add(this.getArithFunctions());\n productEClass.getESuperTypes().add(this.getArithFunctions());\n constantEClass.getESuperTypes().add(this.getExpression());\n primitiveEClass.getESuperTypes().add(this.getConstant());\n arrayEClass.getESuperTypes().add(this.getConstant());\n jSonObjectEClass.getESuperTypes().add(this.getConstant());\n disjunctionExpressionEClass.getESuperTypes().add(this.getExpression());\n conjunctionExpressionEClass.getESuperTypes().add(this.getExpression());\n equalityExpressionEClass.getESuperTypes().add(this.getExpression());\n inequalityExpressionEClass.getESuperTypes().add(this.getExpression());\n superiorExpressionEClass.getESuperTypes().add(this.getExpression());\n superiorOrEqualExpressionEClass.getESuperTypes().add(this.getExpression());\n inferiorExpressionEClass.getESuperTypes().add(this.getExpression());\n inferiorOrEqualExpressionEClass.getESuperTypes().add(this.getExpression());\n additionExpressionEClass.getESuperTypes().add(this.getExpression());\n substractionExpressionEClass.getESuperTypes().add(this.getExpression());\n multiplicationExpressionEClass.getESuperTypes().add(this.getExpression());\n divisionExpressionEClass.getESuperTypes().add(this.getExpression());\n moduloExpressionEClass.getESuperTypes().add(this.getExpression());\n arrayCallEClass.getESuperTypes().add(this.getExpression());\n fieldCallEClass.getESuperTypes().add(this.getExpression());\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Stmts(), this.getSimpleStatement(), null, \"stmts\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(simpleStatementEClass, SimpleStatement.class, \"SimpleStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(assignmentEClass, Assignment.class, \"Assignment\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAssignment_LeftHandSide(), this.getVariableCall(), null, \"leftHandSide\", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAssignment_RightHandSide(), this.getExpression(), null, \"rightHandSide\", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(expressionEClass, Expression.class, \"Expression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(unaryMinusExpressionEClass, UnaryMinusExpression.class, \"UnaryMinusExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUnaryMinusExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, UnaryMinusExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(unaryPlusExpressionEClass, UnaryPlusExpression.class, \"UnaryPlusExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUnaryPlusExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, UnaryPlusExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(logicalNegationExpressionEClass, LogicalNegationExpression.class, \"LogicalNegationExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLogicalNegationExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, LogicalNegationExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bracketExpressionEClass, BracketExpression.class, \"BracketExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getBracketExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, BracketExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pointerCallEClass, PointerCall.class, \"PointerCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(variableCallEClass, VariableCall.class, \"VariableCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVariableCall_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, VariableCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(arraySpecifierEClass, ArraySpecifier.class, \"ArraySpecifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(unarySpecifierEClass, UnarySpecifier.class, \"UnarySpecifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUnarySpecifier_Index(), ecorePackage.getEInt(), \"index\", null, 0, 1, UnarySpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(rangeSpecifierEClass, RangeSpecifier.class, \"RangeSpecifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRangeSpecifier_From(), ecorePackage.getEInt(), \"from\", null, 0, 1, RangeSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getRangeSpecifier_To(), ecorePackage.getEInt(), \"to\", null, 0, 1, RangeSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ioFunctionsEClass, IOFunctions.class, \"IOFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIOFunctions_FileName(), ecorePackage.getEString(), \"fileName\", null, 0, 1, IOFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(infoFunctionsEClass, InfoFunctions.class, \"InfoFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(manipFunctionsEClass, ManipFunctions.class, \"ManipFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(arithFunctionsEClass, ArithFunctions.class, \"ArithFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getArithFunctions_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, ArithFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getArithFunctions_Field(), this.getExpression(), null, \"field\", null, 0, 1, ArithFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getArithFunctions_WhereExpression(), this.getExpression(), null, \"whereExpression\", null, 0, 1, ArithFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(loadEClass, Load.class, \"Load\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(storeEClass, Store.class, \"Store\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getStore_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Store.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(exportEClass, Export.class, \"Export\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getExport_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Export.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPrint_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(depthEClass, Depth.class, \"Depth\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDepth_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Depth.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fieldInfoEClass, FieldInfo.class, \"FieldInfo\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFieldInfo_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, FieldInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(containsEClass, Contains.class, \"Contains\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getContains_Keys(), this.getExpression(), null, \"keys\", null, 0, -1, Contains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getContains_Right(), this.getExpression(), null, \"right\", null, 0, 1, Contains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectEClass, Select.class, \"Select\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSelect_Fields(), this.getExpression(), null, \"fields\", null, 0, -1, Select.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSelect_FromExpression(), this.getExpression(), null, \"fromExpression\", null, 0, 1, Select.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSelect_WhereExpression(), this.getExpression(), null, \"whereExpression\", null, 0, 1, Select.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(lengthEClass, Length.class, \"Length\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLength_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Length.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(sumEClass, Sum.class, \"Sum\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(productEClass, Product.class, \"Product\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(constantEClass, Constant.class, \"Constant\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(primitiveEClass, Primitive.class, \"Primitive\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPrimitive_Str(), ecorePackage.getEString(), \"str\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_IntNum(), ecorePackage.getEInt(), \"intNum\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_FloatNum(), ecorePackage.getEString(), \"floatNum\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_Bool(), ecorePackage.getEString(), \"bool\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_Nil(), ecorePackage.getEString(), \"nil\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(arrayEClass, Array.class, \"Array\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getArray_Values(), this.getExpression(), null, \"values\", null, 0, -1, Array.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(jSonObjectEClass, JSonObject.class, \"JSonObject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getJSonObject_Fields(), this.getField(), null, \"fields\", null, 0, -1, JSonObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fieldEClass, Field.class, \"Field\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getField_Key(), this.getExpression(), null, \"key\", null, 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getField_Value(), this.getExpression(), null, \"value\", null, 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(disjunctionExpressionEClass, DisjunctionExpression.class, \"DisjunctionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDisjunctionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, DisjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDisjunctionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, DisjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(conjunctionExpressionEClass, ConjunctionExpression.class, \"ConjunctionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getConjunctionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, ConjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getConjunctionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, ConjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(equalityExpressionEClass, EqualityExpression.class, \"EqualityExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getEqualityExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, EqualityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEqualityExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, EqualityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(inequalityExpressionEClass, InequalityExpression.class, \"InequalityExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getInequalityExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, InequalityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInequalityExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, InequalityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(superiorExpressionEClass, SuperiorExpression.class, \"SuperiorExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSuperiorExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, SuperiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSuperiorExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, SuperiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(superiorOrEqualExpressionEClass, SuperiorOrEqualExpression.class, \"SuperiorOrEqualExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSuperiorOrEqualExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, SuperiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSuperiorOrEqualExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, SuperiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(inferiorExpressionEClass, InferiorExpression.class, \"InferiorExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getInferiorExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, InferiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInferiorExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, InferiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(inferiorOrEqualExpressionEClass, InferiorOrEqualExpression.class, \"InferiorOrEqualExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getInferiorOrEqualExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, InferiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInferiorOrEqualExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, InferiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(additionExpressionEClass, AdditionExpression.class, \"AdditionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdditionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, AdditionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAdditionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, AdditionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(substractionExpressionEClass, SubstractionExpression.class, \"SubstractionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSubstractionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, SubstractionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSubstractionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, SubstractionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(multiplicationExpressionEClass, MultiplicationExpression.class, \"MultiplicationExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMultiplicationExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, MultiplicationExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMultiplicationExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, MultiplicationExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(divisionExpressionEClass, DivisionExpression.class, \"DivisionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDivisionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, DivisionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDivisionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, DivisionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(moduloExpressionEClass, ModuloExpression.class, \"ModuloExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModuloExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, ModuloExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuloExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, ModuloExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(arrayCallEClass, ArrayCall.class, \"ArrayCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getArrayCall_Callee(), this.getExpression(), null, \"callee\", null, 0, 1, ArrayCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getArrayCall_Specifier(), this.getArraySpecifier(), null, \"specifier\", null, 0, 1, ArrayCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fieldCallEClass, FieldCall.class, \"FieldCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFieldCall_Callee(), this.getExpression(), null, \"callee\", null, 0, 1, FieldCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFieldCall_Field(), ecorePackage.getEString(), \"field\", null, 0, 1, FieldCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public boolean isSetFileName() {\n return this.fileName != null;\n }", "public boolean isSetFileName() {\n return this.fileName != null;\n }", "public boolean isSetFileName() {\n return this.fileName != null;\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tScenarioPackage theScenarioPackage = (ScenarioPackage)EPackage.Registry.INSTANCE.getEPackage(ScenarioPackage.eNS_URI);\n\t\tXActivityDiagramPropertyPackage theXActivityDiagramPropertyPackage = (XActivityDiagramPropertyPackage)EPackage.Registry.INSTANCE.getEPackage(XActivityDiagramPropertyPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theScenarioPackage.getArbiter());\n\t\tEGenericType g2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterState());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterStateEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterTransition());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterTransitionEClass.getEGenericSuperTypes().add(g1);\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(xActivityDiagramArbiterEClass, XActivityDiagramArbiter.class, \"XActivityDiagramArbiter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterStateEClass, XActivityDiagramArbiterState.class, \"XActivityDiagramArbiterState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterTransitionEClass, XActivityDiagramArbiterTransition.class, \"XActivityDiagramArbiterTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void checkWithCorrectResults() {\n\t\tFile correctDir = new File (correctDir() + \"/\" + assignmentNo());\r\n\r\n//\t\tFile testDir = new File (\"Test Data/Test 110 F13 Assignments/Assignment3\");\r\n\t\tFile testDir = new File (testDir() + \"/\" + assignmentNo());\r\n\r\n\t\tString[] ignoreSuffixesArray = {\".zip\", \".ini\", \".json\", \"Submission attachment(s)\"};\r\n//\t\tString[] ignoreSuffixesArray = {\".zip\", \".ini\", \".json\"};\r\n\r\n\t\tList<String> ignoreSuffixesList = Arrays.asList(ignoreSuffixesArray);\r\n\t\tSystem.out.println(DirectoryUtils.compare (correctDir, testDir, ignoreSuffixesList));\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEnginePackage theEnginePackage = (EnginePackage)EPackage.Registry.INSTANCE.getEPackage(EnginePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tbluetoothPortEClass.getESuperTypes().add(theEnginePackage.getPort());\n\t\tl2CAPInJobEClass.getESuperTypes().add(theEnginePackage.getInputJob());\n\t\tl2CAPoutJobEClass.getESuperTypes().add(theEnginePackage.getOutputJob());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(bluetoothPortEClass, BluetoothPort.class, \"BluetoothPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(l2CAPInJobEClass, L2CAPInJob.class, \"L2CAPInJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(l2CAPoutJobEClass, L2CAPoutJob.class, \"L2CAPoutJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void testXML() {\n // check XML Entity Catalogs\n\n // \"Tools\"\n String toolsItem = Bundle.getStringTrimmed(\"org.netbeans.core.ui.resources.Bundle\", \"Menu/Tools\"); // NOI18N\n // \"DTDs and XML Schemas\"\n String dtdsItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.catalog.Bundle\", \"LBL_CatalogAction_Name\");\n new Action(toolsItem + \"|\" + dtdsItem, null).perform();\n // \"DTDs and XML Schemas\"\n String dtdsTitle = Bundle.getString(\"org.netbeans.modules.xml.catalog.Bundle\", \"LBL_CatalogPanel_Title\");\n NbDialogOperator dtdsOper = new NbDialogOperator(dtdsTitle);\n\n String publicID = \"-//DTD XMLCatalog//EN\";\n Node catalogNode = new Node(new JTreeOperator(dtdsOper),\n \"NetBeans Catalog|\"\n + publicID);\n // view and close it\n new ViewAction().perform(catalogNode);\n new EditorOperator(publicID).close();\n dtdsOper.close();\n\n // create an XML file\n\n // create xml package\n // select Source Packages to not create xml folder in Test Packages\n new SourcePackagesNode(SAMPLE_PROJECT_NAME).select();\n // \"Java Classes\"\n String javaClassesLabel = Bundle.getString(\"org.netbeans.modules.java.project.Bundle\", \"Templates/Classes\");\n NewJavaFileWizardOperator.create(SAMPLE_PROJECT_NAME, javaClassesLabel, \"Java Package\", null, \"xml\"); // NOI18N\n Node xmlNode = new Node(new SourcePackagesNode(SAMPLE_PROJECT_NAME), \"xml\"); //NOI18N\n // \"XML\"\n String xmlCategory = Bundle.getString(\"org.netbeans.api.xml.resources.Bundle\", \"Templates/XML\");\n // \"XML Document\"\n String xmlDocument = Bundle.getString(\"org.netbeans.modules.xml.resources.Bundle\", \"Templates/XML/XMLDocument.xml\");\n NewFileWizardOperator.invoke(xmlNode, xmlCategory, xmlDocument);\n NewJavaFileNameLocationStepOperator nameStepOper = new NewJavaFileNameLocationStepOperator();\n nameStepOper.setObjectName(\"XMLDocument\"); // NOI18N\n nameStepOper.next();\n nameStepOper.finish();\n // wait node is present\n Node xmlDocumentNode = new Node(xmlNode, \"XMLDocument.xml\"); // NOI18N\n // wait xml document is open in editor\n new EditorOperator(\"XMLDocument.xml\").close(); // NOI18N\n\n // \"Check XML\"\n\n String checkXMLItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.actions.Bundle\", \"NAME_Check_XML\");\n // invoke context action to check xml\n new Action(null, checkXMLItem).perform(xmlDocumentNode);\n // \"XML check\"\n String xmlCheckTitle = Bundle.getString(\"org.netbeans.modules.xml.actions.Bundle\", \"TITLE_XML_check_window\");\n // find and close an output with the result of xml check\n new OutputTabOperator(xmlCheckTitle).close();\n\n // \"Validate XML\"\n\n String validateItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.actions.Bundle\", \"NAME_Validate_XML\");\n // invoke context action to validate xml\n new Action(null, validateItem).perform(xmlDocumentNode);\n // find and close an output with the result of xml validation\n new OutputTabOperator(xmlCheckTitle).close();\n\n // \"Generate DTD...\"\n\n String generateDTDItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.generator.Bundle\", \"PROP_GenerateDTD\");\n new ActionNoBlock(null, generateDTDItem).perform(xmlDocumentNode);\n // \"Select File Name\"\n String selectTitle = Bundle.getString(\"org.netbeans.modules.xml.tools.generator.Bundle\", \"PROP_fileNameTitle\");\n NbDialogOperator selectDialog = new NbDialogOperator(selectTitle);\n // name has to be set because of issue http://www.netbeans.org/issues/show_bug.cgi?id=46049\n new JTextFieldOperator(selectDialog).setText(\"DTD\");\n String oKLabel = Bundle.getString(\"org.netbeans.core.windows.services.Bundle\", \"OK_OPTION_CAPTION\");\n new JButtonOperator(selectDialog, oKLabel).push();\n // wait DTD is open in editor\n new EditorOperator(\"DTD.dtd\").close(); // NOI18N\n Node dtdNode = new Node(xmlNode, \"DTD.dtd\"); // NOI18N\n\n // \"Check DTD\"\n\n String checkDTDItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.actions.Bundle\", \"NAME_Validate_DTD\");\n new Action(null, checkDTDItem).perform(dtdNode);\n // find and close an output with the result of dtd check\n new OutputTabOperator(xmlCheckTitle).close();\n\n // \"Generate DOM Tree Scanner\"\n String generateScannerItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.generator.Bundle\", \"PROP_GenerateDOMScanner\");\n new ActionNoBlock(null, generateScannerItem).perform(dtdNode);\n selectDialog = new NbDialogOperator(selectTitle);\n new JButtonOperator(selectDialog, oKLabel).push();\n // wait Scanner is open in editor\n new EditorOperator(\"DTDScanner.java\").close(); // NOI18N\n new Node(xmlNode, \"DTDScanner.java\"); // NOI18N\n }", "@Test\n public void testTrustPolicyDocumentWithSigNoNs() throws IOException, CertificateException, ParserConfigurationException, SAXException, MarshalException, XMLSignatureException {\n isValid(\"/documents/5/trustpolicy_1_signed.xml\",\"/documents/5/certificate.pem\");\n isValid(\"/documents/5/trustpolicy_4_edited.xml\",\"/documents/5/certificate.pem\");\n isValid(\"/documents/5/trustpolicy_5_edited.xml\",\"/documents/5/certificate.pem\");\n }", "private boolean acceptAsExpected()\n {\n return saveExpectedDir_ != null;\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(maturityModelEClass, MaturityModel.class, \"MaturityModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMaturityModel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Version(), ecorePackage.getEString(), \"version\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_ReleaseDate(), ecorePackage.getEDate(), \"releaseDate\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Author(), ecorePackage.getEString(), \"author\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityModel_Organizes(), this.getProcessArea(), null, \"organizes\", null, 0, -1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityModel_EvolvesInto(), this.getMaturityLevel(), null, \"evolvesInto\", null, 0, -1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(processAreaEClass, ProcessArea.class, \"ProcessArea\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProcessArea_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_ShortDescription(), ecorePackage.getEString(), \"shortDescription\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_MainDescription(), ecorePackage.getEString(), \"mainDescription\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProcessArea_Defines(), this.getSpecificPractice(), null, \"defines\", null, 0, -1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProcessArea_Implements(), this.getMaturityLevel(), null, \"implements\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specificPracticeEClass, SpecificPractice.class, \"SpecificPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSpecificPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_ComplementaryDescription(), ecorePackage.getEString(), \"complementaryDescription\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(maturityLevelEClass, MaturityLevel.class, \"MaturityLevel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMaturityLevel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityLevel_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityLevel_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityLevel_EvolvesInto(), this.getGenericPractice(), null, \"evolvesInto\", null, 0, -1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(genericPracticeEClass, GenericPractice.class, \"GenericPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGenericPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_ComplementaryDescription(), ecorePackage.getEString(), \"complementaryDescription\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getGenericPractice_Divided(), this.getGPSubPractice(), null, \"divided\", null, 0, -1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(gpSubPracticeEClass, GPSubPractice.class, \"GPSubPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGPSubPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGPSubPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGPSubPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Elements(), this.getElement(), null, \"elements\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(elementEClass, Element.class, \"Element\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getElement_State(), this.getState(), null, \"state\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getElement_Transition(), this.getTransition(), null, \"transition\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getState_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getState_StatesProperties(), this.getStatesProperties(), null, \"statesProperties\", null, 0, -1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(statesPropertiesEClass, StatesProperties.class, \"StatesProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStatesProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionEClass, Transition.class, \"Transition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTransition_Start(), this.getCoordinatesStatesTransition(), null, \"start\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_End(), this.getCoordinatesStatesTransition(), null, \"end\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_TransitionProperties(), this.getTransitionProperties(), null, \"transitionProperties\", null, 0, -1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_Label(), this.getLabel(), null, \"label\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransition_Init(), ecorePackage.getEString(), \"init\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(labelEClass, Label.class, \"Label\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLabel_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLabel_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(coordinatesStatesTransitionEClass, CoordinatesStatesTransition.class, \"CoordinatesStatesTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCoordinatesStatesTransition_StateTransition(), ecorePackage.getEString(), \"stateTransition\", null, 0, 1, CoordinatesStatesTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionPropertiesEClass, TransitionProperties.class, \"TransitionProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTransitionProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Curve(), ecorePackage.getEString(), \"curve\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);\n\t\tModelPackage theModelPackage = (ModelPackage)EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI);\n\t\tColumnPackage theColumnPackage = (ColumnPackage)EPackage.Registry.INSTANCE.getEPackage(ColumnPackage.eNS_URI);\n\t\tExpressionPackage theExpressionPackage = (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\ttableEClass.getESuperTypes().add(theCommonPackage.getNameProvider());\n\t\tprimaryKeyTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tuniqueTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tcheckTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tforeignKeyTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(tableEClass, Table.class, \"Table\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTable_Database(), theModelPackage.getDatabase(), theModelPackage.getDatabase_Tables(), \"database\", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTable_Columns(), theColumnPackage.getColumn(), theColumnPackage.getColumn_Table(), \"columns\", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTable_Constraints(), this.getTableConstraint(), this.getTableConstraint_Table(), \"constraints\", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(tableConstraintEClass, TableConstraint.class, \"TableConstraint\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTableConstraint_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTableConstraint_Table(), this.getTable(), this.getTable_Constraints(), \"table\", null, 1, 1, TableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(primaryKeyTableConstraintEClass, PrimaryKeyTableConstraint.class, \"PrimaryKeyTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPrimaryKeyTableConstraint_Columns(), theColumnPackage.getIndexedColumn(), null, \"columns\", null, 1, -1, PrimaryKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(uniqueTableConstraintEClass, UniqueTableConstraint.class, \"UniqueTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUniqueTableConstraint_Columns(), theColumnPackage.getIndexedColumn(), null, \"columns\", null, 1, -1, UniqueTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(checkTableConstraintEClass, CheckTableConstraint.class, \"CheckTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getCheckTableConstraint_Expression(), theExpressionPackage.getExpression(), null, \"expression\", null, 1, 1, CheckTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(foreignKeyTableConstraintEClass, ForeignKeyTableConstraint.class, \"ForeignKeyTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getForeignKeyTableConstraint_Columns(), theColumnPackage.getColumn(), null, \"columns\", null, 1, -1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getForeignKeyTableConstraint_ForeignTable(), this.getTable(), null, \"foreignTable\", null, 1, 1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getForeignKeyTableConstraint_ForeignColumns(), theColumnPackage.getColumn(), null, \"foreignColumns\", null, 1, -1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t}", "public void initializePackageContents()\n {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tclarityAddFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetBatchResultEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetKeyEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityQueryBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityReloadFileEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityRemoveFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tstartBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(clarityAbstractObjectEClass, ClarityAbstractObject.class, \"ClarityAbstractObject\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getClarityAbstractObject_ClarityConnection(), ecorePackage.getEString(), \"clarityConnection\", null, 0, 1, ClarityAbstractObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(clarityAddFilesEClass, ClarityAddFiles.class, \"ClarityAddFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetBatchResultEClass, ClarityGetBatchResult.class, \"ClarityGetBatchResult\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetKeyEClass, ClarityGetKey.class, \"ClarityGetKey\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityQueryBatchEClass, ClarityQueryBatch.class, \"ClarityQueryBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityReloadFileEClass, ClarityReloadFile.class, \"ClarityReloadFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityRemoveFilesEClass, ClarityRemoveFiles.class, \"ClarityRemoveFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(startBatchEClass, StartBatch.class, \"StartBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// cbgeneralcontrol\n\t\tcreateCbgeneralcontrolAnnotations();\n\t}", "@Test\n\tpublic void testDocumentProcessorGlobally() {\n\t\tTrainingDocumentProcessor processor = new TrainingDocumentProcessor();\n\t\tTrainingDocumentFiler[] categories;\n\t\t\n\t\ttry {\n\t\t\tprocessor.importDocFile(\"testTextFiles/testDocuments.txt\");\n\t\t} catch (IOException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t\ttry {\n\t\t\tprocessor.importStopWordFile(\"stopWords.txt\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\n\t\tprocessor.process();\n\t\tcategories = processor.getTrainingDocumentFilerArray();\n\t\tassertEquals(\"Negative sentiment category should be 0\",0,categories[0].getCategory());\n\t\tassertEquals(\"Positive sentiment category should be 1\",1,categories[1].getCategory());\n\t\tassertEquals(\"Number of negative documents should be 8\", 8, categories[0].getNumberOfDocuments());\n\t\tassertEquals(\"Number of positive documents should be 8\", 8, categories[1].getNumberOfDocuments());\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(liveScoreEClass, LiveScore.class, \"LiveScore\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLiveScore_Preferedplayer(), this.getPreferedPlayer(), null, \"preferedplayer\", null, 0, -1, LiveScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLiveScore_Salonname(), ecorePackage.getEString(), \"salonname\", null, 0, 1, LiveScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(preferedPlayerEClass, PreferedPlayer.class, \"PreferedPlayer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPreferedPlayer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPreferedPlayer_Won(), ecorePackage.getEInt(), \"won\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPreferedPlayer_Playings(), ecorePackage.getEInt(), \"playings\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tuserTaskEClass.getESuperTypes().add(this.getTask());\n\t\tapplicationTaskEClass.getESuperTypes().add(this.getTask());\n\t\tinteractionTaskEClass.getESuperTypes().add(this.getTask());\n\t\tabstractionTaskEClass.getESuperTypes().add(this.getTask());\n\t\tnullTaskEClass.getESuperTypes().add(this.getTask());\n\t\tchoiceOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\torderIndependenceOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tinterleavingOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsynchronizationOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tparallelOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tdisablingOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsequentialEnablingInfoOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsequentialEnablingOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsuspendResumeOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(taskModelEClass, TaskModel.class, \"TaskModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTaskModel_Root(), this.getTask(), null, \"root\", null, 1, 1, TaskModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTaskModel_Tasks(), this.getTask(), null, \"tasks\", null, 1, -1, TaskModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTaskModel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TaskModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(taskEClass, Task.class, \"Task\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTask_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTask_Operator(), this.getTemporalOperator(), null, \"operator\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTask_Subtasks(), this.getTask(), this.getTask_Parent(), \"subtasks\", null, 0, -1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTask_Parent(), this.getTask(), this.getTask_Subtasks(), \"parent\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Min(), ecorePackage.getEIntegerObject(), \"min\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Max(), ecorePackage.getEIntegerObject(), \"max\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Iterative(), ecorePackage.getEBooleanObject(), \"iterative\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(userTaskEClass, UserTask.class, \"UserTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(applicationTaskEClass, ApplicationTask.class, \"ApplicationTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(interactionTaskEClass, InteractionTask.class, \"InteractionTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(abstractionTaskEClass, AbstractionTask.class, \"AbstractionTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(nullTaskEClass, NullTask.class, \"NullTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(temporalOperatorEClass, TemporalOperator.class, \"TemporalOperator\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(choiceOperatorEClass, ChoiceOperator.class, \"ChoiceOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(orderIndependenceOperatorEClass, OrderIndependenceOperator.class, \"OrderIndependenceOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(interleavingOperatorEClass, InterleavingOperator.class, \"InterleavingOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(synchronizationOperatorEClass, SynchronizationOperator.class, \"SynchronizationOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(parallelOperatorEClass, ParallelOperator.class, \"ParallelOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(disablingOperatorEClass, DisablingOperator.class, \"DisablingOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(sequentialEnablingInfoOperatorEClass, SequentialEnablingInfoOperator.class, \"SequentialEnablingInfoOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(sequentialEnablingOperatorEClass, SequentialEnablingOperator.class, \"SequentialEnablingOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(suspendResumeOperatorEClass, SuspendResumeOperator.class, \"SuspendResumeOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public boolean isSetFileName() {\n return this.FileName != null;\n }" ]
[ "0.537645", "0.52707803", "0.5249224", "0.5242923", "0.52149826", "0.51447046", "0.51284605", "0.5126212", "0.51213306", "0.5110136", "0.5103861", "0.50300026", "0.50039595", "0.49981216", "0.49896035", "0.4978435", "0.4975727", "0.49739152", "0.49609688", "0.4946687", "0.4944752", "0.49368742", "0.4932771", "0.4915551", "0.4907876", "0.48930347", "0.488852", "0.4887291", "0.48849234", "0.48666713", "0.48614943", "0.48612475", "0.48420694", "0.4841165", "0.4834666", "0.4833823", "0.4828395", "0.48246825", "0.48108038", "0.47961006", "0.47941548", "0.47890276", "0.47875273", "0.47831246", "0.47790283", "0.47727862", "0.4771213", "0.47655523", "0.47539508", "0.47496992", "0.47372696", "0.470892", "0.4708002", "0.47074014", "0.47028112", "0.47019866", "0.46951583", "0.46835953", "0.46827614", "0.46820384", "0.467572", "0.46739239", "0.46651462", "0.46636134", "0.4662787", "0.46571288", "0.46486646", "0.4648576", "0.46485105", "0.4644184", "0.4644139", "0.4635266", "0.46292096", "0.4625552", "0.46236673", "0.4614948", "0.46135563", "0.46099186", "0.46035138", "0.46003905", "0.4597611", "0.45948184", "0.45931947", "0.45886433", "0.45875597", "0.45875597", "0.45875597", "0.45872483", "0.45823383", "0.45821634", "0.4575549", "0.45738435", "0.45721143", "0.4567984", "0.45675644", "0.4567107", "0.45662564", "0.4558366", "0.45557424", "0.4555667", "0.45554677" ]
0.0
-1
This method is specific to the Content Package Validator only. This method sets whether or not the content package test subject contains the required files at the root of the package. The required files include the imsmanifest.xml file as well as the controlling documents needed for the validation parse.
protected void setIsRequiredFiles(boolean iRequiredFilesResult) { mIsRequiredFiles = iRequiredFilesResult; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean validate(FileObject subject) {\n\t\t\r\n\t\treturn false;\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tSolverPackage theSolverPackage = (SolverPackage)EPackage.Registry.INSTANCE.getEPackage(SolverPackage.eNS_URI);\n\t\tSolverjacopPackage theSolverjacopPackage = (SolverjacopPackage)EPackage.Registry.INSTANCE.getEPackage(SolverjacopPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\ttoUseSolverCpGeneratorEClass.getESuperTypes().add(theSolverPackage.getGenerator());\n\t\ttoUseSolverCpTupleEClass.getESuperTypes().add(theSolverPackage.getGeneratorTuple());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(toUseSolverCpFolderEClass, ToUseSolverCpFolder.class, \"ToUseSolverCpFolder\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpFolder_SubFolders(), this.getToUseSolverCpFolder(), null, \"SubFolders\", null, 0, -1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getToUseSolverCpFolder_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpFolder_ToUseGenerators(), this.getToUseSolverCpGenerator(), null, \"ToUseGenerators\", null, 0, -1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(toUseSolverCpGeneratorEClass, ToUseSolverCpGenerator.class, \"ToUseSolverCpGenerator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpGenerator_Solver(), theSolverjacopPackage.getSolverJacop(), null, \"Solver\", null, 0, -1, ToUseSolverCpGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpGenerator_ToUseTuples(), this.getToUseSolverCpTuple(), null, \"ToUseTuples\", null, 0, -1, ToUseSolverCpGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(toUseSolverCpTupleEClass, ToUseSolverCpTuple.class, \"ToUseSolverCpTuple\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseLinears(), theSolverPackage.getGeneratorCpLinear(), null, \"ToUseLinears\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseVars(), theSolverPackage.getGeneratorCpVarAtomic(), null, \"ToUseVars\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseLogicals(), theSolverPackage.getGeneratorCpLogical(), null, \"ToUseLogicals\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void verify() {\n lblSourcePackageFolder();\n lblClasspath();\n btAddJARFolder();\n btRemove();\n lblOutputFolderOrJAR();\n txtOutputFolder();\n btBrowse();\n lstClasspath();\n cboSourcePackageFolder();\n btMoveUp();\n btMoveDown();\n lblOnlineError();\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\torg.unicase.model.ModelPackage theModelPackage_1 = (org.unicase.model.ModelPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.unicase.model.ModelPackage.eNS_URI);\r\n\t\tTaskPackage theTaskPackage = (TaskPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(TaskPackage.eNS_URI);\r\n\t\torg.eclipse.emf.emfstore.internal.common.model.ModelPackage theModelPackage_2 = (org.eclipse.emf.emfstore.internal.common.model.ModelPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.eclipse.emf.emfstore.internal.common.model.ModelPackage.eNS_URI);\r\n\t\tOrganizationPackage theOrganizationPackage = (OrganizationPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(OrganizationPackage.eNS_URI);\r\n\t\tAttachmentPackage theAttachmentPackage = (AttachmentPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(AttachmentPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tissueEClass.getESuperTypes().add(theModelPackage_1.getAnnotation());\r\n\t\tissueEClass.getESuperTypes().add(theTaskPackage.getCheckable());\r\n\t\tissueEClass.getESuperTypes().add(theTaskPackage.getWorkItem());\r\n\t\tproposalEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tproposalEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tsolutionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tsolutionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tcriterionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tassessmentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tassessmentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tcommentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tcommentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(issueEClass, Issue.class, \"Issue\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getIssue_Proposals(), this.getProposal(),\r\n\t\t\t\tthis.getProposal_Issue(), \"proposals\", null, 0, -1,\r\n\t\t\t\tIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getIssue_Solution(), this.getSolution(),\r\n\t\t\t\tthis.getSolution_Issue(), \"solution\", null, 0, 1, Issue.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getIssue_Criteria(), this.getCriterion(), null,\r\n\t\t\t\t\"criteria\", null, 0, -1, Issue.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getIssue_Activity(), theTaskPackage.getActivityType(),\r\n\t\t\t\t\"activity\", null, 0, 1, Issue.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getIssue_Assessments(), this.getAssessment(), null,\r\n\t\t\t\t\"assessments\", null, 0, -1, Issue.class, IS_TRANSIENT,\r\n\t\t\t\tIS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(proposalEClass, Proposal.class, \"Proposal\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getProposal_Assessments(), this.getAssessment(),\r\n\t\t\t\tthis.getAssessment_Proposal(), \"assessments\", null, 0, -1,\r\n\t\t\t\tProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getProposal_Issue(), this.getIssue(),\r\n\t\t\t\tthis.getIssue_Proposals(), \"issue\", null, 0, 1, Proposal.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(solutionEClass, Solution.class, \"Solution\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getSolution_UnderlyingProposals(), this.getProposal(),\r\n\t\t\t\tnull, \"underlyingProposals\", null, 0, -1, Solution.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getSolution_Issue(), this.getIssue(),\r\n\t\t\t\tthis.getIssue_Solution(), \"issue\", null, 0, 1, Solution.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(criterionEClass, Criterion.class, \"Criterion\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getCriterion_Assessments(), this.getAssessment(),\r\n\t\t\t\tthis.getAssessment_Criterion(), \"assessments\", null, 0, -1,\r\n\t\t\t\tCriterion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(assessmentEClass, Assessment.class, \"Assessment\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAssessment_Proposal(), this.getProposal(),\r\n\t\t\t\tthis.getProposal_Assessments(), \"proposal\", null, 0, 1,\r\n\t\t\t\tAssessment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAssessment_Criterion(), this.getCriterion(),\r\n\t\t\t\tthis.getCriterion_Assessments(), \"criterion\", null, 0, 1,\r\n\t\t\t\tAssessment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAssessment_Value(), ecorePackage.getEInt(), \"value\",\r\n\t\t\t\tnull, 0, 1, Assessment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(commentEClass, Comment.class, \"Comment\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getComment_Sender(),\r\n\t\t\t\ttheOrganizationPackage.getOrgUnit(), null, \"sender\", null, 0,\r\n\t\t\t\t1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getComment_Recipients(),\r\n\t\t\t\ttheOrganizationPackage.getOrgUnit(), null, \"recipients\", null,\r\n\t\t\t\t0, -1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getComment_CommentedElement(),\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement(),\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement_Comments(),\r\n\t\t\t\t\"commentedElement\", null, 0, 1, Comment.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(audioCommentEClass, AudioComment.class, \"AudioComment\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAudioComment_AudioFile(),\r\n\t\t\t\ttheAttachmentPackage.getFileAttachment(), null, \"audioFile\",\r\n\t\t\t\tnull, 0, 1, AudioComment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create annotations\r\n\t\t// org.eclipse.emf.ecp.editor\r\n\t\tcreateOrgAnnotations();\r\n\t}", "protected void validateMcaDeployedToWorkingDir() {\n\t\tassertTrue(unitTestDir.exists());\n\t\tassertTrue(new File(unitTestDir, \"composition.groovy\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/components/components.jar\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/promoted/promoted.jar\").exists());\n\t\tassertTrue(new File(unitTestDir, \"MCA-INF/hidden/hidden.jar\").exists());\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n openEClass.getESuperTypes().add(this.getINSTRUCTION());\n gotoEClass.getESuperTypes().add(this.getINSTRUCTION());\n clickEClass.getESuperTypes().add(this.getINSTRUCTION());\n fillEClass.getESuperTypes().add(this.getINSTRUCTION());\n checkEClass.getESuperTypes().add(this.getINSTRUCTION());\n uncheckEClass.getESuperTypes().add(this.getINSTRUCTION());\n selectEClass.getESuperTypes().add(this.getINSTRUCTION());\n readEClass.getESuperTypes().add(this.getINSTRUCTION());\n verifyEClass.getESuperTypes().add(this.getINSTRUCTION());\n verifY_CONTAINSEClass.getESuperTypes().add(this.getVERIFY());\n verifY_EQUALSEClass.getESuperTypes().add(this.getVERIFY());\n countEClass.getESuperTypes().add(this.getINSTRUCTION());\n playEClass.getESuperTypes().add(this.getINSTRUCTION());\n\n // Initialize classes and features; add operations and parameters\n initEClass(programmeEClass, org.xtext.project.browserautomationdsl.domainmodel.PROGRAMME.class, \"PROGRAMME\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPROGRAMME_Procedures(), this.getPROCEDURE(), null, \"procedures\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROGRAMME.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(procedureEClass, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, \"PROCEDURE\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPROCEDURE_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPROCEDURE_Param(), ecorePackage.getEString(), \"param\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPROCEDURE_Params(), ecorePackage.getEString(), \"params\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPROCEDURE_Inst(), this.getINSTRUCTION(), null, \"inst\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(instructionEClass, org.xtext.project.browserautomationdsl.domainmodel.INSTRUCTION.class, \"INSTRUCTION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(openEClass, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, \"OPEN\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getOPEN_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getOPEN_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(gotoEClass, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, \"GOTO\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getGOTO_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGOTO_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(clickEClass, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, \"CLICK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCLICK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCLICK_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCLICK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fillEClass, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, \"FILL\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFILL_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_FieldType(), ecorePackage.getEString(), \"fieldType\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFILL_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(checkEClass, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, \"CHECK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCHECK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCHECK_All(), ecorePackage.getEString(), \"all\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCHECK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(uncheckEClass, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, \"UNCHECK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUNCHECK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getUNCHECK_All(), ecorePackage.getEString(), \"all\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getUNCHECK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectEClass, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, \"SELECT\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSELECT_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getSELECT_Elem(), ecorePackage.getEString(), \"elem\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSELECT_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(readEClass, org.xtext.project.browserautomationdsl.domainmodel.READ.class, \"READ\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getREAD_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getREAD_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getREAD_SavePath(), this.getSAVEVAR(), null, \"savePath\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(elementidentifierEClass, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, \"ELEMENTIDENTIFIER\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getELEMENTIDENTIFIER_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Info(), ecorePackage.getEString(), \"info\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifyEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY.class, \"VERIFY\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVERIFY_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifY_CONTAINSEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, \"VERIFY_CONTAINS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVERIFY_CONTAINS_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_ContainedIdentifier(), this.getELEMENTIDENTIFIER(), null, \"containedIdentifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_Variable(), this.getREGISTERED_VALUE(), null, \"variable\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifY_EQUALSEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, \"VERIFY_EQUALS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getVERIFY_EQUALS_Operation(), this.getCOUNT(), null, \"operation\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_EQUALS_RegisteredValue(), this.getREGISTERED_VALUE(), null, \"registeredValue\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(registereD_VALUEEClass, org.xtext.project.browserautomationdsl.domainmodel.REGISTERED_VALUE.class, \"REGISTERED_VALUE\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getREGISTERED_VALUE_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.REGISTERED_VALUE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(countEClass, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, \"COUNT\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCOUNT_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCOUNT_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCOUNT_SaveVariable(), this.getSAVEVAR(), null, \"saveVariable\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(savevarEClass, org.xtext.project.browserautomationdsl.domainmodel.SAVEVAR.class, \"SAVEVAR\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSAVEVAR_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SAVEVAR.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(playEClass, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, \"PLAY\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPLAY_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPLAY_Preocedure(), ecorePackage.getEString(), \"preocedure\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPLAY_Params(), ecorePackage.getEString(), \"params\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public boolean getIsRequiredFiles() {\r\n\t\treturn mIsRequiredFiles;\r\n\t}", "public boolean checkSetup(){\n return checkSetup(folderName);\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tVpmlPackage theVpmlPackage = (VpmlPackage)EPackage.Registry.INSTANCE.getEPackage(VpmlPackage.eNS_URI);\r\n\t\tProcesspackagePackage theProcesspackagePackage = (ProcesspackagePackage)EPackage.Registry.INSTANCE.getEPackage(ProcesspackagePackage.eNS_URI);\r\n\t\tResourcepackagePackage theResourcepackagePackage = (ResourcepackagePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcepackagePackage.eNS_URI);\r\n\t\tOrganizationpackagePackage theOrganizationpackagePackage = (OrganizationpackagePackage)EPackage.Registry.INSTANCE.getEPackage(OrganizationpackagePackage.eNS_URI);\r\n\r\n\t\t// Add supertypes to classes\r\n\t\temcLogicalConnectorEClass.getESuperTypes().add(theVpmlPackage.getEMObject());\r\n\t\temcAndEClass.getESuperTypes().add(this.getEMCLogicalConnector());\r\n\t\temcorEClass.getESuperTypes().add(this.getEMCLogicalConnector());\r\n\t\temcCollaborationGroupEClass.getESuperTypes().add(theVpmlPackage.getEMObject());\r\n\t\temcDiagramEClass.getESuperTypes().add(theVpmlPackage.getEMDiagram());\r\n\t\temcCollaborationRelationEClass.getESuperTypes().add(this.getEMCRelation());\r\n\t\temcSequenceRelationEClass.getESuperTypes().add(this.getEMCRelation());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(emcLogicalConnectorEClass, EMCLogicalConnector.class, \"EMCLogicalConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(emcAndEClass, EMCAnd.class, \"EMCAnd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCAnd_ColAndDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColAnd(), \"colAndDiagram\", null, 0, 1, EMCAnd.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcorEClass, vpml.collaborationpackage.EMCOR.class, \"EMCOR\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCOR_ColORDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColOR(), \"colORDiagram\", null, 0, 1, vpml.collaborationpackage.EMCOR.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcCollaborationGroupEClass, EMCCollaborationGroup.class, \"EMCCollaborationGroup\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCCollaborationGroup_ColColGroupDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColColGroup(), \"colColGroupDiagram\", null, 0, 1, EMCCollaborationGroup.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcDiagramEClass, EMCDiagram.class, \"EMCDiagram\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCDiagram_EmpDiagram(), theProcesspackagePackage.getEMPDiagram(), theProcesspackagePackage.getEMPDiagram_EmcDiagram(), \"empDiagram\", null, 1, 1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEMCDiagram_AssociatePrModel(), ecorePackage.getEString(), \"associatePrModel\", null, 0, 1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColAnd(), this.getEMCAnd(), this.getEMCAnd_ColAndDiagram(), \"colAnd\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColOR(), this.getEMCOR(), this.getEMCOR_ColORDiagram(), \"colOR\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColRole(), theResourcepackagePackage.getEMRRole(), theResourcepackagePackage.getEMRRole_ColRoleDiagram(), \"colRole\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColLocation(), theResourcepackagePackage.getEMRLocationType(), theResourcepackagePackage.getEMRLocationType_ColLocationDiagram(), \"colLocation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColMachine(), theResourcepackagePackage.getEMRMachineType(), theResourcepackagePackage.getEMRMachineType_ColMachineDiagram(), \"colMachine\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColEMOGroup(), theOrganizationpackagePackage.getEMOResourceGroupType(), theOrganizationpackagePackage.getEMOResourceGroupType_ColEMOGroupDiagram(), \"colEMOGroup\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColColGroup(), this.getEMCCollaborationGroup(), this.getEMCCollaborationGroup_ColColGroupDiagram(), \"colColGroup\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColColRelation(), this.getEMCCollaborationRelation(), this.getEMCCollaborationRelation_ColColRelationDiagram(), \"colColRelation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColSeqRelation(), this.getEMCSequenceRelation(), this.getEMCSequenceRelation_ColSeqRelationDiagram(), \"colSeqRelation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcRelationEClass, EMCRelation.class, \"EMCRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCRelation_SourceRelationSourceObj(), theVpmlPackage.getEMObject(), theVpmlPackage.getEMObject_SourceObjSourceRelation(), \"sourceRelationSourceObj\", null, 0, 1, EMCRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCRelation_TargetRelationTargetObj(), theVpmlPackage.getEMObject(), theVpmlPackage.getEMObject_TargetObjTargetRelation(), \"targetRelationTargetObj\", null, 0, 1, EMCRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcCollaborationRelationEClass, EMCCollaborationRelation.class, \"EMCCollaborationRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCCollaborationRelation_ColColRelationDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColColRelation(), \"colColRelationDiagram\", null, 0, 1, EMCCollaborationRelation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcSequenceRelationEClass, EMCSequenceRelation.class, \"EMCSequenceRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCSequenceRelation_ColSeqRelationDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColSeqRelation(), \"colSeqRelationDiagram\", null, 0, 1, EMCSequenceRelation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t}", "@Test\n public void testValidateManifest() {\n KicIngester.validateManifest(new File(SCP_DATA_DIR), \"Manifest\",\n KicIngester.getScpFiles(new File(SCP_DATA_DIR),\n SCP_FILENAME_PATTERN));\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\teActorEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\t\teItemEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(eDomainSchemaEClass, EDomainSchema.class, \"EDomainSchema\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDomainSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSchema_Ds(), this.getEDataSchema(), null, \"ds\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eControlSchemaEClass, EControlSchema.class, \"EControlSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEControlSchema_Actor(), this.getEActor(), null, \"actor\", null, 1, -1, EControlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDataSchemaEClass, EDataSchema.class, \"EDataSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDataSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 1, 1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDataSchema_Item(), this.getEItem(), null, \"item\", null, 1, -1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificEntityEClass, EDomainSpecificEntity.class, \"EDomainSpecificEntity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificEntity_CommandPriority(), ecorePackage.getEInt(), \"commandPriority\", null, 0, 1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSpecificEntity_Cmd(), this.getEDomainSpecificCommand(), null, \"cmd\", null, 0, -1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificCommandEClass, EDomainSpecificCommand.class, \"EDomainSpecificCommand\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificCommand_CmdId(), ecorePackage.getEInt(), \"cmdId\", null, 0, 1, EDomainSpecificCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eActorEClass, EActor.class, \"EActor\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEActor_KindInteraction(), this.getECoordinationBehavior(), \"kindInteraction\", null, 0, 1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEActor_TypesControlled(), this.getEDomainSpecificType(), null, \"typesControlled\", null, 0, -1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eItemEClass, EItem.class, \"EItem\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEItem_ArisingBehavior(), this.getEArising(), \"arisingBehavior\", null, 0, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEItem_Type(), this.getEDomainSpecificType(), null, \"type\", null, 1, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificTypeEClass, EDomainSpecificType.class, \"EDomainSpecificType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificType_InteractionBehavior(), this.getEInteractionBehavior(), \"interactionBehavior\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEDomainSpecificType_Cardinality(), this.getECardinality(), \"cardinality\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(eArisingEEnum, EArising.class, \"EArising\");\n\t\taddEEnumLiteral(eArisingEEnum, EArising.STATIC);\n\t\taddEEnumLiteral(eArisingEEnum, EArising.DYNAMIC);\n\n\t\tinitEEnum(eCardinalityEEnum, ECardinality.class, \"ECardinality\");\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.ONE);\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.MANY);\n\n\t\tinitEEnum(eInteractionBehaviorEEnum, EInteractionBehavior.class, \"EInteractionBehavior\");\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.SYNC);\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.ASYNC);\n\n\t\tinitEEnum(eCoordinationBehaviorEEnum, ECoordinationBehavior.class, \"ECoordinationBehavior\");\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.LOCAL);\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.DISTRIBUTED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(packageDeclarationEClass, PackageDeclaration.class, \"PackageDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPackageDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, PackageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPackageDeclaration_Content(), this.getNamedElement(), null, \"content\", null, 0, -1, PackageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(referenceableEClass, Referenceable.class, \"Referenceable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "@SuppressWarnings(\"deprecation\")\n private static void setUp() {\n FileUtil.setMIMEType(\"cc\", MIMENames.CPLUSPLUS_MIME_TYPE); // NOI18N\n FileUtil.setMIMEType(\"h\", MIMENames.HEADER_MIME_TYPE); // NOI18N\n FileUtil.setMIMEType(\"c\", MIMENames.C_MIME_TYPE); // NOI18N\n\n JEditorPane.registerEditorKitForContentType(MIMENames.CPLUSPLUS_MIME_TYPE, \"org.netbeans.modules.cnd.editor.cplusplus.CCKit\"); // NOI18N\n JEditorPane.registerEditorKitForContentType(MIMENames.HEADER_MIME_TYPE, \"org.netbeans.modules.cnd.editor.cplusplus.HKit\"); // NOI18N\n JEditorPane.registerEditorKitForContentType(MIMENames.C_MIME_TYPE, \"org.netbeans.modules.cnd.editor.cplusplus.CKit\"); // NOI18N\n }", "public boolean checkProtXmlFiles(Appendable err, UIAlerter alerter, Component comp) throws IOException {\n if (!Globals.byPeptide && (Globals.protXmlFiles == null || Globals.protXmlFiles.isEmpty())) {\n if (err != null) {\n err.append(\"No protXML files were found in '\" + Globals.srcDir + \"'\\n\");\n }\n if (alerter != null) {\n alerter.alert(comp);\n }\n\n return false;\n }\n return true;\n }", "@Override\n protected boolean preEmitCheck(SourceXmlSchemaHelper schemaHelper, \n CachedUrl cu, ArticleMetadata thisAM) {\n ArchivalUnit B_au = cu.getArchivalUnit();\n\n // The schema tells us which raw metadata value points to the correct article xml file\n String key_for_filename = schemaHelper.getFilenameXPathKey();\n\n // Use the map created earlier to locate the file from it's relative path\n String full_article_md_file = TarContentsMap.get(thisAM.getRaw(key_for_filename));\n log.debug3(\"full_article_md_file is : \" + thisAM.getRaw(key_for_filename));\n if (full_article_md_file == null) {\n return false;\n }\n\n /*\n * 1. Check for existence of PDF file; otherwise return false & don't emit\n */\n // pdf file has the same name as the xml file, but with \".pdf\" suffix\n\n CachedUrl fileCu = null;\n CachedUrl mdCu = null;;\n try {\n String full_article_pdf = full_article_md_file.substring(0,full_article_md_file.length() - 3) + \"pdf\"; \n fileCu = B_au.makeCachedUrl(full_article_pdf);\n log.debug3(\"Check for existence of \" + full_article_pdf);\n if(fileCu != null && (fileCu.hasContent())) {\n thisAM.put(MetadataField.FIELD_ACCESS_URL, fileCu.getUrl());\n /*\n * 2. Now get the volume, issue and supplement status from the URL\n * key_for_filename looks like this:\n * 03781119/v554i2/S0378111914011998/main.xml\n * we want the second section which could have a v, i, and s component\n * v# or v#-# \n * i# or i#-#\n * s#orLtr\n * will have at least v\n * exs: /v113-115sC/ or /v58i2-3/ or /v117i6/ or /v39sC/ or /v100i8sS/ \n */\n \n Matcher vMat = ISSUE_INFO_PATTERN.matcher(thisAM.getRaw(ElsevierDTD5XmlSchemaHelper.dataset_article_metadata));\n log.debug3(\"checking for volume information from path\");\n if (vMat.matches()) {\n String vol = vMat.group(1);\n String optIss = vMat.group(2);\n String optSup = vMat.group(3);\n log.debug3(\"found volume information: V\" + vol + \"I\" + optIss + \"S\" + optSup);\n thisAM.put(MetadataField.FIELD_VOLUME, vol);\n if( (optIss != null) || (optSup != null)){\n StringBuilder val = new StringBuilder();\n if (optIss != null) {\n val.append(optIss);\n }\n if (optSup != null) {\n val.append(optSup);\n }\n // there is no field equivalent to the suppl used by Elsevier\n thisAM.put(MetadataField.FIELD_ISSUE, val.toString()); \n }\n }\n /* \n * 3. Now get remaining metadata from the article xml file \n */\n mdCu = B_au.makeCachedUrl(full_article_md_file);\n /*\n * This is defensive programming. It's not clear how this could happen.\n * Since we got the full_article_md_file from the map, we know it's in\n * the AU. So an error here is a sign of a big problem.\n */\n if(mdCu == null || !(mdCu.hasContent())) {\n log.siteWarning(\"The stored article XML file is no longer accessible\");\n return true; \n }\n extractRemainingMetadata(thisAM, mdCu);\n return true;\n }\n } finally {\n AuUtil.safeRelease(fileCu);\n AuUtil.safeRelease(mdCu);\n }\n log.debug3(\"No pdf file exists associated with this record - don't emit\");\n return false; \n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n cssOtherTopLevelDeclarationEClass.getESuperTypes().add(this.getCSSTopLevelStatement());\n mediaDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n pageDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n namespaceDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n fontFaceDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n ruleSetEClass.getESuperTypes().add(this.getCSSTopLevelStatement());\n ruleSetEClass.getESuperTypes().add(this.getMediaDeclarationMembers());\n propertyDeclarationEClass.getESuperTypes().add(this.getMediaDeclarationMembers());\n knownPropertyDeclarationEClass.getESuperTypes().add(this.getPropertyDeclaration());\n unrecognizedPropertyDeclarationEClass.getESuperTypes().add(this.getPropertyDeclaration());\n typeSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n universalSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n attributeSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n idSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n classSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n pseudoSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n noArgsPseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n pseudoElementSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n languagePseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n functionalPseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n linearArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n constantArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n parityArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n negationSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n sizeLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n stringLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n colorLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n componentColorLiteralEClass.getESuperTypes().add(this.getColorLiteral());\n urlLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n functionCallLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n descendantCombinatorEClass.getESuperTypes().add(this.getSelector());\n childCombinatorEClass.getESuperTypes().add(this.getSelector());\n adjacentSiblingCombinatorEClass.getESuperTypes().add(this.getSelector());\n generalSiblingCombinatorEClass.getESuperTypes().add(this.getSelector());\n simpleSelectorSequenceEClass.getESuperTypes().add(this.getSelector());\n universalNamespacePrefixEClass.getESuperTypes().add(this.getNamespacePrefix());\n withoutNamespacePrefixEClass.getESuperTypes().add(this.getNamespacePrefix());\n stringAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n integerAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n decimalAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n integerLiteralEClass.getESuperTypes().add(this.getNumberLiteral());\n decimalLiteralEClass.getESuperTypes().add(this.getNumberLiteral());\n quantifiedSizeLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n qualifiedSizeLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n fontHeightLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n rgbColorEClass.getESuperTypes().add(this.getColorLiteral());\n namedColorEClass.getESuperTypes().add(this.getColorLiteral());\n componentRGBColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentRGBAlphaColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentHSLColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentHSLAlphaColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n alphaLiteralEClass.getESuperTypes().add(this.getFunctionCallLiteral());\n\n // Initialize classes and features; add operations and parameters\n initEClass(stylesheetEClass, Stylesheet.class, \"Stylesheet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStylesheet_CharSet(), ecorePackage.getEString(), \"charSet\", null, 0, 1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getStylesheet_Imports(), this.getImportDeclaration(), null, \"imports\", null, 0, -1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getStylesheet_Statements(), this.getCSSTopLevelStatement(), null, \"statements\", null, 0, -1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(cssTopLevelStatementEClass, CSSTopLevelStatement.class, \"CSSTopLevelStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(cssOtherTopLevelDeclarationEClass, CSSOtherTopLevelDeclaration.class, \"CSSOtherTopLevelDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(importDeclarationEClass, ImportDeclaration.class, \"ImportDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getImportDeclaration_ImportURI(), ecorePackage.getEString(), \"importURI\", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getImportDeclaration_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getImportDeclaration_Media(), ecorePackage.getEString(), \"media\", null, 0, -1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaDeclarationEClass, MediaDeclaration.class, \"MediaDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMediaDeclaration_MediaQueries(), this.getMediaQuery(), null, \"mediaQueries\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaDeclaration_Media(), this.getMediaQuery(), null, \"media\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaDeclaration_Members(), this.getMediaDeclarationMembers(), null, \"members\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaDeclarationMembersEClass, MediaDeclarationMembers.class, \"MediaDeclarationMembers\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(mediaQueryEClass, MediaQuery.class, \"MediaQuery\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getMediaQuery_Only(), ecorePackage.getEBoolean(), \"only\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMediaQuery_Not(), ecorePackage.getEBoolean(), \"not\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMediaQuery_MediaType(), ecorePackage.getEString(), \"mediaType\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaQuery_Expressions(), this.getMediaQueryExpression(), null, \"expressions\", null, 0, -1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaQueryExpressionEClass, MediaQueryExpression.class, \"MediaQueryExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getMediaQueryExpression_Feature(), ecorePackage.getEString(), \"feature\", null, 0, 1, MediaQueryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaQueryExpression_Expression(), this.getValueLiteral(), null, \"expression\", null, 0, 1, MediaQueryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pageDeclarationEClass, PageDeclaration.class, \"PageDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPageDeclaration_PseudoPage(), ecorePackage.getEString(), \"pseudoPage\", null, 0, 1, PageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPageDeclaration_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, PageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namespaceDeclarationEClass, NamespaceDeclaration.class, \"NamespaceDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamespaceDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamespaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getNamespaceDeclaration_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, NamespaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fontFaceDeclarationEClass, FontFaceDeclaration.class, \"FontFaceDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFontFaceDeclaration_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, FontFaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleSetEClass, RuleSet.class, \"RuleSet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRuleSet_Selectors(), this.getSelector(), null, \"selectors\", null, 0, -1, RuleSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRuleSet_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, RuleSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleSetBodyEClass, RuleSetBody.class, \"RuleSetBody\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRuleSetBody_Declarations(), this.getPropertyDeclaration(), null, \"declarations\", null, 0, -1, RuleSetBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyDeclarationEClass, PropertyDeclaration.class, \"PropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyDeclaration_ValuesLists(), this.getPropertyValuesLists(), null, \"valuesLists\", null, 0, 1, PropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(knownPropertyDeclarationEClass, KnownPropertyDeclaration.class, \"KnownPropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getKnownPropertyDeclaration_Name(), this.getKnownProperties(), \"name\", null, 0, 1, KnownPropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(unrecognizedPropertyDeclarationEClass, UnrecognizedPropertyDeclaration.class, \"UnrecognizedPropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUnrecognizedPropertyDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, UnrecognizedPropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValuesListsEClass, PropertyValuesLists.class, \"PropertyValuesLists\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValuesLists_Lists(), this.getPropertyValuesList(), null, \"lists\", null, 0, -1, PropertyValuesLists.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValuesListEClass, PropertyValuesList.class, \"PropertyValuesList\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValuesList_Values(), this.getPropertyValue(), null, \"values\", null, 0, -1, PropertyValuesList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValueEClass, PropertyValue.class, \"PropertyValue\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValue_Value(), this.getValueLiteral(), null, \"value\", null, 0, 1, PropertyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPropertyValue_Important(), ecorePackage.getEBoolean(), \"important\", null, 0, 1, PropertyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectorEClass, Selector.class, \"Selector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(simpleSelectorEClass, SimpleSelector.class, \"SimpleSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(typeSelectorEClass, TypeSelector.class, \"TypeSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTypeSelector_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, TypeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTypeSelector_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, TypeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namespacePrefixEClass, NamespacePrefix.class, \"NamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getNamespacePrefix_Namespace(), this.getNamespaceDeclaration(), null, \"namespace\", null, 0, 1, NamespacePrefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(universalSelectorEClass, UniversalSelector.class, \"UniversalSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUniversalSelector_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, UniversalSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeSelectorEClass, AttributeSelector.class, \"AttributeSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAttributeSelector_Attribute(), this.getAttribute(), null, \"attribute\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttributeSelector_Matcher(), this.getAttributeSelectorMatchers(), \"matcher\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAttributeSelector_Value(), this.getAttributeValueLiteral(), null, \"value\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAttribute_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeValueLiteralEClass, AttributeValueLiteral.class, \"AttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(idSelectorEClass, IDSelector.class, \"IDSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIDSelector_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, IDSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(classSelectorEClass, ClassSelector.class, \"ClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getClassSelector_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pseudoSelectorEClass, PseudoSelector.class, \"PseudoSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(noArgsPseudoClassSelectorEClass, NoArgsPseudoClassSelector.class, \"NoArgsPseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNoArgsPseudoClassSelector_Pseudo(), this.getNoArgsPseudos(), \"pseudo\", null, 0, 1, NoArgsPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pseudoElementSelectorEClass, PseudoElementSelector.class, \"PseudoElementSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPseudoElementSelector_DoubleSemiColon(), ecorePackage.getEBoolean(), \"doubleSemiColon\", null, 0, 1, PseudoElementSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPseudoElementSelector_Pseudo(), this.getPseudoElements(), \"pseudo\", null, 0, 1, PseudoElementSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(languagePseudoClassSelectorEClass, LanguagePseudoClassSelector.class, \"LanguagePseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLanguagePseudoClassSelector_LangugageId(), ecorePackage.getEString(), \"langugageId\", null, 0, 1, LanguagePseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(functionalPseudoClassSelectorEClass, FunctionalPseudoClassSelector.class, \"FunctionalPseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFunctionalPseudoClassSelector_Pseudo(), this.getFunctionalPseudoClasses(), \"pseudo\", null, 0, 1, FunctionalPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFunctionalPseudoClassSelector_Argument(), this.getTypeArgument(), null, \"argument\", null, 0, 1, FunctionalPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeArgumentEClass, TypeArgument.class, \"TypeArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(linearArgumentEClass, LinearArgument.class, \"LinearArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLinearArgument_Coefficient(), this.getCoefficient(), null, \"coefficient\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLinearArgument_ConstantSign(), ecorePackage.getEString(), \"constantSign\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLinearArgument_Constant(), ecorePackage.getEInt(), \"constant\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(coefficientEClass, Coefficient.class, \"Coefficient\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCoefficient_Ident(), ecorePackage.getEString(), \"ident\", null, 0, 1, Coefficient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCoefficient_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, Coefficient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(constantArgumentEClass, ConstantArgument.class, \"ConstantArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getConstantArgument_Sign(), ecorePackage.getEString(), \"sign\", null, 0, 1, ConstantArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getConstantArgument_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, ConstantArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(parityArgumentEClass, ParityArgument.class, \"ParityArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getParityArgument_Parity(), this.getParities(), \"parity\", null, 0, 1, ParityArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(negationSelectorEClass, NegationSelector.class, \"NegationSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getNegationSelector_SimpleSelector(), this.getSimpleSelector(), null, \"simpleSelector\", null, 0, 1, NegationSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(valueLiteralEClass, ValueLiteral.class, \"ValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(numberLiteralEClass, NumberLiteral.class, \"NumberLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(sizeLiteralEClass, SizeLiteral.class, \"SizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(stringLiteralEClass, StringLiteral.class, \"StringLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(colorLiteralEClass, ColorLiteral.class, \"ColorLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(componentColorLiteralEClass, ComponentColorLiteral.class, \"ComponentColorLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(colorComponentLiteralEClass, ColorComponentLiteral.class, \"ColorComponentLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getColorComponentLiteral_Number(), this.getNumberLiteral(), null, \"number\", null, 0, 1, ColorComponentLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getColorComponentLiteral_Percentage(), ecorePackage.getEBoolean(), \"percentage\", null, 0, 1, ColorComponentLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(urlLiteralEClass, URLLiteral.class, \"URLLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getURLLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, URLLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bareWordLiteralEClass, BareWordLiteral.class, \"BareWordLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getBareWordLiteral_BareWord(), ecorePackage.getEString(), \"bareWord\", null, 0, 1, BareWordLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(functionCallLiteralEClass, FunctionCallLiteral.class, \"FunctionCallLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFunctionCallLiteral_Function(), ecorePackage.getEString(), \"function\", null, 0, 1, FunctionCallLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFunctionCallLiteral_Arguments(), this.getValueLiteral(), null, \"arguments\", null, 0, -1, FunctionCallLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(descendantCombinatorEClass, DescendantCombinator.class, \"DescendantCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDescendantCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDescendantCombinator_WsI(), ecorePackage.getEString(), \"wsI\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDescendantCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(childCombinatorEClass, ChildCombinator.class, \"ChildCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getChildCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getChildCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getChildCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getChildCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(adjacentSiblingCombinatorEClass, AdjacentSiblingCombinator.class, \"AdjacentSiblingCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdjacentSiblingCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdjacentSiblingCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdjacentSiblingCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAdjacentSiblingCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(generalSiblingCombinatorEClass, GeneralSiblingCombinator.class, \"GeneralSiblingCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getGeneralSiblingCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGeneralSiblingCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGeneralSiblingCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getGeneralSiblingCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(simpleSelectorSequenceEClass, SimpleSelectorSequence.class, \"SimpleSelectorSequence\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSimpleSelectorSequence_Head(), this.getSimpleSelector(), null, \"head\", null, 0, 1, SimpleSelectorSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSimpleSelectorSequence_SimpleSelectors(), this.getSimpleSelector(), null, \"simpleSelectors\", null, 0, -1, SimpleSelectorSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(universalNamespacePrefixEClass, UniversalNamespacePrefix.class, \"UniversalNamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(withoutNamespacePrefixEClass, WithoutNamespacePrefix.class, \"WithoutNamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(stringAttributeValueLiteralEClass, StringAttributeValueLiteral.class, \"StringAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStringAttributeValueLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(integerAttributeValueLiteralEClass, IntegerAttributeValueLiteral.class, \"IntegerAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIntegerAttributeValueLiteral_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, IntegerAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(decimalAttributeValueLiteralEClass, DecimalAttributeValueLiteral.class, \"DecimalAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDecimalAttributeValueLiteral_Value(), ecorePackage.getEDouble(), \"value\", null, 0, 1, DecimalAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(integerLiteralEClass, IntegerLiteral.class, \"IntegerLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIntegerLiteral_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, IntegerLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(decimalLiteralEClass, DecimalLiteral.class, \"DecimalLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDecimalLiteral_Decimal(), ecorePackage.getEDouble(), \"decimal\", null, 0, 1, DecimalLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(quantifiedSizeLiteralEClass, QuantifiedSizeLiteral.class, \"QuantifiedSizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getQuantifiedSizeLiteral_Number(), this.getNumberLiteral(), null, \"number\", null, 0, 1, QuantifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getQuantifiedSizeLiteral_Dimension(), this.getDimensions(), \"dimension\", null, 0, 1, QuantifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(qualifiedSizeLiteralEClass, QualifiedSizeLiteral.class, \"QualifiedSizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getQualifiedSizeLiteral_Bareword(), ecorePackage.getEString(), \"bareword\", null, 0, 1, QualifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fontHeightLiteralEClass, FontHeightLiteral.class, \"FontHeightLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFontHeightLiteral_FontHeight(), this.getSizeLiteral(), null, \"fontHeight\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFontHeightLiteral_LineHeight(), this.getNumberLiteral(), null, \"lineHeight\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFontHeightLiteral_LineHeightDimension(), this.getDimensions(), \"lineHeightDimension\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(rgbColorEClass, RGBColor.class, \"RGBColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRGBColor_Rgb(), ecorePackage.getEString(), \"rgb\", null, 0, 1, RGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namedColorEClass, NamedColor.class, \"NamedColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamedColor_Color(), this.getColorNames(), \"color\", null, 0, 1, NamedColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentRGBColorEClass, ComponentRGBColor.class, \"ComponentRGBColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentRGBColor_Red(), this.getColorComponentLiteral(), null, \"red\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBColor_Green(), this.getColorComponentLiteral(), null, \"green\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBColor_Blue(), this.getColorComponentLiteral(), null, \"blue\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentRGBAlphaColorEClass, ComponentRGBAlphaColor.class, \"ComponentRGBAlphaColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentRGBAlphaColor_Red(), this.getColorComponentLiteral(), null, \"red\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Green(), this.getColorComponentLiteral(), null, \"green\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Blue(), this.getColorComponentLiteral(), null, \"blue\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Opacity(), this.getColorComponentLiteral(), null, \"opacity\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentHSLColorEClass, ComponentHSLColor.class, \"ComponentHSLColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentHSLColor_Hue(), this.getColorComponentLiteral(), null, \"hue\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLColor_Saturation(), this.getColorComponentLiteral(), null, \"saturation\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLColor_Lightness(), this.getColorComponentLiteral(), null, \"lightness\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentHSLAlphaColorEClass, ComponentHSLAlphaColor.class, \"ComponentHSLAlphaColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentHSLAlphaColor_Hue(), this.getColorComponentLiteral(), null, \"hue\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Saturation(), this.getColorComponentLiteral(), null, \"saturation\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Lightness(), this.getColorComponentLiteral(), null, \"lightness\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Opacity(), this.getColorComponentLiteral(), null, \"opacity\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(alphaLiteralEClass, AlphaLiteral.class, \"AlphaLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAlphaLiteral_Opacity(), this.getNumberLiteral(), null, \"opacity\", null, 0, 1, AlphaLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Initialize enums and add enum literals\n initEEnum(knownPropertiesEEnum, KnownProperties.class, \"KnownProperties\");\n addEEnumLiteral(knownPropertiesEEnum, KnownProperties.COLOR);\n addEEnumLiteral(knownPropertiesEEnum, KnownProperties.BORDER_TOP);\n\n initEEnum(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.class, \"AttributeSelectorMatchers\");\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.PREFIX);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.SUFFIX);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.SUBSTRING);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.EXACT);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.INCLUDES);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.LANGUAGE);\n\n initEEnum(noArgsPseudosEEnum, NoArgsPseudos.class, \"NoArgsPseudos\");\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.LINK);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.VISITED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.HOVER);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ACTIVE);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.FOCUS);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.TARGET);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ENABLED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.DISABLED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.CHECKED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.INDETERMINATE);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ROOT);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.FIRST_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.LAST_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ONLY_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.EMPTY);\n\n initEEnum(pseudoElementsEEnum, PseudoElements.class, \"PseudoElements\");\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.FIRST_LETTER);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.FIRST_LINE);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.BEFORE);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.AFTER);\n\n initEEnum(functionalPseudoClassesEEnum, FunctionalPseudoClasses.class, \"FunctionalPseudoClasses\");\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_CHILD);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_LAST_CHILD);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_LAST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.FIRST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.LAST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.ONLY_OF_TYPE);\n\n initEEnum(paritiesEEnum, Parities.class, \"Parities\");\n addEEnumLiteral(paritiesEEnum, Parities.ODD);\n addEEnumLiteral(paritiesEEnum, Parities.EVEN);\n\n initEEnum(dimensionsEEnum, Dimensions.class, \"Dimensions\");\n addEEnumLiteral(dimensionsEEnum, Dimensions.IN);\n addEEnumLiteral(dimensionsEEnum, Dimensions.CM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.MM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PT);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PC);\n addEEnumLiteral(dimensionsEEnum, Dimensions.EM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.EX);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PX);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PERC);\n\n initEEnum(colorNamesEEnum, ColorNames.class, \"ColorNames\");\n addEEnumLiteral(colorNamesEEnum, ColorNames.BLACK);\n addEEnumLiteral(colorNamesEEnum, ColorNames.WHITE);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tServicesPackage theServicesPackage = (ServicesPackage)EPackage.Registry.INSTANCE.getEPackage(ServicesPackage.eNS_URI);\n\t\tLibraryPackage theLibraryPackage = (LibraryPackage)EPackage.Registry.INSTANCE.getEPackage(LibraryPackage.eNS_URI);\n\t\tXMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);\n\t\tGenericsPackage theGenericsPackage = (GenericsPackage)EPackage.Registry.INSTANCE.getEPackage(GenericsPackage.eNS_URI);\n\t\tMetricsPackage theMetricsPackage = (MetricsPackage)EPackage.Registry.INSTANCE.getEPackage(MetricsPackage.eNS_URI);\n\t\tOperatorsPackage theOperatorsPackage = (OperatorsPackage)EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tanalyzerJobEClass.getESuperTypes().add(this.getJob());\n\t\tcomponentFailureEClass.getESuperTypes().add(this.getExpressionFailure());\n\t\tcomponentWorkFlowRunEClass.getESuperTypes().add(this.getWorkFlowRun());\n\t\texpressionFailureEClass.getESuperTypes().add(this.getFailure());\n\t\tjobEClass.getESuperTypes().add(theGenericsPackage.getBase());\n\t\tmetricSourceJobEClass.getESuperTypes().add(this.getJob());\n\t\tnodeReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tnodeTypeReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\toperatorReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tretentionJobEClass.getESuperTypes().add(this.getJob());\n\t\trfsServiceMonitoringJobEClass.getESuperTypes().add(this.getJob());\n\t\trfsServiceReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tserviceUserFailureEClass.getESuperTypes().add(this.getExpressionFailure());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(analyzerJobEClass, AnalyzerJob.class, \"AnalyzerJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnalyzerJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, AnalyzerJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentFailureEClass, ComponentFailure.class, \"ComponentFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentFailure_ComponentRef(), theLibraryPackage.getComponent(), null, \"componentRef\", null, 0, 1, ComponentFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentWorkFlowRunEClass, ComponentWorkFlowRun.class, \"ComponentWorkFlowRun\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentWorkFlowRun_FailureRefs(), this.getFailure(), null, \"failureRefs\", null, 0, -1, ComponentWorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(expressionFailureEClass, ExpressionFailure.class, \"ExpressionFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExpressionFailure_ExpressionRef(), theLibraryPackage.getExpression(), null, \"expressionRef\", null, 0, 1, ExpressionFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(failureEClass, Failure.class, \"Failure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFailure_Message(), theXMLTypePackage.getString(), \"message\", null, 0, 1, Failure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jobEClass, Job.class, \"Job\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJob_EndTime(), theXMLTypePackage.getDateTime(), \"endTime\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Interval(), theXMLTypePackage.getInt(), \"interval\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_JobState(), this.getJobState(), \"jobState\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Repeat(), theXMLTypePackage.getInt(), \"repeat\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_StartTime(), theXMLTypePackage.getDateTime(), \"startTime\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jobRunContainerEClass, JobRunContainer.class, \"JobRunContainer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJobRunContainer_Job(), this.getJob(), null, \"job\", null, 1, 1, JobRunContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJobRunContainer_WorkFlowRuns(), this.getWorkFlowRun(), null, \"workFlowRuns\", null, 0, -1, JobRunContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(metricSourceJobEClass, MetricSourceJob.class, \"MetricSourceJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMetricSourceJob_MetricSources(), theMetricsPackage.getMetricSource(), null, \"metricSources\", null, 1, -1, MetricSourceJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeReporterJobEClass, NodeReporterJob.class, \"NodeReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNodeReporterJob_Node(), theOperatorsPackage.getNode(), null, \"node\", null, 1, 1, NodeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeTypeReporterJobEClass, NodeTypeReporterJob.class, \"NodeTypeReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNodeTypeReporterJob_NodeType(), theLibraryPackage.getNodeType(), null, \"nodeType\", null, 1, 1, NodeTypeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getNodeTypeReporterJob_ScopeObject(), ecorePackage.getEObject(), null, \"scopeObject\", null, 1, 1, NodeTypeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(operatorReporterJobEClass, OperatorReporterJob.class, \"OperatorReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOperatorReporterJob_Operator(), theOperatorsPackage.getOperator(), null, \"operator\", null, 1, 1, OperatorReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(retentionJobEClass, RetentionJob.class, \"RetentionJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(rfsServiceMonitoringJobEClass, RFSServiceMonitoringJob.class, \"RFSServiceMonitoringJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRFSServiceMonitoringJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, RFSServiceMonitoringJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(rfsServiceReporterJobEClass, RFSServiceReporterJob.class, \"RFSServiceReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRFSServiceReporterJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, RFSServiceReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(serviceUserFailureEClass, ServiceUserFailure.class, \"ServiceUserFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getServiceUserFailure_ServiceUserRef(), theServicesPackage.getServiceUser(), null, \"serviceUserRef\", null, 0, 1, ServiceUserFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(workFlowRunEClass, WorkFlowRun.class, \"WorkFlowRun\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getWorkFlowRun_Ended(), theXMLTypePackage.getDateTime(), \"ended\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Log(), theGenericsPackage.getLongText(), \"log\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Progress(), theXMLTypePackage.getInt(), \"progress\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_ProgressMessage(), theXMLTypePackage.getString(), \"progressMessage\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_ProgressTask(), theXMLTypePackage.getString(), \"progressTask\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Started(), theXMLTypePackage.getDateTime(), \"started\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_State(), this.getJobRunState(), \"state\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(jobRunStateEEnum, JobRunState.class, \"JobRunState\");\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.RUNNING);\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.FINISHED_SUCCESSFULLY);\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.FINISHED_WITH_ERROR);\n\n\t\tinitEEnum(jobStateEEnum, JobState.class, \"JobState\");\n\t\taddEEnumLiteral(jobStateEEnum, JobState.ACTIVE);\n\t\taddEEnumLiteral(jobStateEEnum, JobState.IN_ACTIVE);\n\n\t\t// Initialize data types\n\t\tinitEDataType(jobRunStateObjectEDataType, JobRunState.class, \"JobRunStateObject\", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(jobStateObjectEDataType, JobState.class, \"JobStateObject\", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "private void validate() {\r\n if (cmtFileSetList.size() == 0) {\r\n throw new BuildException(\"Nested Element 'fileset' missing for task 'cmt'.\");\r\n }\r\n if (output == null) {\r\n throw new BuildException(\"Parameter 'output' missing for task 'cmt'.\");\r\n }\r\n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n createFolderStatementEClass.getESuperTypes().add(this.getCreateStatement());\n createFileStatementEClass.getESuperTypes().add(this.getCreateStatement());\n\n // Initialize classes and features; add operations and parameters\n initEClass(persistEClass, Persist.class, \"Persist\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPersist_Model(), ecorePackage.getEString(), \"model\", null, 0, 1, Persist.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPersist_Statements(), this.getRuleStatement(), null, \"statements\", null, 0, -1, Persist.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleStatementEClass, RuleStatement.class, \"RuleStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRuleStatement_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, RuleStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRuleStatement_Rules(), this.getForEachStatement(), null, \"rules\", null, 0, -1, RuleStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(forEachStatementEClass, ForEachStatement.class, \"ForEachStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getForEachStatement_Class(), this.getEClassName(), null, \"class\", null, 0, 1, ForEachStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getForEachStatement_Contents(), this.getCreateStatement(), null, \"contents\", null, 0, -1, ForEachStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getForEachStatement_Calls(), this.getCallStatement(), null, \"calls\", null, 0, -1, ForEachStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(createStatementEClass, CreateStatement.class, \"CreateStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCreateStatement_Name(), this.getFileName(), null, \"name\", null, 0, 1, CreateStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(createFolderStatementEClass, CreateFolderStatement.class, \"CreateFolderStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCreateFolderStatement_Contents(), this.getCreateStatement(), null, \"contents\", null, 0, -1, CreateFolderStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCreateFolderStatement_Calls(), this.getCallStatement(), null, \"calls\", null, 0, -1, CreateFolderStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(createFileStatementEClass, CreateFileStatement.class, \"CreateFileStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCreateFileStatement_IncludedReferencing(), this.getWithStatement(), null, \"includedReferencing\", null, 0, 1, CreateFileStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCreateFileStatement_IncludedAttributes(), this.getIncludeStatement(), null, \"includedAttributes\", null, 0, 1, CreateFileStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fileNameEClass, FileName.class, \"FileName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFileName_Prefix(), ecorePackage.getEString(), \"prefix\", null, 0, 1, FileName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFileName_Attr(), this.getEAttributeName(), null, \"attr\", null, 0, 1, FileName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFileName_Right(), this.getFileName(), null, \"right\", null, 0, 1, FileName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(includeStatementEClass, IncludeStatement.class, \"IncludeStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getIncludeStatement_Included(), this.getEReferenceName(), null, \"included\", null, 0, -1, IncludeStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(withStatementEClass, WithStatement.class, \"WithStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getWithStatement_Included(), this.getEClassName(), null, \"included\", null, 0, -1, WithStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(callStatementEClass, CallStatement.class, \"CallStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCallStatement_Rules(), ecorePackage.getEString(), \"rules\", null, 0, -1, CallStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(eClassNameEClass, EClassName.class, \"EClassName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEClassName_Base(), ecorePackage.getEString(), \"base\", null, 0, 1, EClassName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEClassName_Fields(), ecorePackage.getEString(), \"fields\", null, 0, -1, EClassName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(eAttributeNameEClass, EAttributeName.class, \"EAttributeName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEAttributeName_Base(), ecorePackage.getEString(), \"base\", null, 0, 1, EAttributeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEAttributeName_Fields(), ecorePackage.getEString(), \"fields\", null, 0, -1, EAttributeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(eReferenceNameEClass, EReferenceName.class, \"EReferenceName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEReferenceName_Base(), ecorePackage.getEString(), \"base\", null, 0, 1, EReferenceName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEReferenceName_Fields(), ecorePackage.getEString(), \"fields\", null, 0, -1, EReferenceName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "@Test(priority = 5)\n\tpublic void validateContents() {\n\t\tlog = Logger.getLogger(HeroImageProducttestscripts.class);\n\t\tLogReport.getlogger();\n\t\tlogger = extent.startTest(\"Validating the content of the product\");\n\t\tHeroImageProductPageFlow.clickHeroImage(locator);\n\t\theroImg.validateDescriptionContent(locator, validate);\n\t\t;\n\t\tlog.info(\"Content validation is correct\");\n\t\tHeroImageProductPageFlow.clickProductSpecification(locator);\n\t\theroImg.validateSpecificationContent(locator, validate);\n\t\tlog.info(\"Content is present\");\n\t\tlog.info(\"Starting Sorting functionality testing\");\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tlogicalConditionEClass.getESuperTypes().add(this.getCondition());\n\t\tnaturalLangConditionEClass.getESuperTypes().add(this.getCondition());\n\t\tmathConditionEClass.getESuperTypes().add(this.getCondition());\n\t\tnegformulaEClass.getESuperTypes().add(this.getLogicalCondition());\n\t\toRformulaEClass.getESuperTypes().add(this.getLogicalCondition());\n\t\tanDformulaEClass.getESuperTypes().add(this.getLogicalCondition());\n\t\tequalFormulaEClass.getESuperTypes().add(this.getMathCondition());\n\t\tmoreEqformulaEClass.getESuperTypes().add(this.getMathCondition());\n\t\tlessformulaEClass.getESuperTypes().add(this.getMathCondition());\n\t\tnumberPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tbooleanPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tstringPropertyEClass.getESuperTypes().add(this.getProperty());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(ontologicalStructureEClass, OntologicalStructure.class, \"OntologicalStructure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOntologicalStructure_OntologicalConcepts(), this.getOntologicalConcept(), null, \"ontologicalConcepts\", null, 0, -1, OntologicalStructure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntologicalStructure_Conditions(), this.getCondition(), null, \"conditions\", null, 0, -1, OntologicalStructure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntologicalStructure_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, OntologicalStructure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ontologicalConceptEClass, OntologicalConcept.class, \"OntologicalConcept\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOntologicalConcept_Label(), ecorePackage.getEString(), \"label\", null, 1, 1, OntologicalConcept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOntologicalConcept_URI(), ecorePackage.getEString(), \"URI\", null, 1, 1, OntologicalConcept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conditionEClass, Condition.class, \"Condition\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCondition_Label(), ecorePackage.getEString(), \"label\", null, 0, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(logicalConditionEClass, LogicalCondition.class, \"LogicalCondition\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(naturalLangConditionEClass, NaturalLangCondition.class, \"NaturalLangCondition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNaturalLangCondition_Statement(), ecorePackage.getEString(), \"statement\", null, 1, 1, NaturalLangCondition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(mathConditionEClass, MathCondition.class, \"MathCondition\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(negformulaEClass, Negformula.class, \"Negformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNegformula_ConditionStatement(), this.getCondition(), null, \"conditionStatement\", null, 0, 1, Negformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(oRformulaEClass, ORformula.class, \"ORformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getORformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, ORformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getORformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, ORformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(anDformulaEClass, ANDformula.class, \"ANDformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getANDformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, ANDformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getANDformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, ANDformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(equalFormulaEClass, equalFormula.class, \"equalFormula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getequalFormula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, equalFormula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getequalFormula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, equalFormula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(moreEqformulaEClass, moreEqformula.class, \"moreEqformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getmoreEqformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, moreEqformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getmoreEqformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, moreEqformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(lessformulaEClass, lessformula.class, \"lessformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getlessformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, lessformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getlessformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, lessformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, Property.class, \"Property\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProperty_Label(), ecorePackage.getEString(), \"label\", null, 1, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(numberPropertyEClass, NumberProperty.class, \"NumberProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNumberProperty_Value(), ecorePackage.getEDouble(), \"value\", null, 0, 1, NumberProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(booleanPropertyEClass, BooleanProperty.class, \"BooleanProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getBooleanProperty_Value(), ecorePackage.getEBoolean(), \"value\", null, 0, 1, BooleanProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(stringPropertyEClass, StringProperty.class, \"StringProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getStringProperty_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tReliabilityPackage theReliabilityPackage = (ReliabilityPackage)EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI);\n\t\tseff.SeffPackage theSeffPackage_1 = (seff.SeffPackage)EPackage.Registry.INSTANCE.getEPackage(seff.SeffPackage.eNS_URI);\n\t\tFailuretypesPackage theFailuretypesPackage = (FailuretypesPackage)EPackage.Registry.INSTANCE.getEPackage(FailuretypesPackage.eNS_URI);\n\t\tBasePackage theBasePackage = (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI);\n\t\tBehaviourseffPackage theBehaviourseffPackage = (BehaviourseffPackage)EPackage.Registry.INSTANCE.getEPackage(BehaviourseffPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tinternalFailureOccurrenceDescriptionEClass.getESuperTypes().add(theReliabilityPackage.getFailureOccurrenceDescription());\n\t\trecoveryActionEClass.getESuperTypes().add(theSeffPackage_1.getAbstractInternalControlFlowAction());\n\t\trecoveryActionBehaviourEClass.getESuperTypes().add(this.getFailureHandlingEntity());\n\t\trecoveryActionBehaviourEClass.getESuperTypes().add(theSeffPackage_1.getBehaviour());\n\t\tfailureHandlingEntityEClass.getESuperTypes().add(theBasePackage.getEntity());\n\t\tfailureHandlingExternalCallActionEClass.getESuperTypes().add(this.getFailureHandlingEntity());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(internalFailureOccurrenceDescriptionEClass, InternalFailureOccurrenceDescription.class, \"InternalFailureOccurrenceDescription\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInternalFailureOccurrenceDescription_InternalAction__InternalFailureOccurrenceDescription(), theSeffPackage_1.getInternalAction(), null, \"internalAction__InternalFailureOccurrenceDescription\", null, 1, 1, InternalFailureOccurrenceDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEReference(getInternalFailureOccurrenceDescription_SoftwareInducedFailureType__InternalFailureOccurrenceDescription(), theFailuretypesPackage.getSoftwareInducedFailureType(), theFailuretypesPackage.getSoftwareInducedFailureType_InternalFailureOccurrenceDescriptions__SoftwareInducedFailureType(), \"softwareInducedFailureType__InternalFailureOccurrenceDescription\", null, 1, 1, InternalFailureOccurrenceDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tEOperation op = addEOperation(internalFailureOccurrenceDescriptionEClass, ecorePackage.getEBoolean(), \"NoResourceTimeoutFailureAllowedForInternalFailureOccurrenceDescription\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(ecorePackage.getEMap());\n\t\tEGenericType g2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(recoveryActionEClass, RecoveryAction.class, \"RecoveryAction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRecoveryAction_PrimaryBehaviour__RecoveryAction(), this.getRecoveryActionBehaviour(), null, \"primaryBehaviour__RecoveryAction\", null, 1, 1, RecoveryAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEReference(getRecoveryAction_RecoveryActionBehaviours__RecoveryAction(), this.getRecoveryActionBehaviour(), this.getRecoveryActionBehaviour_RecoveryAction__RecoveryActionBehaviour(), \"recoveryActionBehaviours__RecoveryAction\", null, 2, -1, RecoveryAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\top = addEOperation(recoveryActionEClass, ecorePackage.getEBoolean(), \"PrimaryBehaviourOfRecoveryActionMustBeSet\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEMap());\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(recoveryActionBehaviourEClass, RecoveryActionBehaviour.class, \"RecoveryActionBehaviour\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRecoveryActionBehaviour_FailureHandlingAlternatives__RecoveryActionBehaviour(), this.getRecoveryActionBehaviour(), null, \"failureHandlingAlternatives__RecoveryActionBehaviour\", null, 0, -1, RecoveryActionBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEReference(getRecoveryActionBehaviour_RecoveryAction__RecoveryActionBehaviour(), this.getRecoveryAction(), this.getRecoveryAction_RecoveryActionBehaviours__RecoveryAction(), \"recoveryAction__RecoveryActionBehaviour\", null, 1, 1, RecoveryActionBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\top = addEOperation(recoveryActionBehaviourEClass, ecorePackage.getEBoolean(), \"RecoveryActionBehaviourHasOnlyOnePredecessor\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEMap());\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(recoveryActionBehaviourEClass, ecorePackage.getEBoolean(), \"RecoveryActionBehaviourIsNotSuccessorOfItself\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEMap());\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(recoveryActionBehaviourEClass, ecorePackage.getEBoolean(), \"SuccessorsOfRecoveryActionBehaviourHandleDisjointFailureTypes\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEMap());\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(ecorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(failureHandlingEntityEClass, FailureHandlingEntity.class, \"FailureHandlingEntity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFailureHandlingEntity_FailureTypes_FailureHandlingEntity(), theFailuretypesPackage.getFailureType(), null, \"failureTypes_FailureHandlingEntity\", null, 0, -1, FailureHandlingEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(failureHandlingExternalCallActionEClass, FailureHandlingExternalCallAction.class, \"FailureHandlingExternalCallAction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFailureHandlingExternalCallAction_Owner(), theBehaviourseffPackage.getExternalCallAction(), null, \"owner\", null, 1, 1, FailureHandlingExternalCallAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(acquireActionTimeoutEClass, AcquireActionTimeout.class, \"AcquireActionTimeout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAcquireActionTimeout_Owner(), theBehaviourseffPackage.getAcquireAction(), null, \"owner\", null, 1, 1, AcquireActionTimeout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAcquireActionTimeout_TimeoutValue(), ecorePackage.getEDouble(), \"timeoutValue\", null, 1, 1, AcquireActionTimeout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/uml2/1.1.0/GenModel\n\t\tcreateGenModel_1Annotations();\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n externalDefEClass.getESuperTypes().add(this.getDeclaration());\n typeEClass.getESuperTypes().add(this.getDeclaration());\n resultStatementEClass.getESuperTypes().add(this.getDeclaration());\n plusEClass.getESuperTypes().add(this.getExpression());\n minusEClass.getESuperTypes().add(this.getExpression());\n multEClass.getESuperTypes().add(this.getExpression());\n divEClass.getESuperTypes().add(this.getExpression());\n varEClass.getESuperTypes().add(this.getExpression());\n letEClass.getESuperTypes().add(this.getExpression());\n externalUseEClass.getESuperTypes().add(this.getExpression());\n numEClass.getESuperTypes().add(this.getExpression());\n\n // Initialize classes and features; add operations and parameters\n initEClass(mathExpEClass, MathExp.class, \"MathExp\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMathExp_Declarations(), this.getDeclaration(), null, \"declarations\", null, 0, -1, MathExp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(declarationEClass, Declaration.class, \"Declaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(externalDefEClass, ExternalDef.class, \"ExternalDef\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getExternalDef_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ExternalDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getExternalDef_Parameters(), this.getParameter(), null, \"parameters\", null, 0, -1, ExternalDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(parameterEClass, Parameter.class, \"Parameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getParameter_Type(), this.getType(), null, \"type\", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getParameter_ParameterName(), ecorePackage.getEString(), \"parameterName\", null, 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeEClass, Type.class, \"Type\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getType_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(resultStatementEClass, ResultStatement.class, \"ResultStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getResultStatement_Label(), ecorePackage.getEString(), \"label\", null, 0, 1, ResultStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getResultStatement_Exp(), this.getExpression(), null, \"exp\", null, 0, 1, ResultStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(expressionEClass, Expression.class, \"Expression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(plusEClass, Plus.class, \"Plus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPlus_Left(), this.getExpression(), null, \"left\", null, 0, 1, Plus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPlus_Right(), this.getExpression(), null, \"right\", null, 0, 1, Plus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(minusEClass, Minus.class, \"Minus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMinus_Left(), this.getExpression(), null, \"left\", null, 0, 1, Minus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMinus_Right(), this.getExpression(), null, \"right\", null, 0, 1, Minus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(multEClass, Mult.class, \"Mult\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMult_Left(), this.getExpression(), null, \"left\", null, 0, 1, Mult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMult_Right(), this.getExpression(), null, \"right\", null, 0, 1, Mult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(divEClass, Div.class, \"Div\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDiv_Left(), this.getExpression(), null, \"left\", null, 0, 1, Div.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDiv_Right(), this.getExpression(), null, \"right\", null, 0, 1, Div.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(varEClass, Var.class, \"Var\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVar_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Var.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(letEClass, Let.class, \"Let\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLet_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getLet_Binding(), this.getExpression(), null, \"binding\", null, 0, 1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getLet_Body(), this.getExpression(), null, \"body\", null, 0, 1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(externalUseEClass, ExternalUse.class, \"ExternalUse\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getExternalUse_External(), this.getExternalDef(), null, \"external\", null, 0, 1, ExternalUse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getExternalUse_Arguments(), this.getExpression(), null, \"arguments\", null, 0, -1, ExternalUse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(numEClass, Num.class, \"Num\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNum_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, Num.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tpluginEClass.getESuperTypes().add(this.getAnalysisComponent());\n\t\tinputPortEClass.getESuperTypes().add(this.getPort());\n\t\toutputPortEClass.getESuperTypes().add(this.getPort());\n\t\tfilterEClass.getESuperTypes().add(this.getPlugin());\n\t\treaderEClass.getESuperTypes().add(this.getPlugin());\n\t\trepositoryEClass.getESuperTypes().add(this.getAnalysisComponent());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(projectEClass, MIProject.class, \"Project\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getProject_Plugins(), this.getPlugin(), null, \"plugins\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProject_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Repositories(), this.getRepository(), null, \"repositories\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Dependencies(), this.getDependency(), null, \"dependencies\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Views(), this.getView(), null, \"views\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(pluginEClass, MIPlugin.class, \"Plugin\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPlugin_Repositories(), this.getRepositoryConnector(), null, \"repositories\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_OutputPorts(), this.getOutputPort(), this.getOutputPort_Parent(), \"outputPorts\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_Displays(), this.getDisplay(), this.getDisplay_Parent(), \"displays\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(portEClass, MIPort.class, \"Port\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPort_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_EventTypes(), ecorePackage.getEString(), \"eventTypes\", null, 1, -1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(inputPortEClass, MIInputPort.class, \"InputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInputPort_Parent(), this.getFilter(), this.getFilter_InputPorts(), \"parent\", null, 1, 1, MIInputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(outputPortEClass, MIOutputPort.class, \"OutputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOutputPort_Subscribers(), this.getInputPort(), null, \"subscribers\", null, 0, -1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOutputPort_Parent(), this.getPlugin(), this.getPlugin_OutputPorts(), \"parent\", null, 1, 1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, MIProperty.class, \"Property\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProperty_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(filterEClass, MIFilter.class, \"Filter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFilter_InputPorts(), this.getInputPort(), this.getInputPort_Parent(), \"inputPorts\", null, 0, -1, MIFilter.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readerEClass, MIReader.class, \"Reader\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(repositoryEClass, MIRepository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(dependencyEClass, MIDependency.class, \"Dependency\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDependency_FilePath(), ecorePackage.getEString(), \"filePath\", null, 1, 1, MIDependency.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(repositoryConnectorEClass, MIRepositoryConnector.class, \"RepositoryConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRepositoryConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRepositoryConnector_Repository(), this.getRepository(), null, \"repository\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRepositoryConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayEClass, MIDisplay.class, \"Display\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplay_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplay_Parent(), this.getPlugin(), this.getPlugin_Displays(), \"parent\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplay_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\tIS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(viewEClass, MIView.class, \"View\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getView_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getView_DisplayConnectors(), this.getDisplayConnector(), null, \"displayConnectors\", null, 0, -1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayConnectorEClass, MIDisplayConnector.class, \"DisplayConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplayConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplayConnector_Display(), this.getDisplay(), null, \"display\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplayConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(analysisComponentEClass, MIAnalysisComponent.class, \"AnalysisComponent\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAnalysisComponent_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Classname(), ecorePackage.getEString(), \"classname\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnalysisComponent_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIAnalysisComponent.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(treeEClass, Tree.class, \"Tree\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTree_Children(), this.getNode(), null, \"children\", null, 0, -1, Tree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeEClass, Node.class, \"Node\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNode_Children(), this.getNode(), null, \"children\", null, 0, -1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNode_Name(), ecorePackage.getEString(), \"name\", \"Node\", 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// gmf.diagram\n\t\tcreateGmfAnnotations();\n\t\t// gmf.node\n\t\tcreateGmf_1Annotations();\n\t\t// gmf.compartment\n\t\tcreateGmf_2Annotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI);\n\t\tContextPackage theContextPackage = (ContextPackage)EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI);\n\t\tJavaPackage theJavaPackage = (JavaPackage)EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\taudioEClass.getESuperTypes().add(theEntityPackage.getEntityIdentifiable());\n\t\taudioRecorderEClass.getESuperTypes().add(theJavaPackage.getJavaCloseable());\n\t\taudioPlayerEClass.getESuperTypes().add(theJavaPackage.getJavaCloseable());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(audioEClass, Audio.class, \"Audio\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAudio_Content(), ecorePackage.getEByteArray(), \"content\", null, 0, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAudio_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAudio_Text(), ecorePackage.getEString(), \"text\", null, 1, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(audioManagerEClass, AudioManager.class, \"AudioManager\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tEOperation op = addEOperation(audioManagerEClass, this.getAudioRecorder(), \"record\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(audioManagerEClass, this.getAudioPlayer(), \"play\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getAudio(), \"audio\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"start\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"waitEnd\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(audioManagerEClass, this.getAudioPlayer(), \"play\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getAudioStyle(), \"style\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"text\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"start\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"waitEnd\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(audioRecorderEClass, AudioRecorder.class, \"AudioRecorder\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\taddEOperation(audioRecorderEClass, null, \"close\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, theJavaPackage.getJavaOutputStream(), \"getOutputStream\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, ecorePackage.getEBoolean(), \"isStopped\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, null, \"start\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(audioPlayerEClass, AudioPlayer.class, \"AudioPlayer\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\taddEOperation(audioPlayerEClass, null, \"close\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, this.getAudio(), \"getAudio\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, ecorePackage.getEBoolean(), \"isStopped\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, null, \"start\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(audioStyleEEnum, AudioStyle.class, \"AudioStyle\");\n\t\taddEEnumLiteral(audioStyleEEnum, AudioStyle.A);\n\t\taddEEnumLiteral(audioStyleEEnum, AudioStyle.B);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "private Collection<File> getInputFiles(String docRoot) {\r\n File dir = new File(docRoot);\r\n if (testXMLDir == null || !dir.isDirectory() || !dir.canRead()) {\r\n throw new RuntimeException(\"unable to read from this directory: \" + testXMLDir);\r\n }\r\n Collection<File> xmlFiles = new ArrayList<File>();\r\n xmlFiles = listFileNames(dir,xmlFiles);\r\n return xmlFiles;\r\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tServiceCIMPackage theServiceCIMPackage = (ServiceCIMPackage)EPackage.Registry.INSTANCE.getEPackage(ServiceCIMPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tauthorizableResourceEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannResourceEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tannPropertyEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tauthorizationSubjectEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannCRUDActivityEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tnewPropertyEClass.getESuperTypes().add(this.getAnnotation());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(annotationModelEClass, AnnotationModel.class, \"AnnotationModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAnnotationModel_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotatedElement(), this.getAnnotatedElement(), null, \"hasAnnotatedElement\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotation(), this.getAnnotation(), null, \"hasAnnotation\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(authorizableResourceEClass, AuthorizableResource.class, \"AuthorizableResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizableResource_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAuthorizableResource_IsAuthorizableResource(), this.getAnnResource(), null, \"isAuthorizableResource\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAuthorizableResource_BTrackOwnership(), ecorePackage.getEBoolean(), \"bTrackOwnership\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicySetEClass, ResourceAccessPolicySet.class, \"ResourceAccessPolicySet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_PolicyCombiningAlgorithm(), this.getCombiningAlgorithm(), \"policyCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicy(), this.getResourceAccessPolicy(), null, \"hasResourceAccessPolicy\", null, 1, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 0, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotatedElementEClass, AnnotatedElement.class, \"AnnotatedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(annResourceEClass, AnnResource.class, \"AnnResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnResource_AnnotatesResource(), theServiceCIMPackage.getResource(), null, \"annotatesResource\", null, 1, 1, AnnResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicyEClass, ResourceAccessPolicy.class, \"ResourceAccessPolicy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicy_RuleCombiningAlgorithm(), this.getCombiningAlgorithm(), \"ruleCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasApplyCondition(), this.getCondition(), null, \"hasApplyCondition\", null, 0, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasResourceAccessRule(), this.getResourceAccessRule(), null, \"hasResourceAccessRule\", null, 1, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(conditionEClass, Condition.class, \"Condition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getCondition_Operator(), this.getOperator(), \"operator\", \"UNDEFINED\", 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasLeftSideOperand(), this.getAttribute(), null, \"hasLeftSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasRightSideOperand(), this.getAttribute(), null, \"hasRightSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAttribute_AttributeCategory(), this.getAttributeCategory(), \"attributeCategory\", null, 1, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeExistingProperty(), this.getAnnProperty(), null, \"isAttributeExistingProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAttribute_Value(), ecorePackage.getEString(), \"value\", null, 0, -1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeNewProperty(), this.getNewProperty(), null, \"isAttributeNewProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeResource(), this.getAnnResource(), null, \"isAttributeResource\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annPropertyEClass, AnnProperty.class, \"AnnProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnProperty_AnnotatesProperty(), theServiceCIMPackage.getProperty(), null, \"annotatesProperty\", null, 1, 1, AnnProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessRuleEClass, ResourceAccessRule.class, \"ResourceAccessRule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getResourceAccessRule_HasMatchCondition(), this.getCondition(), null, \"hasMatchCondition\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_RuleType(), this.getRuleType(), \"ruleType\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessRule_HasAllowedAction(), this.getAllowedAction(), null, \"hasAllowedAction\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(authorizationSubjectEClass, AuthorizationSubject.class, \"AuthorizationSubject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizationSubject_IsAuthorizationSubject(), this.getAnnResource(), null, \"isAuthorizationSubject\", null, 1, 1, AuthorizationSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annCRUDActivityEClass, AnnCRUDActivity.class, \"AnnCRUDActivity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnCRUDActivity_AnnotatesCRUDActivity(), theServiceCIMPackage.getCRUDActivity(), null, \"annotatesCRUDActivity\", null, 1, 1, AnnCRUDActivity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(allowedActionEClass, AllowedAction.class, \"AllowedAction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAllowedAction_IsAllowedAction(), this.getAnnCRUDActivity(), null, \"isAllowedAction\", null, 1, 1, AllowedAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(newPropertyEClass, NewProperty.class, \"NewProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getNewProperty_BelongsToResource(), this.getAnnResource(), null, \"belongsToResource\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Type(), ecorePackage.getEString(), \"type\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_BIsUnique(), ecorePackage.getEBoolean(), \"bIsUnique\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(combiningAlgorithmEEnum, CombiningAlgorithm.class, \"CombiningAlgorithm\");\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_UNLESS_PERMIT);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_UNLESS_DENY);\r\n\r\n\t\tinitEEnum(operatorEEnum, Operator.class, \"Operator\");\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_NOT_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.REGEX);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.UNDEFINED);\r\n\r\n\t\tinitEEnum(attributeCategoryEEnum, AttributeCategory.class, \"AttributeCategory\");\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESS_SUBJECT);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESSED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.PARENT_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CHILD_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.INCLUDED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CONSTANT);\r\n\r\n\t\tinitEEnum(ruleTypeEEnum, RuleType.class, \"RuleType\");\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.PERMIT);\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.DENY);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tjTypeEClass.getESuperTypes().add(this.getJElement());\n\t\tjTypedElementEClass.getESuperTypes().add(this.getJElement());\n\t\tjPrimitiveEClass.getESuperTypes().add(this.getJType());\n\t\tjEnumerationEClass.getESuperTypes().add(this.getJType());\n\t\tjClassEClass.getESuperTypes().add(this.getJType());\n\t\tjAttributeEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjOperationEClass.getESuperTypes().add(this.getJElement());\n\t\tjParameterEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjRelationshipEClass.getESuperTypes().add(this.getJElement());\n\t\tjRoleEClass.getESuperTypes().add(this.getJElement());\n\t\tjLiteralEClass.getESuperTypes().add(this.getJElement());\n\t\tjPackageEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateMachineEClass.getESuperTypes().add(this.getJElement());\n\t\tjTransitionEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateEClass.getESuperTypes().add(this.getJElement());\n\t\tjGuardEClass.getESuperTypes().add(this.getJElement());\n\t\tjModelEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiMenuItemEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAttributeGroupEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiFilterEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAliasEClass.getESuperTypes().add(this.getJElement());\n\t\tjInfoEClass.getESuperTypes().add(this.getJElement());\n\t\tjSubmodelEClass.getESuperTypes().add(this.getJElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(jElementEClass, JElement.class, \"JElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJElement_Uuid(), ecorePackage.getEString(), \"uuid\", null, 1, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_ShortName(), ecorePackage.getEString(), \"shortName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_FullName(), ecorePackage.getEString(), \"fullName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Framework(), ecorePackage.getEBoolean(), \"framework\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Participates(), this.getJLayer(), \"participates\", null, 0, -1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Visibility(), this.getJVisibility(), \"visibility\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTypeEClass, JType.class, \"JType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(jTypedElementEClass, JTypedElement.class, \"JTypedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTypedElement_Type(), this.getJType(), null, \"type\", null, 1, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Ordered(), ecorePackage.getEBoolean(), \"ordered\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPrimitiveEClass, JPrimitive.class, \"JPrimitive\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPrimitive_Package(), this.getJPackage(), this.getJPackage_Primitives(), \"package\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJPrimitive_UseForIdType(), ecorePackage.getEBoolean(), \"useForIdType\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jEnumerationEClass, JEnumeration.class, \"JEnumeration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJEnumeration_Package(), this.getJPackage(), this.getJPackage_Enumerations(), \"package\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_Literals(), this.getJLiteral(), this.getJLiteral_Enumeration(), \"literals\", null, 0, -1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_ClassRepresentation(), this.getJClass(), this.getJClass_FixedEnum(), \"classRepresentation\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jClassEClass, JClass.class, \"JClass\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJClass_Abstract(), ecorePackage.getEBoolean(), \"abstract\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_StateMachines(), this.getJStateMachine(), this.getJStateMachine_OwnerClass(), \"stateMachines\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Operations(), this.getJOperation(), this.getJOperation_OwnerClass(), \"operations\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributeOrder(), this.getJUIAttributeGroup(), null, \"attributeOrder\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributesForListing(), this.getJAttribute(), null, \"attributesForListing\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_FixedEnum(), this.getJEnumeration(), this.getJEnumeration_ClassRepresentation(), \"fixedEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenant(), ecorePackage.getEBoolean(), \"representsTenant\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_TenantMember(), ecorePackage.getEBoolean(), \"tenantMember\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Representation(), this.getJAttribute(), null, \"representation\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnum(), ecorePackage.getEBoolean(), \"representsEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenantUser(), ecorePackage.getEBoolean(), \"representsTenantUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsUser(), ecorePackage.getEBoolean(), \"representsUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Supertype(), this.getJClass(), null, \"supertype\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Package(), this.getJPackage(), this.getJPackage_Classes(), \"package\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Roles(), this.getJRole(), this.getJRole_OwnerClass(), \"roles\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Attributes(), this.getJAttribute(), this.getJAttribute_OwnerClass(), \"attributes\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_BusinessSingleton(), ecorePackage.getEBoolean(), \"businessSingleton\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Aliases(), this.getJUIAlias(), this.getJUIAlias_OwnerClass(), \"aliases\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnumValue(), ecorePackage.getEBoolean(), \"representsEnumValue\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jAttributeEClass, JAttribute.class, \"JAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJAttribute_Placeholder(), ecorePackage.getEString(), \"placeholder\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Regexp(), ecorePackage.getEString(), \"regexp\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Mandatory(), ecorePackage.getEBoolean(), \"mandatory\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Decimals(), ecorePackage.getEInt(), \"decimals\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Technical(), ecorePackage.getEBoolean(), \"technical\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJAttribute_OwnerClass(), this.getJClass(), this.getJClass_Attributes(), \"ownerClass\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_UiNoSearch(), ecorePackage.getEBoolean(), \"uiNoSearch\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_RepresentsId(), ecorePackage.getEBoolean(), \"representsId\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jOperationEClass, JOperation.class, \"JOperation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJOperation_ClassBased(), ecorePackage.getEBoolean(), \"classBased\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_OwnerClass(), this.getJClass(), this.getJClass_Operations(), \"ownerClass\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Parameters(), this.getJParameter(), this.getJParameter_OwnerOperation(), \"parameters\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Transition(), this.getJTransition(), this.getJTransition_ExecutingOperation(), \"transition\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Bulk(), ecorePackage.getEBoolean(), \"bulk\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Kind(), this.getJOperationKind(), \"kind\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_UiMustConfirm(), ecorePackage.getEBoolean(), \"uiMustConfirm\", \"false\", 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jParameterEClass, JParameter.class, \"JParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJParameter_OwnerOperation(), this.getJOperation(), this.getJOperation_Parameters(), \"ownerOperation\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Input(), ecorePackage.getEBoolean(), \"input\", \"true\", 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRelationshipEClass, JRelationship.class, \"JRelationship\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJRelationship_Package(), this.getJPackage(), this.getJPackage_Relationships(), \"package\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRelationship_Roles(), this.getJRole(), this.getJRole_OwnerRelationship(), \"roles\", null, 2, 2, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRelationship_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRoleEClass, JRole.class, \"JRole\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJRole_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Navigable(), ecorePackage.getEBoolean(), \"navigable\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Ordered(), ecorePackage.getEBoolean(), \"ordered\", \"true\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerRelationship(), this.getJRelationship(), this.getJRelationship_Roles(), \"ownerRelationship\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedExpression(), ecorePackage.getEString(), \"derivedExpression\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedDescription(), ecorePackage.getEString(), \"derivedDescription\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Kind(), this.getJAssociationKind(), \"kind\", \"ASSOCIATION\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_OptionScript(), ecorePackage.getEString(), \"optionScript\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerClass(), this.getJClass(), this.getJClass_Roles(), \"ownerClass\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jLiteralEClass, JLiteral.class, \"JLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJLiteral_Enumeration(), this.getJEnumeration(), this.getJEnumeration_Literals(), \"enumeration\", null, 0, 1, JLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPackageEClass, JPackage.class, \"JPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPackage_Enumerations(), this.getJEnumeration(), this.getJEnumeration_Package(), \"enumerations\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Primitives(), this.getJPrimitive(), this.getJPrimitive_Package(), \"primitives\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Relationships(), this.getJRelationship(), this.getJRelationship_Package(), \"relationships\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Children(), this.getJPackage(), this.getJPackage_Parent(), \"children\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Parent(), this.getJPackage(), this.getJPackage_Children(), \"parent\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_OwnerModel(), this.getJModel(), this.getJModel_Packages(), \"ownerModel\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Classes(), this.getJClass(), this.getJClass_Package(), \"classes\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateMachineEClass, JStateMachine.class, \"JStateMachine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJStateMachine_OwnerClass(), this.getJClass(), this.getJClass_StateMachines(), \"ownerClass\", null, 0, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_States(), this.getJState(), this.getJState_OwnerStateMachine(), \"states\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_Transitions(), this.getJTransition(), this.getJTransition_StateMachine(), \"transitions\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_CorrespondingEnum(), this.getJEnumeration(), null, \"correspondingEnum\", null, 1, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTransitionEClass, JTransition.class, \"JTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTransition_StateMachine(), this.getJStateMachine(), this.getJStateMachine_Transitions(), \"stateMachine\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_Guard(), this.getJGuard(), this.getJGuard_Transition(), \"guard\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ToState(), this.getJState(), this.getJState_IncomingTransitions(), \"toState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_FromState(), this.getJState(), this.getJState_OutgoingTransitions(), \"fromState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ExecutingOperation(), this.getJOperation(), this.getJOperation_Transition(), \"executingOperation\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateEClass, JState.class, \"JState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJState_OwnerStateMachine(), this.getJStateMachine(), this.getJStateMachine_States(), \"ownerStateMachine\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_IncomingTransitions(), this.getJTransition(), this.getJTransition_ToState(), \"incomingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_OutgoingTransitions(), this.getJTransition(), this.getJTransition_FromState(), \"outgoingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_InitialState(), ecorePackage.getEBoolean(), \"initialState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_FinalState(), ecorePackage.getEBoolean(), \"finalState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jGuardEClass, JGuard.class, \"JGuard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJGuard_Transition(), this.getJTransition(), this.getJTransition_Guard(), \"transition\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Expression(), ecorePackage.getEString(), \"expression\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jModelEClass, JModel.class, \"JModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJModel_Packages(), this.getJPackage(), this.getJPackage_OwnerModel(), \"packages\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJModel_PackagePrefix(), ecorePackage.getEString(), \"packagePrefix\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_ApplicationTop(), this.getJPackage(), null, \"applicationTop\", null, 1, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_RootMenuItems(), this.getJUIMenuItem(), null, \"rootMenuItems\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_Info(), this.getJInfo(), null, \"info\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiMenuItemEClass, JUIMenuItem.class, \"JUIMenuItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIMenuItem_Children(), this.getJUIMenuItem(), this.getJUIMenuItem_Parent(), \"children\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Parent(), this.getJUIMenuItem(), this.getJUIMenuItem_Children(), \"parent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Represent(), this.getJClass(), null, \"represent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Uifilters(), this.getJUIFilter(), null, \"uifilters\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIMenuItem_Type(), this.getJMenuItemType(), \"type\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Alias(), this.getJUIAlias(), null, \"alias\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAttributeGroupEClass, JUIAttributeGroup.class, \"JUIAttributeGroup\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAttributeGroup_Attributes(), this.getJAttribute(), null, \"attributes\", null, 0, -1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIAttributeGroup_Position(), ecorePackage.getEInt(), \"position\", null, 0, 1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiFilterEClass, JUIFilter.class, \"JUIFilter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIFilter_Attribute(), this.getJAttribute(), null, \"attribute\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Operator(), this.getJOperator(), \"operator\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAliasEClass, JUIAlias.class, \"JUIAlias\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAlias_OwnerClass(), this.getJClass(), this.getJClass_Aliases(), \"ownerClass\", null, 1, 1, JUIAlias.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jInfoEClass, JInfo.class, \"JInfo\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJInfo_Submodels(), this.getJSubmodel(), null, \"submodels\", null, 0, -1, JInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jSubmodelEClass, JSubmodel.class, \"JSubmodel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJSubmodel_Version(), ecorePackage.getEString(), \"version\", null, 0, 1, JSubmodel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(jVisibilityEEnum, JVisibility.class, \"JVisibility\");\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PUBLIC);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PROTECTED);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PACKAGE);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PRIVATE);\n\n\t\tinitEEnum(jAssociationKindEEnum, JAssociationKind.class, \"JAssociationKind\");\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.ASSOCIATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.AGGREGATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.COMPOSITION);\n\n\t\tinitEEnum(jOperationKindEEnum, JOperationKind.class, \"JOperationKind\");\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.CUSTOM);\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.QUERY);\n\n\t\tinitEEnum(jLayerEEnum, JLayer.class, \"JLayer\");\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.ALL);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERSISTENCE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SERVICE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.OPERATION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.REST);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.UI);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.DOCUMENT);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERMISSION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SCREEN);\n\n\t\tinitEEnum(jMenuItemTypeEEnum, JMenuItemType.class, \"JMenuItemType\");\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.OBJECT);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.LIST);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.NONE);\n\n\t\tinitEEnum(jOperatorEEnum, JOperator.class, \"JOperator\");\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.EQ);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.NE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LTE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GTE);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public boolean checkPepXmlFiles(Appendable err, UIAlerter alerter, Component comp) throws IOException {\n if (Globals.pepXmlFiles == null || Globals.pepXmlFiles.isEmpty()) {\n if (err != null) {\n err.append(\"No pepXML files were found in '\" + Globals.srcDir + \"'\\n\");\n }\n if (alerter != null) {\n alerter.alert(comp);\n }\n return false;\n }\n return true;\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tfticBaseEClass.getESuperTypes().add(ecorePackage.getEObject());\n\t\titemEClass.getESuperTypes().add(this.getFTICBase());\n\t\thypertextEClass.getESuperTypes().add(this.getFTICBase());\n\t\ttextElementEClass.getESuperTypes().add(this.getFTICBase());\n\t\tlinkEClass.getESuperTypes().add(this.getTextElement());\n\t\ttermEClass.getESuperTypes().add(this.getTextElement());\n\t\tfactorTableEClass.getESuperTypes().add(this.getFTICBase());\n\t\tftEntryEClass.getESuperTypes().add(this.getItem());\n\t\tfactorCategoryEClass.getESuperTypes().add(this.getFTEntry());\n\t\tfactorEClass.getESuperTypes().add(this.getFTEntry());\n\t\tissueCardEClass.getESuperTypes().add(this.getItem());\n\t\tstrategyEClass.getESuperTypes().add(this.getItem());\n\t\tinfluencingFactorEClass.getESuperTypes().add(this.getFTICBase());\n\t\trelatedIssueEClass.getESuperTypes().add(this.getFTICBase());\n\t\tfticPackageEClass.getESuperTypes().add(this.getFTICBase());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(fticBaseEClass, FTICBase.class, \"FTICBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(itemEClass, Item.class, \"Item\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(hypertextEClass, Hypertext.class, \"Hypertext\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getHypertext_Content(), this.getTextElement(), null, \"content\", null, 0, -1, Hypertext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(textElementEClass, TextElement.class, \"TextElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTextElement_VisibleContent(), ecorePackage.getEString(), \"visibleContent\", null, 0, 1, TextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(linkEClass, Link.class, \"Link\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLink_Target(), ecorePackage.getEObject(), null, \"target\", null, 1, 1, Link.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorTableEClass, FactorTable.class, \"FactorTable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFactorTable_Type(), this.getCategoryType(), \"type\", null, 0, 1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactorTable_Entries(), this.getFTEntry(), null, \"entries\", null, 0, -1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ftEntryEClass, FTEntry.class, \"FTEntry\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFTEntry_Numbering(), ecorePackage.getEString(), \"numbering\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTEntry_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTEntry_Children(), this.getFTEntry(), null, \"children\", null, 0, -1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(factorCategoryEClass, FactorCategory.class, \"FactorCategory\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorEClass, Factor.class, \"Factor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Flexibility(), this.getHypertext(), null, \"flexibility\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Changeability(), this.getHypertext(), null, \"changeability\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Influence(), this.getHypertext(), null, \"influence\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFactor_Priority(), ecorePackage.getEString(), \"priority\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(issueCardEClass, IssueCard.class, \"IssueCard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIssueCard_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Description(), this.getHypertext(), null, \"description\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Solution(), this.getHypertext(), null, \"solution\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Strategies(), this.getStrategy(), null, \"strategies\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_InfluencingFactors(), this.getInfluencingFactor(), null, \"influencingFactors\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_RelatedIssues(), this.getRelatedIssue(), null, \"relatedIssues\", null, 0, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(strategyEClass, Strategy.class, \"Strategy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getStrategy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStrategy_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(influencingFactorEClass, InfluencingFactor.class, \"InfluencingFactor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInfluencingFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInfluencingFactor_Factor(), this.getFactor(), null, \"factor\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relatedIssueEClass, RelatedIssue.class, \"RelatedIssue\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelatedIssue_Issue(), this.getItem(), null, \"Issue\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelatedIssue_Description(), this.getHypertext(), null, \"description\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(fticPackageEClass, FTICPackage.class, \"FTICPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFTICPackage_Tables(), this.getFactorTable(), null, \"tables\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTICPackage_IssueCards(), this.getIssueCard(), null, \"issueCards\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTICPackage_Name(), ecorePackage.getEString(), \"Name\", null, 1, 1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(categoryTypeEEnum, CategoryType.class, \"CategoryType\");\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.ORGANIZATIONAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.TECHNOLOGICAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.PRODUCT);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public boolean isSetFileBody() {\n return this.fileBody != null;\n }", "public void testFiles(AugeasProxy augeas){\n \t System.out.print(\"Test if all included configuration files was discovered and loaded.\");\n \t AugeasConfigurationApache config = (AugeasConfigurationApache)augeas.getConfiguration();\n \t List<File> configFiles = config.getAllConfigurationFiles();\n \t \n \t /*\n \t * There are three files one main file one which is included from main file and one which is included from \n \t * included file and which is declared in IfModule. All of them must be discovered.\n \t */\n\t boolean found=false;\n \t for (File confFile : configFiles){\n\t found = false;\n \t for (String fileName : ApacheTestConstants.CONFIG_FILE_NAMES){\n \t if (!confFile.getName().equals(fileName))\n\t found= true;\n \t }\n \t assert found;\n \t }\n System.out.println(\" [success!]\");\n \t }", "@Override\r\n \t\tprotected boolean validatePage() {\r\n \t\t\tif (super.validatePage()) {\r\n \t\t\t\tString extension = new Path(getFileName()).getFileExtension();\r\n \t\t\t\tif (extension == null || !FILE_EXTENSIONS.contains(extension)) {\r\n \t\t\t\t\tString key = FILE_EXTENSIONS.size() > 1 ? \"_WARN_FilenameExtensions\" : \"_WARN_FilenameExtension\";\r\n \t\t\t\t\tsetErrorMessage(Reqif10EditorPlugin.INSTANCE.getString(key, new Object [] { FORMATTED_FILE_EXTENSIONS }));\r\n \t\t\t\t\treturn false;\r\n \t\t\t\t}\r\n \t\t\t\treturn true;\r\n \t\t\t}\r\n \t\t\treturn false;\r\n \t\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\torg.abchip.mimo.entity.EntityPackage theEntityPackage_1 = (org.abchip.mimo.entity.EntityPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.entity.EntityPackage.eNS_URI);\n\t\tPartyPackage thePartyPackage_1 = (PartyPackage)EPackage.Registry.INSTANCE.getEPackage(PartyPackage.eNS_URI);\n\t\tStatusPackage theStatusPackage = (StatusPackage)EPackage.Registry.INSTANCE.getEPackage(StatusPackage.eNS_URI);\n\t\tContentPackage theContentPackage = (ContentPackage)EPackage.Registry.INSTANCE.getEPackage(ContentPackage.eNS_URI);\n\t\tPositionPackage thePositionPackage = (PositionPackage)EPackage.Registry.INSTANCE.getEPackage(PositionPackage.eNS_URI);\n\t\tPaymentPackage thePaymentPackage = (PaymentPackage)EPackage.Registry.INSTANCE.getEPackage(PaymentPackage.eNS_URI);\n\t\tTrainingsPackage theTrainingsPackage = (TrainingsPackage)EPackage.Registry.INSTANCE.getEPackage(TrainingsPackage.eNS_URI);\n\t\tWorkeffortPackage theWorkeffortPackage = (WorkeffortPackage)EPackage.Registry.INSTANCE.getEPackage(WorkeffortPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tEGenericType g2 = createEGenericType(this.getPartyQualType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tpartyQualEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tpartyQualEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getPartyQual());\n\t\tg1.getETypeArguments().add(g2);\n\t\tpartyQualTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tpartyQualTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tpartyResumeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpartyResumeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tpartySkillEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpartySkillEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tperfRatingTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperfRatingTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperfReviewEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getPerfReviewItemType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tperfReviewItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getPerfReviewItem());\n\t\tg1.getETypeArguments().add(g2);\n\t\tperfReviewItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tperformanceNoteEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperformanceNoteEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tpersonTrainingEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpersonTrainingEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tresponsibilityTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tresponsibilityTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tskillTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tskillTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\ttrainingClassTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\ttrainingClassTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(partyQualEClass, PartyQual.class, \"PartyQual\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPartyQual_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_PartyQualType(), this.getPartyQualType(), null, \"partyQualType\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_QualificationDesc(), ecorePackage.getEString(), \"qualificationDesc\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_Title(), ecorePackage.getEString(), \"title\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_VerifStatus(), theStatusPackage.getStatusItem(), null, \"verifStatus\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partyQualTypeEClass, PartyQualType.class, \"PartyQualType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPartyQualType_PartyQualTypeId(), ecorePackage.getEString(), \"partyQualTypeId\", null, 1, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQualType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQualType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQualType_ParentType(), this.getPartyQualType(), null, \"parentType\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partyResumeEClass, PartyResume.class, \"PartyResume\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPartyResume_ResumeId(), ecorePackage.getEString(), \"resumeId\", null, 1, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyResume_Content(), theContentPackage.getContent(), null, \"content\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyResume_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyResume_ResumeDate(), ecorePackage.getEDate(), \"resumeDate\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyResume_ResumeText(), ecorePackage.getEString(), \"resumeText\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partySkillEClass, PartySkill.class, \"PartySkill\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPartySkill_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartySkill_SkillType(), this.getSkillType(), null, \"skillType\", null, 1, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_Rating(), ecorePackage.getELong(), \"rating\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_SkillLevel(), ecorePackage.getELong(), \"skillLevel\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_StartedUsingDate(), ecorePackage.getEDate(), \"startedUsingDate\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_YearsExperience(), ecorePackage.getELong(), \"yearsExperience\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfRatingTypeEClass, PerfRatingType.class, \"PerfRatingType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPerfRatingType_PerfRatingTypeId(), ecorePackage.getEString(), \"perfRatingTypeId\", null, 1, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfRatingType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfRatingType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfRatingType_ParentType(), this.getPerfRatingType(), null, \"parentType\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewEClass, PerfReview.class, \"PerfReview\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerfReview_EmployeeParty(), thePartyPackage_1.getParty(), null, \"employeeParty\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_EmployeeRoleTypeId(), ecorePackage.getEString(), \"employeeRoleTypeId\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_PerfReviewId(), ecorePackage.getEString(), \"perfReviewId\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_EmplPosition(), thePositionPackage.getEmplPosition(), null, \"emplPosition\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_ManagerParty(), thePartyPackage_1.getParty(), null, \"managerParty\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_ManagerRoleTypeId(), ecorePackage.getEString(), \"managerRoleTypeId\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_Payment(), thePaymentPackage.getPayment(), null, \"payment\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewItemEClass, PerfReviewItem.class, \"PerfReviewItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerfReviewItem_EmployeeParty(), thePartyPackage_1.getParty(), null, \"employeeParty\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_EmployeeRoleTypeId(), ecorePackage.getEString(), \"employeeRoleTypeId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_PerfReviewId(), ecorePackage.getEString(), \"perfReviewId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_PerfReviewItemSeqId(), ecorePackage.getEString(), \"perfReviewItemSeqId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItem_PerfRatingType(), this.getPerfRatingType(), null, \"perfRatingType\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItem_PerfReviewItemType(), this.getPerfReviewItemType(), null, \"perfReviewItemType\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewItemTypeEClass, PerfReviewItemType.class, \"PerfReviewItemType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPerfReviewItemType_PerfReviewItemTypeId(), ecorePackage.getEString(), \"perfReviewItemTypeId\", null, 1, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItemType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItemType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItemType_ParentType(), this.getPerfReviewItemType(), null, \"parentType\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(performanceNoteEClass, PerformanceNote.class, \"PerformanceNote\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerformanceNote_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_RoleTypeId(), ecorePackage.getEString(), \"roleTypeId\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_CommunicationDate(), ecorePackage.getEDate(), \"communicationDate\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(personTrainingEClass, PersonTraining.class, \"PersonTraining\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPersonTraining_Party(), thePartyPackage_1.getPerson(), null, \"party\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_TrainingClassType(), this.getTrainingClassType(), null, \"trainingClassType\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_ApprovalStatus(), ecorePackage.getEString(), \"approvalStatus\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_Approver(), thePartyPackage_1.getPerson(), null, \"approver\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_Reason(), ecorePackage.getEString(), \"reason\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_TrainingRequest(), theTrainingsPackage.getTrainingRequest(), null, \"trainingRequest\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_WorkEffort(), theWorkeffortPackage.getWorkEffort(), null, \"workEffort\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(responsibilityTypeEClass, ResponsibilityType.class, \"ResponsibilityType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getResponsibilityType_ResponsibilityTypeId(), ecorePackage.getEString(), \"responsibilityTypeId\", null, 1, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getResponsibilityType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getResponsibilityType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getResponsibilityType_ParentType(), this.getResponsibilityType(), null, \"parentType\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(skillTypeEClass, SkillType.class, \"SkillType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSkillType_SkillTypeId(), ecorePackage.getEString(), \"skillTypeId\", null, 1, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSkillType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSkillType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSkillType_ParentType(), this.getSkillType(), null, \"parentType\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(trainingClassTypeEClass, TrainingClassType.class, \"TrainingClassType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTrainingClassType_TrainingClassTypeId(), ecorePackage.getEString(), \"trainingClassTypeId\", null, 1, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrainingClassType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrainingClassType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTrainingClassType_ParentType(), this.getTrainingClassType(), null, \"parentType\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// mimo-ent-frame\n\t\tcreateMimoentframeAnnotations();\n\t\t// mimo-ent-slot\n\t\tcreateMimoentslotAnnotations();\n\t\t// mimo-ent-format\n\t\tcreateMimoentformatAnnotations();\n\t}", "@Test(expected = PipelineException.class)\n public void testValidateManifestWithMissingFiles() {\n KicIngester.validateManifest(new File(SCP_DATA_DIR),\n \"Manifest.missing-files\", KicIngester.getScpFiles(new File(\n SCP_DATA_DIR), SCP_FILENAME_PATTERN));\n }", "@Override\n\tpublic boolean validateContent()\n\t{\n\t\treturn true;\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getElement());\n\t\tidentifiedElementEClass.getESuperTypes().add(this.getElement());\n\t\timportEClass.getESuperTypes().add(this.getElement());\n\t\tinstanceEClass.getESuperTypes().add(this.getElement());\n\t\taxiomEClass.getESuperTypes().add(this.getElement());\n\t\tassertionEClass.getESuperTypes().add(this.getElement());\n\t\tpredicateEClass.getESuperTypes().add(this.getElement());\n\t\targumentEClass.getESuperTypes().add(this.getElement());\n\t\tliteralEClass.getESuperTypes().add(this.getElement());\n\t\tontologyEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tmemberEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tvocabularyBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tdescriptionBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tvocabularyEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tvocabularyBundleEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tdescriptionEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tdescriptionBundleEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tstatementEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyMemberEClass.getESuperTypes().add(this.getMember());\n\t\tdescriptionMemberEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getDescriptionMember());\n\t\ttermEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\truleEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tbuiltInEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getTerm());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tpropertyEClass.getESuperTypes().add(this.getTerm());\n\t\ttypeEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\trelationBaseEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tclassifierEClass.getESuperTypes().add(this.getType());\n\t\tscalarEClass.getESuperTypes().add(this.getType());\n\t\tentityEClass.getESuperTypes().add(this.getClassifier());\n\t\tstructureEClass.getESuperTypes().add(this.getClassifier());\n\t\taspectEClass.getESuperTypes().add(this.getEntity());\n\t\tconceptEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getRelationBase());\n\t\tannotationPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tsemanticPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\trelationEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tforwardRelationEClass.getESuperTypes().add(this.getRelation());\n\t\treverseRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelationBase());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getDescriptionStatement());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tconceptInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\trelationInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\tstructureInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tkeyAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tspecializationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tinstanceEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRestrictionAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tliteralEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tclassifierEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tscalarEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRangeRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyCardinalityRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyValueRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertySelfRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\ttypeAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tpropertyValueAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tunaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbinaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbuiltInPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\ttypePredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tpropertyPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tsameAsPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tdifferentFromPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tquotedLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tintegerLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdecimalLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdoubleLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tbooleanLiteralEClass.getESuperTypes().add(this.getLiteral());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(elementEClass, Element.class, \"Element\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getElement__GetOntology(), this.getOntology(), \"getOntology\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getElement__ExtraValidate__DiagnosticChain_Map(), theEcorePackage.getEBoolean(), \"extraValidate\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(theEcorePackage.getEMap());\n\t\tEGenericType g2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Property(), this.getAnnotationProperty(), null, \"property\", null, 1, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_ReferenceValue(), this.getMember(), null, \"referenceValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_OwningElement(), this.getIdentifiedElement(), this.getIdentifiedElement_OwnedAnnotations(), \"owningElement\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetAnnotatedElement(), this.getIdentifiedElement(), \"getAnnotatedElement\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(identifiedElementEClass, IdentifiedElement.class, \"IdentifiedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIdentifiedElement_OwnedAnnotations(), this.getAnnotation(), this.getAnnotation_OwningElement(), \"ownedAnnotations\", null, 0, -1, IdentifiedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIdentifiedElement__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(importEClass, Import.class, \"Import\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImport_Kind(), this.getImportKind(), \"kind\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Prefix(), this.getID(), \"prefix\", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImport_OwningOntology(), this.getOntology(), this.getOntology_OwnedImports(), \"owningOntology\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEClass, Instance.class, \"Instance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstance_OwnedPropertyValues(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_OwningInstance(), \"ownedPropertyValues\", null, 0, -1, Instance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(axiomEClass, Axiom.class, \"Axiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(assertionEClass, Assertion.class, \"Assertion\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(predicateEClass, Predicate.class, \"Predicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPredicate_AntecedentRule(), this.getRule(), this.getRule_Antecedent(), \"antecedentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPredicate_ConsequentRule(), this.getRule(), this.getRule_Consequent(), \"consequentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(argumentEClass, Argument.class, \"Argument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArgument_Variable(), this.getID(), \"variable\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Literal(), this.getLiteral(), null, \"literal\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Instance(), this.getNamedInstance(), null, \"instance\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(literalEClass, Literal.class, \"Literal\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getLiteral__GetValue(), theEcorePackage.getEJavaObject(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetStringValue(), theEcorePackage.getEString(), \"getStringValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(ontologyEClass, Ontology.class, \"Ontology\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOntology_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOntology_Prefix(), this.getID(), \"prefix\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntology_OwnedImports(), this.getImport(), this.getImport_OwningOntology(), \"ownedImports\", null, 0, -1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(memberEClass, Member.class, \"Member\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMember_Name(), this.getID(), \"name\", null, 0, 1, Member.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__IsRef(), theEcorePackage.getEBoolean(), \"isRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__Resolve(), this.getMember(), \"resolve\", 1, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetAbbreviatedIri(), theEcorePackage.getEString(), \"getAbbreviatedIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBoxEClass, VocabularyBox.class, \"VocabularyBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionBoxEClass, DescriptionBox.class, \"DescriptionBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyEClass, Vocabulary.class, \"Vocabulary\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabulary_OwnedStatements(), this.getVocabularyStatement(), this.getVocabularyStatement_OwningVocabulary(), \"ownedStatements\", null, 0, -1, Vocabulary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBundleEClass, VocabularyBundle.class, \"VocabularyBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionEClass, Description.class, \"Description\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescription_OwnedStatements(), this.getDescriptionStatement(), this.getDescriptionStatement_OwningDescription(), \"ownedStatements\", null, 0, -1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionBundleEClass, DescriptionBundle.class, \"DescriptionBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(statementEClass, Statement.class, \"Statement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyMemberEClass, VocabularyMember.class, \"VocabularyMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionMemberEClass, DescriptionMember.class, \"DescriptionMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyStatementEClass, VocabularyStatement.class, \"VocabularyStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabularyStatement_OwningVocabulary(), this.getVocabulary(), this.getVocabulary_OwnedStatements(), \"owningVocabulary\", null, 1, 1, VocabularyStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionStatementEClass, DescriptionStatement.class, \"DescriptionStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescriptionStatement_OwningDescription(), this.getDescription(), this.getDescription_OwnedStatements(), \"owningDescription\", null, 1, 1, DescriptionStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ruleEClass, Rule.class, \"Rule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRule_Ref(), this.getRule(), null, \"ref\", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Antecedent(), this.getPredicate(), this.getPredicate_AntecedentRule(), \"antecedent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Consequent(), this.getPredicate(), this.getPredicate_ConsequentRule(), \"consequent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInEClass, BuiltIn.class, \"BuiltIn\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltIn_Ref(), this.getBuiltIn(), null, \"ref\", null, 0, 1, BuiltIn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializableTermEClass, SpecializableTerm.class, \"SpecializableTerm\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableTerm_OwnedSpecializations(), this.getSpecializationAxiom(), this.getSpecializationAxiom_OwningTerm(), \"ownedSpecializations\", null, 0, -1, SpecializableTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, Property.class, \"Property\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeEClass, Type.class, \"Type\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(relationBaseEClass, RelationBase.class, \"RelationBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationBase_Sources(), this.getEntity(), null, \"sources\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_Targets(), this.getEntity(), null, \"targets\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_ReverseRelation(), this.getReverseRelation(), this.getReverseRelation_RelationBase(), \"reverseRelation\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_InverseFunctional(), theEcorePackage.getEBoolean(), \"inverseFunctional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Symmetric(), theEcorePackage.getEBoolean(), \"symmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Asymmetric(), theEcorePackage.getEBoolean(), \"asymmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Reflexive(), theEcorePackage.getEBoolean(), \"reflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Irreflexive(), theEcorePackage.getEBoolean(), \"irreflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Transitive(), theEcorePackage.getEBoolean(), \"transitive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializablePropertyEClass, SpecializableProperty.class, \"SpecializableProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableProperty_OwnedEquivalences(), this.getPropertyEquivalenceAxiom(), this.getPropertyEquivalenceAxiom_OwningProperty(), \"ownedEquivalences\", null, 0, -1, SpecializableProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(classifierEClass, Classifier.class, \"Classifier\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifier_OwnedEquivalences(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwningClassifier(), \"ownedEquivalences\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifier_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningClassifier(), \"ownedPropertyRestrictions\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(scalarEClass, Scalar.class, \"Scalar\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalar_Ref(), this.getScalar(), null, \"ref\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEnumeration(), this.getLiteralEnumerationAxiom(), this.getLiteralEnumerationAxiom_OwningScalar(), \"ownedEnumeration\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEquivalences(), this.getScalarEquivalenceAxiom(), this.getScalarEquivalenceAxiom_OwningScalar(), \"ownedEquivalences\", null, 0, -1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(entityEClass, Entity.class, \"Entity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEntity_OwnedKeys(), this.getKeyAxiom(), this.getKeyAxiom_OwningEntity(), \"ownedKeys\", null, 0, -1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureEClass, Structure.class, \"Structure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructure_Ref(), this.getStructure(), null, \"ref\", null, 0, 1, Structure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(aspectEClass, Aspect.class, \"Aspect\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAspect_Ref(), this.getAspect(), null, \"ref\", null, 0, 1, Aspect.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptEClass, Concept.class, \"Concept\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConcept_Ref(), this.getConcept(), null, \"ref\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getConcept_OwnedEnumeration(), this.getInstanceEnumerationAxiom(), this.getInstanceEnumerationAxiom_OwningConcept(), \"ownedEnumeration\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityEClass, RelationEntity.class, \"RelationEntity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntity_Ref(), this.getRelationEntity(), null, \"ref\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationEntity_ForwardRelation(), this.getForwardRelation(), this.getForwardRelation_RelationEntity(), \"forwardRelation\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(annotationPropertyEClass, AnnotationProperty.class, \"AnnotationProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotationProperty_Ref(), this.getAnnotationProperty(), null, \"ref\", null, 0, 1, AnnotationProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticPropertyEClass, SemanticProperty.class, \"SemanticProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getSemanticProperty__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarPropertyEClass, ScalarProperty.class, \"ScalarProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarProperty_Ref(), this.getScalarProperty(), null, \"ref\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Ranges(), this.getScalar(), null, \"ranges\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(structuredPropertyEClass, StructuredProperty.class, \"StructuredProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructuredProperty_Ref(), this.getStructuredProperty(), null, \"ref\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getStructuredProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Ranges(), this.getStructure(), null, \"ranges\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(relationEClass, Relation.class, \"Relation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(forwardRelationEClass, ForwardRelation.class, \"ForwardRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getForwardRelation_RelationEntity(), this.getRelationEntity(), this.getRelationEntity_ForwardRelation(), \"relationEntity\", null, 1, 1, ForwardRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(reverseRelationEClass, ReverseRelation.class, \"ReverseRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getReverseRelation_RelationBase(), this.getRelationBase(), this.getRelationBase_ReverseRelation(), \"relationBase\", null, 1, 1, ReverseRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unreifiedRelationEClass, UnreifiedRelation.class, \"UnreifiedRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnreifiedRelation_Ref(), this.getRelation(), null, \"ref\", null, 0, 1, UnreifiedRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(namedInstanceEClass, NamedInstance.class, \"NamedInstance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNamedInstance_OwnedTypes(), this.getTypeAssertion(), this.getTypeAssertion_OwningInstance(), \"ownedTypes\", null, 0, -1, NamedInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptInstanceEClass, ConceptInstance.class, \"ConceptInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConceptInstance_Ref(), this.getConceptInstance(), null, \"ref\", null, 0, 1, ConceptInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationInstanceEClass, RelationInstance.class, \"RelationInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationInstance_Ref(), this.getRelationInstance(), null, \"ref\", null, 0, 1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Sources(), this.getNamedInstance(), null, \"sources\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Targets(), this.getNamedInstance(), null, \"targets\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureInstanceEClass, StructureInstance.class, \"StructureInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructureInstance_Type(), this.getStructure(), null, \"type\", null, 1, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAxiom(), this.getPropertyValueRestrictionAxiom(), this.getPropertyValueRestrictionAxiom_StructureInstanceValue(), \"owningAxiom\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAssertion(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_StructureInstanceValue(), \"owningAssertion\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(keyAxiomEClass, KeyAxiom.class, \"KeyAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getKeyAxiom_Properties(), this.getProperty(), null, \"properties\", null, 1, -1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getKeyAxiom_OwningEntity(), this.getEntity(), this.getEntity_OwnedKeys(), \"owningEntity\", null, 0, 1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetKeyedEntity(), this.getEntity(), \"getKeyedEntity\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetCharacterizedTerm(), this.getEntity(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(specializationAxiomEClass, SpecializationAxiom.class, \"SpecializationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializationAxiom_SuperTerm(), this.getTerm(), null, \"superTerm\", null, 1, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSpecializationAxiom_OwningTerm(), this.getSpecializableTerm(), this.getSpecializableTerm_OwnedSpecializations(), \"owningTerm\", null, 0, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetSubTerm(), this.getTerm(), \"getSubTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEnumerationAxiomEClass, InstanceEnumerationAxiom.class, \"InstanceEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstanceEnumerationAxiom_Instances(), this.getConceptInstance(), null, \"instances\", null, 1, -1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInstanceEnumerationAxiom_OwningConcept(), this.getConcept(), this.getConcept_OwnedEnumeration(), \"owningConcept\", null, 0, 1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetEnumeratedConcept(), this.getConcept(), \"getEnumeratedConcept\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetCharacterizedTerm(), this.getConcept(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRestrictionAxiomEClass, PropertyRestrictionAxiom.class, \"PropertyRestrictionAxiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyRestrictionAxiom_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedPropertyRestrictions(), \"owningClassifier\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningAxiom(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), \"owningAxiom\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetRestrictingDomain(), this.getClassifier(), \"getRestrictingDomain\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(literalEnumerationAxiomEClass, LiteralEnumerationAxiom.class, \"LiteralEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLiteralEnumerationAxiom_Literals(), this.getLiteral(), null, \"literals\", null, 1, -1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLiteralEnumerationAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEnumeration(), \"owningScalar\", null, 0, 1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetEnumeratedScalar(), this.getScalar(), \"getEnumeratedScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(classifierEquivalenceAxiomEClass, ClassifierEquivalenceAxiom.class, \"ClassifierEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifierEquivalenceAxiom_SuperClassifiers(), this.getClassifier(), null, \"superClassifiers\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningAxiom(), \"ownedPropertyRestrictions\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedEquivalences(), \"owningClassifier\", null, 0, 1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetSubClassifier(), this.getClassifier(), \"getSubClassifier\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarEquivalenceAxiomEClass, ScalarEquivalenceAxiom.class, \"ScalarEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarEquivalenceAxiom_SuperScalar(), this.getScalar(), null, \"superScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEquivalences(), \"owningScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Length(), this.getUnsignedInteger(), \"length\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MinLength(), this.getUnsignedInteger(), \"minLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MaxLength(), this.getUnsignedInteger(), \"maxLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Pattern(), theEcorePackage.getEString(), \"pattern\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Language(), theEcorePackage.getEString(), \"language\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinInclusive(), this.getLiteral(), null, \"minInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinExclusive(), this.getLiteral(), null, \"minExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxInclusive(), this.getLiteral(), null, \"maxInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxExclusive(), this.getLiteral(), null, \"maxExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetSubScalar(), this.getScalar(), \"getSubScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyEquivalenceAxiomEClass, PropertyEquivalenceAxiom.class, \"PropertyEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyEquivalenceAxiom_SuperProperty(), this.getProperty(), null, \"superProperty\", null, 1, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyEquivalenceAxiom_OwningProperty(), this.getSpecializableProperty(), this.getSpecializableProperty_OwnedEquivalences(), \"owningProperty\", null, 0, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetSubProperty(), this.getProperty(), \"getSubProperty\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetCharacterizedTerm(), this.getProperty(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRangeRestrictionAxiomEClass, PropertyRangeRestrictionAxiom.class, \"PropertyRangeRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyRangeRestrictionAxiom_Kind(), this.getRangeRestrictionKind(), \"kind\", \"all\", 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRangeRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyCardinalityRestrictionAxiomEClass, PropertyCardinalityRestrictionAxiom.class, \"PropertyCardinalityRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Kind(), this.getCardinalityRestrictionKind(), \"kind\", \"exactly\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Cardinality(), this.getUnsignedInt(), \"cardinality\", \"1\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyCardinalityRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 0, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyValueRestrictionAxiomEClass, PropertyValueRestrictionAxiom.class, \"PropertyValueRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAxiom(), \"structureInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueRestrictionAxiom__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertySelfRestrictionAxiomEClass, PropertySelfRestrictionAxiom.class, \"PropertySelfRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeAssertionEClass, TypeAssertion.class, \"TypeAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypeAssertion_Type(), this.getEntity(), null, \"type\", null, 1, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTypeAssertion_OwningInstance(), this.getNamedInstance(), this.getNamedInstance_OwnedTypes(), \"owningInstance\", null, 0, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetSubject(), this.getNamedInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyValueAssertionEClass, PropertyValueAssertion.class, \"PropertyValueAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueAssertion_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAssertion(), \"structureInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_OwningInstance(), this.getInstance(), this.getInstance_OwnedPropertyValues(), \"owningInstance\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unaryPredicateEClass, UnaryPredicate.class, \"UnaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnaryPredicate_Argument(), this.getArgument(), null, \"argument\", null, 1, 1, UnaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(binaryPredicateEClass, BinaryPredicate.class, \"BinaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBinaryPredicate_Argument1(), this.getArgument(), null, \"argument1\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBinaryPredicate_Argument2(), this.getArgument(), null, \"argument2\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInPredicateEClass, BuiltInPredicate.class, \"BuiltInPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltInPredicate_BuiltIn(), this.getBuiltIn(), null, \"builtIn\", null, 1, 1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBuiltInPredicate_Arguments(), this.getArgument(), null, \"arguments\", null, 1, -1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(typePredicateEClass, TypePredicate.class, \"TypePredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypePredicate_Type(), this.getType(), null, \"type\", null, 1, 1, TypePredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityPredicateEClass, RelationEntityPredicate.class, \"RelationEntityPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntityPredicate_Type(), this.getRelationEntity(), null, \"type\", null, 1, 1, RelationEntityPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyPredicateEClass, PropertyPredicate.class, \"PropertyPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyPredicate_Property(), this.getProperty(), null, \"property\", null, 1, 1, PropertyPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(sameAsPredicateEClass, SameAsPredicate.class, \"SameAsPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(differentFromPredicateEClass, DifferentFromPredicate.class, \"DifferentFromPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(quotedLiteralEClass, QuotedLiteral.class, \"QuotedLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getQuotedLiteral_Value(), theEcorePackage.getEString(), \"value\", null, 1, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getQuotedLiteral_LangTag(), theEcorePackage.getEString(), \"langTag\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getQuotedLiteral_Type(), this.getScalar(), null, \"type\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(integerLiteralEClass, IntegerLiteral.class, \"IntegerLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIntegerLiteral_Value(), theEcorePackage.getEIntegerObject(), \"value\", \"0\", 0, 1, IntegerLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIntegerLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(decimalLiteralEClass, DecimalLiteral.class, \"DecimalLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDecimalLiteral_Value(), this.getDecimal(), \"value\", \"0.0\", 1, 1, DecimalLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDecimalLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(doubleLiteralEClass, DoubleLiteral.class, \"DoubleLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDoubleLiteral_Value(), theEcorePackage.getEDoubleObject(), \"value\", \"0.0\", 0, 1, DoubleLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDoubleLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(booleanLiteralEClass, BooleanLiteral.class, \"BooleanLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getBooleanLiteral_Value(), theEcorePackage.getEBooleanObject(), \"value\", \"false\", 0, 1, BooleanLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__IsValue(), theEcorePackage.getEBoolean(), \"isValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(separatorKindEEnum, SeparatorKind.class, \"SeparatorKind\");\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.HASH);\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.SLASH);\n\n\t\tinitEEnum(rangeRestrictionKindEEnum, RangeRestrictionKind.class, \"RangeRestrictionKind\");\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.ALL);\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.SOME);\n\n\t\tinitEEnum(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.class, \"CardinalityRestrictionKind\");\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.EXACTLY);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MIN);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MAX);\n\n\t\tinitEEnum(importKindEEnum, ImportKind.class, \"ImportKind\");\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.EXTENSION);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.USAGE);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.INCLUSION);\n\n\t\t// Initialize data types\n\t\tinitEDataType(unsignedIntEDataType, long.class, \"UnsignedInt\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(unsignedIntegerEDataType, Long.class, \"UnsignedInteger\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(decimalEDataType, BigDecimal.class, \"Decimal\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(idEDataType, String.class, \"ID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(namespaceEDataType, String.class, \"Namespace\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// https://tabatkins.github.io/bikeshed/headings\n\t\tcreateHeadingsAnnotations();\n\t\t// https://tabatkins.github.io/bikeshed\n\t\tcreateBikeshedAnnotations();\n\t\t// http://www.eclipse.org/emf/2011/Xcore\n\t\tcreateXcoreAnnotations();\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "@Test(expected = PipelineException.class)\n public void testValidateManifestWithMungedFiles() {\n KicIngester.validateManifest(new File(SCP_DATA_DIR),\n \"Manifest.munged-files\", KicIngester.getScpFiles(new File(\n SCP_DATA_DIR), SCP_FILENAME_PATTERN));\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tUMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);\n\t\tTypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(textualRepresentationEClass, TextualRepresentation.class, \"TextualRepresentation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTextualRepresentation_Base_Comment(), theUMLPackage.getComment(), null, \"base_Comment\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getTextualRepresentation_Language(), theTypesPackage.getString(), \"language\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tPivotModelPackage thePivotModelPackage = (PivotModelPackage) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(PivotModelPackage.eNS_URI);\n\t\tExpressionsPackageImpl theExpressionsPackage = (ExpressionsPackageImpl) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(ExpressionsPackageImpl.eNS_URI);\n\t\tDatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(DatatypesPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tbagTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\ttupleTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\tcollectionTypeEClass.getESuperTypes().add(\n\t\t\t\tthePivotModelPackage.getType());\n\t\tinvalidTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\torderedSetTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tsequenceTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tsetTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tvoidTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\ttypeTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\tanyTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(\n\t\t\t\tbagTypeEClass,\n\t\t\t\tBagType.class,\n\t\t\t\t\"BagType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\ttupleTypeEClass,\n\t\t\t\tTupleType.class,\n\t\t\t\t\"TupleType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetTupleType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tnull,\n\t\t\t\t\"oclLibrary\", null, 1, 1, TupleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tcollectionTypeEClass,\n\t\t\t\tCollectionType.class,\n\t\t\t\t\"CollectionType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetCollectionType_ElementType(),\n\t\t\t\tthePivotModelPackage.getType(),\n\t\t\t\tnull,\n\t\t\t\t\"elementType\", null, 0, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetCollectionType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tnull,\n\t\t\t\t\"oclLibrary\", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEAttribute(\n\t\t\t\tgetCollectionType_Kind(),\n\t\t\t\ttheExpressionsPackage.getCollectionKind(),\n\t\t\t\t\"kind\", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tinvalidTypeEClass,\n\t\t\t\tInvalidType.class,\n\t\t\t\t\"InvalidType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetInvalidType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tthis.getOclLibrary_OclInvalid(),\n\t\t\t\t\"oclLibrary\", null, 1, 1, InvalidType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\torderedSetTypeEClass,\n\t\t\t\tOrderedSetType.class,\n\t\t\t\t\"OrderedSetType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tsequenceTypeEClass,\n\t\t\t\tSequenceType.class,\n\t\t\t\t\"SequenceType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tsetTypeEClass,\n\t\t\t\tSetType.class,\n\t\t\t\t\"SetType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tvoidTypeEClass,\n\t\t\t\tVoidType.class,\n\t\t\t\t\"VoidType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetVoidType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tthis.getOclLibrary_OclVoid(),\n\t\t\t\t\"oclLibrary\", null, 1, 1, VoidType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\ttypeTypeEClass,\n\t\t\t\tTypeType.class,\n\t\t\t\t\"TypeType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetTypeType_RepresentedType(),\n\t\t\t\tthePivotModelPackage.getType(),\n\t\t\t\tnull,\n\t\t\t\t\"representedType\", null, 0, 1, TypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\toclLibraryEClass,\n\t\t\t\tOclLibrary.class,\n\t\t\t\t\"OclLibrary\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclBoolean(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclBoolean\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclString(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclString\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclInteger(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclInteger\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclReal(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclReal\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclAny(),\n\t\t\t\tthis.getAnyType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclAny\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclVoid(),\n\t\t\t\tthis.getVoidType(),\n\t\t\t\tthis.getVoidType_OclLibrary(),\n\t\t\t\t\"oclVoid\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclInvalid(),\n\t\t\t\tthis.getInvalidType(),\n\t\t\t\tthis.getInvalidType_OclLibrary(),\n\t\t\t\t\"oclInvalid\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclType(),\n\t\t\t\tthis.getTypeType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclType\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclCollection(),\n\t\t\t\tthis.getCollectionType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclCollection\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclSequence(),\n\t\t\t\tthis.getSequenceType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclSequence\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclBag(),\n\t\t\t\tthis.getBagType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclBag\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclSet(),\n\t\t\t\tthis.getSetType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclSet\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclOrderedSet(),\n\t\t\t\tthis.getOrderedSetType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclOrderedSet\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclTuple(),\n\t\t\t\tthis.getTupleType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclTuple\", null, 1, -1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tEOperation op = addEOperation(oclLibraryEClass, this.getTupleType(),\n\t\t\t\t\"makeTupleType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\tEGenericType g1 = createEGenericType(theDatatypesPackage.getSequence());\n\t\tEGenericType g2 = createEGenericType(thePivotModelPackage.getProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"atts\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getCollectionType(),\n\t\t\t\t\"getCollectionType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getSequenceType(),\n\t\t\t\t\"getSequenceType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getBagType(),\n\t\t\t\t\"getBagType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getSetType(),\n\t\t\t\t\"getSetType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getOrderedSetType(),\n\t\t\t\t\"getOrderedSetType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getTypeType(),\n\t\t\t\t\"getTypeType\", 1, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"representedType\", 1, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tanyTypeEClass,\n\t\t\t\tAnyType.class,\n\t\t\t\t\"AnyType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "@Test\n public void testSpecificationFile() {\n \texpectedExit = 0;\n \tignoreNotes = true;\n \tString subdir = \"testspecs\" + \"/\" + classname;\n \tString testname = null;\n for (File f: new File(subdir).listFiles()) {\n \tif (f.getName().startsWith(\"Test\")) {\n \t\ttestname = f.getName().replace(\".java\",\"\");\n \t\tbreak;\n \t}\n }\n \thelpTCF(subdir,subdir,testname);\n }", "@Test\n public void filesValidateTest() throws ApiException {\n String owner = null;\n String repo = null;\n FilesValidate data = null;\n api.filesValidate(owner, repo, data);\n\n // TODO: test validations\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tXMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(controlEClass, Control.class, \"Control\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getControl_Midi(), this.getMidi(), null, \"midi\", null, 1, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Background(), theXMLTypePackage.getString(), \"background\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Centered(), theXMLTypePackage.getString(), \"centered\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Color(), theXMLTypePackage.getString(), \"color\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_H(), theXMLTypePackage.getString(), \"h\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Inverted(), theXMLTypePackage.getString(), \"inverted\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedX(), theXMLTypePackage.getString(), \"invertedX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedY(), theXMLTypePackage.getString(), \"invertedY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_LocalOff(), theXMLTypePackage.getString(), \"localOff\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Number(), theXMLTypePackage.getString(), \"number\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberX(), theXMLTypePackage.getString(), \"numberX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberY(), theXMLTypePackage.getString(), \"numberY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_OscCs(), theXMLTypePackage.getString(), \"oscCs\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Outline(), theXMLTypePackage.getString(), \"outline\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Response(), theXMLTypePackage.getString(), \"response\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalef(), theXMLTypePackage.getString(), \"scalef\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalet(), theXMLTypePackage.getString(), \"scalet\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Seconds(), theXMLTypePackage.getString(), \"seconds\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Size(), theXMLTypePackage.getString(), \"size\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Text(), theXMLTypePackage.getString(), \"text\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_W(), theXMLTypePackage.getString(), \"w\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_X(), theXMLTypePackage.getString(), \"x\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Y(), theXMLTypePackage.getString(), \"y\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(layoutEClass, Layout.class, \"Layout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLayout_Tabpage(), this.getTabpage(), null, \"tabpage\", null, 1, -1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Mode(), theXMLTypePackage.getString(), \"mode\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Orientation(), theXMLTypePackage.getString(), \"orientation\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Version(), theXMLTypePackage.getString(), \"version\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(midiEClass, Midi.class, \"Midi\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMidi_Channel(), theXMLTypePackage.getString(), \"channel\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data1(), theXMLTypePackage.getString(), \"data1\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2f(), theXMLTypePackage.getString(), \"data2f\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2t(), theXMLTypePackage.getString(), \"data2t\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Var(), theXMLTypePackage.getString(), \"var\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(tabpageEClass, Tabpage.class, \"Tabpage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTabpage_Control(), this.getControl(), null, \"control\", null, 1, -1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTabpage_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(topEClass, net.sf.smbt.touchosc.touchosc.TOP.class, \"TOP\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTOP_Layout(), this.getLayout(), null, \"layout\", null, 1, 1, net.sf.smbt.touchosc.touchosc.TOP.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttargetLanguageEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttechnologyEClass.getESuperTypes().add(this.getNamedElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Implementations(), this.getImplementation(), null, \"implementations\", null, 0, -1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(implementationEClass, Implementation.class, \"Implementation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImplementation_Code(), ecorePackage.getEString(), \"code\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Technology(), this.getTechnology(), null, \"technology\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Language(), this.getTargetLanguage(), null, \"language\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticsEClass, Semantics.class, \"Semantics\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSemantics_Annotations(), this.getAnnotation(), null, \"annotations\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Languages(), this.getTargetLanguage(), null, \"languages\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Technologies(), this.getTechnology(), null, \"technologies\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(targetLanguageEClass, TargetLanguage.class, \"TargetLanguage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(technologyEClass, Technology.class, \"Technology\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n acT_SpNoMsgEClass.getESuperTypes().add(this.getACTION());\n acT_SpBrEClass.getESuperTypes().add(this.getACTION());\n acT_SpUniEClass.getESuperTypes().add(this.getACTION());\n acT_InBrEClass.getESuperTypes().add(this.getACTION());\n acT_InUniEClass.getESuperTypes().add(this.getACTION());\n pR_ExprEClass.getESuperTypes().add(this.getTerminal_PR_Expr());\n ratE_ExprEClass.getESuperTypes().add(this.getIRange());\n ratE_ExprEClass.getESuperTypes().add(this.getTerminal_RATE_Expr());\n agenT_NUMEClass.getESuperTypes().add(this.getTerminal_PR_Expr());\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Params(), this.getParam(), null, \"params\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModel_States(), this.getAgentState(), null, \"states\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModel_Population(), this.getPOPULATION(), null, \"population\", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(paramEClass, Param.class, \"Param\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getParam_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getParam_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentStateEClass, AgentState.class, \"AgentState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAgentState_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, AgentState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAgentState_Prefixs(), this.getPrefix(), null, \"prefixs\", null, 0, -1, AgentState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(prefixEClass, Prefix.class, \"Prefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPrefix_Action(), this.getACTION(), null, \"action\", null, 0, 1, Prefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrefix_Continue(), ecorePackage.getEString(), \"continue\", null, 0, 1, Prefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(actionEClass, org.xtext.edinburgh.paloma.ACTION.class, \"ACTION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getACTION_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.edinburgh.paloma.ACTION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getACTION_Rate(), this.getRATE_Expr(), null, \"rate\", null, 0, 1, org.xtext.edinburgh.paloma.ACTION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_SpNoMsgEClass, ACT_SpNoMsg.class, \"ACT_SpNoMsg\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(acT_SpBrEClass, ACT_SpBr.class, \"ACT_SpBr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_SpBr_Range(), this.getIRange(), null, \"range\", null, 0, 1, ACT_SpBr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_SpUniEClass, ACT_SpUni.class, \"ACT_SpUni\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_SpUni_Range(), this.getIRange(), null, \"range\", null, 0, 1, ACT_SpUni.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_InBrEClass, ACT_InBr.class, \"ACT_InBr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_InBr_Value(), this.getPR_Expr(), null, \"value\", null, 0, 1, ACT_InBr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_InUniEClass, ACT_InUni.class, \"ACT_InUni\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_InUni_Value(), this.getPR_Expr(), null, \"value\", null, 0, 1, ACT_InUni.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(iRangeEClass, IRange.class, \"IRange\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(pR_ExprEClass, PR_Expr.class, \"PR_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPR_Expr_PrE(), this.getTerminal_PR_Expr(), null, \"prE\", null, 0, -1, PR_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(terminal_PR_ExprEClass, Terminal_PR_Expr.class, \"Terminal_PR_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTerminal_PR_Expr_LinkedParam(), ecorePackage.getEString(), \"linkedParam\", null, 0, 1, Terminal_PR_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ratE_ExprEClass, RATE_Expr.class, \"RATE_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRATE_Expr_Rt(), this.getTerminal_RATE_Expr(), null, \"rt\", null, 0, -1, RATE_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(terminal_RATE_ExprEClass, Terminal_RATE_Expr.class, \"Terminal_RATE_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTerminal_RATE_Expr_LinkedParam(), ecorePackage.getEString(), \"linkedParam\", null, 0, 1, Terminal_RATE_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agenT_NUMEClass, org.xtext.edinburgh.paloma.AGENT_NUM.class, \"AGENT_NUM\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAGENT_NUM_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.edinburgh.paloma.AGENT_NUM.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(populationEClass, org.xtext.edinburgh.paloma.POPULATION.class, \"POPULATION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPOPULATION_Popu(), this.getAGENTS(), null, \"popu\", null, 0, -1, org.xtext.edinburgh.paloma.POPULATION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentsEClass, org.xtext.edinburgh.paloma.AGENTS.class, \"AGENTS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAGENTS_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.edinburgh.paloma.AGENTS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\torg.abchip.mimo.entity.EntityPackage theEntityPackage_1 = (org.abchip.mimo.entity.EntityPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.entity.EntityPackage.eNS_URI);\n\t\tPaymentPackage thePaymentPackage = (PaymentPackage)EPackage.Registry.INSTANCE.getEPackage(PaymentPackage.eNS_URI);\n\t\torg.abchip.mimo.biz.model.party.contact.ContactPackage theContactPackage_1 = (org.abchip.mimo.biz.model.party.contact.ContactPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.biz.model.party.contact.ContactPackage.eNS_URI);\n\t\tUomPackage theUomPackage = (UomPackage)EPackage.Registry.INSTANCE.getEPackage(UomPackage.eNS_URI);\n\t\tPartyPackage thePartyPackage_1 = (PartyPackage)EPackage.Registry.INSTANCE.getEPackage(PartyPackage.eNS_URI);\n\t\tSchedulePackage theSchedulePackage = (SchedulePackage)EPackage.Registry.INSTANCE.getEPackage(SchedulePackage.eNS_URI);\n\t\tStatusPackage theStatusPackage = (StatusPackage)EPackage.Registry.INSTANCE.getEPackage(StatusPackage.eNS_URI);\n\t\tContentPackage theContentPackage = (ContentPackage)EPackage.Registry.INSTANCE.getEPackage(ContentPackage.eNS_URI);\n\t\tInventoryPackage theInventoryPackage = (InventoryPackage)EPackage.Registry.INSTANCE.getEPackage(InventoryPackage.eNS_URI);\n\t\tLedgerPackage theLedgerPackage = (LedgerPackage)EPackage.Registry.INSTANCE.getEPackage(LedgerPackage.eNS_URI);\n\t\tProductPackage theProductPackage = (ProductPackage)EPackage.Registry.INSTANCE.getEPackage(ProductPackage.eNS_URI);\n\t\tFeaturePackage theFeaturePackage = (FeaturePackage)EPackage.Registry.INSTANCE.getEPackage(FeaturePackage.eNS_URI);\n\t\tOpportunityPackage theOpportunityPackage = (OpportunityPackage)EPackage.Registry.INSTANCE.getEPackage(OpportunityPackage.eNS_URI);\n\t\tGeoPackage theGeoPackage = (GeoPackage)EPackage.Registry.INSTANCE.getEPackage(GeoPackage.eNS_URI);\n\t\tTaxPackage theTaxPackage = (TaxPackage)EPackage.Registry.INSTANCE.getEPackage(TaxPackage.eNS_URI);\n\t\tBizPackage theBizPackage = (BizPackage)EPackage.Registry.INSTANCE.getEPackage(BizPackage.eNS_URI);\n\t\tLoginPackage theLoginPackage = (LoginPackage)EPackage.Registry.INSTANCE.getEPackage(LoginPackage.eNS_URI);\n\t\tAgreementPackage theAgreementPackage = (AgreementPackage)EPackage.Registry.INSTANCE.getEPackage(AgreementPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tEGenericType g2 = createEGenericType(this.getInvoiceType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContactMechEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceContactMechEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceContentType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceContentEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContentEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceContent());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceContentTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContentTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceItemType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceItemAssocType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemAssocEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemAssocEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceItemAssoc());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemAssocTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemAssocTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceItemAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceItem());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceItemTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeGlAccountEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeGlAccountEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeMapEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeMapEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceNoteEClass.getESuperTypes().add(theBizPackage.getBizEntityNote());\n\t\tinvoiceRoleEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceRoleEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceStatusEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceStatusEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTermEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTermEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTermAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTermAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoice());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(invoiceEClass, Invoice.class, \"Invoice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoice_InvoiceId(), ecorePackage.getEString(), \"invoiceId\", null, 1, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_BillingAccount(), thePaymentPackage.getBillingAccount(), null, \"billingAccount\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_ContactMech(), theContactPackage_1.getContactMech(), null, \"contactMech\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_CurrencyUom(), theUomPackage.getUom(), null, \"currencyUom\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_DueDate(), ecorePackage.getEDate(), \"dueDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceAttributes(), this.getInvoiceAttribute(), null, \"invoiceAttributes\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_InvoiceDate(), ecorePackage.getEDate(), \"invoiceDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceItems(), this.getInvoiceItem(), null, \"invoiceItems\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_InvoiceMessage(), ecorePackage.getEString(), \"invoiceMessage\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceNotes(), this.getInvoiceNote(), null, \"invoiceNotes\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceStatuses(), this.getInvoiceStatus(), null, \"invoiceStatuses\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_PaidDate(), ecorePackage.getEDate(), \"paidDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_PartyIdFrom(), thePartyPackage_1.getParty(), null, \"partyIdFrom\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_RecurrenceInfo(), theSchedulePackage.getRecurrenceInfo(), null, \"recurrenceInfo\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_ReferenceNumber(), ecorePackage.getEString(), \"referenceNumber\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_RoleType(), thePartyPackage_1.getRoleType(), null, \"roleType\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\taddEOperation(invoiceEClass, ecorePackage.getEBigDecimal(), \"getTotal\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(invoiceAttributeEClass, InvoiceAttribute.class, \"InvoiceAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceAttribute_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContactMechEClass, InvoiceContactMech.class, \"InvoiceContactMech\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceContactMech_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContactMech_ContactMech(), theContactPackage_1.getContactMech(), null, \"contactMech\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContactMech_ContactMechPurposeType(), theContactPackage_1.getContactMechPurposeType(), null, \"contactMechPurposeType\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContentEClass, InvoiceContent.class, \"InvoiceContent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceContent_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContent_Content(), theContentPackage.getContent(), null, \"content\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContent_InvoiceContentType(), this.getInvoiceContentType(), null, \"invoiceContentType\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContent_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContent_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContentTypeEClass, InvoiceContentType.class, \"InvoiceContentType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceContentType_InvoiceContentTypeId(), ecorePackage.getEString(), \"invoiceContentTypeId\", null, 1, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContentType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContentType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContentType_ParentType(), this.getInvoiceContentType(), null, \"parentType\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemEClass, InvoiceItem.class, \"InvoiceItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItem_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Amount(), ecorePackage.getEBigDecimal(), \"amount\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_InventoryItem(), theInventoryPackage.getInventoryItem(), null, \"inventoryItem\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_OverrideGlAccount(), theLedgerPackage.getGlAccount(), null, \"overrideGlAccount\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_OverrideOrgParty(), thePartyPackage_1.getParty(), null, \"overrideOrgParty\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_ParentInvoiceId(), ecorePackage.getEString(), \"parentInvoiceId\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_ParentInvoiceItemSeqId(), ecorePackage.getEString(), \"parentInvoiceItemSeqId\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_Product(), theProductPackage.getProduct(), null, \"product\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_ProductFeature(), theFeaturePackage.getProductFeature(), null, \"productFeature\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Quantity(), ecorePackage.getEBigDecimal(), \"quantity\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_SalesOpportunity(), theOpportunityPackage.getSalesOpportunity(), null, \"salesOpportunity\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthGeo(), theGeoPackage.getGeo(), null, \"taxAuthGeo\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthParty(), thePartyPackage_1.getParty(), null, \"taxAuthParty\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthorityRateSeq(), theTaxPackage.getTaxAuthorityRateProduct(), null, \"taxAuthorityRateSeq\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_TaxableFlag(), ecorePackage.getEBoolean(), \"taxableFlag\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_Uom(), theUomPackage.getUom(), null, \"uom\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAssocEClass, InvoiceItemAssoc.class, \"InvoiceItemAssoc\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemAssoc_InvoiceItemAssocType(), this.getInvoiceItemAssocType(), null, \"invoiceItemAssocType\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceIdFrom(), ecorePackage.getEString(), \"invoiceIdFrom\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceIdTo(), ecorePackage.getEString(), \"invoiceIdTo\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceItemSeqIdFrom(), ecorePackage.getEString(), \"invoiceItemSeqIdFrom\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceItemSeqIdTo(), ecorePackage.getEString(), \"invoiceItemSeqIdTo\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_Amount(), ecorePackage.getEBigDecimal(), \"amount\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssoc_PartyIdFrom(), thePartyPackage_1.getParty(), null, \"partyIdFrom\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssoc_PartyIdTo(), thePartyPackage_1.getParty(), null, \"partyIdTo\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_Quantity(), ecorePackage.getEBigDecimal(), \"quantity\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAssocTypeEClass, InvoiceItemAssocType.class, \"InvoiceItemAssocType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemAssocType_InvoiceItemAssocTypeId(), ecorePackage.getEString(), \"invoiceItemAssocTypeId\", null, 1, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssocType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssocType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssocType_ParentType(), this.getInvoiceItemAssocType(), null, \"parentType\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAttributeEClass, InvoiceItemAttribute.class, \"InvoiceItemAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_InvoiceId(), ecorePackage.getEString(), \"invoiceId\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeEClass, InvoiceItemType.class, \"InvoiceItemType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemType_InvoiceItemTypeId(), ecorePackage.getEString(), \"invoiceItemTypeId\", null, 1, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_DefaultGlAccount(), theLedgerPackage.getGlAccount(), null, \"defaultGlAccount\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_InvoiceItemTypeAttrs(), this.getInvoiceItemTypeAttr(), null, \"invoiceItemTypeAttrs\", null, 0, -1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_InvoiceItemTypeGlAccounts(), this.getInvoiceItemTypeGlAccount(), null, \"invoiceItemTypeGlAccounts\", null, 0, -1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_ParentType(), this.getInvoiceItemType(), null, \"parentType\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeAttrEClass, InvoiceItemTypeAttr.class, \"InvoiceItemTypeAttr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeAttr_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 1, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeAttr_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeAttr_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeGlAccountEClass, InvoiceItemTypeGlAccount.class, \"InvoiceItemTypeGlAccount\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 1, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_OrganizationParty(), thePartyPackage_1.getParty(), null, \"organizationParty\", null, 1, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_GlAccount(), theLedgerPackage.getGlAccount(), null, \"glAccount\", null, 0, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeMapEClass, InvoiceItemTypeMap.class, \"InvoiceItemTypeMap\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeMap_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 1, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeMap_InvoiceItemMapKey(), ecorePackage.getEString(), \"invoiceItemMapKey\", null, 1, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeMap_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 0, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceNoteEClass, InvoiceNote.class, \"InvoiceNote\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceNote_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceRoleEClass, InvoiceRole.class, \"InvoiceRole\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceRole_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceRole_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceRole_RoleType(), thePartyPackage_1.getRoleType(), null, \"roleType\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceRole_DatetimePerformed(), ecorePackage.getEDate(), \"datetimePerformed\", null, 0, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceRole_Percentage(), ecorePackage.getEBigDecimal(), \"percentage\", null, 0, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceStatusEClass, InvoiceStatus.class, \"InvoiceStatus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceStatus_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceStatus_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceStatus_StatusDate(), ecorePackage.getEDate(), \"statusDate\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceStatus_ChangeByUserLogin(), theLoginPackage.getUserLogin(), null, \"changeByUserLogin\", null, 0, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTermEClass, InvoiceTerm.class, \"InvoiceTerm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceTerm_InvoiceTermId(), ecorePackage.getEString(), \"invoiceTermId\", null, 1, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_Invoice(), this.getInvoice(), null, \"invoice\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_InvoiceTermAttributes(), this.getInvoiceTermAttribute(), null, \"invoiceTermAttributes\", null, 0, -1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TermDays(), ecorePackage.getELong(), \"termDays\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_TermType(), theAgreementPackage.getTermType(), null, \"termType\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TermValue(), ecorePackage.getEBigDecimal(), \"termValue\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TextValue(), ecorePackage.getEString(), \"textValue\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_UomId(), ecorePackage.getEString(), \"uomId\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTermAttributeEClass, InvoiceTermAttribute.class, \"InvoiceTermAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceTermAttribute_InvoiceTerm(), this.getInvoiceTerm(), null, \"invoiceTerm\", null, 1, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTypeEClass, InvoiceType.class, \"InvoiceType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceType_InvoiceTypeId(), ecorePackage.getEString(), \"invoiceTypeId\", null, 1, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceType_InvoiceTypeAttrs(), this.getInvoiceTypeAttr(), null, \"invoiceTypeAttrs\", null, 0, -1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceType_ParentType(), this.getInvoiceType(), null, \"parentType\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTypeAttrEClass, InvoiceTypeAttr.class, \"InvoiceTypeAttr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceTypeAttr_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 1, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTypeAttr_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTypeAttr_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// mimo-ent-frame\n\t\tcreateMimoentframeAnnotations();\n\t\t// org.abchip.mimo.core.base.invocation\n\t\tcreateOrgAnnotations();\n\t\t// mimo-ent-format\n\t\tcreateMimoentformatAnnotations();\n\t\t// mimo-ent-slot-constraints\n\t\tcreateMimoentslotconstraintsAnnotations();\n\t\t// mimo-ent-slot\n\t\tcreateMimoentslotAnnotations();\n\t}", "public void initializePackageContents()\n\t{\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Initialize data types\n\t\tinitEDataType(featureNotFoundExceptionEDataType, FeatureNotFoundException.class, \"FeatureNotFoundException\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tPersistencePackage thePersistencePackage = (PersistencePackage)EPackage.Registry.INSTANCE.getEPackage(PersistencePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tlocalAuthenticationSystemEClass.getESuperTypes().add(this.getAuthentication());\n\t\tcasAuthenticationEClass.getESuperTypes().add(this.getAuthentication());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(securityEClass, Security.class, \"Security\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSecurity_Authentication(), this.getAuthentication(), this.getAuthentication_Security(), \"authentication\", null, 0, 1, Security.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(authenticationEClass, Authentication.class, \"Authentication\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAuthentication_Security(), this.getSecurity(), this.getSecurity_Authentication(), \"security\", null, 1, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAuthentication_UserModel(), thePersistencePackage.getEntity(), null, \"userModel\", null, 1, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationName(), ecorePackage.getEString(), \"implicitRegistrationName\", \"registration\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationUnitLabel(), ecorePackage.getEString(), \"implicitRegistrationUnitLabel\", \"Create Account\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationActionLabel(), ecorePackage.getEString(), \"implicitRegistrationActionLabel\", \"Create Account\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationConfirmLabel(), ecorePackage.getEString(), \"implicitRegistrationConfirmLabel\", \"Create Account\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationUri(), ecorePackage.getEString(), \"implicitRegistrationUri\", \"register\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginName(), ecorePackage.getEString(), \"implicitLoginName\", \"login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginUnitLabel(), ecorePackage.getEString(), \"implicitLoginUnitLabel\", \"Login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginActionLabel(), ecorePackage.getEString(), \"implicitLoginActionLabel\", \"Login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginConfirmLabel(), ecorePackage.getEString(), \"implicitLoginConfirmLabel\", \"Login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginUri(), ecorePackage.getEString(), \"implicitLoginUri\", \"login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutName(), ecorePackage.getEString(), \"implicitLogoutName\", \"logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutUnitLabel(), ecorePackage.getEString(), \"implicitLogoutUnitLabel\", \"Logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutActionLabel(), ecorePackage.getEString(), \"implicitLogoutActionLabel\", \"Logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutConfirmLabel(), ecorePackage.getEString(), \"implicitLogoutConfirmLabel\", \"Logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutUri(), ecorePackage.getEString(), \"implicitLogoutUri\", \"logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordName(), ecorePackage.getEString(), \"implicitForgottenPasswordName\", \"forgotten\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordUnitLabel(), ecorePackage.getEString(), \"implicitForgottenPasswordUnitLabel\", \"Reset Password Request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordActionLabel(), ecorePackage.getEString(), \"implicitForgottenPasswordActionLabel\", \"Forgotten Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordConfirmLabel(), ecorePackage.getEString(), \"implicitForgottenPasswordConfirmLabel\", \"Reset Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordUriRequest(), ecorePackage.getEString(), \"implicitForgottenPasswordUriRequest\", \"reset-password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordUriEmailSent(), ecorePackage.getEString(), \"implicitForgottenPasswordUriEmailSent\", \"check-email\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailSubject(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailSubject\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailMessage(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailMessage\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailSentCaption(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailSentCaption\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailSentMessage(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailSentMessage\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordName(), ecorePackage.getEString(), \"implicitResetPasswordName\", \"reset\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordUnitLabel(), ecorePackage.getEString(), \"implicitResetPasswordUnitLabel\", \"Reset Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordActionLabel(), ecorePackage.getEString(), \"implicitResetPasswordActionLabel\", \"Reset Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordConfirmLabel(), ecorePackage.getEString(), \"implicitResetPasswordConfirmLabel\", \"Set Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordUri(), ecorePackage.getEString(), \"implicitResetPasswordUri\", \"reset\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(localAuthenticationSystemEClass, LocalAuthenticationSystem.class, \"LocalAuthenticationSystem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLocalAuthenticationSystem_AuthenticationModel(), thePersistencePackage.getEntity(), null, \"authenticationModel\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_AuthenticationName(), ecorePackage.getEString(), \"authenticationName\", \"Authentication\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_UserKey(), thePersistencePackage.getAttribute(), null, \"userKey\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_AuthenticationKey(), thePersistencePackage.getAttribute(), null, \"authenticationKey\", null, 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_IdentifierFeature(), thePersistencePackage.getAttribute(), null, \"identifierFeature\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_PasswordFeature(), thePersistencePackage.getAttribute(), null, \"passwordFeature\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_ResetPasswordRequestModel(), thePersistencePackage.getEntity(), null, \"resetPasswordRequestModel\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_ResetPasswordRequestName(), ecorePackage.getEString(), \"resetPasswordRequestName\", \"ResetPasswordRequest\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_RegistrationUnit(), this.getSecurityUnit(), null, \"registrationUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_LoginUnit(), this.getSecurityUnit(), null, \"loginUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_LogoutUnit(), this.getSecurityUnit(), null, \"logoutUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_ForgottenPasswordUnit(), this.getSecurityUnit(), null, \"forgottenPasswordUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_ResetPasswordUnit(), this.getSecurityUnit(), null, \"resetPasswordUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_ViewRole(), ecorePackage.getEString(), \"viewRole\", \"ROLE_SECURITY\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_EditRole(), ecorePackage.getEString(), \"editRole\", \"ROLE_SECURITY\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_UseCaptcha(), ecorePackage.getEBoolean(), \"useCaptcha\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_AllowRememberMe(), ecorePackage.getEBoolean(), \"allowRememberMe\", \"false\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_AllowSelfRegistration(), ecorePackage.getEBoolean(), \"allowSelfRegistration\", \"false\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_TrackLoginAttempts(), ecorePackage.getEBoolean(), \"trackLoginAttempts\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_UseEmailActivation(), ecorePackage.getEBoolean(), \"useEmailActivation\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_SendWelcomeEmail(), ecorePackage.getEBoolean(), \"sendWelcomeEmail\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(casAuthenticationEClass, CasAuthentication.class, \"CasAuthentication\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCasAuthentication_LoginLabel(), ecorePackage.getEString(), \"loginLabel\", \"login\", 0, 1, CasAuthentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getCasAuthentication_LogoutLabel(), ecorePackage.getEString(), \"logoutLabel\", \"logout\", 0, 1, CasAuthentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(securityUnitEClass, SecurityUnit.class, \"SecurityUnit\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// http://www.eclipse.org/emf/2002/Ecore/OCL\n\t\tcreateOCLAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEefnrPackage theEefnrPackage = (EefnrPackage)EPackage.Registry.INSTANCE.getEPackage(EefnrPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tdeferedFlatReferenceTableEditorSampleEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\t\tdeferedReferenceTableEditorSampleEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\t\townerEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\t\tsubtypeEClass.getESuperTypes().add(this.getOwner());\n\t\tanotherSubTypeEClass.getESuperTypes().add(this.getSubtype());\n\t\telementEClass.getESuperTypes().add(theEefnrPackage.getNamedElement());\n\t\tattributeNavigationSampleEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(deferedFlatReferenceTableEditorSampleEClass, DeferedFlatReferenceTableEditorSample.class, \"DeferedFlatReferenceTableEditorSample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeferedFlatReferenceTableEditorSample_References(), this.getDeferedReference(), null, \"references\", null, 0, -1, DeferedFlatReferenceTableEditorSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deferedReferenceEClass, DeferedReference.class, \"DeferedReference\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeferedReference_FlatreferenceEditor(), theEefnrPackage.getTotalSample(), null, \"flatreferenceEditor\", null, 1, 1, DeferedReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deferedReferenceTableEditorSampleEClass, DeferedReferenceTableEditorSample.class, \"DeferedReferenceTableEditorSample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeferedReferenceTableEditorSample_References(), this.getDeferedReference(), null, \"references\", null, 0, -1, DeferedReferenceTableEditorSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ownerEClass, Owner.class, \"Owner\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOwner_MultipleReferencers(), this.getMultipleReferencer(), null, \"multipleReferencers\", null, 0, -1, Owner.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOwner_SingleReferencers(), this.getSingleReferencer(), null, \"singleReferencers\", null, 0, 1, Owner.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(multipleReferencerEClass, MultipleReferencer.class, \"MultipleReferencer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForTableComposition(), this.getOwner(), null, \"multipleSampleForTableComposition\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForAdvancedTableComposition(), this.getOwner(), null, \"multipleSampleForAdvancedTableComposition\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForReferencesTable(), this.getOwner(), null, \"multipleSampleForReferencesTable\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleAdvancedReferencesTable(), this.getOwner(), null, \"multipleSampleAdvancedReferencesTable\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForFlatReferencesTable(), this.getOwner(), null, \"multipleSampleForFlatReferencesTable\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(subtypeEClass, Subtype.class, \"Subtype\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSubtype_SpecialisedElement(), ecorePackage.getEBoolean(), \"specialisedElement\", null, 0, 1, Subtype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(singleReferencerEClass, SingleReferencer.class, \"SingleReferencer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSingleReferencer_SingleSampleForTableComposition(), this.getOwner(), null, \"singleSampleForTableComposition\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleForAdvancedTableComposition(), this.getOwner(), null, \"singleSampleForAdvancedTableComposition\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleForReferencesTable(), this.getOwner(), null, \"singleSampleForReferencesTable\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleAdvancedReferencesTable(), this.getOwner(), null, \"singleSampleAdvancedReferencesTable\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleForFlatReferencesTable(), this.getOwner(), null, \"singleSampleForFlatReferencesTable\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleContainmentForEObjectFlatComboViewer(), this.getOwner(), null, \"singleContainmentForEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleReferenceForEObjectFlatComboViewer(), this.getOwner(), null, \"singleReferenceForEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleContainmentForAdvancedEObjectFlatComboViewer(), this.getOwner(), null, \"singleContainmentForAdvancedEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleReferenceForAdvancedEObjectFlatComboViewer(), this.getOwner(), null, \"singleReferenceForAdvancedEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSingleReferencer_BooleanAttribute(), ecorePackage.getEBoolean(), \"booleanAttribute\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSingleReferencer_EenumAttribute(), ecorePackage.getEEnumerator(), \"eenumAttribute\", null, 0, 1, SingleReferencer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSingleReferencer_StringAttribute(), ecorePackage.getEString(), \"stringAttribute\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(ecorePackage.getEEList());\n\t\tEGenericType g2 = createEGenericType();\n\t\tg1.getETypeArguments().add(g2);\n\t\tinitEAttribute(getSingleReferencer_ListAttribute(), g1, \"listAttribute\", null, 0, 1, SingleReferencer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(anotherSubTypeEClass, AnotherSubType.class, \"AnotherSubType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAnotherSubType_AnotherSpecialisation(), ecorePackage.getEBoolean(), \"anotherSpecialisation\", null, 0, 1, AnotherSubType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(elementEClass, Element.class, \"Element\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getElement_Visible(), ecorePackage.getEBoolean(), \"visible\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(attributeNavigationSampleEClass, AttributeNavigationSample.class, \"AttributeNavigationSample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAttributeNavigationSample_SingleValuedAttributeDelegate(), this.getAttributeDelegate(), null, \"singleValuedAttributeDelegate\", null, 0, 1, AttributeNavigationSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAttributeNavigationSample_MultiValuedAttributeDelegate(), this.getAttributeDelegate(), null, \"multiValuedAttributeDelegate\", null, 0, -1, AttributeNavigationSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(attributeDelegateEClass, AttributeDelegate.class, \"AttributeDelegate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAttributeDelegate_Delegate1(), ecorePackage.getEString(), \"delegate1\", null, 1, 1, AttributeDelegate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAttributeDelegate_Delegate2(), ecorePackage.getEInt(), \"delegate2\", null, 0, 1, AttributeDelegate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t}", "private void validateRequiredDocuments(Noc noc, Object mdmsData) {\n\t\tMap<String, List<String>> masterData = mdmsValidator.getAttributeValues(mdmsData);\n\n\t\tif (!noc.getWorkflow().getAction().equalsIgnoreCase(NOCConstants.ACTION_REJECT) && !noc.getWorkflow().getAction().equalsIgnoreCase(NOCConstants.ACTION_VOID)) {\n\t\t\tList<Document> documents = noc.getDocuments();\n\t\t\tString filterExp = \"$.[?(@.applicationType=='\" + noc.getApplicationType() + \"' && @.nocType=='\" + noc.getNocType() + \"')].docTypes\";\n\t\t\tList<Object> docTypeMappings = JsonPath.read(masterData.get(NOCConstants.NOC_DOC_TYPE_MAPPING), filterExp);\n\t\t\tif (CollectionUtils.isEmpty(docTypeMappings)) {\n\t\t\t\tthrow new CustomException(\"MDMS_DATA_ERROR\", \"Unable to fetch noc document mapping\");\n\t\t\t}\n\t\t\t// fetch all document types for noc type\n\t\t\tList<String> docTypes = JsonPath.read(docTypeMappings, \"$..documentType\");\n\n\t\t\t// filter mandatory document list\n\t\t\tfilterExp = \"$..[?(@.required==true)].documentType\";\n\t\t\tList<String> requiredDocTypes = JsonPath.read(docTypeMappings, filterExp);\n\n\t\t\tfilterExp = \"$.[?(@.active==true)].code\";\n\t\t\tList<String> validDocumentTypes = JsonPath.read(masterData.get(NOCConstants.DOCUMENT_TYPE), filterExp);\n\n\t\t\tif (!CollectionUtils.isEmpty(documents)) {\n\t\t\t\tdocuments.forEach(document -> {\n\t\t\t\t\tif (StringUtils.isEmpty(document.getFileStoreId())) {\n\t\t\t\t\t\tthrow new CustomException(\"NOC_FILE_EMPTY\", \"Filestore id is empty\");\n\t\t\t\t\t}\n\t\t\t\t\tif (!validDocumentTypes.contains(document.getDocumentType())) {\n\t\t\t\t\t\tthrow new CustomException(\"NOC_UNKNOWN_DOCUMENTTYPE\", document.getDocumentType() + \" is Unkown\");\n\t\t\t\t\t}\n\t\t\t\t\tif (requiredDocTypes.size() > 0 && documents.size() < requiredDocTypes.size()) {\n\t\t\t\t\t\tthrow new CustomException(\"NOC_MANDATORY_DOCUMENTYPE_MISSING\", requiredDocTypes.size() + \" Documents are requied \");\n\t\t\t\t\t} else if (requiredDocTypes.size() > 0) {\n\t\t\t\t\t\tList<String> addedDocTypes = new ArrayList<String>();\n\n\t\t\t\t\t\tdocuments.forEach(doc -> {\n\t\t\t\t\t\t\tString docType = doc.getDocumentType();\n\t\t\t\t\t\t\tint lastIndex = docType.lastIndexOf(\".\");\n\t\t\t\t\t\t\tString documentNs = \"\";\n\t\t\t\t\t\t\tif (lastIndex > 1) {\n\t\t\t\t\t\t\t\tdocumentNs = docType.substring(0, lastIndex);\n\t\t\t\t\t\t\t} else if (lastIndex == 1) {\n\t\t\t\t\t\t\t\tthrow new CustomException(\"NOC_INVALID_DOCUMENTTYPE\", document.getDocumentType() + \" is invalid\");\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tdocumentNs = docType;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\taddedDocTypes.add(documentNs);\n\t\t\t\t\t\t});\n\t\t\t\t\t\trequiredDocTypes.forEach(docType -> {\n\t\t\t\t\t\t\tif (!addedDocTypes.contains(docType)) {\n\t\t\t\t\t\t\t\tthrow new CustomException(\"NOC_MANDATORY_DOCUMENTYPE_MISSING\", \"Document Type \" + docType + \" is missing\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\taddedDocTypes.forEach(documentType -> {\n\t\t\t\t\t\t\tif (!docTypes.contains(documentType)) {\n\t\t\t\t\t\t\t\tthrow new CustomException(\"NOC_INVALID_DOCUMENTTYPE\", \"Document Type \" + documentType + \" is invalid for \" + noc.getNocType() + \" application\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else if (requiredDocTypes.size() > 0) {\n\t\t\t\tthrow new CustomException(\"NOC_MANDATORY_DOCUMENTYPE_MISSING\", \"Atleast \" + requiredDocTypes.size() + \" Documents are required \");\n\t\t\t}\n\t\t}\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tInfrastructurePackage theInfrastructurePackage = (InfrastructurePackage)EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);\n\t\tOCCIPackage theOCCIPackage = (OCCIPackage)EPackage.Registry.INSTANCE.getEPackage(OCCIPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tcontainerEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\t\tlinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tnetworklinkEClass.getESuperTypes().add(this.getLink());\n\t\tvolumesfromEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tcontainsEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tmachineEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\t\tvolumeEClass.getESuperTypes().add(theInfrastructurePackage.getStorage());\n\t\tnetworkEClass.getESuperTypes().add(theInfrastructurePackage.getNetwork());\n\t\tmachinegenericEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineamazonec2EClass.getESuperTypes().add(this.getMachine());\n\t\tmachinedigitaloceanEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinegooglecomputeengineEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineibmsoftlayerEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinemicrosoftazureEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinemicrosofthypervEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineopenstackEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinerackspaceEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevirtualboxEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarefusionEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarevcloudairEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarevsphereEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineexoscaleEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinegrid5000EClass.getESuperTypes().add(this.getMachine());\n\t\tclusterEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(arrayOfStringEClass, ArrayOfString.class, \"ArrayOfString\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArrayOfString_Values(), ecorePackage.getEString(), \"values\", null, 0, -1, ArrayOfString.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(containerEClass, org.eclipse.cmf.occi.docker.Container.class, \"Container\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getContainer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Containerid(), ecorePackage.getEString(), \"containerid\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Build(), ecorePackage.getEString(), \"build\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Command(), ecorePackage.getEString(), \"command\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Ports(), ecorePackage.getEString(), \"ports\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Expose(), ecorePackage.getEString(), \"expose\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Volumes(), ecorePackage.getEString(), \"volumes\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Environment(), ecorePackage.getEString(), \"environment\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_EnvFile(), ecorePackage.getEString(), \"envFile\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Net(), ecorePackage.getEString(), \"net\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Dns(), ecorePackage.getEString(), \"dns\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DnsSearch(), ecorePackage.getEString(), \"dnsSearch\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CapAdd(), ecorePackage.getEString(), \"capAdd\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CapDrop(), ecorePackage.getEString(), \"capDrop\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_WorkingDir(), ecorePackage.getEString(), \"workingDir\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Entrypoint(), ecorePackage.getEString(), \"entrypoint\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_User(), ecorePackage.getEString(), \"user\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DomainName(), ecorePackage.getEString(), \"domainName\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemLimit(), ecorePackage.getEBigInteger(), \"memLimit\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemorySwap(), ecorePackage.getEBigInteger(), \"memorySwap\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Privileged(), ecorePackage.getEBoolean(), \"privileged\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Restart(), ecorePackage.getEString(), \"restart\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_StdinOpen(), ecorePackage.getEBoolean(), \"stdinOpen\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Interactive(), ecorePackage.getEBoolean(), \"interactive\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuShares(), ecorePackage.getEBigInteger(), \"cpuShares\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Pid(), ecorePackage.getEString(), \"pid\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Ipc(), ecorePackage.getEString(), \"ipc\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_AddHost(), ecorePackage.getEString(), \"addHost\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MacAddress(), theInfrastructurePackage.getMac(), \"macAddress\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Rm(), ecorePackage.getEBoolean(), \"rm\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_SecurityOpt(), ecorePackage.getEString(), \"securityOpt\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Device(), ecorePackage.getEString(), \"device\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_LxcConf(), ecorePackage.getEString(), \"lxcConf\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_PublishAll(), ecorePackage.getEBoolean(), \"publishAll\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_ReadOnly(), ecorePackage.getEBoolean(), \"readOnly\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Monitored(), ecorePackage.getEBoolean(), \"monitored\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuUsed(), ecorePackage.getEBigInteger(), \"cpuUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryUsed(), ecorePackage.getEBigInteger(), \"memoryUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuPercent(), ecorePackage.getEString(), \"cpuPercent\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryPercent(), ecorePackage.getEString(), \"memoryPercent\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DiskUsed(), ecorePackage.getEBigInteger(), \"diskUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DiskPercent(), ecorePackage.getEString(), \"diskPercent\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_BandwidthUsed(), ecorePackage.getEBigInteger(), \"bandwidthUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_BandwidthPercent(), ecorePackage.getEString(), \"bandwidthPercent\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MonitoringInterval(), ecorePackage.getEBigInteger(), \"monitoringInterval\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuMaxValue(), ecorePackage.getEBigInteger(), \"cpuMaxValue\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryMaxValue(), ecorePackage.getEBigInteger(), \"memoryMaxValue\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CoreMax(), ecorePackage.getEBigInteger(), \"coreMax\", \"1\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuSetCpus(), ecorePackage.getEString(), \"cpuSetCpus\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuSetMems(), ecorePackage.getEString(), \"cpuSetMems\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Tty(), ecorePackage.getEBoolean(), \"tty\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Create(), null, \"create\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Stop(), null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Run(), null, \"run\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Pause(), null, \"pause\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Unpause(), null, \"unpause\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getContainer__Kill__String(), null, \"kill\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"signal\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(linkEClass, Link.class, \"Link\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLink_Alias(), ecorePackage.getEString(), \"alias\", null, 0, 1, Link.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(networklinkEClass, Networklink.class, \"Networklink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(volumesfromEClass, Volumesfrom.class, \"Volumesfrom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getVolumesfrom_Mode(), this.getMode(), \"mode\", \"readWrite\", 0, 1, Volumesfrom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(containsEClass, Contains.class, \"Contains\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(machineEClass, Machine.class, \"Machine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachine_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineInstallURL(), ecorePackage.getEString(), \"engineInstallURL\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineOpt(), ecorePackage.getEString(), \"engineOpt\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineInsecureRegistry(), ecorePackage.getEString(), \"engineInsecureRegistry\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineRegistryMirror(), ecorePackage.getEString(), \"engineRegistryMirror\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineLabel(), ecorePackage.getEString(), \"engineLabel\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineStorageDriver(), ecorePackage.getEString(), \"engineStorageDriver\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineEnv(), ecorePackage.getEString(), \"engineEnv\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_Swarm(), ecorePackage.getEBoolean(), \"swarm\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmImage(), ecorePackage.getEString(), \"swarmImage\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmMaster(), ecorePackage.getEBoolean(), \"swarmMaster\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmDiscovery(), ecorePackage.getEString(), \"swarmDiscovery\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmStrategy(), ecorePackage.getEString(), \"swarmStrategy\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmOpt(), ecorePackage.getEString(), \"swarmOpt\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmHost(), ecorePackage.getEString(), \"swarmHost\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmAddr(), ecorePackage.getEString(), \"swarmAddr\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmExperimental(), ecorePackage.getEString(), \"swarmExperimental\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_TlsSan(), ecorePackage.getEString(), \"tlsSan\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getMachine__Startall(), null, \"startall\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(volumeEClass, Volume.class, \"Volume\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getVolume_Driver(), ecorePackage.getEString(), \"driver\", \"local\", 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Labels(), ecorePackage.getEString(), \"labels\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Options(), ecorePackage.getEString(), \"options\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Source(), ecorePackage.getEString(), \"source\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Destination(), ecorePackage.getEString(), \"destination\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Mode(), ecorePackage.getEString(), \"mode\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Rw(), ecorePackage.getEString(), \"rw\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Propagation(), ecorePackage.getEString(), \"propagation\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(networkEClass, Network.class, \"Network\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNetwork_NetworkId(), ecorePackage.getEString(), \"networkId\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_AuxAddress(), ecorePackage.getEString(), \"auxAddress\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Driver(), ecorePackage.getEString(), \"driver\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Gateway(), ecorePackage.getEString(), \"gateway\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Internal(), ecorePackage.getEBoolean(), \"internal\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpRange(), ecorePackage.getEString(), \"ipRange\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpamDriver(), ecorePackage.getEString(), \"ipamDriver\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpamOpt(), ecorePackage.getEString(), \"ipamOpt\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Ipv6(), ecorePackage.getEBoolean(), \"ipv6\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Opt(), ecorePackage.getEString(), \"opt\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Subnet(), ecorePackage.getEString(), \"subnet\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegenericEClass, Machinegeneric.class, \"Machinegeneric\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegeneric_EnginePort(), ecorePackage.getEBigInteger(), \"enginePort\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_IpAddress(), ecorePackage.getEString(), \"ipAddress\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshKey(), ecorePackage.getEString(), \"sshKey\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshUser(), ecorePackage.getEString(), \"sshUser\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineamazonec2EClass, Machineamazonec2.class, \"Machineamazonec2\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineamazonec2_AccessKey(), ecorePackage.getEString(), \"accessKey\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Ami(), ecorePackage.getEString(), \"ami\", \"ami-4ae27e22\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_InstanceType(), ecorePackage.getEString(), \"instanceType\", \"t2.micro\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Region(), ecorePackage.getEString(), \"region\", \"us-east-1\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_RootSize(), ecorePackage.getEBigInteger(), \"rootSize\", \"16\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SecretKey(), ecorePackage.getEString(), \"secretKey\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SecurityGroup(), ecorePackage.getEString(), \"securityGroup\", \"docker-machine\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SessionToken(), ecorePackage.getEString(), \"sessionToken\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SubnetId(), ecorePackage.getEString(), \"subnetId\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_VpcId(), ecorePackage.getEString(), \"vpcId\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Zone(), ecorePackage.getEString(), \"zone\", \"a\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinedigitaloceanEClass, Machinedigitalocean.class, \"Machinedigitalocean\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinedigitalocean_AccessToken(), ecorePackage.getEString(), \"accessToken\", null, 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Image(), ecorePackage.getEString(), \"image\", \"docker\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Region(), ecorePackage.getEString(), \"region\", \"nyc3\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Size(), ecorePackage.getEString(), \"size\", \"512mb\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegooglecomputeengineEClass, Machinegooglecomputeengine.class, \"Machinegooglecomputeengine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Zone(), ecorePackage.getEString(), \"zone\", \"us-central1-a\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_MachineType(), ecorePackage.getEString(), \"machineType\", \"f1-micro\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Username(), ecorePackage.getEString(), \"username\", \"docker-user\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_InstanceName(), ecorePackage.getEString(), \"instanceName\", \"docker-machine\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Project(), ecorePackage.getEString(), \"project\", null, 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineibmsoftlayerEClass, Machineibmsoftlayer.class, \"Machineibmsoftlayer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineibmsoftlayer_ApiEndpoint(), ecorePackage.getEString(), \"apiEndpoint\", \"api.softlayer.com/rest/v3\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_User(), ecorePackage.getEString(), \"user\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Cpu(), ecorePackage.getEBigInteger(), \"cpu\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Domain(), ecorePackage.getEString(), \"domain\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_HourlyBilling(), ecorePackage.getEBoolean(), \"hourlyBilling\", \"false\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Image(), ecorePackage.getEString(), \"image\", \"UBUNTU_LATEST\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_LocalDisk(), ecorePackage.getEBoolean(), \"localDisk\", \"false\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PrivateNetOnly(), ecorePackage.getEBoolean(), \"privateNetOnly\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PublicVlanId(), ecorePackage.getEString(), \"publicVlanId\", \"0\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PrivateVlanId(), ecorePackage.getEString(), \"privateVlanId\", \"0\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinemicrosoftazureEClass, Machinemicrosoftazure.class, \"Machinemicrosoftazure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubscriptionId(), ecorePackage.getEString(), \"subscriptionId\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubscriptionCert(), ecorePackage.getEString(), \"subscriptionCert\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Environment(), ecorePackage.getEString(), \"environment\", \"AzurePublicCloud\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_MachineLocation(), ecorePackage.getEString(), \"machineLocation\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_ResourceGroup(), ecorePackage.getEString(), \"resourceGroup\", \"docker-machine\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Size(), ecorePackage.getEString(), \"size\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SshUser(), ecorePackage.getEString(), \"sshUser\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Vnet(), ecorePackage.getEString(), \"vnet\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Subnet(), ecorePackage.getEString(), \"subnet\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubnetPrefix(), ecorePackage.getEString(), \"subnetPrefix\", \"192.168.0.0/16\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_AvailabilitySet(), ecorePackage.getEString(), \"availabilitySet\", \"docker-machine\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_OpenPort(), ecorePackage.getEBigInteger(), \"openPort\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_PrivateIpAddress(), ecorePackage.getEString(), \"privateIpAddress\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_NoPublicIp(), ecorePackage.getEString(), \"noPublicIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_StaticPublicIp(), ecorePackage.getEString(), \"staticPublicIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_DockerPort(), ecorePackage.getEString(), \"dockerPort\", \"2376\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_UsePrivateIp(), ecorePackage.getEString(), \"usePrivateIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinemicrosofthypervEClass, Machinemicrosofthyperv.class, \"Machinemicrosofthyperv\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinemicrosofthyperv_VirtualSwitch(), ecorePackage.getEString(), \"virtualSwitch\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_StaticMacAddress(), theInfrastructurePackage.getMac(), \"staticMacAddress\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_VlanId(), ecorePackage.getEString(), \"vlanId\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineopenstackEClass, Machineopenstack.class, \"Machineopenstack\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineopenstack_FlavorId(), ecorePackage.getEString(), \"flavorId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_FlavorName(), ecorePackage.getEString(), \"flavorName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ImageId(), ecorePackage.getEString(), \"imageId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ImageName(), ecorePackage.getEString(), \"imageName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_AuthUrl(), ecorePackage.getEString(), \"authUrl\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_TenantName(), ecorePackage.getEString(), \"tenantName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_TenantId(), ecorePackage.getEString(), \"tenantId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_EndpointType(), ecorePackage.getEString(), \"endpointType\", \"publicURL\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_NetId(), ecorePackage.getEString(), \"netId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_NetName(), ecorePackage.getEString(), \"netName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SecGroups(), ecorePackage.getEString(), \"secGroups\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_FloatingIpPool(), ecorePackage.getEString(), \"floatingIpPool\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ActiveTimeOut(), ecorePackage.getEBigInteger(), \"activeTimeOut\", \"200\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_AvailabilityZone(), ecorePackage.getEString(), \"availabilityZone\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_DomainId(), ecorePackage.getEString(), \"domainId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_DomainName(), ecorePackage.getEString(), \"domainName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Insecure(), ecorePackage.getEBoolean(), \"insecure\", \"false\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_IpVersion(), ecorePackage.getEBigInteger(), \"ipVersion\", \"4\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_KeypairName(), ecorePackage.getEString(), \"keypairName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_PrivateKeyFile(), ecorePackage.getEString(), \"privateKeyFile\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SshUser(), ecorePackage.getEString(), \"sshUser\", \"root\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinerackspaceEClass, Machinerackspace.class, \"Machinerackspace\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinerackspace_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_EndPointType(), ecorePackage.getEString(), \"endPointType\", \"publicURL\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_ImageId(), ecorePackage.getEString(), \"imageId\", \"59a3fadd-93e7-4674-886a-64883e17115f\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_FlavorId(), ecorePackage.getEString(), \"flavorId\", \"general1-1\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_SshUser(), ecorePackage.getEString(), \"sshUser\", \"root\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_DockerInstall(), ecorePackage.getEBoolean(), \"dockerInstall\", \"true\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevirtualboxEClass, Machinevirtualbox.class, \"Machinevirtualbox\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevirtualbox_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostDNSResolver(), ecorePackage.getEBoolean(), \"hostDNSResolver\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_ImportBoot2DockerVM(), ecorePackage.getEString(), \"importBoot2DockerVM\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyCIDR(), ecorePackage.getEString(), \"hostOnlyCIDR\", \"192.168.99.1/24\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyNICType(), ecorePackage.getEString(), \"hostOnlyNICType\", \"82540EM\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyNICPromisc(), ecorePackage.getEString(), \"hostOnlyNICPromisc\", \"deny\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoShare(), ecorePackage.getEBoolean(), \"noShare\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoDNSProxy(), ecorePackage.getEBoolean(), \"noDNSProxy\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoVTXCheck(), ecorePackage.getEBoolean(), \"noVTXCheck\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_ShareFolder(), ecorePackage.getEString(), \"shareFolder\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarefusionEClass, Machinevmwarefusion.class, \"Machinevmwarefusion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarefusion_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"1024\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_NoShare(), ecorePackage.getEBoolean(), \"noShare\", \"false\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarevcloudairEClass, Machinevmwarevcloudair.class, \"Machinevmwarevcloudair\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Catalog(), ecorePackage.getEString(), \"catalog\", \"Public Catalog\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_CatalogItem(), ecorePackage.getEString(), \"catalogItem\", \"Ubuntu Server 12.04 LTS (amd64 20140927)\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_ComputeId(), ecorePackage.getEString(), \"computeId\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_CpuCount(), ecorePackage.getEBigInteger(), \"cpuCount\", \"1\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_DockerPort(), ecorePackage.getEBigInteger(), \"dockerPort\", \"2376\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Edgegateway(), ecorePackage.getEString(), \"edgegateway\", \"&lt;vdcid>\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"2048\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_VappName(), ecorePackage.getEString(), \"vappName\", \"&lt;autogenerated>\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Orgvdcnetwork(), ecorePackage.getEString(), \"orgvdcnetwork\", \"&lt;vdcid>-default-routed\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Provision(), ecorePackage.getEBoolean(), \"provision\", \"true\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_PublicIp(), ecorePackage.getEString(), \"publicIp\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_VdcId(), ecorePackage.getEString(), \"vdcId\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarevsphereEClass, Machinevmwarevsphere.class, \"Machinevmwarevsphere\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarevsphere_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_ComputeIp(), ecorePackage.getEString(), \"computeIp\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_CpuCount(), ecorePackage.getEBigInteger(), \"cpuCount\", \"2\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Datacenter(), ecorePackage.getEString(), \"datacenter\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Datastore(), ecorePackage.getEString(), \"datastore\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"2048\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Network(), ecorePackage.getEString(), \"network\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Pool(), ecorePackage.getEString(), \"pool\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Vcenter(), ecorePackage.getEString(), \"vcenter\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineexoscaleEClass, Machineexoscale.class, \"Machineexoscale\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineexoscale_Url(), ecorePackage.getEString(), \"url\", \"https://api.exoscale.ch/compute\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_ApiSecretKey(), ecorePackage.getEString(), \"apiSecretKey\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_InstanceProfile(), ecorePackage.getEString(), \"instanceProfile\", \"small\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_Image(), ecorePackage.getEString(), \"image\", \"ubuntu-16.04\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_SecurityGroup(), ecorePackage.getEString(), \"securityGroup\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_AvailabilityZone(), ecorePackage.getEString(), \"availabilityZone\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_SshUser(), ecorePackage.getEString(), \"sshUser\", \"ubuntu\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_UserData(), ecorePackage.getEString(), \"userData\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_AffinityGroup(), ecorePackage.getEString(), \"affinityGroup\", \"docker-machine\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegrid5000EClass, Machinegrid5000.class, \"Machinegrid5000\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegrid5000_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Site(), ecorePackage.getEString(), \"site\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Walltime(), ecorePackage.getEString(), \"walltime\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_SshPrivateKey(), ecorePackage.getEString(), \"sshPrivateKey\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_SshPublicKey(), ecorePackage.getEString(), \"sshPublicKey\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_ResourceProperties(), ecorePackage.getEString(), \"resourceProperties\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_UseJobReservation(), ecorePackage.getEString(), \"useJobReservation\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_HostToProvision(), ecorePackage.getEString(), \"hostToProvision\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(clusterEClass, Cluster.class, \"Cluster\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCluster_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Cluster.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(modeEEnum, Mode.class, \"Mode\");\n\t\taddEEnumLiteral(modeEEnum, Mode.READ_WRITE);\n\t\taddEEnumLiteral(modeEEnum, Mode.READ);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t}", "public void setUseFiles(boolean yesno);", "@Test\n\tpublic void testValidate_14()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\n\t\tfixture.validate(fileName, validateFileExtension);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "public void testGetDocumentForSanity() {\n String document = myAuthorizationConfiguration.getXmlFile();\n assertEquals(XMLAuthorizationMockFactory.RELATIVE_XML_DOCUMENT, document);\n }", "@Override\r\n\tprotected void isBodyValid() {\r\n\t\tif( withinButton.isSelected() \r\n\t\t\t\t&& withinField.getText().equals(\"\")){\r\n//\t\t\tinformation.setText(\"When --within is selected you must specify a file.\");\r\n\t\t\tvalidBody = false;\r\n\t\t}\r\n\t\telse \r\n\t\t\tvalidBody = true;\r\n\t\t\r\n\t\tokForm();\r\n\r\n\t}", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "public void SetTestFiles(File[] testFiles)\n\t{\n\t\tthis.testFiles = testFiles;\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCapellacorePackage theCapellacorePackage = (CapellacorePackage)EPackage.Registry.INSTANCE.getEPackage(CapellacorePackage.eNS_URI);\n\t\tFaPackage theFaPackage = (FaPackage)EPackage.Registry.INSTANCE.getEPackage(FaPackage.eNS_URI);\n\t\tRequirementPackage theRequirementPackage = (RequirementPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementPackage.eNS_URI);\n\t\tCapellacommonPackage theCapellacommonPackage = (CapellacommonPackage)EPackage.Registry.INSTANCE.getEPackage(CapellacommonPackage.eNS_URI);\n\t\tInformationPackage theInformationPackage = (InformationPackage)EPackage.Registry.INSTANCE.getEPackage(InformationPackage.eNS_URI);\n\t\tCommunicationPackage theCommunicationPackage = (CommunicationPackage)EPackage.Registry.INSTANCE.getEPackage(CommunicationPackage.eNS_URI);\n\t\tModellingcorePackage theModellingcorePackage = (ModellingcorePackage)EPackage.Registry.INSTANCE.getEPackage(ModellingcorePackage.eNS_URI);\n\t\tEpbsPackage theEpbsPackage = (EpbsPackage)EPackage.Registry.INSTANCE.getEPackage(EpbsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tblockArchitecturePkgEClass.getESuperTypes().add(theCapellacorePackage.getModellingArchitecturePkg());\n\t\tblockArchitectureEClass.getESuperTypes().add(theFaPackage.getAbstractFunctionalArchitecture());\n\t\tblockEClass.getESuperTypes().add(theCapellacorePackage.getModellingBlock());\n\t\tblockEClass.getESuperTypes().add(theFaPackage.getAbstractFunctionalBlock());\n\t\tcomponentArchitectureEClass.getESuperTypes().add(this.getBlockArchitecture());\n\t\tcomponentEClass.getESuperTypes().add(this.getBlock());\n\t\tcomponentEClass.getESuperTypes().add(theInformationPackage.getPartitionableElement());\n\t\tcomponentEClass.getESuperTypes().add(this.getInterfaceAllocator());\n\t\tcomponentEClass.getESuperTypes().add(theCommunicationPackage.getCommunicationLinkExchanger());\n\t\tabstractActorEClass.getESuperTypes().add(this.getComponent());\n\t\tabstractActorEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvedElement());\n\t\tpartEClass.getESuperTypes().add(theInformationPackage.getPartition());\n\t\tpartEClass.getESuperTypes().add(theModellingcorePackage.getInformationsExchanger());\n\t\tpartEClass.getESuperTypes().add(this.getDeployableElement());\n\t\tpartEClass.getESuperTypes().add(this.getDeploymentTarget());\n\t\tpartEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tarchitectureAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tcomponentAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tsystemComponentEClass.getESuperTypes().add(this.getComponent());\n\t\tsystemComponentEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvedElement());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCommunicationPackage.getMessageReferencePkg());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCapellacorePackage.getAbstractDependenciesPkg());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCapellacorePackage.getAbstractExchangeItemPkg());\n\t\tinterfaceEClass.getESuperTypes().add(theCapellacorePackage.getGeneralClass());\n\t\tinterfaceEClass.getESuperTypes().add(this.getInterfaceAllocator());\n\t\tinterfaceImplementationEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tinterfaceUseEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tprovidedInterfaceLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\trequiredInterfaceLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tinterfaceAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tinterfaceAllocatorEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tactorCapabilityRealizationInvolvementEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvement());\n\t\tsystemComponentCapabilityRealizationInvolvementEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvement());\n\t\tcomponentContextEClass.getESuperTypes().add(this.getComponent());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theInformationPackage.getAbstractEventOperation());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theModellingcorePackage.getFinalizableElement());\n\t\tdeployableElementEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tdeploymentTargetEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tabstractDeploymentLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tabstractPathInvolvedElementEClass.getESuperTypes().add(theCapellacorePackage.getInvolvedElement());\n\t\tabstractPhysicalArtifactEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tabstractPhysicalLinkEndEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tabstractPhysicalPathLinkEClass.getESuperTypes().add(theFaPackage.getComponentExchangeAllocator());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPhysicalPathLink());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPhysicalArtifact());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tphysicalLinkCategoryEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tphysicalLinkEndEClass.getESuperTypes().add(this.getAbstractPhysicalLinkEnd());\n\t\tphysicalLinkRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tphysicalPathEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tphysicalPathEClass.getESuperTypes().add(theFaPackage.getComponentExchangeAllocator());\n\t\tphysicalPathEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tphysicalPathEClass.getESuperTypes().add(theCapellacorePackage.getInvolverElement());\n\t\tphysicalPathInvolvementEClass.getESuperTypes().add(theCapellacorePackage.getInvolvement());\n\t\tphysicalPathReferenceEClass.getESuperTypes().add(this.getPhysicalPathInvolvement());\n\t\tphysicalPathRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tphysicalPortEClass.getESuperTypes().add(theInformationPackage.getPartition());\n\t\tphysicalPortEClass.getESuperTypes().add(theInformationPackage.getPort());\n\t\tphysicalPortEClass.getESuperTypes().add(this.getAbstractPhysicalArtifact());\n\t\tphysicalPortEClass.getESuperTypes().add(theModellingcorePackage.getInformationsExchanger());\n\t\tphysicalPortEClass.getESuperTypes().add(this.getAbstractPhysicalLinkEnd());\n\t\tphysicalPortRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(blockArchitecturePkgEClass, BlockArchitecturePkg.class, \"BlockArchitecturePkg\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(blockArchitectureEClass, BlockArchitecture.class, \"BlockArchitecture\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlockArchitecture_OwnedRequirementPkgs(), theRequirementPackage.getRequirementsPkg(), null, \"ownedRequirementPkgs\", null, 0, -1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedAbstractCapabilityPkg(), theCapellacommonPackage.getAbstractCapabilityPkg(), null, \"ownedAbstractCapabilityPkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedInterfacePkg(), this.getInterfacePkg(), null, \"ownedInterfacePkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedDataPkg(), theInformationPackage.getDataPkg(), null, \"ownedDataPkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_ProvisionedArchitectureAllocations(), this.getArchitectureAllocation(), this.getArchitectureAllocation_AllocatingArchitecture(), \"provisionedArchitectureAllocations\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_ProvisioningArchitectureAllocations(), this.getArchitectureAllocation(), this.getArchitectureAllocation_AllocatedArchitecture(), \"provisioningArchitectureAllocations\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_AllocatedArchitectures(), this.getBlockArchitecture(), null, \"allocatedArchitectures\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_AllocatingArchitectures(), this.getBlockArchitecture(), null, \"allocatingArchitectures\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(blockEClass, Block.class, \"Block\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlock_OwnedAbstractCapabilityPkg(), theCapellacommonPackage.getAbstractCapabilityPkg(), null, \"ownedAbstractCapabilityPkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedInterfacePkg(), this.getInterfacePkg(), null, \"ownedInterfacePkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedDataPkg(), theInformationPackage.getDataPkg(), null, \"ownedDataPkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedStateMachines(), theCapellacommonPackage.getStateMachine(), null, \"ownedStateMachines\", null, 0, -1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentArchitectureEClass, ComponentArchitecture.class, \"ComponentArchitecture\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(componentEClass, Component.class, \"Component\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponent_OwnedInterfaceUses(), this.getInterfaceUse(), null, \"ownedInterfaceUses\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_UsedInterfaceLinks(), this.getInterfaceUse(), this.getInterfaceUse_InterfaceUser(), \"usedInterfaceLinks\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_UsedInterfaces(), this.getInterface(), this.getInterface_UserComponents(), \"usedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedInterfaceImplementations(), this.getInterfaceImplementation(), null, \"ownedInterfaceImplementations\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ImplementedInterfaceLinks(), this.getInterfaceImplementation(), this.getInterfaceImplementation_InterfaceImplementor(), \"implementedInterfaceLinks\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ImplementedInterfaces(), this.getInterface(), this.getInterface_ImplementorComponents(), \"implementedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvisionedComponentAllocations(), this.getComponentAllocation(), this.getComponentAllocation_AllocatingComponent(), \"provisionedComponentAllocations\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvisioningComponentAllocations(), this.getComponentAllocation(), this.getComponentAllocation_AllocatedComponent(), \"provisioningComponentAllocations\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_AllocatedComponents(), this.getComponent(), null, \"allocatedComponents\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_AllocatingComponents(), this.getComponent(), null, \"allocatingComponents\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvidedInterfaces(), this.getInterface(), null, \"providedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_RequiredInterfaces(), this.getInterface(), null, \"requiredInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedComponentPorts(), theFaPackage.getComponentPort(), null, \"containedComponentPorts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedParts(), this.getPart(), null, \"containedParts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedPhysicalPorts(), this.getPhysicalPort(), null, \"containedPhysicalPorts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalPath(), this.getPhysicalPath(), null, \"ownedPhysicalPath\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalLinks(), this.getPhysicalLink(), null, \"ownedPhysicalLinks\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalLinkCategories(), this.getPhysicalLinkCategory(), null, \"ownedPhysicalLinkCategories\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractActorEClass, AbstractActor.class, \"AbstractActor\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(partEClass, Part.class, \"Part\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPart_ProvidedInterfaces(), this.getInterface(), null, \"providedInterfaces\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_RequiredInterfaces(), this.getInterface(), null, \"requiredInterfaces\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_OwnedDeploymentLinks(), this.getAbstractDeploymentLink(), null, \"ownedDeploymentLinks\", null, 0, -1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_DeployedParts(), this.getPart(), null, \"deployedParts\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_DeployingParts(), this.getPart(), null, \"deployingParts\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_OwnedAbstractType(), theModellingcorePackage.getAbstractType(), null, \"ownedAbstractType\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_MaxValue(), ecorePackage.getEInt(), \"maxValue\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_MinValue(), ecorePackage.getEInt(), \"minValue\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_CurrentMass(), ecorePackage.getEInt(), \"currentMass\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEBoolean(), \"isOverhead\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEBoolean(), \"isSatured\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEInt(), \"computeMass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, null, \"print\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(architectureAllocationEClass, ArchitectureAllocation.class, \"ArchitectureAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getArchitectureAllocation_AllocatedArchitecture(), this.getBlockArchitecture(), this.getBlockArchitecture_ProvisioningArchitectureAllocations(), \"allocatedArchitecture\", null, 1, 1, ArchitectureAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArchitectureAllocation_AllocatingArchitecture(), this.getBlockArchitecture(), this.getBlockArchitecture_ProvisionedArchitectureAllocations(), \"allocatingArchitecture\", null, 1, 1, ArchitectureAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentAllocationEClass, ComponentAllocation.class, \"ComponentAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentAllocation_AllocatedComponent(), this.getComponent(), this.getComponent_ProvisioningComponentAllocations(), \"allocatedComponent\", null, 0, 1, ComponentAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponentAllocation_AllocatingComponent(), this.getComponent(), this.getComponent_ProvisionedComponentAllocations(), \"allocatingComponent\", null, 0, 1, ComponentAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(systemComponentEClass, SystemComponent.class, \"SystemComponent\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSystemComponent_DataComponent(), ecorePackage.getEBoolean(), \"dataComponent\", null, 0, 1, SystemComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSystemComponent_DataType(), theCapellacorePackage.getClassifier(), null, \"dataType\", null, 0, -1, SystemComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSystemComponent_ParticipationsInCapabilityRealizations(), this.getSystemComponentCapabilityRealizationInvolvement(), null, \"participationsInCapabilityRealizations\", null, 0, -1, SystemComponent.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfacePkgEClass, InterfacePkg.class, \"InterfacePkg\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfacePkg_OwnedInterfaces(), this.getInterface(), null, \"ownedInterfaces\", null, 0, -1, InterfacePkg.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfacePkg_OwnedInterfacePkgs(), this.getInterfacePkg(), null, \"ownedInterfacePkgs\", null, 0, -1, InterfacePkg.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceEClass, Interface.class, \"Interface\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInterface_Mechanism(), ecorePackage.getEString(), \"mechanism\", null, 0, 1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInterface_Structural(), ecorePackage.getEBoolean(), \"structural\", \"true\", 0, 1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ImplementorComponents(), this.getComponent(), this.getComponent_ImplementedInterfaces(), \"implementorComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_UserComponents(), this.getComponent(), this.getComponent_UsedInterfaces(), \"userComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_InterfaceImplementations(), this.getInterfaceImplementation(), null, \"interfaceImplementations\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_InterfaceUses(), this.getInterfaceUse(), null, \"interfaceUses\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvisioningInterfaceAllocations(), this.getInterfaceAllocation(), this.getInterfaceAllocation_AllocatedInterface(), \"provisioningInterfaceAllocations\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_AllocatingInterfaces(), this.getInterface(), null, \"allocatingInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_AllocatingComponents(), this.getComponent(), null, \"allocatingComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ExchangeItems(), theInformationPackage.getExchangeItem(), null, \"exchangeItems\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_OwnedExchangeItemAllocations(), this.getExchangeItemAllocation(), null, \"ownedExchangeItemAllocations\", null, 0, -1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RequiringComponents(), this.getComponent(), null, \"requiringComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RequiringComponentPorts(), theFaPackage.getComponentPort(), null, \"requiringComponentPorts\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvidingComponents(), this.getComponent(), null, \"providingComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvidingComponentPorts(), theFaPackage.getComponentPort(), null, \"providingComponentPorts\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizingLogicalInterfaces(), this.getInterface(), null, \"realizingLogicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizedContextInterfaces(), this.getInterface(), null, \"realizedContextInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizingPhysicalInterfaces(), this.getInterface(), null, \"realizingPhysicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizedLogicalInterfaces(), this.getInterface(), null, \"realizedLogicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceImplementationEClass, InterfaceImplementation.class, \"InterfaceImplementation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceImplementation_InterfaceImplementor(), this.getComponent(), this.getComponent_ImplementedInterfaceLinks(), \"interfaceImplementor\", null, 1, 1, InterfaceImplementation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceImplementation_ImplementedInterface(), this.getInterface(), null, \"implementedInterface\", null, 1, 1, InterfaceImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceUseEClass, InterfaceUse.class, \"InterfaceUse\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceUse_InterfaceUser(), this.getComponent(), this.getComponent_UsedInterfaceLinks(), \"interfaceUser\", null, 1, 1, InterfaceUse.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceUse_UsedInterface(), this.getInterface(), null, \"usedInterface\", null, 1, 1, InterfaceUse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(providedInterfaceLinkEClass, ProvidedInterfaceLink.class, \"ProvidedInterfaceLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getProvidedInterfaceLink_Interface(), this.getInterface(), null, \"interface\", null, 1, 1, ProvidedInterfaceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(requiredInterfaceLinkEClass, RequiredInterfaceLink.class, \"RequiredInterfaceLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRequiredInterfaceLink_Interface(), this.getInterface(), null, \"interface\", null, 1, 1, RequiredInterfaceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceAllocationEClass, InterfaceAllocation.class, \"InterfaceAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceAllocation_AllocatedInterface(), this.getInterface(), this.getInterface_ProvisioningInterfaceAllocations(), \"allocatedInterface\", null, 1, 1, InterfaceAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocation_AllocatingInterfaceAllocator(), this.getInterfaceAllocator(), this.getInterfaceAllocator_ProvisionedInterfaceAllocations(), \"allocatingInterfaceAllocator\", null, 1, 1, InterfaceAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(interfaceAllocatorEClass, InterfaceAllocator.class, \"InterfaceAllocator\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceAllocator_OwnedInterfaceAllocations(), this.getInterfaceAllocation(), null, \"ownedInterfaceAllocations\", null, 0, -1, InterfaceAllocator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocator_ProvisionedInterfaceAllocations(), this.getInterfaceAllocation(), this.getInterfaceAllocation_AllocatingInterfaceAllocator(), \"provisionedInterfaceAllocations\", null, 0, -1, InterfaceAllocator.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocator_AllocatedInterfaces(), this.getInterface(), null, \"allocatedInterfaces\", null, 0, -1, InterfaceAllocator.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(actorCapabilityRealizationInvolvementEClass, ActorCapabilityRealizationInvolvement.class, \"ActorCapabilityRealizationInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(systemComponentCapabilityRealizationInvolvementEClass, SystemComponentCapabilityRealizationInvolvement.class, \"SystemComponentCapabilityRealizationInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(componentContextEClass, ComponentContext.class, \"ComponentContext\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(exchangeItemAllocationEClass, ExchangeItemAllocation.class, \"ExchangeItemAllocation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getExchangeItemAllocation_SendProtocol(), theCommunicationPackage.getCommunicationLinkProtocol(), \"sendProtocol\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExchangeItemAllocation_ReceiveProtocol(), theCommunicationPackage.getCommunicationLinkProtocol(), \"receiveProtocol\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getExchangeItemAllocation_AllocatedItem(), theInformationPackage.getExchangeItem(), null, \"allocatedItem\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getExchangeItemAllocation_AllocatingInterface(), this.getInterface(), null, \"allocatingInterface\", null, 0, 1, ExchangeItemAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deployableElementEClass, DeployableElement.class, \"DeployableElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeployableElement_DeployingLinks(), this.getAbstractDeploymentLink(), null, \"deployingLinks\", null, 0, -1, DeployableElement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deploymentTargetEClass, DeploymentTarget.class, \"DeploymentTarget\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeploymentTarget_DeploymentLinks(), this.getAbstractDeploymentLink(), null, \"deploymentLinks\", null, 0, -1, DeploymentTarget.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractDeploymentLinkEClass, AbstractDeploymentLink.class, \"AbstractDeploymentLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractDeploymentLink_DeployedElement(), this.getDeployableElement(), null, \"deployedElement\", null, 1, 1, AbstractDeploymentLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAbstractDeploymentLink_Location(), this.getDeploymentTarget(), null, \"location\", null, 1, 1, AbstractDeploymentLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPathInvolvedElementEClass, AbstractPathInvolvedElement.class, \"AbstractPathInvolvedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(abstractPhysicalArtifactEClass, AbstractPhysicalArtifact.class, \"AbstractPhysicalArtifact\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractPhysicalArtifact_AllocatorConfigurationItems(), theEpbsPackage.getConfigurationItem(), theEpbsPackage.getConfigurationItem_AllocatedPhysicalArtifacts(), \"allocatorConfigurationItems\", null, 0, -1, AbstractPhysicalArtifact.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPhysicalLinkEndEClass, AbstractPhysicalLinkEnd.class, \"AbstractPhysicalLinkEnd\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractPhysicalLinkEnd_InvolvedLinks(), this.getPhysicalLink(), null, \"involvedLinks\", null, 0, -1, AbstractPhysicalLinkEnd.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPhysicalPathLinkEClass, AbstractPhysicalPathLink.class, \"AbstractPhysicalPathLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalLinkEClass, PhysicalLink.class, \"PhysicalLink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLink_LinkEnds(), this.getAbstractPhysicalLinkEnd(), null, \"linkEnds\", null, 2, 2, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedComponentExchangeFunctionalExchangeAllocations(), theFaPackage.getComponentExchangeFunctionalExchangeAllocation(), null, \"ownedComponentExchangeFunctionalExchangeAllocations\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedPhysicalLinkEnds(), this.getPhysicalLinkEnd(), null, \"ownedPhysicalLinkEnds\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedPhysicalLinkRealizations(), this.getPhysicalLinkRealization(), null, \"ownedPhysicalLinkRealizations\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_Categories(), this.getPhysicalLinkCategory(), this.getPhysicalLinkCategory_Links(), \"categories\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_SourcePhysicalPort(), this.getPhysicalPort(), null, \"sourcePhysicalPort\", null, 0, 1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_TargetPhysicalPort(), this.getPhysicalPort(), null, \"targetPhysicalPort\", null, 0, 1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_RealizedPhysicalLinks(), this.getPhysicalLink(), null, \"realizedPhysicalLinks\", null, 0, -1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_RealizingPhysicalLinks(), this.getPhysicalLink(), null, \"realizingPhysicalLinks\", null, 0, -1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkCategoryEClass, PhysicalLinkCategory.class, \"PhysicalLinkCategory\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLinkCategory_Links(), this.getPhysicalLink(), this.getPhysicalLink_Categories(), \"links\", null, 0, -1, PhysicalLinkCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkEndEClass, PhysicalLinkEnd.class, \"PhysicalLinkEnd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLinkEnd_Port(), this.getPhysicalPort(), null, \"port\", null, 0, 1, PhysicalLinkEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLinkEnd_Part(), this.getPart(), null, \"part\", null, 0, 1, PhysicalLinkEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkRealizationEClass, PhysicalLinkRealization.class, \"PhysicalLinkRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalPathEClass, PhysicalPath.class, \"PhysicalPath\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPath_InvolvedLinks(), this.getAbstractPhysicalPathLink(), null, \"involvedLinks\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_OwnedPhysicalPathInvolvements(), this.getPhysicalPathInvolvement(), null, \"ownedPhysicalPathInvolvements\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_FirstPhysicalPathInvolvements(), this.getPhysicalPathInvolvement(), null, \"firstPhysicalPathInvolvements\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_OwnedPhysicalPathRealizations(), this.getPhysicalPathRealization(), null, \"ownedPhysicalPathRealizations\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_RealizedPhysicalPaths(), this.getPhysicalPath(), null, \"realizedPhysicalPaths\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_RealizingPhysicalPaths(), this.getPhysicalPath(), null, \"realizingPhysicalPaths\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathInvolvementEClass, PhysicalPathInvolvement.class, \"PhysicalPathInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPathInvolvement_NextInvolvements(), this.getPhysicalPathInvolvement(), null, \"nextInvolvements\", null, 0, -1, PhysicalPathInvolvement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_PreviousInvolvements(), this.getPhysicalPathInvolvement(), null, \"previousInvolvements\", null, 0, -1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_InvolvedElement(), this.getAbstractPathInvolvedElement(), null, \"involvedElement\", null, 0, 1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_InvolvedComponent(), this.getComponent(), null, \"involvedComponent\", null, 0, 1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathReferenceEClass, PhysicalPathReference.class, \"PhysicalPathReference\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPathReference_ReferencedPhysicalPath(), this.getPhysicalPath(), null, \"referencedPhysicalPath\", null, 0, 1, PhysicalPathReference.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathRealizationEClass, PhysicalPathRealization.class, \"PhysicalPathRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalPortEClass, PhysicalPort.class, \"PhysicalPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPort_OwnedComponentPortAllocations(), theFaPackage.getComponentPortAllocation(), null, \"ownedComponentPortAllocations\", null, 0, -1, PhysicalPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_OwnedPhysicalPortRealizations(), this.getPhysicalPortRealization(), null, \"ownedPhysicalPortRealizations\", null, 0, -1, PhysicalPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_AllocatedComponentPorts(), theFaPackage.getComponentPort(), theFaPackage.getComponentPort_AllocatingPhysicalPorts(), \"allocatedComponentPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_RealizedPhysicalPorts(), this.getPhysicalPort(), null, \"realizedPhysicalPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_RealizingPhysicalPorts(), this.getPhysicalPort(), null, \"realizingPhysicalPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPortRealizationEClass, PhysicalPortRealization.class, \"PhysicalPortRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.polarsys.org/kitalpha/dsl/2007/dslfactory\n\t\tcreateDslfactoryAnnotations();\n\t\t// http://www.polarsys.org/kitalpha/ecore/documentation\n\t\tcreateDocumentationAnnotations();\n\t\t// http://www.polarsys.org/capella/semantic\n\t\tcreateSemanticAnnotations();\n\t\t// http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping\n\t\tcreateMappingAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/BusinessInformation\n\t\tcreateBusinessInformationAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/UML2Mapping\n\t\tcreateUML2MappingAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/ImpactAnalysis/Segment\n\t\tcreateSegmentAnnotations();\n\t\t// http://www.polarsys.org/capella/derived\n\t\tcreateDerivedAnnotations();\n\t\t// aspect\n\t\tcreateAspectAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/ImpactAnalysis/Ignore\n\t\tcreateIgnoreAnnotations();\n\t}", "private PackageValidator() {}", "public void initializePackageContents() {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n bitShiftExprEClass.getESuperTypes().add(this.getExpr());\n bitShiftExprChildEClass.getESuperTypes().add(this.getExpr());\n additiveExprEClass.getESuperTypes().add(this.getBitShiftExprChild());\n additiveExprChildEClass.getESuperTypes().add(this.getBitShiftExprChild());\n multiplicativeExprEClass.getESuperTypes().add(this.getAdditiveExprChild());\n multiplicativeExprChildEClass.getESuperTypes().add(this.getAdditiveExprChild());\n numberEClass.getESuperTypes().add(this.getMultiplicativeExprChild());\n\n // Initialize classes and features; add operations and parameters\n initEClass(calcEClass, Calc.class, \"Calc\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCalc_Expr(), this.getExpr(), null, \"expr\", null, 1, -1, Calc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(exprEClass, Expr.class, \"Expr\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(bitShiftExprEClass, BitShiftExpr.class, \"BitShiftExpr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getBitShiftExpr_Children(), this.getBitShiftExprChild(), null, \"children\", null, 2, -1, BitShiftExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getBitShiftExpr_Operators(), this.getBitShiftOp(), \"operators\", null, 1, -1, BitShiftExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bitShiftExprChildEClass, BitShiftExprChild.class, \"BitShiftExprChild\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(additiveExprEClass, AdditiveExpr.class, \"AdditiveExpr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdditiveExpr_Children(), this.getAdditiveExprChild(), null, \"children\", null, 2, -1, AdditiveExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdditiveExpr_Operators(), this.getAdditiveOp(), \"operators\", null, 1, -1, AdditiveExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(additiveExprChildEClass, AdditiveExprChild.class, \"AdditiveExprChild\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(multiplicativeExprEClass, MultiplicativeExpr.class, \"MultiplicativeExpr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMultiplicativeExpr_Children(), this.getMultiplicativeExprChild(), null, \"children\", null, 2, -1, MultiplicativeExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMultiplicativeExpr_Operators(), this.getMultiplicativeOp(), \"operators\", null, 1, -1, MultiplicativeExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(multiplicativeExprChildEClass, MultiplicativeExprChild.class, \"MultiplicativeExprChild\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(numberEClass, org.emftext.language.arithm.Number.class, \"Number\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNumber_Value(), ecorePackage.getEInt(), \"value\", null, 1, 1, org.emftext.language.arithm.Number.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Initialize enums and add enum literals\n initEEnum(bitShiftOpEEnum, BitShiftOp.class, \"BitShiftOp\");\n addEEnumLiteral(bitShiftOpEEnum, BitShiftOp.LEFT);\n addEEnumLiteral(bitShiftOpEEnum, BitShiftOp.RIGHT);\n\n initEEnum(additiveOpEEnum, AdditiveOp.class, \"AdditiveOp\");\n addEEnumLiteral(additiveOpEEnum, AdditiveOp.ADD);\n addEEnumLiteral(additiveOpEEnum, AdditiveOp.SUB);\n\n initEEnum(multiplicativeOpEEnum, MultiplicativeOp.class, \"MultiplicativeOp\");\n addEEnumLiteral(multiplicativeOpEEnum, MultiplicativeOp.MUL);\n addEEnumLiteral(multiplicativeOpEEnum, MultiplicativeOp.DIV);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void validate() throws BuildException {\n if (pack == null) {\n throw new BuildException(\"A package must be specified\");\n }\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(metadataEClass, Metadata.class, \"Metadata\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMetadata_Gamename(), ecorePackage.getEString(), \"Gamename\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Shortname(), ecorePackage.getEString(), \"Shortname\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Timing(), ecorePackage.getEString(), \"Timing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Adressing(), ecorePackage.getEString(), \"Adressing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_CartridgeType(), ecorePackage.getEString(), \"CartridgeType\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RomSize(), ecorePackage.getEString(), \"RomSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RamSize(), ecorePackage.getEString(), \"RamSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Licensee(), ecorePackage.getEString(), \"Licensee\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Country(), ecorePackage.getEString(), \"Country\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Videoformat(), ecorePackage.getEString(), \"Videoformat\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Version(), ecorePackage.getEInt(), \"Version\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_IdeVersion(), ecorePackage.getEString(), \"IdeVersion\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tOCCIPackage theOCCIPackage = (OCCIPackage)EPackage.Registry.INSTANCE.getEPackage(OCCIPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tldprojectEClass.getESuperTypes().add(theOCCIPackage.getResource());\n\t\tlddatabaselinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tldprojectlinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tldnodeEClass.getESuperTypes().add(theOCCIPackage.getResource());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(ldprojectEClass, Ldproject.class, \"Ldproject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLdproject_Name(), theOCCIPackage.getString(), \"name\", null, 1, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdproject_Lifecycle(), this.getLifecycle(), \"lifecycle\", null, 0, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdproject_Robustness(), this.getRobustness(), \"robustness\", null, 0, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Publish(), null, \"publish\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Unpublish(), null, \"unpublish\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Update(), null, \"update\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(lddatabaselinkEClass, Lddatabaselink.class, \"Lddatabaselink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLddatabaselink_Database(), theOCCIPackage.getString(), \"database\", \"datacore\", 1, 1, Lddatabaselink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLddatabaselink_Port(), theOCCIPackage.getNumber(), \"port\", \"27017\", 0, 1, Lddatabaselink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ldprojectlinkEClass, Ldprojectlink.class, \"Ldprojectlink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ldnodeEClass, Ldnode.class, \"Ldnode\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLdnode_Name(), theOCCIPackage.getString(), \"name\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_MongoHosts(), theOCCIPackage.getString(), \"mongoHosts\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_MainProject(), theOCCIPackage.getString(), \"mainProject\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_AnalyticsReadPreference(), theOCCIPackage.getString(), \"analyticsReadPreference\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(lifecycleEEnum, Lifecycle.class, \"Lifecycle\");\n\t\taddEEnumLiteral(lifecycleEEnum, Lifecycle.DRAFT);\n\t\taddEEnumLiteral(lifecycleEEnum, Lifecycle.PUBLISHED);\n\n\t\tinitEEnum(robustnessEEnum, Robustness.class, \"Robustness\");\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.CLUSTER);\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.NODE);\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.NONE);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// OCCIE2Ecore\n\t\tcreateOCCIE2EcoreAnnotations();\n\t}", "public void testGetDocumentForSuccess() {\n String document = myAuthorizationConfiguration.getXmlFile();\n assertNotNull(document);\n }", "public void initializePackageContents() {\n if(isInitialized) {\n return;\n }\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n modularizationModelEClass.getESuperTypes().add(this.getNamedElement());\n moduleEClass.getESuperTypes().add(this.getNamedElement());\n classEClass.getESuperTypes().add(this.getNamedElement());\n\n // Initialize classes, features, and operations; add parameters\n initEClass(namedElementEClass, NamedElement.class, \"NamedElement\", !IS_ABSTRACT, !IS_INTERFACE,\n IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class,\n !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(modularizationModelEClass, ModularizationModel.class, \"ModularizationModel\", !IS_ABSTRACT,\n !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModularizationModel_Modules(), this.getModule(), null, \"modules\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n initEReference(getModularizationModel_Classes(), this.getClass_(), null, \"classes\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n initEClass(moduleEClass, Module.class, \"Module\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModule_Classes(), this.getClass_(), this.getClass_Module(), \"classes\", null, 0, -1,\n Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(classEClass, at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, \"Class\",\n !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getClass_Module(), this.getModule(), this.getModule_Classes(), \"module\", null, 0, 1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependsOn(), this.getClass_(), this.getClass_DependedOnBy(), \"dependsOn\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependedOnBy(), this.getClass_(), this.getClass_DependsOn(), \"dependedOnBy\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tQIntegratedLanguageCorePackage theIntegratedLanguageCorePackage = (QIntegratedLanguageCorePackage)EPackage.Registry.INSTANCE.getEPackage(QIntegratedLanguageCorePackage.eNS_URI);\n\t\tQIntegratedLanguageCoreCtxPackage theIntegratedLanguageCoreCtxPackage = (QIntegratedLanguageCoreCtxPackage)EPackage.Registry.INSTANCE.getEPackage(QIntegratedLanguageCoreCtxPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\trepositoryEClass.getESuperTypes().add(theIntegratedLanguageCorePackage.getObjectNameable());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(repositoryEClass, QRepository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRepository_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, QRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRepository_Location(), ecorePackage.getEString(), \"location\", null, 1, 1, QRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(repositoryManagerEClass, QRepositoryManager.class, \"RepositoryManager\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tEOperation op = addEOperation(repositoryManagerEClass, ecorePackage.getEBoolean(), \"checkUpdates\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"repositoryLocation\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(repositoryManagerEClass, ecorePackage.getEBoolean(), \"update\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"repositoryLocation\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(repositoryManagerEClass, null, \"updateAll\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theIntegratedLanguageCoreCtxPackage.getContextProvider(), \"contextProvider\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\t\tObjectsPackage theObjectsPackage = (ObjectsPackage)EPackage.Registry.INSTANCE.getEPackage(ObjectsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\treadCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tprintEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tassertTablesMatchEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tasTableDataEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadPropertiesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(readCsvFileEClass, ReadCsvFile.class, \"ReadCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadCsvFile_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPrint_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeCsvFileEClass, WriteCsvFile.class, \"WriteCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getWriteCsvFile_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteCsvFile_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeColumnsEClass, ExcludeColumns.class, \"ExcludeColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectColumnsEClass, SelectColumns.class, \"SelectColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(assertTablesMatchEClass, AssertTablesMatch.class, \"AssertTablesMatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAssertTablesMatch_Left(), theObjectsPackage.getTable(), null, \"left\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAssertTablesMatch_Right(), theObjectsPackage.getTable(), null, \"right\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreColumnOrder(), theEcorePackage.getEBoolean(), \"ignoreColumnOrder\", \"false\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreMissingColumns(), this.getIgnoreColumnsMode(), \"ignoreMissingColumns\", \"NONE\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeLinesEClass, WriteLines.class, \"WriteLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getWriteLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteLines_Append(), theEcorePackage.getEBoolean(), \"append\", \"false\", 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readLinesEClass, ReadLines.class, \"ReadLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 1, 1, ReadLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectRowsEClass, SelectRows.class, \"SelectRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeRowsEClass, ExcludeRows.class, \"ExcludeRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(asTableDataEClass, AsTableData.class, \"AsTableData\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAsTableData_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, AsTableData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readPropertiesEClass, ReadProperties.class, \"ReadProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadProperties_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(ignoreColumnsModeEEnum, IgnoreColumnsMode.class, \"IgnoreColumnsMode\");\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.NONE);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.LEFT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.RIGHT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.BOTH);\n\n\t\tinitEEnum(rowMatchModeEEnum, RowMatchMode.class, \"RowMatchMode\");\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.EXACT);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.GLOB);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.REGEXP);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/ecl/docs\n\t\tcreateDocsAnnotations();\n\t\t// http://www.eclipse.org/ecl/internal\n\t\tcreateInternalAnnotations();\n\t\t// http://www.eclipse.org/ecl/input\n\t\tcreateInputAnnotations();\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\torg.palladiosimulator.pcm.core.composition.CompositionPackage theCompositionPackage_1 = (org.palladiosimulator.pcm.core.composition.CompositionPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.palladiosimulator.pcm.core.composition.CompositionPackage.eNS_URI);\r\n\t\torg.palladiosimulator.pcm.repository.RepositoryPackage theRepositoryPackage_1 = (org.palladiosimulator.pcm.repository.RepositoryPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.palladiosimulator.pcm.repository.RepositoryPackage.eNS_URI);\r\n\t\tCompositionPackage theCompositionPackage = (CompositionPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(CompositionPackage.eNS_URI);\r\n\t\tPartitioningPackage thePartitioningPackage = (PartitioningPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(PartitioningPackage.eNS_URI);\r\n\t\tDatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(DatatypesPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tdataChannelEClass.getESuperTypes().add(theCompositionPackage_1.getEventChannel());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(dataChannelEClass, DataChannel.class, \"DataChannel\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getDataChannel_Capacity(), ecorePackage.getEInt(), \"capacity\", \"-1\", 1, 1, DataChannel.class,\r\n\t\t\t\tIS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_SourceEventGroup(), theRepositoryPackage_1.getEventGroup(), null,\r\n\t\t\t\t\"sourceEventGroup\", null, 1, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_SinkEventGroup(), theRepositoryPackage_1.getEventGroup(), null, \"sinkEventGroup\",\r\n\t\t\t\tnull, 1, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_DataChannelSourceConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSourceConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSourceConnector_DataChannel(), \"dataChannelSourceConnector\", null,\r\n\t\t\t\t0, -1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_DataChannelSinkConnector(), theCompositionPackage.getDataChannelSinkConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSinkConnector_DataChannel(), \"dataChannelSinkConnector\", null, 0,\r\n\t\t\t\t-1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_Partitioning(), thePartitioningPackage.getPartitioning(), null, \"partitioning\",\r\n\t\t\t\tnull, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_TimeGrouping(), thePartitioningPackage.getTimeGrouping(), null, \"timeGrouping\",\r\n\t\t\t\tnull, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_Joins(), thePartitioningPackage.getJoining(), null, \"joins\", null, 0, -1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_OutgoingDistribution(), theDatatypesPackage.getOutgoingDistribution(),\r\n\t\t\t\t\"outgoingDistribution\", null, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_Scheduling(), theDatatypesPackage.getScheduling(), \"scheduling\", null, 0, 1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_PutPolicy(), theDatatypesPackage.getPutPolicy(), \"putPolicy\", null, 0, 1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "@Override\n\tpublic boolean acceptDomainFiles(DomainFile[] data) {\n\t\treturn true;\n\t}", "private void prepare(boolean allowAllFiles) {\n resetChoosableFileFilters();\n // create general file chooser that holds all file types\n if (!accepted.isEmpty()) {\n for (ExtensionFileFilter filter : accepted) {\n addChoosableFileFilter(filter);\n }\n if (allowAllFiles) {\n // create \"all files\" file chooser\n CumulativeGeneralFilter cumulativeGeneralFilter = new CumulativeGeneralFilter(accepted);\n setFileFilter(cumulativeGeneralFilter);\n } else {\n setFileFilter(accepted.get(0));\n }\n setAcceptAllFileFilterUsed(false);\n }\n }", "public void initializePackageContents() {\n if (this.isInitialized) {\n return;\n }\n this.isInitialized = true;\n\n // Initialize package\n this.setName(eNAME);\n this.setNsPrefix(eNS_PREFIX);\n this.setNsURI(eNS_URI);\n\n // Obtain other dependent packages\n final QosannotationsPackage theQosannotationsPackage = (QosannotationsPackage) EPackage.Registry.INSTANCE\n .getEPackage(QosannotationsPackage.eNS_URI);\n final CorePackage theCorePackage = (CorePackage) EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\n final CompositionPackage theCompositionPackage = (CompositionPackage) EPackage.Registry.INSTANCE\n .getEPackage(CompositionPackage.eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n this.systemSpecifiedExecutionTimeEClass.getESuperTypes().add(this.getSpecifiedExecutionTime());\n this.specifiedExecutionTimeEClass.getESuperTypes().add(theQosannotationsPackage.getSpecifiedQoSAnnotation());\n this.componentSpecifiedExecutionTimeEClass.getESuperTypes().add(this.getSpecifiedExecutionTime());\n\n // Initialize classes and features; add operations and parameters\n this.initEClass(this.systemSpecifiedExecutionTimeEClass, SystemSpecifiedExecutionTime.class,\n \"SystemSpecifiedExecutionTime\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n final EOperation op = this.addEOperation(this.systemSpecifiedExecutionTimeEClass,\n this.ecorePackage.getEBoolean(), \"SystemSpecifiedExecutionTimeMustReferenceRequiredRoleOfASystem\", 0, 1,\n IS_UNIQUE, IS_ORDERED);\n this.addEParameter(op, this.ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n final EGenericType g1 = this.createEGenericType(this.ecorePackage.getEMap());\n EGenericType g2 = this.createEGenericType(this.ecorePackage.getEJavaObject());\n g1.getETypeArguments().add(g2);\n g2 = this.createEGenericType(this.ecorePackage.getEJavaObject());\n g1.getETypeArguments().add(g2);\n this.addEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n this.initEClass(this.specifiedExecutionTimeEClass, SpecifiedExecutionTime.class, \"SpecifiedExecutionTime\",\n IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n this.initEReference(this.getSpecifiedExecutionTime_Specification_SpecifiedExecutionTime(),\n theCorePackage.getPCMRandomVariable(),\n theCorePackage.getPCMRandomVariable_SpecifiedExecutionTime_PCMRandomVariable(),\n \"specification_SpecifiedExecutionTime\", null, 1, 1, SpecifiedExecutionTime.class, !IS_TRANSIENT,\n !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n !IS_ORDERED);\n\n this.initEClass(this.componentSpecifiedExecutionTimeEClass, ComponentSpecifiedExecutionTime.class,\n \"ComponentSpecifiedExecutionTime\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n this.initEReference(this.getComponentSpecifiedExecutionTime_AssemblyContext_ComponentSpecifiedExecutionTime(),\n theCompositionPackage.getAssemblyContext(), null, \"assemblyContext_ComponentSpecifiedExecutionTime\",\n null, 1, 1, ComponentSpecifiedExecutionTime.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n }", "public void expectFiles(Path[] files)\n {\n expect_files = files;\n }", "private void prepareAssignmentFiles() {\n for (Assignment assignment : assignments) {\n //---------- initialize the assignmentFiles array list ----------\n assignment.assignmentFiles = new ArrayList<>();\n\n //create a temporary assignment files array list\n ArrayList<File> assignmentFiles = new ArrayList<>();\n\n //---------- call the recursive findAssignmentFiles method ----------\n findAssignmentFiles(assignmentFiles, assignment.assignmentDirectory);\n\n //---------- set the language for the assignment ----------\n if (language.equals( IAGConstant.LANGUAGE_AUTO) ) {\n assignment.language = autoDetectLanguage(assignmentFiles);\n }\n else {\n assignment.language = language;\n }\n\n String[] extensions;\n\n switch (assignment.language) {\n case IAGConstant.LANGUAGE_PYTHON3:\n extensions = IAGConstant.PYTHON_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_CPP:\n extensions = IAGConstant.CPP_EXTENSIONS;\n break;\n default: //unable to determine the language\n extensions = new String[] {};\n }\n\n //add only files of the right type to the assignment file list\n for (File f: assignmentFiles) {\n String f_extension = getFileExtension(f).toLowerCase();\n if (Arrays.asList(extensions).contains(f_extension)){\n //---------- if the extension on the file matches\n // one of the extension in the extensions list, add\n // it to the programming files list. ----------\n assignment.assignmentFiles.add(f);\n }\n }\n assignment.bAutoGraded = false; //indicate the assignment has not yet been auto-graded\n }\n\n }", "@Test(enabled= true,description = \"Create Assets/Deals and add pre-requites data which is given in Manual Test Case\")\r\n\tpublic void preRequisites() throws Exception {\r\n\r\n\t\t\r\n\t}", "@Test\n\tpublic void testValidate_11()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\n\t\tfixture.validate(fileName, validateFileExtension);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n\n // Initialize classes and features; add operations and parameters\n initEClass(ledsCodeDSLEClass, LedsCodeDSL.class, \"LedsCodeDSL\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLedsCodeDSL_Project(), this.getProject(), null, \"project\", null, 0, -1, LedsCodeDSL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(projectEClass, Project.class, \"Project\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getProject_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_InfrastructureBlock(), this.getInfrastructureBlock(), null, \"infrastructureBlock\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_InterfaceBlock(), this.getInterfaceBlock(), null, \"interfaceBlock\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_ApplicationBlock(), this.getApplicationBlock(), null, \"applicationBlock\", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_DomainBlock(), this.getDomainBlock(), null, \"domainBlock\", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(interfaceBlockEClass, InterfaceBlock.class, \"InterfaceBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInterfaceBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, InterfaceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInterfaceBlock_InterfaceApplication(), this.getInterfaceApplication(), null, \"interfaceApplication\", null, 0, -1, InterfaceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(interfaceApplicationEClass, InterfaceApplication.class, \"InterfaceApplication\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInterfaceApplication_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInterfaceApplication_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInterfaceApplication_NameApp(), ecorePackage.getEString(), \"nameApp\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(infrastructureBlockEClass, InfrastructureBlock.class, \"InfrastructureBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInfrastructureBlock_BasePackage(), ecorePackage.getEString(), \"basePackage\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInfrastructureBlock_ProjectVersion(), ecorePackage.getEString(), \"projectVersion\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Language(), this.getNameVersion(), null, \"language\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Framework(), this.getNameVersion(), null, \"framework\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Orm(), this.getNameVersion(), null, \"orm\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Database(), this.getDatabase(), null, \"database\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(databaseEClass, Database.class, \"Database\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDatabase_VersionValue(), ecorePackage.getEString(), \"versionValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_NameValue(), ecorePackage.getEString(), \"nameValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_UserValue(), ecorePackage.getEString(), \"userValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_PassValue(), ecorePackage.getEString(), \"passValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_HostValue(), ecorePackage.getEString(), \"hostValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_EnvValue(), ecorePackage.getEString(), \"envValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(nameVersionEClass, NameVersion.class, \"NameVersion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNameVersion_NameValue(), ecorePackage.getEString(), \"nameValue\", null, 0, 1, NameVersion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getNameVersion_VersionValue(), ecorePackage.getEString(), \"versionValue\", null, 0, 1, NameVersion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(applicationBlockEClass, ApplicationBlock.class, \"ApplicationBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getApplicationBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ApplicationBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getApplicationBlock_ApplicationDomain(), ecorePackage.getEString(), \"applicationDomain\", null, 0, -1, ApplicationBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(domainBlockEClass, DomainBlock.class, \"DomainBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDomainBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, DomainBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDomainBlock_Module(), this.getModuleBlock(), null, \"module\", null, 0, -1, DomainBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(moduleBlockEClass, ModuleBlock.class, \"ModuleBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getModuleBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_EnumBlock(), this.getEnumBlock(), null, \"enumBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_EntityBlock(), this.getEntityBlock(), null, \"entityBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_ServiceBlock(), this.getServiceBlock(), null, \"serviceBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(serviceBlockEClass, ServiceBlock.class, \"ServiceBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getServiceBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ServiceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getServiceBlock_ServiceFields(), this.getServiceMethod(), null, \"serviceFields\", null, 0, -1, ServiceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(serviceMethodEClass, ServiceMethod.class, \"ServiceMethod\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getServiceMethod_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ServiceMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getServiceMethod_MethodAcess(), this.getRepositoryFields(), null, \"methodAcess\", null, 0, 1, ServiceMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(entityBlockEClass, EntityBlock.class, \"EntityBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEntityBlock_AcessModifier(), ecorePackage.getEString(), \"acessModifier\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEntityBlock_IsAbstract(), ecorePackage.getEBoolean(), \"isAbstract\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEntityBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_ClassExtends(), this.getExtendBlock(), null, \"classExtends\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_Attributes(), this.getAttribute(), null, \"attributes\", null, 0, -1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_Repository(), this.getRepository(), null, \"repository\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAttribute_AcessModifier(), ecorePackage.getEString(), \"acessModifier\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Pk(), ecorePackage.getEBoolean(), \"pk\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Unique(), ecorePackage.getEString(), \"unique\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Nullable(), ecorePackage.getEString(), \"nullable\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Min(), ecorePackage.getEIntegerObject(), \"min\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Max(), ecorePackage.getEIntegerObject(), \"max\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(repositoryEClass, Repository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRepository_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRepository_Methods(), this.getRepositoryFields(), null, \"methods\", null, 0, -1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(repositoryFieldsEClass, RepositoryFields.class, \"RepositoryFields\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRepositoryFields_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRepositoryFields_MethodsParameters(), this.getMethodParameter(), null, \"methodsParameters\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getRepositoryFields_ReturnType(), ecorePackage.getEString(), \"returnType\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(enumBlockEClass, EnumBlock.class, \"EnumBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEnumBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EnumBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEnumBlock_Values(), ecorePackage.getEString(), \"values\", null, 0, -1, EnumBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(methodParameterEClass, MethodParameter.class, \"MethodParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMethodParameter_TypeAndAttr(), this.getTypeAndAttribute(), null, \"typeAndAttr\", null, 0, -1, MethodParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeAndAttributeEClass, TypeAndAttribute.class, \"TypeAndAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTypeAndAttribute_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, TypeAndAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTypeAndAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TypeAndAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(extendBlockEClass, ExtendBlock.class, \"ExtendBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getExtendBlock_Values(), this.getEntityBlock(), null, \"values\", null, 0, -1, ExtendBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "@Test\n\tpublic void testValidate_28()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\t\tInputStream is = new Base64InputStream(new UnsyncByteArrayInputStream(new byte[] {}));\n\n\t\tfixture.validate(fileName, validateFileExtension, is);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "@Test\n\tpublic void testValidate_13()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\n\t\tfixture.validate(fileName, validateFileExtension);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "@Test\n\tpublic void testValidate_26()\n\t\tthrows Exception {\n\t\tDLLocalServiceImpl fixture = new DLLocalServiceImpl();\n\t\tfixture.groupLocalService = new GroupLocalServiceWrapper(new GroupLocalServiceImpl());\n\t\tfixture.hook = new CMISHook();\n\t\tfixture.dlFolderService = new DLFolderServiceWrapper(new DLFolderServiceImpl());\n\t\tString fileName = \"\";\n\t\tboolean validateFileExtension = true;\n\t\tInputStream is = new Base64InputStream(new UnsyncByteArrayInputStream(new byte[] {}));\n\n\t\tfixture.validate(fileName, validateFileExtension, is);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.ClassNotFoundException: com.liferay.documentlibrary.service.impl.DLLocalServiceImpl\n\t\t// at java.net.URLClassLoader.findClass(Unknown Source)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62)\n\t\t// at java.lang.ClassLoader.loadClass(Unknown Source)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionContextImpl.getClass(ExecutionContextImpl.java:99)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.SimpleTypeExpression.execute(SimpleTypeExpression.java:205)\n\t\t// at com.instantiations.eclipse.analysis.expression.model.MethodInvocationExpression.execute(MethodInvocationExpression.java:544)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.core.ExecutionRequest.execute(ExecutionRequest.java:286)\n\t\t// at com.instantiations.assist.eclipse.junit.execution.communication.LocalExecutionClient$1.run(LocalExecutionClient.java:158)\n\t\t// at java.lang.Thread.run(Unknown Source)\n\t}", "public final boolean needsPermission() {\n return FileUtil.needsPermission(this.form, this.resolvedPath);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tcompoundCmdEClass.getESuperTypes().add(this.getCmd());\n\t\txCmdEClass.getESuperTypes().add(this.getCmd());\n\t\tbyteCmdEClass.getESuperTypes().add(this.getCmd());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(cmdEClass, Cmd.class, \"Cmd\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCmd_Priority(), this.getPRIORITY(), \"priority\", null, 0, 1, Cmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getCmd_Stamp(), ecorePackage.getELong(), \"stamp\", null, 0, 1, Cmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(compoundCmdEClass, CompoundCmd.class, \"CompoundCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getCompoundCmd_Children(), this.getCmd(), null, \"children\", null, 0, -1, CompoundCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tEOperation op = addEOperation(compoundCmdEClass, null, \"add\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"add\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEInt(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"queue\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(compoundCmdEClass, null, \"pop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"remove\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEInt(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"remove\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(compoundCmdEClass, null, \"drop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(xCmdEClass, XCmd.class, \"XCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getXCmd_Obj(), ecorePackage.getEJavaObject(), \"obj\", null, 0, 1, XCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(byteCmdEClass, ByteCmd.class, \"ByteCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getByteCmd_Message(), ecorePackage.getEByteArray(), \"message\", null, 0, 1, ByteCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.class, \"PRIORITY\");\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.LOWEST);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.LOW);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.MEDIUM);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.HIGH);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.HIGHEST);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.NONE);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.VITAL);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n assignmentEClass.getESuperTypes().add(this.getSimpleStatement());\n expressionEClass.getESuperTypes().add(this.getSimpleStatement());\n unaryMinusExpressionEClass.getESuperTypes().add(this.getExpression());\n unaryPlusExpressionEClass.getESuperTypes().add(this.getExpression());\n logicalNegationExpressionEClass.getESuperTypes().add(this.getExpression());\n bracketExpressionEClass.getESuperTypes().add(this.getExpression());\n pointerCallEClass.getESuperTypes().add(this.getExpression());\n variableCallEClass.getESuperTypes().add(this.getExpression());\n unarySpecifierEClass.getESuperTypes().add(this.getArraySpecifier());\n rangeSpecifierEClass.getESuperTypes().add(this.getArraySpecifier());\n ioFunctionsEClass.getESuperTypes().add(this.getExpression());\n infoFunctionsEClass.getESuperTypes().add(this.getExpression());\n manipFunctionsEClass.getESuperTypes().add(this.getExpression());\n arithFunctionsEClass.getESuperTypes().add(this.getExpression());\n loadEClass.getESuperTypes().add(this.getIOFunctions());\n storeEClass.getESuperTypes().add(this.getIOFunctions());\n exportEClass.getESuperTypes().add(this.getIOFunctions());\n printEClass.getESuperTypes().add(this.getSimpleStatement());\n depthEClass.getESuperTypes().add(this.getInfoFunctions());\n fieldInfoEClass.getESuperTypes().add(this.getInfoFunctions());\n containsEClass.getESuperTypes().add(this.getInfoFunctions());\n selectEClass.getESuperTypes().add(this.getManipFunctions());\n lengthEClass.getESuperTypes().add(this.getInfoFunctions());\n sumEClass.getESuperTypes().add(this.getArithFunctions());\n productEClass.getESuperTypes().add(this.getArithFunctions());\n constantEClass.getESuperTypes().add(this.getExpression());\n primitiveEClass.getESuperTypes().add(this.getConstant());\n arrayEClass.getESuperTypes().add(this.getConstant());\n jSonObjectEClass.getESuperTypes().add(this.getConstant());\n disjunctionExpressionEClass.getESuperTypes().add(this.getExpression());\n conjunctionExpressionEClass.getESuperTypes().add(this.getExpression());\n equalityExpressionEClass.getESuperTypes().add(this.getExpression());\n inequalityExpressionEClass.getESuperTypes().add(this.getExpression());\n superiorExpressionEClass.getESuperTypes().add(this.getExpression());\n superiorOrEqualExpressionEClass.getESuperTypes().add(this.getExpression());\n inferiorExpressionEClass.getESuperTypes().add(this.getExpression());\n inferiorOrEqualExpressionEClass.getESuperTypes().add(this.getExpression());\n additionExpressionEClass.getESuperTypes().add(this.getExpression());\n substractionExpressionEClass.getESuperTypes().add(this.getExpression());\n multiplicationExpressionEClass.getESuperTypes().add(this.getExpression());\n divisionExpressionEClass.getESuperTypes().add(this.getExpression());\n moduloExpressionEClass.getESuperTypes().add(this.getExpression());\n arrayCallEClass.getESuperTypes().add(this.getExpression());\n fieldCallEClass.getESuperTypes().add(this.getExpression());\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Stmts(), this.getSimpleStatement(), null, \"stmts\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(simpleStatementEClass, SimpleStatement.class, \"SimpleStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(assignmentEClass, Assignment.class, \"Assignment\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAssignment_LeftHandSide(), this.getVariableCall(), null, \"leftHandSide\", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAssignment_RightHandSide(), this.getExpression(), null, \"rightHandSide\", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(expressionEClass, Expression.class, \"Expression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(unaryMinusExpressionEClass, UnaryMinusExpression.class, \"UnaryMinusExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUnaryMinusExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, UnaryMinusExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(unaryPlusExpressionEClass, UnaryPlusExpression.class, \"UnaryPlusExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUnaryPlusExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, UnaryPlusExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(logicalNegationExpressionEClass, LogicalNegationExpression.class, \"LogicalNegationExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLogicalNegationExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, LogicalNegationExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bracketExpressionEClass, BracketExpression.class, \"BracketExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getBracketExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, BracketExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pointerCallEClass, PointerCall.class, \"PointerCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(variableCallEClass, VariableCall.class, \"VariableCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVariableCall_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, VariableCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(arraySpecifierEClass, ArraySpecifier.class, \"ArraySpecifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(unarySpecifierEClass, UnarySpecifier.class, \"UnarySpecifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUnarySpecifier_Index(), ecorePackage.getEInt(), \"index\", null, 0, 1, UnarySpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(rangeSpecifierEClass, RangeSpecifier.class, \"RangeSpecifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRangeSpecifier_From(), ecorePackage.getEInt(), \"from\", null, 0, 1, RangeSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getRangeSpecifier_To(), ecorePackage.getEInt(), \"to\", null, 0, 1, RangeSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ioFunctionsEClass, IOFunctions.class, \"IOFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIOFunctions_FileName(), ecorePackage.getEString(), \"fileName\", null, 0, 1, IOFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(infoFunctionsEClass, InfoFunctions.class, \"InfoFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(manipFunctionsEClass, ManipFunctions.class, \"ManipFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(arithFunctionsEClass, ArithFunctions.class, \"ArithFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getArithFunctions_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, ArithFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getArithFunctions_Field(), this.getExpression(), null, \"field\", null, 0, 1, ArithFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getArithFunctions_WhereExpression(), this.getExpression(), null, \"whereExpression\", null, 0, 1, ArithFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(loadEClass, Load.class, \"Load\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(storeEClass, Store.class, \"Store\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getStore_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Store.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(exportEClass, Export.class, \"Export\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getExport_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Export.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPrint_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(depthEClass, Depth.class, \"Depth\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDepth_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Depth.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fieldInfoEClass, FieldInfo.class, \"FieldInfo\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFieldInfo_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, FieldInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(containsEClass, Contains.class, \"Contains\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getContains_Keys(), this.getExpression(), null, \"keys\", null, 0, -1, Contains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getContains_Right(), this.getExpression(), null, \"right\", null, 0, 1, Contains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectEClass, Select.class, \"Select\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSelect_Fields(), this.getExpression(), null, \"fields\", null, 0, -1, Select.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSelect_FromExpression(), this.getExpression(), null, \"fromExpression\", null, 0, 1, Select.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSelect_WhereExpression(), this.getExpression(), null, \"whereExpression\", null, 0, 1, Select.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(lengthEClass, Length.class, \"Length\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLength_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Length.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(sumEClass, Sum.class, \"Sum\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(productEClass, Product.class, \"Product\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(constantEClass, Constant.class, \"Constant\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(primitiveEClass, Primitive.class, \"Primitive\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPrimitive_Str(), ecorePackage.getEString(), \"str\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_IntNum(), ecorePackage.getEInt(), \"intNum\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_FloatNum(), ecorePackage.getEString(), \"floatNum\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_Bool(), ecorePackage.getEString(), \"bool\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_Nil(), ecorePackage.getEString(), \"nil\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(arrayEClass, Array.class, \"Array\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getArray_Values(), this.getExpression(), null, \"values\", null, 0, -1, Array.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(jSonObjectEClass, JSonObject.class, \"JSonObject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getJSonObject_Fields(), this.getField(), null, \"fields\", null, 0, -1, JSonObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fieldEClass, Field.class, \"Field\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getField_Key(), this.getExpression(), null, \"key\", null, 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getField_Value(), this.getExpression(), null, \"value\", null, 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(disjunctionExpressionEClass, DisjunctionExpression.class, \"DisjunctionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDisjunctionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, DisjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDisjunctionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, DisjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(conjunctionExpressionEClass, ConjunctionExpression.class, \"ConjunctionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getConjunctionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, ConjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getConjunctionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, ConjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(equalityExpressionEClass, EqualityExpression.class, \"EqualityExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getEqualityExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, EqualityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEqualityExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, EqualityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(inequalityExpressionEClass, InequalityExpression.class, \"InequalityExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getInequalityExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, InequalityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInequalityExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, InequalityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(superiorExpressionEClass, SuperiorExpression.class, \"SuperiorExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSuperiorExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, SuperiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSuperiorExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, SuperiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(superiorOrEqualExpressionEClass, SuperiorOrEqualExpression.class, \"SuperiorOrEqualExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSuperiorOrEqualExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, SuperiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSuperiorOrEqualExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, SuperiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(inferiorExpressionEClass, InferiorExpression.class, \"InferiorExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getInferiorExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, InferiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInferiorExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, InferiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(inferiorOrEqualExpressionEClass, InferiorOrEqualExpression.class, \"InferiorOrEqualExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getInferiorOrEqualExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, InferiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInferiorOrEqualExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, InferiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(additionExpressionEClass, AdditionExpression.class, \"AdditionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdditionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, AdditionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAdditionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, AdditionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(substractionExpressionEClass, SubstractionExpression.class, \"SubstractionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSubstractionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, SubstractionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSubstractionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, SubstractionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(multiplicationExpressionEClass, MultiplicationExpression.class, \"MultiplicationExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMultiplicationExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, MultiplicationExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMultiplicationExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, MultiplicationExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(divisionExpressionEClass, DivisionExpression.class, \"DivisionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDivisionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, DivisionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDivisionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, DivisionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(moduloExpressionEClass, ModuloExpression.class, \"ModuloExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModuloExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, ModuloExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuloExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, ModuloExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(arrayCallEClass, ArrayCall.class, \"ArrayCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getArrayCall_Callee(), this.getExpression(), null, \"callee\", null, 0, 1, ArrayCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getArrayCall_Specifier(), this.getArraySpecifier(), null, \"specifier\", null, 0, 1, ArrayCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fieldCallEClass, FieldCall.class, \"FieldCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFieldCall_Callee(), this.getExpression(), null, \"callee\", null, 0, 1, FieldCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFieldCall_Field(), ecorePackage.getEString(), \"field\", null, 0, 1, FieldCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tScenarioPackage theScenarioPackage = (ScenarioPackage)EPackage.Registry.INSTANCE.getEPackage(ScenarioPackage.eNS_URI);\n\t\tXActivityDiagramPropertyPackage theXActivityDiagramPropertyPackage = (XActivityDiagramPropertyPackage)EPackage.Registry.INSTANCE.getEPackage(XActivityDiagramPropertyPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theScenarioPackage.getArbiter());\n\t\tEGenericType g2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterState());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterStateEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterTransition());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterTransitionEClass.getEGenericSuperTypes().add(g1);\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(xActivityDiagramArbiterEClass, XActivityDiagramArbiter.class, \"XActivityDiagramArbiter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterStateEClass, XActivityDiagramArbiterState.class, \"XActivityDiagramArbiterState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterTransitionEClass, XActivityDiagramArbiterTransition.class, \"XActivityDiagramArbiterTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public boolean isSetFileName() {\n return this.fileName != null;\n }", "public boolean isSetFileName() {\n return this.fileName != null;\n }", "public boolean isSetFileName() {\n return this.fileName != null;\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEnginePackage theEnginePackage = (EnginePackage)EPackage.Registry.INSTANCE.getEPackage(EnginePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tbluetoothPortEClass.getESuperTypes().add(theEnginePackage.getPort());\n\t\tl2CAPInJobEClass.getESuperTypes().add(theEnginePackage.getInputJob());\n\t\tl2CAPoutJobEClass.getESuperTypes().add(theEnginePackage.getOutputJob());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(bluetoothPortEClass, BluetoothPort.class, \"BluetoothPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(l2CAPInJobEClass, L2CAPInJob.class, \"L2CAPInJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(l2CAPoutJobEClass, L2CAPoutJob.class, \"L2CAPoutJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void checkWithCorrectResults() {\n\t\tFile correctDir = new File (correctDir() + \"/\" + assignmentNo());\r\n\r\n//\t\tFile testDir = new File (\"Test Data/Test 110 F13 Assignments/Assignment3\");\r\n\t\tFile testDir = new File (testDir() + \"/\" + assignmentNo());\r\n\r\n\t\tString[] ignoreSuffixesArray = {\".zip\", \".ini\", \".json\", \"Submission attachment(s)\"};\r\n//\t\tString[] ignoreSuffixesArray = {\".zip\", \".ini\", \".json\"};\r\n\r\n\t\tList<String> ignoreSuffixesList = Arrays.asList(ignoreSuffixesArray);\r\n\t\tSystem.out.println(DirectoryUtils.compare (correctDir, testDir, ignoreSuffixesList));\r\n\t}", "public void testXML() {\n // check XML Entity Catalogs\n\n // \"Tools\"\n String toolsItem = Bundle.getStringTrimmed(\"org.netbeans.core.ui.resources.Bundle\", \"Menu/Tools\"); // NOI18N\n // \"DTDs and XML Schemas\"\n String dtdsItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.catalog.Bundle\", \"LBL_CatalogAction_Name\");\n new Action(toolsItem + \"|\" + dtdsItem, null).perform();\n // \"DTDs and XML Schemas\"\n String dtdsTitle = Bundle.getString(\"org.netbeans.modules.xml.catalog.Bundle\", \"LBL_CatalogPanel_Title\");\n NbDialogOperator dtdsOper = new NbDialogOperator(dtdsTitle);\n\n String publicID = \"-//DTD XMLCatalog//EN\";\n Node catalogNode = new Node(new JTreeOperator(dtdsOper),\n \"NetBeans Catalog|\"\n + publicID);\n // view and close it\n new ViewAction().perform(catalogNode);\n new EditorOperator(publicID).close();\n dtdsOper.close();\n\n // create an XML file\n\n // create xml package\n // select Source Packages to not create xml folder in Test Packages\n new SourcePackagesNode(SAMPLE_PROJECT_NAME).select();\n // \"Java Classes\"\n String javaClassesLabel = Bundle.getString(\"org.netbeans.modules.java.project.Bundle\", \"Templates/Classes\");\n NewJavaFileWizardOperator.create(SAMPLE_PROJECT_NAME, javaClassesLabel, \"Java Package\", null, \"xml\"); // NOI18N\n Node xmlNode = new Node(new SourcePackagesNode(SAMPLE_PROJECT_NAME), \"xml\"); //NOI18N\n // \"XML\"\n String xmlCategory = Bundle.getString(\"org.netbeans.api.xml.resources.Bundle\", \"Templates/XML\");\n // \"XML Document\"\n String xmlDocument = Bundle.getString(\"org.netbeans.modules.xml.resources.Bundle\", \"Templates/XML/XMLDocument.xml\");\n NewFileWizardOperator.invoke(xmlNode, xmlCategory, xmlDocument);\n NewJavaFileNameLocationStepOperator nameStepOper = new NewJavaFileNameLocationStepOperator();\n nameStepOper.setObjectName(\"XMLDocument\"); // NOI18N\n nameStepOper.next();\n nameStepOper.finish();\n // wait node is present\n Node xmlDocumentNode = new Node(xmlNode, \"XMLDocument.xml\"); // NOI18N\n // wait xml document is open in editor\n new EditorOperator(\"XMLDocument.xml\").close(); // NOI18N\n\n // \"Check XML\"\n\n String checkXMLItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.actions.Bundle\", \"NAME_Check_XML\");\n // invoke context action to check xml\n new Action(null, checkXMLItem).perform(xmlDocumentNode);\n // \"XML check\"\n String xmlCheckTitle = Bundle.getString(\"org.netbeans.modules.xml.actions.Bundle\", \"TITLE_XML_check_window\");\n // find and close an output with the result of xml check\n new OutputTabOperator(xmlCheckTitle).close();\n\n // \"Validate XML\"\n\n String validateItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.actions.Bundle\", \"NAME_Validate_XML\");\n // invoke context action to validate xml\n new Action(null, validateItem).perform(xmlDocumentNode);\n // find and close an output with the result of xml validation\n new OutputTabOperator(xmlCheckTitle).close();\n\n // \"Generate DTD...\"\n\n String generateDTDItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.generator.Bundle\", \"PROP_GenerateDTD\");\n new ActionNoBlock(null, generateDTDItem).perform(xmlDocumentNode);\n // \"Select File Name\"\n String selectTitle = Bundle.getString(\"org.netbeans.modules.xml.tools.generator.Bundle\", \"PROP_fileNameTitle\");\n NbDialogOperator selectDialog = new NbDialogOperator(selectTitle);\n // name has to be set because of issue http://www.netbeans.org/issues/show_bug.cgi?id=46049\n new JTextFieldOperator(selectDialog).setText(\"DTD\");\n String oKLabel = Bundle.getString(\"org.netbeans.core.windows.services.Bundle\", \"OK_OPTION_CAPTION\");\n new JButtonOperator(selectDialog, oKLabel).push();\n // wait DTD is open in editor\n new EditorOperator(\"DTD.dtd\").close(); // NOI18N\n Node dtdNode = new Node(xmlNode, \"DTD.dtd\"); // NOI18N\n\n // \"Check DTD\"\n\n String checkDTDItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.actions.Bundle\", \"NAME_Validate_DTD\");\n new Action(null, checkDTDItem).perform(dtdNode);\n // find and close an output with the result of dtd check\n new OutputTabOperator(xmlCheckTitle).close();\n\n // \"Generate DOM Tree Scanner\"\n String generateScannerItem = Bundle.getStringTrimmed(\"org.netbeans.modules.xml.tools.generator.Bundle\", \"PROP_GenerateDOMScanner\");\n new ActionNoBlock(null, generateScannerItem).perform(dtdNode);\n selectDialog = new NbDialogOperator(selectTitle);\n new JButtonOperator(selectDialog, oKLabel).push();\n // wait Scanner is open in editor\n new EditorOperator(\"DTDScanner.java\").close(); // NOI18N\n new Node(xmlNode, \"DTDScanner.java\"); // NOI18N\n }", "@Test\n public void testTrustPolicyDocumentWithSigNoNs() throws IOException, CertificateException, ParserConfigurationException, SAXException, MarshalException, XMLSignatureException {\n isValid(\"/documents/5/trustpolicy_1_signed.xml\",\"/documents/5/certificate.pem\");\n isValid(\"/documents/5/trustpolicy_4_edited.xml\",\"/documents/5/certificate.pem\");\n isValid(\"/documents/5/trustpolicy_5_edited.xml\",\"/documents/5/certificate.pem\");\n }", "private boolean acceptAsExpected()\n {\n return saveExpectedDir_ != null;\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(maturityModelEClass, MaturityModel.class, \"MaturityModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMaturityModel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Version(), ecorePackage.getEString(), \"version\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_ReleaseDate(), ecorePackage.getEDate(), \"releaseDate\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Author(), ecorePackage.getEString(), \"author\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityModel_Organizes(), this.getProcessArea(), null, \"organizes\", null, 0, -1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityModel_EvolvesInto(), this.getMaturityLevel(), null, \"evolvesInto\", null, 0, -1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(processAreaEClass, ProcessArea.class, \"ProcessArea\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProcessArea_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_ShortDescription(), ecorePackage.getEString(), \"shortDescription\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_MainDescription(), ecorePackage.getEString(), \"mainDescription\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProcessArea_Defines(), this.getSpecificPractice(), null, \"defines\", null, 0, -1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProcessArea_Implements(), this.getMaturityLevel(), null, \"implements\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specificPracticeEClass, SpecificPractice.class, \"SpecificPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSpecificPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_ComplementaryDescription(), ecorePackage.getEString(), \"complementaryDescription\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(maturityLevelEClass, MaturityLevel.class, \"MaturityLevel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMaturityLevel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityLevel_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityLevel_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityLevel_EvolvesInto(), this.getGenericPractice(), null, \"evolvesInto\", null, 0, -1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(genericPracticeEClass, GenericPractice.class, \"GenericPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGenericPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_ComplementaryDescription(), ecorePackage.getEString(), \"complementaryDescription\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getGenericPractice_Divided(), this.getGPSubPractice(), null, \"divided\", null, 0, -1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(gpSubPracticeEClass, GPSubPractice.class, \"GPSubPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGPSubPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGPSubPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGPSubPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Elements(), this.getElement(), null, \"elements\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(elementEClass, Element.class, \"Element\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getElement_State(), this.getState(), null, \"state\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getElement_Transition(), this.getTransition(), null, \"transition\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getState_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getState_StatesProperties(), this.getStatesProperties(), null, \"statesProperties\", null, 0, -1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(statesPropertiesEClass, StatesProperties.class, \"StatesProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStatesProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionEClass, Transition.class, \"Transition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTransition_Start(), this.getCoordinatesStatesTransition(), null, \"start\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_End(), this.getCoordinatesStatesTransition(), null, \"end\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_TransitionProperties(), this.getTransitionProperties(), null, \"transitionProperties\", null, 0, -1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_Label(), this.getLabel(), null, \"label\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransition_Init(), ecorePackage.getEString(), \"init\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(labelEClass, Label.class, \"Label\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLabel_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLabel_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(coordinatesStatesTransitionEClass, CoordinatesStatesTransition.class, \"CoordinatesStatesTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCoordinatesStatesTransition_StateTransition(), ecorePackage.getEString(), \"stateTransition\", null, 0, 1, CoordinatesStatesTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionPropertiesEClass, TransitionProperties.class, \"TransitionProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTransitionProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Curve(), ecorePackage.getEString(), \"curve\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);\n\t\tModelPackage theModelPackage = (ModelPackage)EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI);\n\t\tColumnPackage theColumnPackage = (ColumnPackage)EPackage.Registry.INSTANCE.getEPackage(ColumnPackage.eNS_URI);\n\t\tExpressionPackage theExpressionPackage = (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\ttableEClass.getESuperTypes().add(theCommonPackage.getNameProvider());\n\t\tprimaryKeyTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tuniqueTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tcheckTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tforeignKeyTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(tableEClass, Table.class, \"Table\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTable_Database(), theModelPackage.getDatabase(), theModelPackage.getDatabase_Tables(), \"database\", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTable_Columns(), theColumnPackage.getColumn(), theColumnPackage.getColumn_Table(), \"columns\", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTable_Constraints(), this.getTableConstraint(), this.getTableConstraint_Table(), \"constraints\", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(tableConstraintEClass, TableConstraint.class, \"TableConstraint\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTableConstraint_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTableConstraint_Table(), this.getTable(), this.getTable_Constraints(), \"table\", null, 1, 1, TableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(primaryKeyTableConstraintEClass, PrimaryKeyTableConstraint.class, \"PrimaryKeyTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPrimaryKeyTableConstraint_Columns(), theColumnPackage.getIndexedColumn(), null, \"columns\", null, 1, -1, PrimaryKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(uniqueTableConstraintEClass, UniqueTableConstraint.class, \"UniqueTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUniqueTableConstraint_Columns(), theColumnPackage.getIndexedColumn(), null, \"columns\", null, 1, -1, UniqueTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(checkTableConstraintEClass, CheckTableConstraint.class, \"CheckTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getCheckTableConstraint_Expression(), theExpressionPackage.getExpression(), null, \"expression\", null, 1, 1, CheckTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(foreignKeyTableConstraintEClass, ForeignKeyTableConstraint.class, \"ForeignKeyTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getForeignKeyTableConstraint_Columns(), theColumnPackage.getColumn(), null, \"columns\", null, 1, -1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getForeignKeyTableConstraint_ForeignTable(), this.getTable(), null, \"foreignTable\", null, 1, 1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getForeignKeyTableConstraint_ForeignColumns(), theColumnPackage.getColumn(), null, \"foreignColumns\", null, 1, -1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t}", "public void initializePackageContents()\n {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tclarityAddFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetBatchResultEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetKeyEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityQueryBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityReloadFileEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityRemoveFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tstartBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(clarityAbstractObjectEClass, ClarityAbstractObject.class, \"ClarityAbstractObject\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getClarityAbstractObject_ClarityConnection(), ecorePackage.getEString(), \"clarityConnection\", null, 0, 1, ClarityAbstractObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(clarityAddFilesEClass, ClarityAddFiles.class, \"ClarityAddFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetBatchResultEClass, ClarityGetBatchResult.class, \"ClarityGetBatchResult\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetKeyEClass, ClarityGetKey.class, \"ClarityGetKey\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityQueryBatchEClass, ClarityQueryBatch.class, \"ClarityQueryBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityReloadFileEClass, ClarityReloadFile.class, \"ClarityReloadFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityRemoveFilesEClass, ClarityRemoveFiles.class, \"ClarityRemoveFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(startBatchEClass, StartBatch.class, \"StartBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// cbgeneralcontrol\n\t\tcreateCbgeneralcontrolAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tuserTaskEClass.getESuperTypes().add(this.getTask());\n\t\tapplicationTaskEClass.getESuperTypes().add(this.getTask());\n\t\tinteractionTaskEClass.getESuperTypes().add(this.getTask());\n\t\tabstractionTaskEClass.getESuperTypes().add(this.getTask());\n\t\tnullTaskEClass.getESuperTypes().add(this.getTask());\n\t\tchoiceOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\torderIndependenceOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tinterleavingOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsynchronizationOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tparallelOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tdisablingOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsequentialEnablingInfoOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsequentialEnablingOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsuspendResumeOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(taskModelEClass, TaskModel.class, \"TaskModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTaskModel_Root(), this.getTask(), null, \"root\", null, 1, 1, TaskModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTaskModel_Tasks(), this.getTask(), null, \"tasks\", null, 1, -1, TaskModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTaskModel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TaskModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(taskEClass, Task.class, \"Task\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTask_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTask_Operator(), this.getTemporalOperator(), null, \"operator\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTask_Subtasks(), this.getTask(), this.getTask_Parent(), \"subtasks\", null, 0, -1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTask_Parent(), this.getTask(), this.getTask_Subtasks(), \"parent\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Min(), ecorePackage.getEIntegerObject(), \"min\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Max(), ecorePackage.getEIntegerObject(), \"max\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Iterative(), ecorePackage.getEBooleanObject(), \"iterative\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(userTaskEClass, UserTask.class, \"UserTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(applicationTaskEClass, ApplicationTask.class, \"ApplicationTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(interactionTaskEClass, InteractionTask.class, \"InteractionTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(abstractionTaskEClass, AbstractionTask.class, \"AbstractionTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(nullTaskEClass, NullTask.class, \"NullTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(temporalOperatorEClass, TemporalOperator.class, \"TemporalOperator\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(choiceOperatorEClass, ChoiceOperator.class, \"ChoiceOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(orderIndependenceOperatorEClass, OrderIndependenceOperator.class, \"OrderIndependenceOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(interleavingOperatorEClass, InterleavingOperator.class, \"InterleavingOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(synchronizationOperatorEClass, SynchronizationOperator.class, \"SynchronizationOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(parallelOperatorEClass, ParallelOperator.class, \"ParallelOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(disablingOperatorEClass, DisablingOperator.class, \"DisablingOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(sequentialEnablingInfoOperatorEClass, SequentialEnablingInfoOperator.class, \"SequentialEnablingInfoOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(sequentialEnablingOperatorEClass, SequentialEnablingOperator.class, \"SequentialEnablingOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(suspendResumeOperatorEClass, SuspendResumeOperator.class, \"SuspendResumeOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(liveScoreEClass, LiveScore.class, \"LiveScore\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLiveScore_Preferedplayer(), this.getPreferedPlayer(), null, \"preferedplayer\", null, 0, -1, LiveScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLiveScore_Salonname(), ecorePackage.getEString(), \"salonname\", null, 0, 1, LiveScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(preferedPlayerEClass, PreferedPlayer.class, \"PreferedPlayer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPreferedPlayer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPreferedPlayer_Won(), ecorePackage.getEInt(), \"won\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPreferedPlayer_Playings(), ecorePackage.getEInt(), \"playings\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "@Test\n\tpublic void testDocumentProcessorGlobally() {\n\t\tTrainingDocumentProcessor processor = new TrainingDocumentProcessor();\n\t\tTrainingDocumentFiler[] categories;\n\t\t\n\t\ttry {\n\t\t\tprocessor.importDocFile(\"testTextFiles/testDocuments.txt\");\n\t\t} catch (IOException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t\ttry {\n\t\t\tprocessor.importStopWordFile(\"stopWords.txt\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\n\t\tprocessor.process();\n\t\tcategories = processor.getTrainingDocumentFilerArray();\n\t\tassertEquals(\"Negative sentiment category should be 0\",0,categories[0].getCategory());\n\t\tassertEquals(\"Positive sentiment category should be 1\",1,categories[1].getCategory());\n\t\tassertEquals(\"Number of negative documents should be 8\", 8, categories[0].getNumberOfDocuments());\n\t\tassertEquals(\"Number of positive documents should be 8\", 8, categories[1].getNumberOfDocuments());\n\t}", "public boolean validatePackage() {\n\t\treturn this.validateID() && this.validateFirstName() && this.validateLastName()\n\t\t\t\t&& this.validateBank() && this.validateBSB() && this.validateAccountNumber();\n\t}" ]
[ "0.52694637", "0.52497166", "0.52437115", "0.5215344", "0.5145633", "0.51291656", "0.5126364", "0.51221406", "0.5110386", "0.51042396", "0.5030301", "0.50042576", "0.49976662", "0.49903268", "0.49774456", "0.49761945", "0.49745923", "0.496231", "0.4946601", "0.4944046", "0.49374914", "0.49335414", "0.49160925", "0.49084854", "0.4893207", "0.48881036", "0.48861548", "0.48851177", "0.48671874", "0.4861759", "0.48616508", "0.48405838", "0.48398528", "0.4834842", "0.48340422", "0.48287374", "0.4824317", "0.48110503", "0.47968304", "0.47944734", "0.47883743", "0.4787313", "0.4783028", "0.47799748", "0.47734532", "0.47717732", "0.4765692", "0.4754297", "0.47500825", "0.47376958", "0.47087675", "0.47083032", "0.47057596", "0.4702381", "0.4701101", "0.46948287", "0.4683204", "0.46827355", "0.46822146", "0.467714", "0.46746415", "0.46678874", "0.4664253", "0.4662948", "0.46563387", "0.46490887", "0.46485767", "0.4648568", "0.4644304", "0.46427032", "0.4634969", "0.46300226", "0.46259382", "0.46232688", "0.46146402", "0.46131498", "0.4609929", "0.46029097", "0.4600024", "0.45967647", "0.45949605", "0.45938802", "0.45892376", "0.4588639", "0.4586932", "0.4586932", "0.4586932", "0.45825502", "0.4581607", "0.45746773", "0.45738348", "0.45715845", "0.45690888", "0.45679244", "0.45675725", "0.45669892", "0.45565873", "0.45565328", "0.45561936", "0.45556703" ]
0.5376655
0
This method is used by both the MD and CP Validators. It is used to set the value that describes if the root element of the test subject belongs to a valid namespace (IMS or IEEE LOM)
public void setIsRootElement(boolean iIsRootElement) { mIsRootElement = iIsRootElement; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isSetNamespace();", "@Test\n\tpublic void test_TCM__OrgJdomNamespace_getNamespace() {\n\t\tfinal Namespace ns = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attr = new Attribute(\"test\", \"value\", ns);\n\t\tfinal Namespace ns2 = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tassertTrue(\"incorrect Namespace\", attr.getNamespace().equals(ns2));\n\n\t}", "public boolean isSetNs() {\n return this.ns != null;\n }", "@Override\r\n\t\tpublic Attr setAttributeNodeNS(Attr newAttr) throws DOMException\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "@Test\n\tpublic void test_TCM__String_getNamespaceURI() {\n\t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", namespace);\n\t\tassertTrue(\"incorrect URI\", attribute.getNamespaceURI().equals(\"http://some.other.place\"));\n\n\t}", "@Override\r\n\t\tpublic void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "@Test\n\tpublic void test_TCC___String_String_int_OrgJdomNamespace() {\n {\n \t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n \t\t@SuppressWarnings(\"deprecation\")\n\t\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", Attribute.ID_TYPE.ordinal(), namespace);\n \t\tassertTrue(\"incorrect attribute name\", attribute.getName().equals(\"test\"));\n \t\tassertTrue(\"incoorect attribute value\", attribute.getValue().equals(\"value\"));\n \t\tassertTrue(\"incorrect Namespace\", attribute.getNamespace().equals(namespace));\n\n assertEquals(\"incoorect attribute type\", attribute.getAttributeType(), Attribute.ID_TYPE);\n }\n\n\t\t//now test that the attribute cannot be created with a namespace\n\t\t//without a prefix\n final Namespace defaultNamespace = Namespace.getNamespace(\"http://some.other.place\");\n\t\ttry {\n new Attribute(\"test\", \"value\", defaultNamespace);\n\t\t\tfail(\"allowed creation of attribute with a default namespace\");\n\t\t} catch (final IllegalNameException e) {\n\t\t\t// Do nothing\n\t\t} catch (Exception e) {\n\t\t\tfail(\"Unexpected exception \" + e.getClass());\n\t\t}\n\n\t\ttry {\n new Attribute(\"test\", \"value\", (Namespace)null);\n\t\t} catch (Exception e) {\n \t\tfail(\"didn't handle null attribute namespace\");\n\t\t}\n\t}", "@Test\n\tpublic void test_TCC___String_String_OrgJdomNamespace() {\n {\n \t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n \t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", namespace);\n \t\tassertTrue(\"incorrect attribute name\", attribute.getName().equals(\"test\"));\n \t\tassertTrue(\"incoorect attribute value\", attribute.getValue().equals(\"value\"));\n \t\tassertTrue(\"incorrect Namespace\", attribute.getNamespace().equals(namespace));\n\n assertEquals(\"incoorect attribute type\", attribute.getAttributeType(), Attribute.UNDECLARED_TYPE);\n }\n\n\t\t//now test that the attribute cannot be created with a namespace\n\t\t//without a prefix\n final Namespace defaultNamespace = Namespace.getNamespace(\"http://some.other.place\");\n\t\ttry {\n new Attribute(\"test\", \"value\", defaultNamespace);\n\t\t\tfail(\"allowed creation of attribute with a default namespace\");\n\t\t} catch (final IllegalNameException e) {\n\t\t\t// Do nothing\n\t\t} catch (Exception e) {\n\t\t\tfail(\"Unexpected exception \" + e.getClass());\n\t\t}\n\n\t\ttry {\n new Attribute(\"test\", \"value\", (Namespace)null);\n\t\t} catch (Exception e) {\n \t\tfail(\"didn't handle null attribute namespace\");\n\t\t}\n\t}", "void setNamespace(java.lang.String namespace);", "public void setNamespace (\r\n String strNamespace) throws java.io.IOException, com.linar.jintegra.AutomationException;", "void xsetNamespace(org.apache.xmlbeans.XmlNMTOKEN namespace);", "void setNamespace(String namespace);", "public void setNamespace(String namespace) {\n\t\t\r\n\t}", "public boolean isRootElementValid() {\r\n\t\tboolean result = false;\r\n\r\n\t\tNode rootNode = mDocument.getDocumentElement();\r\n\t\tString rootNodeName = rootNode.getLocalName();\r\n\t\tString rootNodeNamespace = rootNode.getNamespaceURI();\r\n\r\n\t\tif (rootNodeName.equals(\"manifest\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IMSCP_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.24\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IMSCP_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t} else if (rootNodeName.equals(\"lom\")) {\r\n\t\t\tif (rootNodeNamespace.equals(DOMTreeUtility.IEEE_LOM_NAMESPACE)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t} else {\r\n\t\t\t\tString msgText = Messages.getString(\"ADLSCORMValidator.30\", rootNodeName, rootNodeNamespace, DOMTreeUtility.IEEE_LOM_NAMESPACE);\r\n\r\n\t\t\t\tmLogger.info(\"FAILED: \" + msgText);\r\n\t\t\t\tMessageCollection.getInstance().add(new LogMessage(MessageType.FAILED, msgText));\r\n\t\t\t\t// This is the updated logging method invocation \r\n\t\t\t\tDetailedLogMessageCollection.getInstance().addMessage(new LogMessage(MessageType.TERMINATE, msgText));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "@Test\n\tpublic void test_TCM__String_getNamespacePrefix() {\n\t\tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", namespace);\n\t\tassertTrue(\"incorrect prefix\", attribute.getNamespacePrefix().equals(\"prefx\"));\n\t}", "public void setRootElementNS(java.lang.String rootElementNS) {\r\n this.rootElementNS = rootElementNS;\r\n }", "public boolean isNamespaceAware () {\n return true;\n }", "public static boolean NamespaceNodeTest(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"NamespaceNodeTest\")) return false;\n if (!nextTokenIs(b, K_NAMESPACE_NODE)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, NAMESPACE_NODE_TEST, null);\n r = consumeTokens(b, 2, K_NAMESPACE_NODE, L_PAR, R_PAR);\n p = r; // pin = 2\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "Rule Namespace() {\n // No direct effect on value stack\n return FirstOf(\n ScopedNamespace(),\n PhpNamespace(),\n XsdNamespace());\n }", "@Override\r\n\t\tpublic void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "public void setNamespace(final String namespaceValue) {\n this.namespace = namespaceValue;\n }", "protected boolean isMatchingNamespace(String rootElementNamespace)\n {\n if (namespacePattern != null)\n {\n return namespacePattern.matcher(rootElementNamespace == null ? \"\" : rootElementNamespace).matches();\n }\n else\n {\n return namespace == null ? rootElementNamespace == null : namespace.equals(rootElementNamespace);\n }\n }", "@Test\n public void test_TCM__OrgJdomAttribute_setValue_String() {\n \tfinal Namespace namespace = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\n \tfinal Attribute attribute = new Attribute(\"test\", \"value\", namespace);\n\n \tassertTrue(\"incorrect value before set\", attribute.getValue().equals(\"value\"));\n\n attribute.setValue(\"foo\");\n \tassertTrue(\"incorrect value after set\", attribute.getValue().equals(\"foo\"));\n\n \t//test that the verifier is called\n \ttry {\n attribute.setValue(null);\n \t\tfail(\"Attribute setValue didn't catch null string\");\n \t} catch (final NullPointerException e) {\n\t\t\t// Do nothing\n\t\t} catch (Exception e) {\n\t\t\tfail(\"Unexpected exception \" + e.getClass());\n \t}\n\n \ttry {\n \t\tfinal char c= 0x11;\n \t\tfinal StringBuilder buffer = new StringBuilder(\"hhhh\");\n buffer.setCharAt(2, c);\n \t\tattribute.setValue(buffer.toString());\n \t\tfail(\"Attribute setValue didn't catch invalid comment string\");\n \t} catch (final IllegalDataException e) {\n\t\t\t// Do nothing\n\t\t} catch (Exception e) {\n\t\t\tfail(\"Unexpected exception \" + e.getClass());\n \t}\n\n }", "abstract XML addNamespace(Namespace ns);", "public final boolean isNamespaceAware() {\n return true;\n }", "public int resolveElem(boolean internNsURIs)\n throws WstxException\n {\n if (mSize == 0) {\n throw new IllegalStateException(\"Calling validate() on empty stack.\");\n }\n NsAttributeCollector ac = mAttrCollector;\n\n // Any namespace declarations?\n {\n int nsCount = ac.getNsCount();\n if (nsCount > 0) {\n String [] nsPrefixes = ac.getNsPrefixes();\n TextBuilder nsURIs = ac.getNsURIs();\n for (int i = 0; i < nsCount; ++i) {\n String nsUri = nsURIs.getEntry(i);\n if (internNsURIs && nsUri.length() > 0) {\n nsUri = sInternCache.intern(nsUri);\n }\n /* 28-Jul-2004, TSa: Now we will have default namespaces\n * in there too; they have empty String as prefix\n */\n String prefix = nsPrefixes[i];\n if (prefix == null) {\n prefix = \"\";\n mElements[mSize-(ENTRY_SIZE - IX_DEFAULT_NS)] = nsUri;\n\n /* 18-Jul-2004, TSa: Need to check that 'xml' and 'xmlns'\n * prefixes are not re-defined.\n * !!! Should probably also check that matching URIs are\n * never bound to other prefixes, since that's what\n * Xerces does?\n */\n } else if (prefix == mPrefixXml) {\n if (!nsUri.equals(XMLConstants.XML_NS_URI)) {\n mReporter.throwParseError(ErrorConsts.ERR_NS_REDECL_XML,\n nsUri);\n }\n } else if (prefix == mPrefixXmlns) {\n if (!nsUri.equals(XMLConstants.XMLNS_ATTRIBUTE_NS_URI)) {\n mReporter.throwParseError(ErrorConsts.ERR_NS_REDECL_XMLNS,\n nsUri);\n }\n }\n mNamespaces.addStrings(prefix, nsUri);\n }\n }\n }\n\n // Then, let's set element's namespace, if any:\n String prefix = mElements[mSize-(ENTRY_SIZE - IX_PREFIX)];\n String ns;\n if (prefix == null || prefix.length() == 0) { // use default NS, if any\n ns = mElements[mSize-(ENTRY_SIZE - IX_DEFAULT_NS)];\n } else if (prefix == mPrefixXml) {\n ns = XMLConstants.XML_NS_URI;\n } else {\n // Need to find namespace with the prefix:\n ns = mNamespaces.findLastFromMap(prefix);\n if (ns == null) {\n mReporter.throwParseError(\"Undeclared namespace prefix '\"+prefix+\"'.\");\n }\n }\n mElements[mSize-(ENTRY_SIZE - IX_URI)] = ns;\n\n // And finally, resolve attributes' namespaces too:\n ac.resolveNamespaces(mReporter, mNamespaces);\n \n return CONTENT_ALLOW_MIXED;\n }", "public boolean isNamespaceAware() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.NAMESPACES_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "private boolean ensureXSDTypeNamespaceMappings(Object obj) {\r\n\t\t\r\n\t\tString targetNamespace = null;\r\n\t\t\r\n\t\tif (obj instanceof XSDNamedComponent ) {\r\n\t\t\tXSDNamedComponent namedComponent = (XSDNamedComponent) obj; \r\n\t\t\ttargetNamespace = namedComponent.getTargetNamespace();\r\n\t\t}\r\n\t\t\r\n\t\tif (targetNamespace == null) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t// Now check if the target namespace has a prefix mappings.\r\n\t\tString prefix = BPELUtils.getNamespacePrefix (modelObject, targetNamespace);\r\n\t\tif (prefix != null) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t// We have to map the namespace to a prefix. \r\n\t\tNamespaceMappingDialog dialog = new NamespaceMappingDialog(getShell(),modelObject);\r\n\t\tdialog.setNamespace( targetNamespace );\r\n\t\t\r\n\t\tif (dialog.open() == Window.CANCEL) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t// define the prefix\r\n\t\tBPELUtils.setPrefix( BPELUtils.getProcess(modelObject), targetNamespace, dialog.getPrefix()); \t\t\r\n\t\t\r\n\t\treturn true;\r\n\t}", "public String getNamespace() {\n\t\treturn EPPNameVerificationMapFactory.NS;\n\t}", "@Test\n\tpublic void test_TCM__String_getValue() {\n\t\tfinal Namespace ns = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\t\tfinal Attribute attr = new Attribute(\"test\", \"value\", ns);\n\t\tassertTrue(\"incorrect value\", attr.getValue().equals(\"value\"));\n\n\t}", "protected boolean compareNamespace(final XNode y, final ArrayReporter rep) {\n\t\tString ux = getNSUri();\n\t\tString uy = y.getNSUri();\n\t\tif (ux == null) {\n\t\t\tif (uy == null) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} else if (ux.equals(uy)) {\n\t\t\treturn true;\n\t\t}\n\t\t//Namespace differs: &{0} and &{1}\n\t\trep.error(XDEF.XDEF288, getXDPosition(), y.getXDPosition());\n\t\treturn false;\n\t}", "public void setNamespace(String namespace) {\r\n if (StringUtils.isBlank(namespace)) {\r\n throw new IllegalArgumentException(\"namespace is blank\");\r\n }\r\n\t\t\tthis.namespace = namespace;\r\n\t\t}", "org.apache.xmlbeans.XmlNMTOKEN xgetNamespace();", "public void setNameSpaceURI(String nsURI) {\n this.nsURI = nsURI;\n }", "@Override\r\n\t\tpublic boolean hasAttributeNS(String namespaceURI, String localName) throws DOMException\r\n\t\t\t{\n\t\t\t\treturn false;\r\n\t\t\t}", "public XMLNamespaces() {\n this(libsbmlJNI.new_XMLNamespaces__SWIG_0(), true);\n }", "@Override\n protected void initializeNamespaces() {\n\n cds.nsUriToPrefixMap.put(XMI_NS_URI, XMI_NS_PREFIX);\n\n // Add any namespace prefix mappings used by out of type system data.\n // Need to do this before the in-typesystem namespaces so that the prefix\n // used here are reserved and won't be reused for any in-typesystem namespaces.\n\n if (cds.sharedData != null) {\n Iterator<OotsElementData> ootsIter = cds.sharedData.getOutOfTypeSystemElements().iterator();\n while (ootsIter.hasNext()) {\n OotsElementData oed = ootsIter.next();\n String nsUri = oed.elementName.nsUri; // http://... etc\n String qname = oed.elementName.qName; // xxx:yyy\n String localName = oed.elementName.localName; // yyy\n String prefix = qname.substring(0, qname.indexOf(localName) - 1); // xxx\n cds.nsUriToPrefixMap.put(nsUri, prefix);\n cds.nsPrefixesUsed.add(prefix);\n }\n }\n\n /*\n * Convert x.y.z.TypeName to prefix-uri, TypeName, and ns:TypeName\n */\n Iterator<Type> it = cds.tsi.getTypeIterator();\n while (it.hasNext()) {\n TypeImpl t = (TypeImpl) it.next();\n // this also populates the nsUriToPrefix map\n cds.typeCode2namespaceNames[t.getCode()] = uimaTypeName2XmiElementName(t.getName());\n }\n }", "private static String verifyXPathRoot(String schemaNS, String rootProp) throws XMPException {\n\n\t\tif (schemaNS == null || schemaNS.length() == 0) {\n\t\t\tthrow new XMPException(\"Schema namespace URI is required\", XMPError.BADSCHEMA);\n\t\t}\n\n\t\tif ((rootProp.charAt(0) == '?') || (rootProp.charAt(0) == '@')) {\n\t\t\tthrow new XMPException(\"Top level name must not be a qualifier\", XMPError.BADXPATH);\n\t\t}\n\n\t\tif (rootProp.indexOf('/') >= 0 || rootProp.indexOf('[') >= 0) {\n\t\t\tthrow new XMPException(\"Top level name must be simple\", XMPError.BADXPATH);\n\t\t}\n\n\t\tString prefix = XMPMetaFactory.getSchemaRegistry().getNamespacePrefix(schemaNS);\n\t\tif (prefix == null) {\n\t\t\tthrow new XMPException(\"Unregistered schema namespace URI\", XMPError.BADSCHEMA);\n\t\t}\n\n\t\t// Verify the various URI and prefix combinations. Initialize the\n\t\t// expanded XMPPath.\n\t\tint colonPos = rootProp.indexOf(':');\n\t\tif (colonPos < 0) {\n\t\t\t// The propName is unqualified, use the schemaURI and associated\n\t\t\t// prefix.\n\t\t\tverifySimpleXMLName(rootProp); // Verify the part before any colon\n\t\t\treturn prefix + rootProp;\n\t\t} else {\n\t\t\t// The propName is qualified. Make sure the prefix is legit. Use the associated\n\t\t\t// URI and\n\t\t\t// qualified name.\n\n\t\t\t// Verify the part before any colon\n\t\t\tverifySimpleXMLName(rootProp.substring(0, colonPos));\n\t\t\tverifySimpleXMLName(rootProp.substring(colonPos));\n\n\t\t\tprefix = rootProp.substring(0, colonPos + 1);\n\n\t\t\tString regPrefix = XMPMetaFactory.getSchemaRegistry().getNamespacePrefix(schemaNS);\n\t\t\tif (regPrefix == null) {\n\t\t\t\tthrow new XMPException(\"Unknown schema namespace prefix\", XMPError.BADSCHEMA);\n\t\t\t}\n\t\t\tif (!prefix.equals(regPrefix)) {\n\t\t\t\tthrow new XMPException(\"Schema namespace URI and prefix mismatch\", XMPError.BADSCHEMA);\n\t\t\t}\n\n\t\t\treturn rootProp;\n\t\t}\n\t}", "@Override\n public void setNamespaceAware(boolean isNamespaceAware) {\n if (null == documentBuilderFactory) {\n loadDocumentBuilderFactory();\n }\n documentBuilderFactory.setNamespaceAware(isNamespaceAware);\n }", "public void testGetNamespaceURI() throws RepositoryException {\n String result = \"namespace\" ;\n String prefix =\"prefix\";\n \n sessionControl.expectAndReturn(session.getNamespaceURI(prefix), result);\n sessionControl.replay();\n sfControl.replay();\n \n assertSame(jt.getNamespaceURI(prefix), result);\n }", "@Override\n\t\tprotected void setAttributeValue(String value) {\n\t\t\ttry {\n\t\t\t\tchanging = true;\n\t\t\t\telement.setAttributeNS(namespaceURI, localName, value);\n\t\t\t} finally {\n\t\t\t\tchanging = false;\n\t\t\t}\n\t\t}", "public Node setNamedItemNS(Node arg)\n throws DOMException {\n\n \tif (isReadOnly()) {\n throw\n new DOMExceptionImpl(DOMException.NO_MODIFICATION_ALLOWED_ERR,\n \"DOM001 Modification not allowed\");\n }\n \n \tif(arg.getOwnerDocument() != ownerNode.ownerDocument()) {\n throw new DOMExceptionImpl(DOMException.WRONG_DOCUMENT_ERR,\n \"DOM005 Wrong document\");\n }\n\n NodeImpl argn = (NodeImpl)arg;\n \tif (argn.isOwned()) {\n throw new DOMExceptionImpl(DOMException.INUSE_ATTRIBUTE_ERR,\n \"DOM009 Attribute already in use\");\n }\n\n // set owner\n argn.ownerNode = ownerNode;\n argn.isOwned(true);\n\n \tint i = findNamePoint(argn.getNamespaceURI(), argn.getLocalName());\n \tNodeImpl previous = null;\n \tif (i >= 0) {\n previous = (NodeImpl) nodes.elementAt(i);\n nodes.setElementAt(arg,i);\n previous.ownerNode = ownerNode.ownerDocument();\n previous.isOwned(false);\n // make sure it won't be mistaken with defaults in case it's reused\n previous.isSpecified(true);\n \t} else {\n \t // If we can't find by namespaceURI, localName, then we find by\n \t // nodeName so we know where to insert.\n \t i = findNamePoint(arg.getNodeName(),0);\n if (i >=0) {\n previous = (NodeImpl) nodes.elementAt(i);\n nodes.insertElementAt(arg,i);\n } else {\n i = -1 - i; // Insert point (may be end of list)\n if (null == nodes) {\n nodes = new Vector(5, 10);\n }\n nodes.insertElementAt(arg, i);\n }\n }\n // \tchanged(true);\n\n \t// Only NamedNodeMaps containing attributes (those which are\n \t// bound to an element) need report MutationEvents\n if (NodeImpl.MUTATIONEVENTS\n && ownerNode.ownerDocument().mutationEvents)\n {\n // MUTATION POST-EVENTS:\n ownerNode.dispatchAggregateEvents(\n (AttrImpl)arg,\n previous==null ? null : previous.getNodeValue()\n );\n }\n \treturn previous;\n\n }", "@Override\r\n\t\tpublic boolean isDefaultNamespace(String namespaceURI)\r\n\t\t\t{\n\t\t\t\treturn false;\r\n\t\t\t}", "@Override\r\n\tpublic String getNamespace() {\n\t\treturn null;\r\n\t}", "protected static boolean isNamespaceAware(org.w3c.dom.Node node) {\n boolean ret=(node.getLocalName() != null);\n \n if (LOG.isLoggable(Level.FINEST)) {\n LOG.finest(\"Is node \"+node+\" namespace aware? \"+ret);\n LOG.finest(\"nodeName=\"+node.getNodeName());\n LOG.finest(\"localName=\"+node.getLocalName());\n LOG.finest(\"namespace=\"+node.getNamespaceURI());\n } \n \n return (ret);\n }", "protected void validateNamespace(Namespace namespace) throws WikiException {\r\n\t\tcheckLength(namespace.getDefaultLabel(), 200);\r\n\t}", "private void setBasicRnsRoot(){\n\t\tif(basicRnsRoot != null){\n\t\t\tthrow new RuntimeException(\"Call it once\");\n\t\t}\n\t\tbasicRnsRoot = (new ObjectFactory()).createRnsRootResponse();\n\t\tUriBuilder rnsUri = getUriBuilder().path(\"rns\");\n\t\tbasicRnsRoot.setSelf(rnsUri.build().toString());\n\t\tbasicRnsRoot.setVehicles(rnsUri.path(\"vehicles\").build().toString());\n\t}", "public interface XMLNode extends XMLElement {\n\t/** Prefix for the XMLSchema namespace. */\n\tfinal static String NS_PREFIX_XSD = \"xsd\";\n\t/** URL of the XMLSchema namespace. */\n\tfinal static String NS_URI_XSD = \"http://www.w3.org/2001/XMLSchema\";\n\t/** Prefix for the XmlSchema-instance namespace. */\n\tfinal static String NS_PREFIX_XSI = \"xsi\";\n\t/** URL of the XmlSchema-instance namespace. */\n\tfinal static String NS_URI_XSI = \"http://www.w3.org/2001/XMLSchema-instance\";\n\t/** The name of the xsi:nil element. */\n\tfinal static String XSI_NIL_NAME = \"nil\";\n\t/** The value of the xsi:nil element if true. */\n\tfinal static String XSI_NIL_TRUE = \"true\";\n\n\t/**\n\t * Get all the attributes of this element.\n\t * \n\t * @return The attributes as a collection of {@link XMLAttributeImpl}\n\t * objects.\n\t */\n\tCollection<XMLAttribute> getAttributes();\n\n\t/**\n\t * Adds an attribute to the element.\n\t * \n\t * @param namespace\n\t * The namespace of the element as a URI - can be null if no\n\t * namespace is to be set.\n\t * @param name\n\t * The name of the attribute.\n\t * @param value\n\t * The value of the attribute.\n\t * @return\n\t */\n\tXMLAttribute addAttribute(String namespace, String name, String value);\n\n\t/**\n\t * Sets the <code>xsi:type</code> attribute for the element.\n\t * \n\t * Note that this basically adds a new attribute called \"type\" in the\n\t * \"http://www.w3.org/2001/XMLSchema-instance\" namespace - it doesn't\n\t * automatically declare this namespace with the \"xsi\" prefix. If the xsi\n\t * prefix is declared with {@link XMLNode#declarePrefix(String, String)}\n\t * method on this element or any higher elements, it this will come out as\n\t * xsi:type.\n\t * \n\t * @param type\n\t * The type, as a string.\n\t */\n\tvoid setType(String type);\n\n\t/**\n\t * Declare a prefix for a namespace URI.\n\t * \n\t * @param prefix\n\t * The prefix name (e.g. \"xsi\").\n\t * @param namespace\n\t * The namespace URI, as a String.\n\t */\n\tvoid declarePrefix(String prefix, String namespace);\n\n\t/**\n\t * Get the name of the element.\n\t * \n\t * @return The name as a string.\n\t */\n\tString getName();\n\n\t/**\n\t * Sets the name of the element.\n\t * \n\t * @param name\n\t * The new name as a string.\n\t */\n\tvoid setName(String name);\n\n\t/**\n\t * Get the namespace URI for this element.\n\t * \n\t * @return The namespace URI, as a String.\n\t */\n\tString getNamespace();\n\n\t/**\n\t * Sets the namespace of this element.\n\t * \n\t * @param namespace\n\t * The namespace URI as a String.\n\t */\n\tvoid setNamespace(String namespace);\n}", "public boolean hasNamespace() {\n return m_namespaces != null && m_namespaces.size() > 0;\n }", "@Override\n\tpublic String getNamespace() {\n\t\treturn null;\n\t}", "public void setNamespace(String namespace) {\n this.namespace = namespace;\n }", "public void setNamespace(String namespace) {\n this.namespace = namespace;\n }", "public String getXMLSchemaTargetNamespace() {\n String targetNamespace = getPreferenceStore().getString(CONST_DEFAULT_TARGET_NAMESPACE);\n if (!targetNamespace.endsWith(\"/\")) {\n targetNamespace = targetNamespace + \"/\";\n }\n return targetNamespace;\n }", "java.lang.String getNamespace();", "@XmlElement(required = true, name = \"namespace\")\n public String getNamespace() {\n return namespace;\n }", "@Override\r\n\t\tpublic String getNamespaceURI()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "@Test\n \tpublic void whereClauseForNodeNamespace() {\n \t\tnode23.setNamespace(\"namespace\");\n \t\tcheckWhereCondition(join(\"=\", \"_node23.namespace\", \"'namespace'\"));\n \t}", "public AVM2Namespace getAVM2InternalNamespace();", "@Test\n public void shouldInitializeFromPersistedContent() {\n namespaceRegistry.register(validPrefix1, validNamespaceUri1);\n namespaceRegistry.register(validPrefix2, validNamespaceUri2);\n assertThat(namespaceRegistry.getNamespaceForPrefix(validPrefix1), is(validNamespaceUri1));\n assertThat(namespaceRegistry.getNamespaceForPrefix(validPrefix2), is(validNamespaceUri2));\n\n // Now set up the graph-based namespace registry ...\n GraphNamespaceRegistry registry2 = new GraphNamespaceRegistry(graph, pathToParentOfNamespaceNodes, uriPropertyName,\n additionalNamespaceProperties);\n // All namespaces should match ...\n Set<NamespaceRegistry.Namespace> all = namespaceRegistry.getNamespaces();\n Set<NamespaceRegistry.Namespace> all2 = registry2.getNamespaces();\n assertThat(all, is(all2));\n assertThat(registry2.getNamespaceForPrefix(validPrefix1), is(validNamespaceUri1));\n assertThat(registry2.getNamespaceForPrefix(validPrefix2), is(validNamespaceUri2));\n\n registry2.refresh();\n all2 = registry2.getNamespaces();\n assertThat(all, is(all2));\n assertThat(registry2.getNamespaceForPrefix(validPrefix1), is(validNamespaceUri1));\n assertThat(registry2.getNamespaceForPrefix(validPrefix2), is(validNamespaceUri2));\n }", "boolean isNamespace(Object object);", "private static void checkNSCompat(XSElementDecl elem, int min1, int max1, XSWildcardDecl wildcard, int min2, int max2, boolean checkWCOccurrence) throws XMLSchemaException {\n/* 1173 */ if (checkWCOccurrence && !checkOccurrenceRange(min1, max1, min2, max2)) {\n/* 1174 */ throw new XMLSchemaException(\"rcase-NSCompat.2\", new Object[] { elem.fName, \n/* */ \n/* */ \n/* 1177 */ Integer.toString(min1), (max1 == -1) ? \"unbounded\" : \n/* 1178 */ Integer.toString(max1), \n/* 1179 */ Integer.toString(min2), (max2 == -1) ? \"unbounded\" : \n/* 1180 */ Integer.toString(max2) });\n/* */ }\n/* */ \n/* */ \n/* 1184 */ if (!wildcard.allowNamespace(elem.fTargetNamespace)) {\n/* 1185 */ throw new XMLSchemaException(\"rcase-NSCompat.1\", new Object[] { elem.fName, elem.fTargetNamespace });\n/* */ }\n/* */ }", "public void testSetNamespacePrefix() throws RepositoryException{\n String prefix = \"prefix\";\n String uri =\"uri\";\n session.setNamespacePrefix(prefix, uri);\n \n sessionControl.replay();\n sfControl.replay();\n \n jt.setNamespacePrefix(prefix, uri);\n }", "@org.junit.Test\n public void constrCompelemName2() {\n final XQuery query = new XQuery(\n \"declare namespace foo=\\\"http://www.example.com/foo\\\"; element foo:elem {'text'}\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n assertSerialization(\"<foo:elem xmlns:foo=\\\"http://www.example.com/foo\\\">text</foo:elem>\", false)\n );\n }", "public void setNilOrganizationVersion()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORGANIZATIONVERSION$6, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ORGANIZATIONVERSION$6);\r\n }\r\n target.setNil();\r\n }\r\n }", "public String getNamespace()\n/* */ {\n/* 357 */ return this.namespace;\n/* */ }", "public void setXmlns(String xmlns)\r\n\t{\r\n\t\tthis.xmlns = xmlns;\r\n\t}", "@Override\n\tprotected String getNamespace() {\n\t\treturn NAMESPACE;\n\t}", "protected void verifyRootElement(String localName, String prefix)\n throws XMLStreamException\n {\n if (isValidating()) {\n /* 17-Mar-2006, TSa: Ideally, this should be a validity\n * problem?\n */\n if (mDtdRootElem != null && mDtdRootElem.length() > 0) {\n String wrongElem = null;\n \n /* Ugh. It is possible that we just don't know the prefix --\n * in repairing mode it's assigned after this check. So for\n * now, let's only verify the local name\n */\n if (localName.equals(mDtdRootElem)) {\n // good\n } else {\n int lnLen = localName.length();\n int oldLen = mDtdRootElem.length();\n \n if (oldLen > lnLen\n && mDtdRootElem.endsWith(localName)\n && mDtdRootElem.charAt(oldLen - lnLen - 1) == ':') {\n // good also\n } else {\n if (prefix == null) { // doesn't and won't have one\n wrongElem = localName;\n } else if (prefix.length() == 0) { // don't know what it'd be\n wrongElem = \"[unknown]:\"+localName;\n } else {\n wrongElem = prefix + \":\" + localName;\n }\n }\n }\n if (wrongElem != null) {\n reportValidationProblem(ErrorConsts.ERR_VLD_WRONG_ROOT, wrongElem, mDtdRootElem);\n }\n }\n }\n mState = STATE_TREE;\n }", "public void setNameSpace(String namespace) {\n this.namespace = namespace;\n }", "@Override\r\n\tpublic String getNamespaceURI() {\n\t\treturn null;\r\n\t}", "private String updateNamespaces(final net.simpleframework.lib.org.jsoup.nodes.Element el) {\n\t\t\t// scan the element for namespace declarations\n\t\t\t// like: xmlns=\"blah\" or xmlns:prefix=\"blah\"\n\t\t\tfinal Attributes attributes = el.attributes();\n\t\t\tfor (final Attribute attr : attributes) {\n\t\t\t\tfinal String key = attr.getKey();\n\t\t\t\tString prefix;\n\t\t\t\tif (key.equals(xmlnsKey)) {\n\t\t\t\t\tprefix = \"\";\n\t\t\t\t} else if (key.startsWith(xmlnsPrefix)) {\n\t\t\t\t\tprefix = key.substring(xmlnsPrefix.length());\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tnamespacesStack.peek().put(prefix, attr.getValue());\n\t\t\t}\n\n\t\t\t// get the element prefix if any\n\t\t\tfinal int pos = el.tagName().indexOf(\":\");\n\t\t\treturn pos > 0 ? el.tagName().substring(0, pos) : \"\";\n\t\t}", "public void setUserPrincipalRoot(String val) {\n userPrincipalRoot = val;\n }", "private Namespace( String mm7Uri ) {\n super( mm7Uri );\n }", "public String getNamespace() {\n return namespace;\n }", "private void TCM__Object_clone__Namespace_default() {\n final String prefix = \"prefx\";\n final String uri = \"http://some.other.place\";\n\n final Namespace namespace = Namespace.getNamespace(prefix, uri);\n\n final String attributeName = \"test\";\n final String attributeValue = \"value\";\n\n final Attribute attribute = new Attribute(attributeName, attributeValue, namespace);\n final Attribute clonedAttribute = attribute.clone();\n\n assertTrue(\"incorrect name in clone\", clonedAttribute.getName().equals(attributeName));\n assertTrue(\"incorrect value in clone\", clonedAttribute.getValue().equals(attributeValue));\n assertEquals(\"incoorect attribute type in clone\", clonedAttribute.getAttributeType(), Attribute.UNDECLARED_TYPE);\n\n assertTrue(\"incorrect prefix in clone\", clonedAttribute.getNamespacePrefix().equals(prefix));\n assertTrue(\"incorrect qualified name in clone\", clonedAttribute.getQualifiedName().equals(prefix + ':' + attributeName));\n assertTrue(\"incorrect Namespace URI in clone\", clonedAttribute.getNamespaceURI().equals(uri));\n }", "public java.lang.String getRootElementNS() {\r\n return rootElementNS;\r\n }", "@org.junit.Test\n public void compElemBadName2() {\n final XQuery query = new XQuery(\n \"(: 3.7.3.1 Computed Element Constructor per XQ.E19 XQDY0096 if namespace URI is 'http://www.w3.org/2000/xmlns/' Mary Holstege :) element { fn:QName(\\\"http://www.w3.org/2000/xmlns/\\\",\\\"error\\\")} {}\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n error(\"XQDY0096\")\n );\n }", "@Override\n\tpublic String getNamespace() {\n\t\treturn nameSpace;\n\t}", "@Test\n\tpublic void test_TCM__String_getQualifiedName() {\n final String prefix = \"prefx\";\n final String uri = \"http://some.other.place\";\n\n final Namespace namespace = Namespace.getNamespace(prefix, uri);\n\n final String attributeName = \"test\";\n final String attributeQName = prefix + ':' + attributeName;\n final String attributeValue = \"value\";\n\n final Attribute qulifiedAttribute = new Attribute(attributeName, attributeValue, namespace);\n assertEquals(\"incorrect qualified name\", qulifiedAttribute.getQualifiedName(), attributeQName);\n\n final Attribute attribute = new Attribute(attributeName, attributeValue);\n assertEquals(\"incorrect qualified name\", attribute.getQualifiedName(), attributeName);\n\n\t}", "public String getNamespace();", "@Override\n public void startElement(String namespaceURI, String lName,\n String qName, Attributes attrs) throws SAXException {\n if (qName.equals(RULE)) {\n translations.clear();\n id = attrs.getValue(\"id\");\n if (!(inRuleGroup && defaultOff)) {\n defaultOff = \"off\".equals(attrs.getValue(\"default\"));\n }\n if (inRuleGroup && id == null) {\n id = ruleGroupId;\n }\n correctExamples = new ArrayList<>();\n incorrectExamples = new ArrayList<>();\n } else if (qName.equals(PATTERN)) {\n inPattern = true;\n String languageStr = attrs.getValue(\"lang\");\n if (Languages.isLanguageSupported(languageStr)) {\n language = Languages.getLanguageForShortCode(languageStr);\n }\n } else if (qName.equals(TOKEN)) {\n setToken(attrs);\n } else if (qName.equals(TRANSLATION)) {\n inTranslation = true;\n String languageStr = attrs.getValue(\"lang\");\n if (Languages.isLanguageSupported(languageStr)) {\n Language tmpLang = Languages.getLanguageForShortCode(languageStr);\n currentTranslationLanguage = tmpLang;\n if (tmpLang.equalsConsiderVariantsIfSpecified(motherTongue)) {\n translationLanguage = tmpLang;\n }\n }\n } else if (qName.equals(EXAMPLE)) {\n correctExample = new StringBuilder();\n incorrectExample = new StringBuilder();\n if (attrs.getValue(TYPE).equals(\"incorrect\")) {\n inIncorrectExample = true;\n } else if (attrs.getValue(TYPE).equals(\"correct\")) {\n inCorrectExample = true;\n } else if (attrs.getValue(TYPE).equals(\"triggers_error\")) {\n throw new RuntimeException(\"'triggers_error' is not supported for false friend XML\");\n }\n } else if (qName.equals(MESSAGE)) {\n inMessage = true;\n message = new StringBuilder();\n } else if (qName.equals(RULEGROUP)) {\n ruleGroupId = attrs.getValue(\"id\");\n inRuleGroup = true;\n defaultOff = \"off\".equals(attrs.getValue(DEFAULT));\n }\n }", "public void add(AXSDSchema value)throws AException\n {\n if(value==null)throw new AException(\"value=null\");\n if(value.getNamespaceURI().isEmpty())throw new AException(\"NamespaceURI of value is empty\");\n for(int q=0;q<PGetCount();q++)\n {\n AXSDSchema schema=(AXSDSchema)PGetPtr(q);\n int cmp=schema.getNamespaceURI().compareTo(value.getNamespaceURI());\n if(cmp<0)continue;\n if(cmp==0)\n {\n sendWarning(\"add\",\"Schema with NamespaceURI \\\"\"+schema.getNamespaceURI()+\"\\\" alredy exists\",q);\n return;\n }\n PInsert(value,q);\n return;\n }\n PAdd(value);\n }", "@Override\n\t\tprotected String getValueAsString() {\n\t\t\tAttr attr = element.getAttributeNodeNS(namespaceURI, localName);\n\t\t\tif (attr == null) {\n\t\t\t\treturn defaultValue;\n\t\t\t}\n\t\t\treturn attr.getValue();\n\t\t}", "public static boolean DefaultElementNamespaceDecl(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"DefaultElementNamespaceDecl\")) return false;\n if (!nextTokenIs(b, K_DECLARE)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, DEFAULT_ELEMENT_NAMESPACE_DECL, null);\n r = consumeTokens(b, 3, K_DECLARE, K_DEFAULT, K_ELEMENT, K_NAMESPACE);\n p = r; // pin = 3\n r = r && URILiteral(b, l + 1);\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "private NamespaceDefinition getDefaultNamespace(boolean attr) {\n NamespaceDefinition ns;\n if (attr) {\n ns = m_attributeDefault;\n } else {\n ns = m_elementDefault;\n }\n if (ns == null && m_context != null) {\n ns = m_context.getDefaultNamespace(attr);\n }\n return ns;\n }", "@Test\r\n public void testParseQName() {\r\n QName qName1 = SpecificationUtil.parseQName(\"{http://mayaa.seasar.org}id\");\r\n assertEquals(\"http://mayaa.seasar.org\", qName1.getNamespaceURI().getValue());\r\n assertEquals(\"id\", qName1.getLocalName());\r\n\r\n QName qName2 = SpecificationUtil.parseQName(\"{ http://mayaa.seasar.org } id \");\r\n assertEquals(\"http://mayaa.seasar.org\", qName2.getNamespaceURI().getValue());\r\n assertEquals(\"id\", qName2.getLocalName());\r\n\r\n try {\r\n SpecificationUtil.parseQName(\"\");\r\n fail();\r\n } catch (IllegalArgumentException e) {\r\n assertEquals(\"\", e.getMessage());\r\n }\r\n\r\n try {\r\n SpecificationUtil.parseQName(\"{foobar\");\r\n fail();\r\n } catch (IllegalArgumentException e) {\r\n assertEquals(\"{foobar\", e.getMessage());\r\n }\r\n\r\n try {\r\n SpecificationUtil.parseQName(\"{foo} \");\r\n fail();\r\n } catch (IllegalArgumentException e) {\r\n assertEquals(\"{foo} \", e.getMessage());\r\n }\r\n\r\n try {\r\n SpecificationUtil.parseQName(\"bar}id\");\r\n fail();\r\n } catch (IllegalArgumentException e) {\r\n assertEquals(\"bar}id\", e.getMessage());\r\n }\r\n }", "public NotationValue(String prefix, String uri, String localName) {\n qName = new StructuredQName(prefix, uri, localName);\n typeLabel = BuiltInAtomicType.NOTATION;\n }", "public void setNamespaceHandler(NamespaceHandler nsHandler)\r\n {\r\n _nsHandler = nsHandler;\r\n }", "@Test\n public final void testGetXPathWithNamespace() {\n \n Document testDoc = TestDocHelper.createDocument(\n \"<d:a xmlns:d=\\\"http://test.com\\\"><b/></d:a>\");\n Element docEl = testDoc.getDocumentElement();\n \n //Move to beforeclass method\n XPathFactory xPathFac = XPathFactory.newInstance();\n XPath xpathExpr = xPathFac.newXPath();\n \n testXPathForNode(docEl, xpathExpr);\n testXPathForNode(docEl.getFirstChild(), xpathExpr);\n }", "public void setPrincipalRoot(String val) {\n principalRoot = val;\n }", "@Override\n\tpublic void namespace() {\n\t\t\n\t}", "@Updatable\n public String getNamespace() {\n return namespace;\n }", "public interface NSURIResolver extends URIResolver {\n \n /**\n * Called by the processor when it encounters\n * an xsl:include, xsl:import, or document() function and the \n * object can not be resolved by the its relative path.\n * (javax.xml.transform.URIResolver.resolve(String href, String base) \n * has returned null)\n * \n * \n * @param tartgetNamespace of the imported schema.\n *\n * @return A Source object, or null if the namespace cannot be resolved.\n * \n * @throws TransformerException if an error occurs when trying to\n * resolve the URI.\n */\n public Source resolveByNS(String tartgetNamespace)\n throws TransformerException;\n\n}", "@Test\n\tpublic void testAxiomPrefixRenaming() throws Exception {\n\t\ttestContextPrefixRenaming(IAxiom.ELEMENT_TYPE);\n\t}", "public NotationValue(String prefix, String uri, String localName, AtomicType typeLabel) {\n qName = new StructuredQName(prefix, uri, localName);\n this.typeLabel = typeLabel;\n }", "public interface CCRDocumentTypes extends DocumentTypes{\n\tpublic String MEDCOMMONS_AFFINITY_DOMAIN = \"MedCommons Patient Identifier\";\n\n public String CCR_CHANGE_NOTIFICATION_STATUS_PENDING = \"Pending\";\n \n public String CCR_CHANGE_NOTIFICATION_STATUS_NOTIFIED = \"Notified\";\n\n public static final String MEDCOMMONS_PATIENT_ID_TYPE = \"MedCommons Account Id\";\n\n\t\n\t/**\n\t * The URN of the namespace for CCR documents. This is the value that appears\n\t * in the XML header.\n\t */\n\tpublic static final String CCR_NAMESPACE_URN = \"urn:astm-org:CCR\";\n\n\t/**\n\t * Location of the XSD on disk\n\t */\n\tpublic static String XSD_LOCATION = \"conf/CCR_20051109.xsd\";\n\t\n\t/**\n\t * The URI of the namespace for CCR documents. This is the value that is returned by \n\t * the JDOM getNamespaceURI() method.\n\t */\n\tpublic static final String CCR_NAMESPACE_URI = \"uri:\" + CCR_NAMESPACE_URN;\n\t\n\t/**\n\t * Schema validation OFF - only unvalidated parsing performed.\n\t */\n\tpublic final static String SCHEMA_VALIDATION_OFF = \"OFF\";\n\t/**\n\t * Schema validation LENIENT - CCRs are parsed; validation errors returned as warning messages but\n\t * processing proceeds.\n\t */\n\tpublic final static String SCHEMA_VALIDATION_LENIENT = \"LENIENT\";\n\t\n\t/**\n\t * Schema validation STRICT - Any schema validation failures return an error.\n\t */\n\tpublic final static String SCHEMA_VALIDATION_STRICT = \"STRICT\";\n\n}", "@Test\n\tpublic void testInvariantPrefixRenaming() throws Exception {\n\t\ttestMachinePrefixRenaming(IInvariant.ELEMENT_TYPE);\n\t}", "public void setIsRoot(boolean value)\n\t{\n\t\tisRoot = value;\n\t}", "@org.junit.Test\n public void compElemBadName6() {\n final XQuery query = new XQuery(\n \"(: 3.7.3.1 Computed Element Constructor per XQ.E19 XQDY0096 if namespace prefix is 'xmlns' Mary Holstege :) element { fn:QName(\\\"http://example.com/some-uri\\\",\\\"xmlns:error\\\") } {}\",\n ctx);\n try {\n result = new QT3Result(query.value());\n } catch(final Throwable trw) {\n result = new QT3Result(trw);\n } finally {\n query.close();\n }\n test(\n error(\"XQDY0096\")\n );\n }", "public void setXmlSchema(Document doc) {\n\t\tString schemaUrl = \"https://raw.githubusercontent.com/biosemantics/schemas/master/semanticMarkupInput.xsd\";\n\t\tElement rootElement = doc.getRootElement();\n\t\trootElement.setNamespace(bioNamespace);\n\t\trootElement.addNamespaceDeclaration(bioNamespace);\n\t\trootElement.addNamespaceDeclaration(xsiNamespace);\n\t\trootElement.setAttribute(\"schemaLocation\", \"http://www.github.com/biosemantics \" + schemaUrl, xsiNamespace);\n\t}", "protected String getBlankNS() {\n\n return uniqueNS;\n }" ]
[ "0.62482804", "0.60474", "0.5579497", "0.5550585", "0.5527754", "0.5518246", "0.54981387", "0.54379773", "0.5401859", "0.5398951", "0.5389398", "0.5368582", "0.5317504", "0.5313544", "0.528364", "0.5276317", "0.5235213", "0.5229057", "0.522758", "0.5185407", "0.5185282", "0.50983655", "0.5090211", "0.50762814", "0.5073167", "0.5071522", "0.5036936", "0.50351644", "0.50124174", "0.49938932", "0.49937043", "0.49934042", "0.49881515", "0.4978396", "0.49565136", "0.49332362", "0.49012107", "0.48798785", "0.48535278", "0.48529455", "0.48513994", "0.48425022", "0.48394722", "0.4805731", "0.4801153", "0.47767463", "0.47522423", "0.47514582", "0.47456098", "0.47401342", "0.4722248", "0.4722248", "0.4719218", "0.46913922", "0.46848875", "0.46825406", "0.4676648", "0.46687007", "0.4667104", "0.46670175", "0.46569377", "0.4656718", "0.46563777", "0.4655414", "0.46456906", "0.46381205", "0.46348903", "0.46306238", "0.46216255", "0.46177146", "0.46131057", "0.46007606", "0.45998764", "0.45916602", "0.45851862", "0.45827618", "0.45819253", "0.45798406", "0.45796397", "0.4579283", "0.45765257", "0.4569637", "0.4568941", "0.45672122", "0.45657387", "0.4564353", "0.45638213", "0.45606333", "0.45577505", "0.4556862", "0.45529726", "0.4534353", "0.4531589", "0.45285943", "0.45267677", "0.4516719", "0.4513833", "0.45137757", "0.45095834", "0.45064932", "0.4504336" ]
0.0
-1
This method sets whether or not the XML instance was valid to the application profile checks. The value false indicates that the XML instance is not valid to the application profiles, true indicates that the XML instance is valid to the application profiles.
protected void setIsValidToApplicationProfile(boolean isValidToAppProf) { mIsValidToApplicationProfile = isValidToAppProf; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void validate(){\n if (validated){\n validated = false;\n } else {\n validated = true;\n }\n }", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "public boolean isValid() {\n try {\n validate();\n } catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "void setValidSettings(boolean valid);", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public void setValid(boolean value)\r\n {\r\n //Override this method in MediaItem object\r\n getSemanticObject().setBooleanProperty(swb_valid, value,false);\r\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public void setValid(boolean newValid) {\n \t\tvalid = newValid;\n \t}", "protected boolean isValid() {\n \t\treturn valid;\n \t}", "public boolean isValid()\r\n {\r\n //Override this method in MediaItem object\r\n return getSemanticObject().getBooleanProperty(swb_valid,false);\r\n }", "public void setIsValid(boolean isValid) {\n this.isValid = isValid;\n }", "@Override\n\t\tpublic void setValid(final boolean valid) {\n\t\t}", "protected boolean isValid()\r\n {\r\n \treturn true;\r\n }", "@Override\n\t\tpublic boolean isValid() {\n\t\t\treturn false;\n\t\t}", "public boolean isValidating() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.VALIDATION_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "public void setValid(boolean valid) {\n this.valid = valid;\n }", "public void validate() {\n\t\tthis.invalidated = false;\n\t}", "public boolean isValid() {\n\t\treturn false;\n\t}", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\n return true;\n }", "public boolean validate() {\n return true;\n }", "public boolean validate() {\n return true;\n }", "@Override\r\n\tpublic boolean isValid() {\n\t\treturn false;\r\n\t}", "public void resetValid()\n\t{\n\t\tthis.valid = true;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "public boolean isValid(){\n\t\treturn true;\n\t}", "public boolean getIsValidToApplicationProfile() {\r\n\t\treturn mIsValidToApplicationProfile;\r\n\t}", "public void setValidated(boolean validated) {\n this.validated = validated;\n }", "public void setValid(boolean valid) {\n\t\tthis.valid = valid;\n\t}", "public boolean validate(){\n return true;\n }", "public boolean isValid(){\n\t\treturn valid;\n\t}", "public void setValid(Boolean valid) {\n\t\tthis.valid = valid;\n\t}", "public void setValidUser(boolean valid) {\n\t\t_isValid = valid;\n\t}", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean valid() {\n return valid;\n }", "public boolean isValid() {\n \t\treturn valid;\n \t}", "public boolean isValid() {\r\n\t\treturn isValid;\r\n\t}", "public boolean isValid(){\r\n\t\t\r\n\t\t// TODO\r\n\t\t\r\n\t\treturn true;\r\n\t}", "public boolean isValid() {\n\t\treturn valid;\n\t}", "public boolean isValid() {\n return isValid;\n }", "public boolean isValid() {\n return isValid;\n }", "public boolean isValid()\n\t{\n\t\treturn false;\n\t}", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean isValid()\n {\n return valid;\n }", "public boolean isValidated(){\n return getValidatedFlag();\n }", "public boolean isValidated() throws Exception\r\n {\n return false;\r\n }", "public Boolean valid() {\n return valid;\n }", "public boolean isValid()\n {\n return valid;\n }", "public void validate() {\n if (valid) return;\n \n layer = getAttValue(\"layer\").getString();\n hasFrame = getAttValue(\"hasframe\").getBoolean();\n\n valid = true;\n }", "boolean valid() {\n return true;\n }", "boolean valid() {\n return true;\n }", "boolean valid() {\n return true;\n }", "public void setValidation(boolean validate) {\n this.validate = validate;\n }", "public boolean wasValid() {\n return !wasInvalid();\n }", "public boolean isValid() {\n\t\treturn(m_valid);\n\t}", "public boolean isValidate() {\r\r\r\r\r\r\n return validate;\r\r\r\r\r\r\n }", "@Override\n\t\tprotected void revalidate() {\n\t\t\tvalid = true;\n\t\t}", "public void setValidate(boolean validate) {\r\r\r\r\r\r\n this.validate = validate;\r\r\r\r\r\r\n }", "@java.lang.Override\n public boolean getValid() {\n return valid_;\n }", "public void setValidateRecords(Boolean val) {\n\n\t\tvalidateRecords = val;\n\n\t}", "public void setValid(int valid) {\n this.valid = valid;\n }", "public boolean isValid() {\n \t\treturn fValid;\n \t}", "@java.lang.Override\n public boolean getValid() {\n return valid_;\n }", "protected boolean isValidating() {\n return (mValidator != null);\n }", "@Override\n\tpublic boolean validate() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean validate() {\n\t\treturn false;\n\t}", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "@Test\n\tpublic void testIsValid()\n\t{\n\t\tSystem.out.println(\"isValid\");\n\n\t\tUserTypeCode userTypeCode = new UserTypeCode();\n\t\tuserTypeCode.setCode(\"Test\");\n\t\tuserTypeCode.setDescription(\"Test\");\n\n\t\tValidationModel validateModel = new ValidationModel(userTypeCode);\n\t\tvalidateModel.setConsumeFieldsOnly(true);\n\n\t\tboolean expResult = true;\n\t\tboolean result = ValidationUtil.isValid(validateModel);\n\t\tassertEquals(expResult, result);\n\n\t\tvalidateModel = new ValidationModel(userTypeCode);\n\n\t\texpResult = false;\n\t\tresult = ValidationUtil.isValid(validateModel);\n\t\tassertEquals(expResult, result);\n\t}", "public void validate(){\n ArrayList<User> u1 = new ArrayList<User>();\n u1.addAll(Application.getApplication().getUsers());\n u1.add(this);\n\n ArrayList<User> u2 = new ArrayList<User>();\n \n u2.addAll(Application.getApplication().getNonValidatedUsers());\n u2.remove(this);\n\n Application.getApplication().setUsers(u1);\n Application.getApplication().setNonValidatedUsers(u2);\n }", "public Boolean getValid() {\n\t\treturn valid;\n\t}", "public boolean isValid() {\n return instance != null;\n }", "@Override\n\tpublic boolean validObject() {\n\t\treturn valid;\n\t}", "private void setRelationsValid(boolean value)\n {\n __relationsValid = value;\n }", "public boolean isValid() {\n // TODO: Question 2.2.\n \n return false;\n }", "@Override\r\n public boolean validate() {\n return true;\r\n }", "public final boolean isValidate() {\n\t\treturn validate;\n\t}", "public boolean isUserSettingsOK() {\r\n return (userSettings != null && userSettings.isValid());\r\n }", "public Builder setValid(boolean value) {\n \n valid_ = value;\n onChanged();\n return this;\n }", "public boolean isValidated()\n {\n if (noRadio.isSelected())\n {\n parent.exit();\n return false;\n }\n return (yesRadio.isSelected());\n }", "Boolean getIsValid();", "@Override\r\n\tpublic boolean checkValidity() {\n\t\treturn false;\r\n\t}", "boolean getValid();", "public boolean isValid() {\r\n\treturn bValid;\r\n}", "private boolean validate() {\r\n\t\ttry {\r\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\t//validate the schema\r\n\t\t\tdbFactory.setValidating(true);\r\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\r\n\t\t\t//handling errors\r\n\t\t\tdBuilder.setErrorHandler(new ErrorHandler() {\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void error(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void fatalError(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void warning(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t\tFile file = new File(tempPath);\r\n\t\t\tFileInputStream fis = new FileInputStream(file);\r\n\t\t\tDocument doc = dBuilder.parse(fis);\r\n\t\t\t//if it matches the schema then parse the temp xml file into the original xml file\r\n\t\t\tdoc.setXmlStandalone(true);\r\n\t\t\tTransformerFactory tf = TransformerFactory.newInstance();\r\n\t\t\tTransformer transformer = tf.newTransformer();\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"ISO-8859-1\");\r\n\t\t\tDOMImplementation domImp = doc.getImplementation();\r\n\t\t\tDocumentType docType = domImp.createDocumentType(\"doctype\", \"SYSTEM\", new File(path).getName().substring(0, new File(path).getName().length() - 4) + \".dtd\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, docType.getSystemId());\r\n\t\t\tDOMSource domSource = new DOMSource(doc);\r\n\t\t\tFileOutputStream fos = new FileOutputStream(new File(path));\r\n\t\t\ttransformer.transform(domSource, new StreamResult(fos));\r\n\t\t\tfos.close();\r\n\t\t\tfis.close();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tcatch (ParserConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new ParserConfigurationException();\r\n\t\t\t} catch (RuntimeException | ParserConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerConfigurationException();\r\n\t\t\t} catch (RuntimeException | TransformerConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerException(e);\r\n\t\t\t} catch (RuntimeException | TransformerException err) {\r\n\t\t\t}\r\n\t\t} catch (SAXException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new SAXException();\r\n\t\t\t} catch (RuntimeException | SAXException err) {\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IOException();\r\n\t\t\t} catch (RuntimeException | IOException err) {\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public Boolean getValidate(){\n return validated;\n }", "protected boolean save() {\r\n\t\tboolean saved=true;\r\n\t\tif(validated()){\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tsaved=false;\r\n\t\t}\r\n\t\treturn saved;\r\n\t}", "protected boolean isValidData() {\n return true;\n }", "public boolean getValidation() {\n return validate;\n }", "public static void setXmlEnableValidationFromGui(Boolean inputStatus)\r\n {\r\n enableValidationFromGui = inputStatus;\r\n }" ]
[ "0.6425628", "0.6409551", "0.6397878", "0.6336944", "0.63318825", "0.63318825", "0.63318825", "0.63318825", "0.63318825", "0.626479", "0.6242753", "0.6242753", "0.61995155", "0.61748195", "0.60625786", "0.6055261", "0.60207295", "0.6019719", "0.59992075", "0.59670043", "0.59607357", "0.5947688", "0.58835083", "0.5872853", "0.5872853", "0.58663136", "0.58663136", "0.5858829", "0.5858255", "0.585338", "0.585338", "0.585338", "0.58467084", "0.58456856", "0.5841981", "0.58335966", "0.5827483", "0.5814005", "0.5807546", "0.579962", "0.5782032", "0.57758224", "0.5765492", "0.57539845", "0.5748446", "0.5718775", "0.57166135", "0.56986344", "0.56986344", "0.569454", "0.5694361", "0.5694361", "0.5694361", "0.56894565", "0.5656134", "0.56508535", "0.56379414", "0.5627388", "0.5607672", "0.56028175", "0.56028175", "0.56028175", "0.5587755", "0.55699193", "0.555303", "0.5550859", "0.5549685", "0.55409014", "0.5530468", "0.5524617", "0.54732573", "0.5470124", "0.5439187", "0.5420729", "0.53953195", "0.53953195", "0.5394269", "0.5394269", "0.53883916", "0.5384319", "0.538177", "0.5375516", "0.53661495", "0.53658515", "0.5347711", "0.53371155", "0.53354573", "0.53322476", "0.5332067", "0.5318216", "0.5305525", "0.52964664", "0.5294206", "0.52887344", "0.52838016", "0.5270265", "0.52656186", "0.52612436", "0.5260272", "0.52589506" ]
0.64879954
0
This method sets whether or not the XML instance was valid to the schema. The value false indicates that the XML instance is not valid against the controlling documents, true indicates that the XML instance is valid against the controlling documents.
public void setIsValidToSchema(boolean iIsValidToSchema) { mIsValidToSchema = iIsValidToSchema; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isValid() {\n try {\n validate();\n } catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\r\n {\r\n try {\r\n validate();\r\n }\r\n catch (org.exolab.castor.xml.ValidationException vex) {\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public boolean isValid()\n {\n try {\n validate();\n }\n catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public void validate(){\n if (validated){\n validated = false;\n } else {\n validated = true;\n }\n }", "public void setValid(boolean value)\r\n {\r\n //Override this method in MediaItem object\r\n getSemanticObject().setBooleanProperty(swb_valid, value,false);\r\n }", "@Override\n\t\tpublic void setValid(final boolean valid) {\n\t\t}", "public boolean getIsValidToSchema() {\r\n\t\treturn mIsValidToSchema;\r\n\t}", "public void setValid(boolean newValid) {\n \t\tvalid = newValid;\n \t}", "public boolean validate() {\n return true;\n }", "public boolean validate() {\n return true;\n }", "public void setValid(boolean valid) {\n this.valid = valid;\n }", "public void setIsValid(boolean isValid) {\n this.isValid = isValid;\n }", "public boolean isValidating() {\n\t\ttry {\n\t\t\treturn parserImpl.getFeature(Constants.SAX_FEATURE_PREFIX\n\t\t\t\t\t\t\t\t\t\t + Constants.VALIDATION_FEATURE);\n\t\t}\n\t\t catch (SAXException x) {\n\t\t\tthrow new IllegalStateException(x.getMessage());\n\t\t}\n\t}", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "public void validate() {\n\t\tthis.invalidated = false;\n\t}", "protected boolean isValid() {\n \t\treturn valid;\n \t}", "private boolean validate() {\r\n\t\ttry {\r\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n\t\t\t//validate the schema\r\n\t\t\tdbFactory.setValidating(true);\r\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\r\n\t\t\t//handling errors\r\n\t\t\tdBuilder.setErrorHandler(new ErrorHandler() {\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void error(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void fatalError(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void warning(SAXParseException arg0) throws SAXException {\r\n\t\t\t\t\tthrow new SAXException();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t\tFile file = new File(tempPath);\r\n\t\t\tFileInputStream fis = new FileInputStream(file);\r\n\t\t\tDocument doc = dBuilder.parse(fis);\r\n\t\t\t//if it matches the schema then parse the temp xml file into the original xml file\r\n\t\t\tdoc.setXmlStandalone(true);\r\n\t\t\tTransformerFactory tf = TransformerFactory.newInstance();\r\n\t\t\tTransformer transformer = tf.newTransformer();\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"ISO-8859-1\");\r\n\t\t\tDOMImplementation domImp = doc.getImplementation();\r\n\t\t\tDocumentType docType = domImp.createDocumentType(\"doctype\", \"SYSTEM\", new File(path).getName().substring(0, new File(path).getName().length() - 4) + \".dtd\");\r\n\t\t\ttransformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, docType.getSystemId());\r\n\t\t\tDOMSource domSource = new DOMSource(doc);\r\n\t\t\tFileOutputStream fos = new FileOutputStream(new File(path));\r\n\t\t\ttransformer.transform(domSource, new StreamResult(fos));\r\n\t\t\tfos.close();\r\n\t\t\tfis.close();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tcatch (ParserConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new ParserConfigurationException();\r\n\t\t\t} catch (RuntimeException | ParserConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerConfigurationException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerConfigurationException();\r\n\t\t\t} catch (RuntimeException | TransformerConfigurationException err) {\r\n\t\t\t}\r\n\t\t} catch (TransformerException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new TransformerException(e);\r\n\t\t\t} catch (RuntimeException | TransformerException err) {\r\n\t\t\t}\r\n\t\t} catch (SAXException e) {\r\n\t\t\ttry {\r\n\t\t\t\tthrow new SAXException();\r\n\t\t\t} catch (RuntimeException | SAXException err) {\r\n\t\t\t}\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\ttry {\r\n\t\t\t\tthrow new IOException();\r\n\t\t\t} catch (RuntimeException | IOException err) {\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public void setValidated(boolean validated) {\n this.validated = validated;\n }", "void setValidSettings(boolean valid);", "public void setValid(boolean valid) {\n\t\tthis.valid = valid;\n\t}", "public void setValid(Boolean valid) {\n\t\tthis.valid = valid;\n\t}", "public void setValidation(boolean validate) {\n this.validate = validate;\n }", "@Override\n\t\tpublic boolean isValid() {\n\t\t\treturn false;\n\t\t}", "protected boolean isValid()\r\n {\r\n \treturn true;\r\n }", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\n return true;\n }", "public boolean validate(){\n return true;\n }", "public boolean isValid() {\r\n\t\treturn isValid;\r\n\t}", "public boolean valid() {\n return valid;\n }", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\n\t\treturn false;\n\t}", "public boolean isValid(){\n\t\treturn valid;\n\t}", "public void setValidate(boolean validate) {\r\r\r\r\r\r\n this.validate = validate;\r\r\r\r\r\r\n }", "public boolean isValid() {\n return valid;\n }", "@Override\r\n\tpublic boolean isValid() {\n\t\treturn false;\r\n\t}", "public void validate() throws org.exolab.castor.xml.ValidationException {\r\n\t\torg.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r\n\t\tvalidator.validate(this);\r\n\t}", "public boolean isValid() {\n\t\treturn valid;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "public boolean isValid(){\n\t\treturn true;\n\t}", "public void resetValid()\n\t{\n\t\tthis.valid = true;\n\t}", "public boolean isValid()\r\n {\r\n //Override this method in MediaItem object\r\n return getSemanticObject().getBooleanProperty(swb_valid,false);\r\n }", "public void validate()\r\n throws org.exolab.castor.xml.ValidationException\r\n {\r\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r\n validator.validate(this);\r\n }", "public void validate()\r\n throws org.exolab.castor.xml.ValidationException\r\n {\r\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r\n validator.validate(this);\r\n }", "public boolean isValid() {\n \t\treturn valid;\n \t}", "public boolean isValid()\n {\n return valid;\n }", "private void setRelationsValid(boolean value)\n {\n __relationsValid = value;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n return valid;\n }", "public boolean isValid() {\n return valid;\n }", "public void validate()\n throws org.exolab.castor.xml.ValidationException {\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\n validator.validate(this);\n }", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "public void validate()\n throws org.exolab.castor.xml.ValidationException\n {\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\n validator.validate(this);\n }", "public void validate()\n throws org.exolab.castor.xml.ValidationException\n {\n org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\n validator.validate(this);\n }", "public boolean isValid() {\n return isValid;\n }", "public boolean isValid() {\n return isValid;\n }", "public boolean isValid(){\r\n\t\t\r\n\t\t// TODO\r\n\t\t\r\n\t\treturn true;\r\n\t}", "@Override\n public void setValidationMode(int validationMode) {\n if (null == documentBuilderFactory) {\n loadDocumentBuilderFactory();\n }\n switch (validationMode) {\n case XMLParser.NONVALIDATING: {\n documentBuilderFactory.setValidating(false);\n // documentBuilderFactory.setAttribute(SCHEMA_LANGUAGE, null);\n return;\n }\n case XMLParser.DTD_VALIDATION: {\n documentBuilderFactory.setValidating(true);\n XMLHelper.allowExternalDTDAccess(documentBuilderFactory, \"all\", false);\n // documentBuilderFactory.setAttribute(SCHEMA_LANGUAGE, null);\n return;\n }\n case XMLParser.SCHEMA_VALIDATION: {\n try {\n documentBuilderFactory.setAttribute(SCHEMA_LANGUAGE, XML_SCHEMA);\n documentBuilderFactory.setValidating(true);\n XMLHelper.allowExternalAccess(documentBuilderFactory, \"all\", false);\n } catch (IllegalArgumentException e) {\n // This parser does not support XML Schema validation so leave it as\n // a non-validating parser.\n }\n return;\n }\n }\n }", "public Boolean valid() {\n return valid;\n }", "public boolean isValid()\n {\n return valid;\n }", "public boolean isValid()\n\t{\n\t\treturn false;\n\t}", "public boolean wasValid() {\n return !wasInvalid();\n }", "@java.lang.Override\n public boolean getValid() {\n return valid_;\n }", "@Override\r\n public boolean validate() {\n return true;\r\n }", "@Override\n\tpublic boolean validate() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean validate() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean validObject() {\n\t\treturn valid;\n\t}", "public boolean isValidated(){\n return getValidatedFlag();\n }", "public Builder setValid(boolean value) {\n \n valid_ = value;\n onChanged();\n return this;\n }", "public boolean isValid() {\n\t\treturn(m_valid);\n\t}", "public boolean isValid() {\n \t\treturn fValid;\n \t}", "@Override\r\n\tpublic void validate() {\n\t\tsuper.validate();\r\n\t\tif(nofck == null)\r\n\t\t\tnofck = false;\r\n\t}", "@Override\n\t\tprotected void revalidate() {\n\t\t\tvalid = true;\n\t\t}", "public void setValid(int valid) {\n this.valid = valid;\n }", "public boolean isValidate() {\r\r\r\r\r\r\n return validate;\r\r\r\r\r\r\n }", "@java.lang.Override\n public boolean getValid() {\n return valid_;\n }", "public void setValidUser(boolean valid) {\n\t\t_isValid = valid;\n\t}", "public Boolean getValid() {\n\t\treturn valid;\n\t}", "protected void setValidatedFlag(boolean value) {\n createFlags();\n flags[VALIDATED] = value;\n }", "public final boolean isValidate() {\n\t\treturn validate;\n\t}", "boolean valid() {\n return true;\n }", "boolean valid() {\n return true;\n }", "boolean valid() {\n return true;\n }", "private void setDeltaValid(boolean deltaValid) {\n\t\tthis.deltaValid = deltaValid;\n\t}", "protected boolean isValidating() {\n return (mValidator != null);\n }", "Boolean getIsValid();", "public void setValidateRecords(Boolean val) {\n\n\t\tvalidateRecords = val;\n\n\t}", "void xsetRequired(org.apache.xmlbeans.XmlBoolean required);", "public boolean isValid() {\n // TODO: Question 2.2.\n \n return false;\n }", "public void validate() {\n if (valid) return;\n \n layer = getAttValue(\"layer\").getString();\n hasFrame = getAttValue(\"hasframe\").getBoolean();\n\n valid = true;\n }", "public boolean validate() throws edu.mit.coeus.exception.CoeusUIException \r\n {\r\n return false;\r\n }", "@Override\n public boolean validate() throws SmogException {\n\n // List of validation messages\n ArrayList<XmlError> validationMessages = new ArrayList<>();\n\n // Validate the missive document\n boolean isValid = this.missiveDocument.validate(new XmlOptions().setErrorListener(validationMessages));\n\n // Check if the missive document is valid\n if (isValid) {\n return true;\n } else {\n\n // Validation message\n String validationMessage = \"\";\n\n // Iterator for validation messages\n Iterator<XmlError> iterator = validationMessages.iterator();\n\n // Build the complete error message\n while(iterator.hasNext()) {\n\n // Add validation message separtor\n if (!validationMessage.equals(\"\")) {\n validationMessage += \"\\n\";\n }\n\n // Concatenate validation messages\n validationMessage += iterator.next().getMessage();\n }\n\n throw new SmogException(validationMessage);\n }\n }", "public void setValidateDTD(final boolean validate)\r\n {\r\n this.validateDTD = validate;\r\n }" ]
[ "0.688042", "0.6840946", "0.6840946", "0.6840946", "0.6840946", "0.6840946", "0.67454135", "0.67454135", "0.6607671", "0.65847754", "0.6514041", "0.6510302", "0.6501493", "0.6396293", "0.6396293", "0.6377023", "0.63214487", "0.631557", "0.6305668", "0.630359", "0.6265994", "0.62520504", "0.6247171", "0.6238377", "0.6227995", "0.6218289", "0.61727136", "0.61519575", "0.61486375", "0.6140077", "0.6140077", "0.6089912", "0.6064147", "0.6062188", "0.6059483", "0.6051461", "0.6051413", "0.6051042", "0.60463935", "0.60436285", "0.60410064", "0.60395324", "0.603738", "0.603738", "0.603738", "0.60254884", "0.60148096", "0.6014056", "0.6010596", "0.6010596", "0.6004974", "0.59988254", "0.5990838", "0.59835106", "0.59835106", "0.59835106", "0.5979439", "0.59578294", "0.59578294", "0.59446734", "0.59446734", "0.5942596", "0.5942596", "0.5924275", "0.59148276", "0.5914796", "0.5902504", "0.58822036", "0.5879426", "0.5865502", "0.5861689", "0.5859989", "0.5859989", "0.585291", "0.5834459", "0.5832741", "0.58138615", "0.5813288", "0.58019656", "0.5799778", "0.57842636", "0.5763968", "0.57576835", "0.5754421", "0.5742986", "0.57412493", "0.57004404", "0.5691522", "0.5691522", "0.5691522", "0.5688309", "0.56830955", "0.5676437", "0.5675623", "0.5654745", "0.5652095", "0.564021", "0.5616405", "0.55864555", "0.5583831" ]
0.65504336
10
This method sets whether or not the XML instance was found to be wellformed. The value "false" indicates that the XML instance is not wellformed XML, true indicates it is wellformed XML.
protected void setIsWellformed(boolean iIsWellformed) { mIsWellformed = iIsWellformed; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean getIsWellformed() {\r\n\t\treturn mIsWellformed;\r\n\t}", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "public void setW(boolean w) {\n\tthis.w = w;\n }", "void xsetIsManaged(org.apache.xmlbeans.XmlBoolean isManaged);", "void xsetStraight(org.apache.xmlbeans.XmlBoolean straight);", "public boolean setDangerous() {\r\n\t\tif(!isDangerous && isCovered) {\r\n\t\t\tisDangerous=true;\r\n\t\t\t\r\n\t\t\tthis.setChanged();\r\n\t\t\tthis.notifyObservers();\r\n\t\t\tthis.clearChanged();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public void setIsInfected(boolean isInfected) {\n this.isInfected = isInfected;\n }", "@JsonProperty(\"overrideWikitext\")\n public boolean isOverridingWikitext() {\n return overrideWikitext;\n }", "public boolean isSetInstantRFBW06() {\n return (this.instantRFBW06 != null ? this.instantRFBW06.isSetValue() : false);\n }", "default boolean isSwear() {\n return meta(\"nlpcraft:nlp:swear\");\n }", "public boolean isSetKeff() {\r\n return isSetAttribute(MEConstants.keff);\r\n }", "public void setElement(boolean value) {\r\n this.element = value;\r\n }", "void xsetParlay(org.apache.xmlbeans.XmlBoolean parlay);", "public boolean isSetInstantRFBW20() {\n return (this.instantRFBW20 != null ? this.instantRFBW20.isSetValue() : false);\n }", "@DOMSupport(DomLevel.THREE)\r\n\t@BrowserSupport({BrowserType.FIREFOX_2P})\r\n\t@Property void setXmlStandalone(boolean xmlStandalone);", "public Boolean getBypassDocumentValidation() {\n return bypassDocumentValidation;\n }", "public ElementDefinitionDt setMustSupport( boolean theBoolean) {\n\t\tmyMustSupport = new BooleanDt(theBoolean); \n\t\treturn this; \n\t}", "void xsetPowerBox(org.apache.xmlbeans.XmlBoolean powerBox);", "protected boolean asEaten() {\n return false;\n }", "void xsetQuick(org.apache.xmlbeans.XmlBoolean quick);", "org.apache.xmlbeans.XmlBoolean xgetStraight();", "public void setEffdatedOnly(boolean effdatedOnly)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EFFDATEDONLY$20);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EFFDATEDONLY$20);\r\n }\r\n target.setBooleanValue(effdatedOnly);\r\n }\r\n }", "org.apache.xmlbeans.XmlBoolean xgetQuick();", "public static boolean allowOverwrite() {\n\t\tif ((xml != null) && (overwrite != null) && overwrite.equals(\"no\")) return false;\n\t\treturn true;\n\t}", "public void setIswialon(Boolean iswialon) {\r\n this.iswialon = iswialon;\r\n }", "public boolean isDefeated() {\n return defeated;\n }", "public void setValid(boolean value)\r\n {\r\n //Override this method in MediaItem object\r\n getSemanticObject().setBooleanProperty(swb_valid, value,false);\r\n }", "public boolean isSetShowNarration()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(SHOWNARRATION$18) != null;\n }\n }", "public boolean isSetWeight() {\n\t\treturn this.weight != null;\n\t}", "public boolean refresh()\r\n\t{\r\n\t\tboolean result = true;\r\n\t\tDocument oldxml = xml;\r\n\t\ttry {\r\n\t\t\tURL url = new URL(feedURL);\r\n\t\t\tURLConnection conn = url.openConnection();\r\n\t\t\t// setting these timeouts ensures the client does not deadlock indefinitely\r\n\t\t\t// when the server has problems.\r\n\t\t\tconn.setConnectTimeout(atomFeedTimeout);\r\n\t\t\tconn.setReadTimeout(atomFeedTimeout);\r\n\t xml = documentbuilder.parse(conn.getInputStream());\r\n\t\t} catch (MalformedURLException e) {\r\n\t\t\tlogger.error(\"Error [MalformedURLException]: \" + e);\r\n\t\t\txml = oldxml;\r\n\t\t\tresult = false;\r\n\t\t} catch (IOException e) {\r\n\t\t\tlogger.error(\"Error [IOException]: \" + e);\r\n\t\t\txml = oldxml;\r\n\t\t\tresult = false;\r\n\t\t} catch (SAXException e) {\r\n\t\t\tlogger.error(\"Error [SAXException]: \" + e);\r\n\t\t\txml = oldxml;\r\n\t\t\tresult = false;\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public void xsetEffdatedOnly(org.apache.xmlbeans.XmlBoolean effdatedOnly)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlBoolean target = null;\r\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(EFFDATEDONLY$20);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(EFFDATEDONLY$20);\r\n }\r\n target.set(effdatedOnly);\r\n }\r\n }", "void xsetBox(org.apache.xmlbeans.XmlBoolean box);", "public void setWon(){\n won = true;\n }", "public boolean isSetRecovery() {\n return this.recovery != null;\n }", "public void setIsFaked(Boolean isFaked) {\r\n this.isFaked = isFaked;\r\n }", "public void setIsWorking(Boolean isWorking) {\r\n\t\tthis.isWorking = isWorking;\r\n\t}", "public void setTallied(java.lang.Boolean value);", "public void setDocument(boolean document) {\n\n this.document = document;\n }", "@Override\n\tpublic Element saveDataStateToXml(boolean isTransactionState) {\n\t\treturn null;\n\t}", "public org.apache.xmlbeans.XmlBoolean xgetEffdatedOnly()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlBoolean target = null;\r\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(EFFDATEDONLY$20);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(EFFDATEDONLY$20);\r\n }\r\n return target;\r\n }\r\n }", "public boolean isInfected() {\n return isInfected;\n }", "public void setTalking(boolean b)\n\t{\n\t\tm_isTalking = b;\n\t}", "public boolean setFromDOMDocumentNode( org.w3c.dom.Node wordSetNode )\n\t{\n \t\t\t\t\t\t//\tIf word set node is null, quit.\n\t\treturn true;\n\t}", "public boolean mo7339w() {\n return false;\n }", "public boolean getIsInfected() {\n return isInfected;\n }", "org.apache.xmlbeans.XmlBoolean xgetParlay();", "public Boolean getIsFaked() {\r\n return isFaked;\r\n }", "@Override\n\tpublic void setFlashing(int bool) {\n\n\t}", "@Override\n\tpublic boolean istBerechtigt() {\n\t\treturn true;\n\t}", "public void xsetShowNarration(org.apache.xmlbeans.XmlBoolean showNarration)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlBoolean target = null;\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOWNARRATION$18);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(SHOWNARRATION$18);\n }\n target.set(showNarration);\n }\n }", "public boolean isValid()\r\n {\r\n //Override this method in MediaItem object\r\n return getSemanticObject().getBooleanProperty(swb_valid,false);\r\n }", "private void setSpecifiedImpl (boolean newValue) {\n if (this.specified == newValue)\n return;\n \n Boolean oldValue = this.specified ? Boolean.TRUE : Boolean.FALSE;\n \n this.specified = newValue;\n \n firePropertyChange (PROP_SPECIFIED, oldValue, newValue ? Boolean.TRUE : Boolean.FALSE);\n }", "public boolean isWool() {\n return this.type == Type.WOOL;\n }", "default boolean isFreeWord() {\n return meta(\"nlpcraft:nlp:freeword\");\n }", "public boolean getEffdatedOnly()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EFFDATEDONLY$20);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(EFFDATEDONLY$20);\r\n }\r\n if (target == null)\r\n {\r\n return false;\r\n }\r\n return target.getBooleanValue();\r\n }\r\n }", "public void setHarvested(boolean harvested);", "org.apache.xmlbeans.XmlBoolean xgetBox();", "public void getEaten() {\n\t\tsuper.flag=true;\n\t}", "public boolean whiteCheckmate() {\n\t\treturn false;\n\t}", "void markWellFormed() {\n knownToBeWellFormed = true;\n }", "public void setEntree ( boolean entree ) {\n\n\tthis.entree = entree;\n }", "public boolean isSetEffdatedOnly()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(EFFDATEDONLY$20) != null;\r\n }\r\n }", "@Override\n public boolean applies() {\n return true;\n }", "public Boolean getIswialon() {\r\n return iswialon;\r\n }", "void setDraft(boolean d);", "public void setXmlDecl(boolean _writeXmlDecl) {\n\t\tthis.writeXmlDecl = _writeXmlDecl;\n\t}", "public void set()\r\n {\r\n isSet = true;\r\n }", "public void setMembership(final boolean theMembership) {\r\n myMembership = theMembership;\r\n }", "public boolean isStorniert() {\n\t\treturn this.storniert;\n\t}", "@java.lang.Override\n public boolean hasRevealDocument() {\n return revealDocument_ != null;\n }", "void xsetString(org.apache.xmlbeans.XmlBoolean string);", "public void setMand(java.lang.Boolean mand) {\n this.mand = mand;\n }", "public boolean getFeed() {\r\n return Feed;\r\n }", "public boolean getWeek7() {\n return week7_;\n }", "public boolean isSetBold()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(BOLD$4) != 0;\n }\n }", "public void setIsGermplasmTemplate(boolean isGermplasmTemplate);", "public void setMine()\n {\n mine = true;\n }", "void xsetLeading(org.apache.xmlbeans.XmlBoolean leading);", "public boolean isSetStaffType() {\n return this.staffType != null;\n }", "public boolean isFlashing() {\n return isFlashing;\n }", "void xsetProbables(org.apache.xmlbeans.XmlBoolean probables);", "public void setSummable(Boolean summable);", "public void setIsAttachment(boolean isAttachment) {\n this.isAttachment = isAttachment;\n }", "public void setShowNarration(boolean showNarration)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOWNARRATION$18);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHOWNARRATION$18);\n }\n target.setBooleanValue(showNarration);\n }\n }", "public boolean getWeek7() {\n return week7_;\n }", "public boolean isSetInstantRFBW10() {\n return (this.instantRFBW10 != null ? this.instantRFBW10.isSetValue() : false);\n }", "public Boolean isDraft() {\r\n\t\treturn draft;\r\n\t}", "void xsetSegmented(org.apache.xmlbeans.XmlBoolean segmented);", "void xsetAuto(org.apache.xmlbeans.XmlBoolean auto);", "@Override\n public boolean isDocumentState() {\n return true;\n }", "public void setDedicatedWriter(boolean value)\n {\n dedicatedWriter = value;\n }", "public void setFrei(boolean frei) {\n this.frei = frei;\n }", "public boolean isDocument() {\n\n return this.document;\n }", "public Builder askForXMS(boolean askForXMS) {\n this.askForXMS = askForXMS;\n return this;\n }", "public boolean isValid() {\n try {\n validate();\n } catch (org.exolab.castor.xml.ValidationException vex) {\n return false;\n }\n return true;\n }", "public LagartoDOMBuilder enableXmlMode() {\n\t\tconfig.ignoreWhitespacesBetweenTags = true; // ignore whitespaces that are non content\n\t\tconfig.parserConfig.setCaseSensitive(true); // XML is case sensitive\n\t\tconfig.parserConfig.setEnableRawTextModes(false); // all tags are parsed in the same way\n\t\tconfig.enabledVoidTags = false; // there are no void tags\n\t\tconfig.selfCloseVoidTags = false; // don't self close empty tags (can be changed!)\n\t\tconfig.impliedEndTags = false; // no implied tag ends\n\t\tconfig.parserConfig.setEnableConditionalComments(false); // disable IE conditional comments\n\t\tconfig.parserConfig.setParseXmlTags(true); // enable XML mode in parsing\n\t\treturn this;\n\t}", "boolean isSetBodySite();", "@BeanTagAttribute(name = \"renderMaintenanceLinks\")\r\n public Boolean isRenderMaintenanceLinks() {\r\n return this.renderMaintenanceLinks;\r\n }", "public boolean getShowWeekend() {\n return weekend;\n }", "public void setBeheerder(boolean beheerder) {\n\t\tthis.beheerder = beheerder;\n\t}" ]
[ "0.57450026", "0.55298096", "0.55142534", "0.53607684", "0.53429717", "0.5276312", "0.5273772", "0.5246493", "0.5237195", "0.52367485", "0.5234161", "0.5201863", "0.5183209", "0.51430357", "0.51399493", "0.51376486", "0.51303226", "0.50955456", "0.5088388", "0.50662565", "0.5062957", "0.50622326", "0.5052167", "0.5033092", "0.5019949", "0.49944332", "0.49852663", "0.49815086", "0.49786964", "0.49678618", "0.49674925", "0.49526465", "0.49525312", "0.49496537", "0.4948427", "0.49428597", "0.49386153", "0.49351054", "0.4935098", "0.49316165", "0.49282768", "0.49259466", "0.4924494", "0.49223474", "0.49108902", "0.49003828", "0.4896935", "0.4892003", "0.488832", "0.4883951", "0.48810974", "0.48797682", "0.48721638", "0.4859132", "0.48449677", "0.48425582", "0.48404902", "0.48393932", "0.48370194", "0.4835856", "0.48240224", "0.48233628", "0.48212782", "0.48194736", "0.4810144", "0.48091146", "0.4808904", "0.48076534", "0.48059675", "0.4803692", "0.48011965", "0.4797959", "0.47886452", "0.47848365", "0.47834453", "0.47811863", "0.47802353", "0.47795394", "0.47792187", "0.47790486", "0.47788236", "0.47763374", "0.47753245", "0.47722697", "0.47716293", "0.4770929", "0.47690633", "0.47678462", "0.4760536", "0.47567603", "0.47564876", "0.47557086", "0.4751528", "0.47463787", "0.4746194", "0.47455478", "0.47452953", "0.4740724", "0.47380164", "0.47278228" ]
0.59603286
0
This method sets whether or not full validation is to be performed by the Validator.
public void setPerformFullValidation(boolean iPerformFullValidation) { mPerformFullValidation = iPerformFullValidation; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValidation(boolean validate) {\n this.validate = validate;\n }", "public void validate(){\n if (validated){\n validated = false;\n } else {\n validated = true;\n }\n }", "public void setValidate(boolean validate) {\r\r\r\r\r\r\n this.validate = validate;\r\r\r\r\r\r\n }", "public SELF enableValidation() {\n this.enableValidation = true;\n return self();\n }", "public boolean validate() {\n return true;\n }", "public boolean validate() {\n return true;\n }", "public boolean validate(){\n return true;\n }", "public void validate() {\n\t\tthis.invalidated = false;\n\t}", "@Override\r\n\tpublic void validate() {\n\t\tsuper.validate();\r\n\t\tif(nofck == null)\r\n\t\t\tnofck = false;\r\n\t}", "@Override\n\tpublic boolean validate() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean validate() {\n\t\treturn false;\n\t}", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "public void setValidated(boolean validated) {\n this.validated = validated;\n }", "@Override\r\n public boolean validate() {\n return true;\r\n }", "public boolean isValidate() {\r\r\r\r\r\r\n return validate;\r\r\r\r\r\r\n }", "public boolean getValidation() {\n return validate;\n }", "protected void validate() {\n // no op\n }", "@Override\n\t\tpublic void setValid(final boolean valid) {\n\t\t}", "public void flagOrUnflagValidationError(boolean validationMode);", "public boolean isValidationEnabled();", "void setValidSettings(boolean valid);", "public final boolean isValidate() {\n\t\treturn validate;\n\t}", "public void setValid(boolean newValid) {\n \t\tvalid = newValid;\n \t}", "public void setValidationEnabled(boolean validationEnabled) {\n\t\tthis.validationEnabled = validationEnabled;\n\t}", "protected abstract boolean isValidate();", "boolean getValidateOnly();", "boolean getValidateOnly();", "@Override\r\n\tpublic boolean checkValidity() {\n\t\treturn false;\r\n\t}", "public void setValid(boolean valid) {\n this.valid = valid;\n }", "public void resetValid()\n\t{\n\t\tthis.valid = true;\n\t}", "public Builder setValidateOnly(boolean value) {\n \n validateOnly_ = value;\n onChanged();\n return this;\n }", "public void setIsValid(boolean isValid) {\n this.isValid = isValid;\n }", "@Override\n\tpublic void validate() {\n\t\tsuper.validate();\n\t}", "@Override\n public void customValidation() {\n }", "@Override\n public void customValidation() {\n }", "@Override\n public void customValidation() {\n }", "public void setRequired(boolean required);", "public boolean isValidateRoot()\r\n\t{\r\n\t\treturn(true);\r\n\t}", "@Override\r\n\tpublic void validate() {\n\t\t\r\n\t}", "public void validate() {}", "@Override\r\n\tpublic boolean isValid() {\n\t\treturn false;\r\n\t}", "@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}", "protected boolean isValid()\r\n {\r\n \treturn true;\r\n }", "public void setValid(boolean valid) {\n\t\tthis.valid = valid;\n\t}", "public boolean getValidateOnly() {\n return validateOnly_;\n }", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid() {\n\t\treturn false;\n\t}", "@Override\n\t\tpublic boolean isValid() {\n\t\t\treturn false;\n\t\t}", "public void setValid(Boolean valid) {\n\t\tthis.valid = valid;\n\t}", "void calculateValidationRequirement() {\n this.elementRequiringJSR303Validation = Util.hasValidation(this.type);\n\n // Check for JSR 303 or @OnValidate annotations in default group\n if (Util.requiresDefaultValidation(this.type)) {\n this.requiresDefaultValidation = true;\n return;\n }\n\n // Check for any simple index uniqueness constraints\n if (!this.uniqueConstraintFields.isEmpty()) {\n this.requiresDefaultValidation = true;\n return;\n }\n\n // Check for any composite index uniqueness constraints\n if (!this.uniqueConstraintCompositeIndexes.isEmpty()) {\n this.requiresDefaultValidation = true;\n return;\n }\n }", "public Boolean getValidate(){\n return validated;\n }", "public boolean getValidateOnly() {\n return validateOnly_;\n }", "protected boolean isValidating() {\n return (mValidator != null);\n }", "public Builder setValid(boolean value) {\n \n valid_ = value;\n onChanged();\n return this;\n }", "@Override\n\tpublic void validate() {\n\t}", "@Override\r\n\tprotected void validate() {\n\t}", "@Override\r\n public void validate() {\r\n }", "protected boolean isValid() {\n \t\treturn valid;\n \t}", "@Override\n\tpublic void validate()\n\t{\n\n\t}", "protected void validate() {\n // no implementation.\n }", "public void setValidateRecords(Boolean val) {\n\n\t\tvalidateRecords = val;\n\n\t}", "@Override\n\tpublic void selfValidate() {\n\t\t\n\t}", "@JSProperty\n boolean isWillValidate();", "void setRequired(boolean required);", "public boolean isValidToToggle() {\n return true;\n }", "public void setValid(boolean value)\r\n {\r\n //Override this method in MediaItem object\r\n getSemanticObject().setBooleanProperty(swb_valid, value,false);\r\n }", "@Override\n public boolean validate() throws ValidationException\n {\n boolean isValid = super.validate();\n return checkAAField() && isValid;\n }", "public void setNotEmpty(){\n this.empty = false;\n }", "@Override\n\t\tprotected void revalidate() {\n\t\t\tvalid = true;\n\t\t}", "@Override\r\n\tprotected Validator setValidator() {\n\t\treturn null;\r\n\t}", "public abstract boolean validate();", "private void validation() {\n this.validate();\n this.repaint();\n }", "public void setValidateLocation(boolean validateLocation) {\n inputParameters.ValidateLocation = validateLocation;\n\n }", "public boolean isValidated(){\n return getValidatedFlag();\n }", "public boolean validate()\n {\n return !disposed;\n }", "public void makeValid() {\n reset(State.VALID);\n }", "public Boolean getBypassDocumentValidation() {\n return bypassDocumentValidation;\n }", "public boolean isNoLongerValid() {\n return !this.isAlwaysValid();\n }", "public boolean isValid(){\n\t\treturn true;\n\t}", "public boolean isValid() {\n\t\treturn false;\n\t}", "public void setIsValidToSchema(boolean iIsValidToSchema) {\r\n\t\tmIsValidToSchema = iIsValidToSchema;\r\n\t}", "Boolean getIsValid();", "public boolean performValidation(ModelItem modelItem) {\n return true;\n }", "private void setRelationsValid(boolean value)\n {\n __relationsValid = value;\n }", "public boolean validate() throws edu.mit.coeus.exception.CoeusUIException \r\n {\r\n return false;\r\n }", "public boolean isValid() {\n return true;\n }", "public boolean isValid() {\n return true;\n }", "public void setRequired(boolean value) {\r\n this.required = value;\r\n }", "@Override\r\n\tpublic void Validate() {\n\r\n\t}", "public boolean isValid() {\n return true;\n }", "@Override\r\n public void validate() {\n\r\n }", "boolean getValid();", "public boolean validateModel(){\r\n System.out.println(\"Validated!\");\r\n return true;\r\n }", "@ApiModelProperty(value = \"Validation policy: If true, the project must pass all validation checks before project changes can be committed to the git repository\")\n public Boolean isValidationRequired() {\n return validationRequired;\n }", "public void setValid() {\r\n\r\n\t\tthis.studentNameLabel.setStyle(\"-fx-text-fill: black\");\r\n\t\tthis.studentYearLabel.setStyle(\"-fx-text-fill: black\");\r\n\t}", "public ListingFormValidationObject() {\n this.titleValid = true;\n this.descriptionValid = true;\n this.initPriceValid = true;\n this.minBidValid = true;\n this.startDateAndTimeValid = true;\n this.categoryValid = true;\n this.endDateAndTimeValid = true;\n }", "public void setValidation(String validation) {\n this.validation = validation;\n }", "@Override\n public void setValidationMode(int validationMode) {\n if (null == documentBuilderFactory) {\n loadDocumentBuilderFactory();\n }\n switch (validationMode) {\n case XMLParser.NONVALIDATING: {\n documentBuilderFactory.setValidating(false);\n // documentBuilderFactory.setAttribute(SCHEMA_LANGUAGE, null);\n return;\n }\n case XMLParser.DTD_VALIDATION: {\n documentBuilderFactory.setValidating(true);\n XMLHelper.allowExternalDTDAccess(documentBuilderFactory, \"all\", false);\n // documentBuilderFactory.setAttribute(SCHEMA_LANGUAGE, null);\n return;\n }\n case XMLParser.SCHEMA_VALIDATION: {\n try {\n documentBuilderFactory.setAttribute(SCHEMA_LANGUAGE, XML_SCHEMA);\n documentBuilderFactory.setValidating(true);\n XMLHelper.allowExternalAccess(documentBuilderFactory, \"all\", false);\n } catch (IllegalArgumentException e) {\n // This parser does not support XML Schema validation so leave it as\n // a non-validating parser.\n }\n return;\n }\n }\n }" ]
[ "0.7095666", "0.7070612", "0.6838987", "0.6782523", "0.67672724", "0.67672724", "0.6690229", "0.6670276", "0.6651508", "0.66296047", "0.66296047", "0.6602357", "0.6602357", "0.6581056", "0.65767527", "0.6576241", "0.6526921", "0.6485057", "0.64619994", "0.6456734", "0.63909984", "0.6389254", "0.63641524", "0.6349742", "0.634167", "0.6264923", "0.6249662", "0.6249662", "0.62353194", "0.623066", "0.61964905", "0.61694723", "0.61639655", "0.6147276", "0.61330444", "0.61330444", "0.61330444", "0.6124662", "0.612388", "0.6121709", "0.61110365", "0.6108863", "0.6104517", "0.6100057", "0.60993826", "0.6080713", "0.6070308", "0.6070308", "0.6070308", "0.6069645", "0.6068779", "0.6067418", "0.6062951", "0.60577655", "0.60500413", "0.6047952", "0.60445803", "0.603934", "0.60315114", "0.6008143", "0.5988421", "0.59730583", "0.5967809", "0.59652054", "0.59613687", "0.5952947", "0.59415513", "0.5939076", "0.59329575", "0.592588", "0.59233266", "0.59194314", "0.591767", "0.5909446", "0.59091866", "0.590885", "0.59038466", "0.5897238", "0.5881497", "0.5864528", "0.58580196", "0.5857636", "0.58507526", "0.58370346", "0.5832554", "0.58265686", "0.58208436", "0.5820238", "0.5820238", "0.5818154", "0.58131063", "0.57927316", "0.5789614", "0.5782374", "0.5771835", "0.57687676", "0.5762005", "0.5761038", "0.57519937", "0.57509905" ]
0.7043218
2
The parser allows a using system to hardcode the location of the controlling documents that are to be used during the parse for validation. This method permits the setting of these controlling document locations.
public void setSchemaLocation(String iSchemaLocation) { mLogger.entering("ADLSCORMValidator", "setSchemaLocation()"); mSchemaLocation = iSchemaLocation; mLogger.finest("mSchemaLocation set to " + mSchemaLocation); mLogger.exiting("ADLSCORMValidator", "setSchemaLocation()"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDocumentLocation(L documentLocation);", "@Override\r\n protected void parseDocuments()\r\n {\n\r\n }", "@Override\n\t\tpublic void setDocumentLocator(Locator locator) {\n\t\t\t\n\t\t}", "@Override\n\tpublic void setDocumentLocator(Locator locator) {\n\t\t\n\t}", "@Override\n\tpublic void setDocumentLocator(Locator locator) {\n\t\t\n\t}", "public Document setUpDocumentToParse() throws ParserConfigurationException, SAXException, IOException{\n\t\tFile file = new File (dataFilePath);\n\t\tDocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();\n\t\tDocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();\n\t\tDocument document = documentBuilder.parse(file);\n\n\t\treturn document;\n\t}", "@Override\r\n public void setDocumentLocator(Locator locator) {\n }", "public void setDocumentLocator (Locator locator)\n {\n // no op\n }", "public void setDocumentLocator( Locator locator )\n {\n super.setDocumentLocator(locator);\n this.locator = locator;\n }", "public void openDocument(L documentLocation) throws IOException;", "@Override\n\tpublic void startDocument() {\n\t\t\n\t}", "@Override\n public void setDocumentLocator(Locator locator) {\n this.locator = locator;\n }", "public abstract WalkerDocument newDocument(IOptions options);", "public void multiFileStartDocument() throws SAXException\r\n\t{\r\n\t\tsuper.startDocument();\r\n\t\ttagPath = new Stack<Path>();\r\n\t\ttagBeingIgnored = null;\r\n\t\tpassedARecord = false;\r\n\t}", "public void setDocumentLocator(Locator locator) {\r\n\t\t_locator = locator;\r\n\t}", "public void setDocumentLocator(Locator locator) {\n _locator = locator;\n }", "void setParser(CParser parser);", "public DocumentController() {\n\t\tthis.content = this.getstartpage();\n\t\tthis.url = \"https://\";\n\t}", "public void init() { \n\t\ttry { \n\t\t\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); \n\t\t\tDocumentBuilder builder = factory.newDocumentBuilder(); \n\t\t\tthis.document = builder.newDocument(); \n\t\t\tlogger.info(\"initilize the document success.\");\n\t\t} catch (ParserConfigurationException e) { \n\t\t\t\n\t\t\tlogger.error(e.getMessage());\n\t\t} \n\t}", "public void buildDocument() {\n/* 310 */ setDocument(getDocumentLoader().getDocument(getClass()), \"text/html\", \"ISO-8859-1\");\n/* */ \n/* 312 */ syncAccessMethods();\n/* */ }", "public void configureWord() {\n }", "@Override\n public void setDocumentLocator(Locator locator) {\n mLocator = locator;\n }", "public L getDocumentLocation();", "public void buildDocument() {\n/* 220 */ setDocument(getDocumentLoader().getDocument(getClass()), \"text/html\", \"ISO-8859-1\");\n/* */ \n/* 222 */ syncAccessMethods();\n/* */ }", "public void buildDocument() {\n/* 248 */ setDocument(getDocumentLoader().getDocument(getClass()), \"text/html\", \"ISO-8859-1\");\n/* */ \n/* 250 */ syncAccessMethods();\n/* */ }", "private void init(){\r\n\t\t// already checked that this is a valid file and reader\r\n\t\ttokenizer = new StreamTokenizer(reader);\r\n\t\ttokenizer.slashSlashComments(true);\r\n\t\ttokenizer.slashStarComments(true);\r\n\t\ttokenizer.wordChars('_', '_');\r\n\t\ttokenizer.wordChars('.', '.');\r\n\t\ttokenizer.ordinaryChar('/');\r\n\t\ttokenizer.ordinaryChar('-');\r\n\t\tfillKeywords();\r\n\t\t//tokenChoose = new TokenChooser();\r\n\t}", "public void startDocument() {\r\n lineBuffer = new StringBuffer(128); \r\n saxLevel = 0;\r\n charState = -1;\r\n }", "public void startDocument() {\n _root = null;\n _target = null;\n _prefixMapping = null;\n _parentStack = new Stack<>();\n }", "@Override\n\tpublic void startDocument() throws SAXException {\n\t\tSystem.out.println(\"---解析文档开始----\");\n\t}", "public NesCDocScanner( IMultiPreferenceProvider preferences ) {\r\n super();\r\n \r\n this.preferences = preferences;\r\n \r\n buildRules();\r\n }", "public void startDocument()\r\n\t{\r\n\t marc_out.add(\"=LDR 00000nam\\\\\\\\22000007a\\\\4500\") ;\r\n\t marc_out.add(\"=001 etd_\" + pid);\r\n\t marc_out.add(\"=003 MiAaPQ\");\r\n\t marc_out.add(\"=006 m\\\\\\\\\\\\\\\\fo\\\\\\\\d\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");\r\n\t marc_out.add(\"=007 cr\\\\mnu\\\\\\\\\\\\aacaa\");\r\n\t marc_out.add(\"=040 \\\\\\\\$aMiAaPQ$beng$cDGW$dDGW\");\r\n\t marc_out.add(\"=049 \\\\\\\\$aDGWW\");\r\n\t marc_out.add(\"=504 \\\\\\\\$aIncludes bibliographical references.\");\r\n\t marc_out.add(\"=538 \\\\\\\\$aMode of access: Internet\");\r\n marc_out.add(\"=996 \\\\\\\\$aNew title added ; 20\" + running_date);\r\n marc_out.add(\"=998 \\\\\\\\$cgwjshieh ; UMI-ETDxml conv ; 20\" + running_date);\r\n\t marc_out.add(\"=852 8\\\\$bgwg ed$hGW: Electronic Dissertation\");\r\n\t marc_out.add(\"=856 40$uhttp://etd.gelman.gwu.edu/\" + pid + \".html$zClick here to access.\");\r\n\r\n }", "void startDocument()\n throws SAXException\n {\n contentHandler.setDocumentLocator(this);\n contentHandler.startDocument();\n attributesList.clear();\n }", "public WalkerDocument newDocument() { return newDocument((IOptions)null); }", "public void startDocument ()\n\t\t{\n\t\t\t//System.out.println(\"Start document\");\n\t\t}", "String prepareLegalDocuments();", "public manageDoc() {\r\r\r\n\r\r\r\n }", "public void setDocumentHandler(DocumentHandler handler)\n {\n contentHandler = new Adapter(handler);\n xmlNames = true;\n }", "public abstract WalkerDocument newDocument(String path, IOptions options) throws HtmlWalkerException;", "public void prepareForRun(OpenDefinitionsDocument doc) { }", "public Locator getDocumentLocator() { return this.locator; }", "private Parser[] getParsers() {\n return new Parser[]{new OpenDocumentParser()};\n }", "@Override\n\tpublic void startDocument() throws SAXException {\n\t\tSystem.out.println(\"开始解析文档\");\n\t}", "public VechicleLoanRequiredDoc() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "private void readDocument(Attributes attrs) {\n this.state = DOC_TEXT_STATE;\n }", "private void setCorpus(){\n URL u = Converter.getURL(docName);\n FeatureMap params = Factory.newFeatureMap();\n params.put(\"sourceUrl\", u);\n params.put(\"markupAware\", true);\n params.put(\"preserveOriginalContent\", false);\n params.put(\"collectRepositioningInfo\", false);\n params.put(\"encoding\",\"windows-1252\");\n Print.prln(\"Creating doc for \" + u);\n Document doc = null;\n try {\n corpus = Factory.newCorpus(\"\");\n doc = (Document)\n Factory.createResource(\"gate.corpora.DocumentImpl\", params);\n } catch (ResourceInstantiationException ex) {\n ex.printStackTrace();\n }\n corpus.add(doc);\n annieController.setCorpus(corpus);\n params.clear();\n }", "public void loadDocument() {\n\t\ttry {\n\t\t\tString defaultDirectory = Utils.lastVisitedDirectory;\n\t\t\tif (Utils.lastVisitedDocumentDirectory != null)\n\t\t\t\tdefaultDirectory = Utils.lastVisitedDocumentDirectory;\n\n\t\t\tJFileChooser fileChooser = new JFileChooser(defaultDirectory);\n\t\t\tint returnVal = fileChooser.showOpenDialog(new JFrame());\n\n\t\t\tif (returnVal != JFileChooser.APPROVE_OPTION) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tURL fileURL = fileChooser.getSelectedFile().toURL();\n\n\t\t\t((XsdTreeStructImpl) xsdTree).loadDocument(fileURL);\n\t\t\txsdTree.getMessageManager().sendMessage(\"XML document \" + fileURL + \" loaded.\", MessageManagerInt.simpleMessage);\n\t\t} catch (IOException urie) {\n\n\t\t} catch (SAXException saxe) {\n\n\t\t}\n\t\texampleLine = null;\n\t\t// updatePreview();\n\t}", "public void fileOpened(OpenDefinitionsDocument doc) { }", "public void fileOpened(OpenDefinitionsDocument doc) { }", "public void init() {\r\n\t\ttry {\r\n\t\t\tSAXParserFactory factory = SAXParserFactory.newInstance();\r\n\t\t\t//factory.setValidating(true);\r\n\t\t\t//factory.setFeature(\r\n\t\t\t//\t\t\"http://apache.org/xml/features/validation/schema\", true);\r\n\t\t\tfactory.setNamespaceAware(true);\r\n\t\t\t_parser = factory.newSAXParser();\r\n\t\t} catch (Exception e) {\r\n\t\t\tlog.error(e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t\tLoggerUtilsServlet.logErrors(e);\r\n\t\t}\r\n\t}", "public CrossrefUnixrefSaxParser() {\n }", "public OpenOfficeXMLDocumentParser() {\r\n }", "public void setContent(Document doc) {\n\t\tString text = doc.getContent().toString();\n\t\txmldoc = new NlptoolsshareType();\n\t\tDocumentType docxml = new DocumentType();\n\t\tdocxml.setText(text);\n\t\txmldoc.setDocument(docxml);\n\t}", "private static interface DefDocumentProcessor\n\t{\n\t\t/**\n\t\t * Called for every element found during processing of the s.t.\n\t\t * path.\n\t\t * @param documentPath an abstract pathname of the document\n\t\t * @throws XMLFormatException if document appears to be corrupted\n\t\t */\n\t\tvoid processElement(File documentPath) \n\t\t\tthrows XMLFormatException;\n\t}", "private void prepDocument() {\n if (body == null) {\n body = document.appendElement(\"body\");\n }\n\n body.attr(\"id\", \"readabilityBody\");\n\n Elements frames = document.getElementsByTag(\"frame\");\n if (frames.size() > 0) {\n LOG.error(\"Frames. Can't deal. Write code later to look at URLs and fetch\");\n impossible = true;\n return;\n }\n\n Elements stylesheets = document.getElementsByTag(\"style\");\n stylesheets.remove();\n stylesheets = document.select(\"link[rel='stylesheet']\");\n stylesheets.remove();\n\n /* Turn all double br's into p's */\n /*\n * Note, this is pretty costly as far as processing goes. Maybe optimize later.\n */\n handlePP();\n handleDoubleBr();\n fontsToSpans();\n }", "public void startDocument ()\n {\n\tSystem.out.println(\"Start document\");\n }", "void setParentController(IMSFXMLDocumentController documentController) {\n this.documentController = documentController;\n }", "protected abstract void parseSource(final Document doc, final Resource.Builder resource);", "public abstract IOptions newDocumentOptions();", "public static Document getDocument(InputSource in){\t\t\n\t\ttry {\n\t\t\tDocumentBuilderFactory docbuilderf = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder docb = docbuilderf.newDocumentBuilder();\n\t\t\treturn docb.parse(in);\n\t\t} catch (SAXException e) {\n\t\t\t// TODO Parseprobleem... Invalide bestand.\n\t\t\tthrow new RuntimeException(e);\n\t\t} catch (IOException e) {\n\t\t\t// TODO IOException, bestand bestaat niet of doet iets anders.\n\t\t\te.printStackTrace();\n\t\t\tthrow new RuntimeException(e);\n\t\t} catch (ParserConfigurationException e) {\n\t\t\t// Configuratie zou moeten werken\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}", "public void processDocument() {\n\n\t\t// compact concepts\n\t\tprocessConcepts(concepts);\n\t}", "public void validateOptions() throws XDocletException\n {\n // WebSphere does not require a template url or a destination file\n //\n // super.validateOptions();\n }", "public abstract WalkerDocument newDocument(DocumentTag adapter, IOptions options);", "protected Document() {/* intentionally empty block */}", "public void parseDocument(String XMLFilePath) {\n\t \n\t SAXParserFactory spf = SAXParserFactory.newInstance();\n\t try {\n\t\tSAXParser sp = spf.newSAXParser();\n\t\tsp.parse(XMLFilePath, this);\n\t }catch(SAXException se) {\n\t\tse.printStackTrace();\n\t }catch(ParserConfigurationException pce) {\n\t\tpce.printStackTrace();\n\t }catch (IOException ie) {\n\t\tie.printStackTrace();\n\t }\n\t}", "public void setValidateLocation(boolean validateLocation) {\n inputParameters.ValidateLocation = validateLocation;\n\n }", "@Override\r\n\tpublic void startDocument() throws SAXException\r\n\t{\r\n\t\t//\t\ttry \n\t\t//\t\t{\n\t\t//\t\t\tif (task.isMergeSourceFiles())\r\n\t\t//\t\t\t{\r\n\t\t//\t\t\t\t//\r\n\t\t//\t\t\t}\r\n\t\t//\t\t\telse\r\n\t\t//\t\t\t{\r\n\t\t//\t\t\t\tmultiFileStartDocument();\r\n\t\t//\t\t\t}\n\t\t//\t\t} \n\t\t//\t\tcatch (Exception e) \n\t\t//\t\t{\n\t\t//\t\t\tthrow new SAXException(\"Exception on starting document \", e);\n\t\t//\t\t}\r\n\t}", "@Test\n\tpublic void probandoConParser() {\n\t\tString dBoxUrl = \"/home/julio/Dropbox/julio_box/educacion/maestria_explotacion_datos_uba/materias/cuat_4_text_mining/material/tp3/\";\n\t\tString modelUrl = dBoxUrl + \"NER/models/es-ner-person.bin\";\n\t\tString filesUrl = dBoxUrl + \"NER/archivoPrueba\";\n\t\tString sampleFile = filesUrl + \"/viernes-23-05-14-alan-fitzpatrick-gala-cordoba.html\";\n\t\tList<String> docs = getMyDocsFromSomewhere(filesUrl);\n\n\t\ttry {\n\t\t\t// detecting the file type\n\t\t\tBodyContentHandler handler = new BodyContentHandler();\n\t\t\tMetadata metadata = new Metadata();\n\t\t\tFileInputStream inputstream = new FileInputStream(new File(sampleFile));\n\t\t\tParseContext pcontext = new ParseContext();\n\n\t\t\t// Html parser\n\t\t\tHtmlParser htmlparser = new HtmlParser();\n\t\t\thtmlparser.parse(inputstream, handler, metadata, pcontext);\n\t\t\tSystem.out.println(\"Contents of the document:\" + handler.toString());\n\t\t\tSystem.out.println(\"Metadata of the document:\");\n\t\t\tString[] metadataNames = metadata.names();\n\n\t\t\tfor (String name : metadataNames) {\n\t\t\t\tSystem.out.println(name + \": \" + metadata.get(name));\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tAssert.fail();\n\t\t}\n\n\t}", "@Override\n\tpublic void startDocument() throws SAXException {\n\t\tsuper.startDocument();\n\t}", "@Override\n\tpublic void startDocument() throws SAXException {\n\t\tsuper.startDocument();\n\t}", "@Override\n\tpublic void startDocument() throws SAXException {\n\t\tsuper.startDocument();\n\t}", "@Override\n\tpublic void startDocument() throws SAXException {\n\t\tsuper.startDocument();\n\t\tcityNameList = new ArrayList<String>();\n\t\tcityCodeList = new ArrayList<String>();\n\t}", "public void setEditorParser( GosuParser parser )\n {\n _parser = parser;\n }", "@Nonnull\n public static Document readWithLocations(InputSource inputSource, boolean namespaceAware) throws IOException {\n try {\n // Create transformer SAX source that adds current element position to\n // the element as attributes.\n XMLReader xmlReader = SAXParserFactory.newInstance().newSAXParser().getXMLReader();\n LocationFilter locationFilter = new LocationFilter(xmlReader);\n SAXSource saxSource = new SAXSource(locationFilter, inputSource);\n\n // Perform an empty transformation from SAX source to DOM result.\n TransformerFactory transformerFactory = TransformerFactory.newInstance();\n Transformer transformer = transformerFactory.newTransformer();\n DOMResult domResult = new DOMResult();\n transformer.transform(saxSource, domResult);\n Node root = domResult.getNode();\n return (Document) root;\n } catch (@Nonnull TransformerException | SAXException | ParserConfigurationException ex) {\n throw new IOException(ex);\n }\n }", "public AceDocument (String textFileName, String APFfileName) {\n\t\ttry {\n\t\t// initialize APF reader\n\t\tif (builder == null) {\n\t\t\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n\t\t\tfactory.setValidating(false);\n\t\t\tbuilder = factory.newDocumentBuilder();\n\t\t\t}\n\t\t\tanalyzeDocument (textFileName, APFfileName);\n\t\t} catch (SAXException e) {\n\t\t\tSystem.err.println (\"AceDocument: Exception in initializing APF reader: \" + e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println (\"AceDocument: Exception in initializing APF reader: \" + e);\n\t\t} catch (ParserConfigurationException e) {\n\t\t\tSystem.err.println (\"AceDocument: Exception in initializing APF reader: \" + e);\n\t\t}\n\t}", "private void beforeDoctypePublicIdentifierState() throws SAXException,\n IOException {\n for (;;) {\n /*\n * Consume the next input character:\n */\n char c = read();\n switch (c) {\n case ' ':\n case '\\t':\n case '\\n':\n case '\\u000B':\n case '\\u000C':\n /*\n * U+0009 CHARACTER TABULATION U+000A LINE FEED (LF) U+000B\n * LINE TABULATION U+000C FORM FEED (FF) U+0020 SPACE Stay\n * in the before DOCTYPE public identifier state.\n */\n continue;\n case '\"':\n /*\n * U+0022 QUOTATION MARK (\") Set the DOCTYPE token's public\n * identifier to the empty string,\n */\n clearLongStrBuf();\n /*\n * then switch to the DOCTYPE public identifier\n * (double-quoted) state.\n */\n doctypePublicIdentifierDoubleQuotedState();\n return;\n case '\\'':\n /*\n * U+0027 APOSTROPHE (') Set the DOCTYPE token's public\n * identifier to the empty string,\n */\n clearLongStrBuf();\n /*\n * then switch to the DOCTYPE public identifier\n * (single-quoted) state.\n */\n doctypePublicIdentifierSingleQuotedState();\n return;\n case '>':\n /* U+003E GREATER-THAN SIGN (>) Parse error. */\n err(\"Expected a public identifier but the doctype ended.\");\n /*\n * Set the DOCTYPE token's correctness flag to incorrect.\n * Emit that DOCTYPE token.\n */\n tokenHandler.doctype(doctypeName, null, null, false);\n /*\n * Switch to the data state.\n */\n return;\n case '\\u0000':\n /* EOF Parse error. */\n err(\"End of file inside a doctype.\");\n /*\n * Set the DOCTYPE token's correctness flag to incorrect.\n * Emit that DOCTYPE token.\n */\n tokenHandler.doctype(doctypeName, null, null, false);\n /*\n * Reconsume the EOF character in the data state.\n */\n unread(c);\n return;\n default:\n /* Anything else Parse error. */\n err(\"Bogus doctype.\");\n /*\n * Switch to the bogus DOCTYPE state.\n */\n bogusDoctypeState();\n return;\n }\n }\n }", "protected void configureTokenizer()\r\n\t{\r\n\t\tLogger.debug(\"Configuring syntax tokenizer\", Level.GUI,this);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tLogger.debug(\"Setting flags\", Level.GUI,this);\r\n\t\t\t// Use the standard configuration as a base\r\n\t\t\tm_properties = new StandardTokenizerProperties();\r\n\t\t\t// Return token positions and line comments\r\n\t\t\tm_properties.setParseFlags( Flags.F_TOKEN_POS_ONLY | Flags.F_RETURN_LINE_COMMENTS );\r\n\t\t\t// Python comments\r\n\t\t\t// Block comments are parsed manually\r\n\t\t\tm_properties.addLineComment(\"#\");\n\t\t\t// Python strings\r\n\t\t\tm_properties.addString(\"\\\"\", \"\\\"\", \"\\\"\");\r\n\t\t\tm_properties.addString(\"\\'\", \"\\'\", \"\\'\");\r\n\t\t\t// Normal whitespaces\r\n\t\t\tm_properties.addWhitespaces(TokenizerProperties.DEFAULT_WHITESPACES);\r\n\t\t\t// Normal separators\r\n\t\t\tm_properties.addSeparators(TokenizerProperties.DEFAULT_SEPARATORS);\r\n\t\t\t// Add our keywords\r\n\t\t\tLogger.debug(\"Adding keywords\", Level.GUI,this);\r\n\t\t\tfor(String word : m_listFunctions)\r\n\t\t\t{\r\n\t\t\t\tm_properties.addKeyword(word);\r\n\t\t\t}\r\n\t\t\tfor(String word : m_listModifiers)\r\n\t\t\t{\r\n\t\t\t\tm_properties.addKeyword(word);\r\n\t\t\t}\r\n\t\t\tfor(String word : m_listLanguage)\r\n\t\t\t{\r\n\t\t\t\tm_properties.addKeyword(word);\r\n\t\t\t}\r\n\t\t\tfor(String word : m_listConstants)\r\n\t\t\t{\r\n\t\t\t\tm_properties.addKeyword(word);\r\n\t\t\t}\r\n\t\t\t// Special symbols\r\n\t\t\tLogger.debug(\"Adding symbols\", Level.GUI,this);\r\n\t\t\tm_properties.addSpecialSequence(\"\\\"\\\"\\\"\");\r\n\t\t\tm_properties.addSpecialSequence(\"{\");\r\n\t\t\tm_properties.addSpecialSequence(\"}\");\r\n\t\t\tm_properties.addSpecialSequence(\"(\");\r\n\t\t\tm_properties.addSpecialSequence(\")\");\r\n\t\t\tm_properties.addSpecialSequence(\"[\");\r\n\t\t\tm_properties.addSpecialSequence(\"]\");\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "private Document initialize() {\r\n Document doc = null;\r\n try {\r\n File file = new File(\"./evidence.xml\");\r\n DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\r\n DocumentBuilder docBuilder = dbFactory.newDocumentBuilder();\r\n doc = docBuilder.parse(file);\r\n doc.getDocumentElement().normalize();\r\n } catch (ParserConfigurationException | IOException | SAXException e) {\r\n System.err.println(\"Parser failed parse file:\"+e.getMessage());\r\n }\r\n return doc;\r\n }", "@Override\n\t\tpublic void startDocument() throws SAXException {\n\t\t\t\n\t\t}", "public void setInoDocname(String pDocname);", "public void setup (SourceResolver sourceResolver, Map objectModel, String source,\n\t\t Parameters parameters)\n throws ProcessingException, SAXException, IOException\n {\n final String METHOD_NAME = \"setup\";\n this.logDebug(METHOD_NAME + \" 1/3: started\");\n\n try\n {\n // Ensure services are released:\n this.releaseServices();\n\n super.setup(sourceResolver, objectModel, source, parameters);\n \n\t// Document type:\n int type = ParamUtil.getAsDocType(this.parameters, \"type\", \"type-name\");\n\n\t// Document id:\n int id = ParamUtil.getAsId(this.parameters, \"id\");\n\n\tthis.logDebug(METHOD_NAME + \" 2/3: type = \" + type + \", id = \" + id);\n\n // Get a document selector wrapper if necessary:\n if ( this.documentSelector == null )\n {\n this.logDebug(METHOD_NAME + \" 2/3.1: Instanciating a ServiceSelectorWrapper\");\n String label = \"DocumentReader#\" + this.instanceStatus.getInstanceId();\n this.documentSelector = new ServiceSelectorWrapper\n (label, this.getLogger().getChildLogger(label));\n }\n\n // Get a document selector and wrap it:\n\tthis.documentSelector.wrap\n\t ((ServiceSelector)this.serviceManager.lookup(Document.ROLE + \"Selector\"));\n\n\t// Get a document from the pool:\n\tthis.document = (Document)this.documentSelector.select(DocType.hintFor[type]);\n\n // Set id and use mode:\n this.document.setId(id);\n\tthis.document.setUseMode(UseMode.SERVE);\n\n\tthis.logDebug\n (METHOD_NAME + \" 4/5: Done. this.document = \" + LogUtil.identify(this.document));\n }\n catch (Exception exception)\n {\n\tthrow new ProcessingException(exception);\n }\n\n this.logDebug(METHOD_NAME + \" 5/5: finished\");\n }", "public void startDocument()\n throws SAXException {\n newContent = new StringBuffer();\n // TODO: what is the proper way to set this?\n newContent.append(\"<?xml version=\\\"1.0\\\"?>\");\n }", "@Override\n public Document parse(InputSource inputSource) throws XMLPlatformException {\n try {\n return getDocumentBuilder().parse(inputSource);\n } catch (SAXException e) {\n throw XMLPlatformException.xmlPlatformParseException(e);\n } catch (IOException e) {\n throw XMLPlatformException.xmlPlatformParseException(e);\n }\n }", "public void open(){\n\t\ttry {\n\t\t\tdocFactory = DocumentBuilderFactory.newInstance();\n\t\t\tdocBuilder = docFactory.newDocumentBuilder();\n\t\t\tdoc = docBuilder.parse(ManipXML.class.getResourceAsStream(path));\n\t\t\t\n\t\t} catch (ParserConfigurationException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (SAXException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void setCompilationUnit(Document cu) {\r\n \t\t_doc = cu;\r\n \t}", "@Override\r\n\tpublic void startDocument() throws SAXException {\n\t\tsuper.startDocument();\r\n\t\tSystem.out.println(\"Start Document\");\r\n\t}", "public DocumentWordPosition() {}", "public DocumentManipulator() {\n\t\ttry {\n\t\t\tthis.document = XMLUtils.buildDocument();\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (SAXException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (ParserConfigurationException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t//-- Init Xpath\n\t\tinit();\n\t}", "@Override\n\tpublic void openDocument(String path, String name) {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void startDocument() throws SAXException {\n\t\t\t\t\tsuper.startDocument();\n\t\t\t\t\tbuilder = new StringBuilder();\n\t\t\t\t}", "public NamespaceResolver(Document document) {\n sourceDocument = document;\n }", "String buildDoc(ControllerNode controllerNode) throws IOException;", "protected SourceDocumentInformation() {\n }", "private void beforeDoctypeSystemIdentifierState() throws SAXException,\n IOException {\n for (;;) {\n /*\n * Consume the next input character:\n */\n char c = read();\n switch (c) {\n case ' ':\n case '\\t':\n case '\\n':\n case '\\u000B':\n case '\\u000C':\n /*\n * U+0009 CHARACTER TABULATION U+000A LINE FEED (LF) U+000B\n * LINE TABULATION U+000C FORM FEED (FF) U+0020 SPACE Stay\n * in the before DOCTYPE system identifier state.\n */\n continue;\n case '\"':\n /*\n * U+0022 QUOTATION MARK (\") Set the DOCTYPE token's system\n * identifier to the empty string,\n */\n clearLongStrBuf();\n /*\n * then switch to the DOCTYPE system identifier\n * (double-quoted) state.\n */\n doctypeSystemIdentifierDoubleQuotedState();\n return;\n case '\\'':\n /*\n * U+0027 APOSTROPHE (') Set the DOCTYPE token's system\n * identifier to the empty string,\n */\n clearLongStrBuf();\n /*\n * then switch to the DOCTYPE system identifier\n * (single-quoted) state.\n */\n doctypeSystemIdentifierSingleQuotedState();\n return;\n case '>':\n /* U+003E GREATER-THAN SIGN (>) Parse error. */\n err(\"Expected a system identifier but the doctype ended.\");\n /*\n * Set the DOCTYPE token's correctness flag to incorrect.\n * Emit that DOCTYPE token.\n */\n tokenHandler.doctype(doctypeName, null, null, false);\n /*\n * Switch to the data state.\n */\n return;\n case '\\u0000':\n /* EOF Parse error. */\n err(\"End of file inside a doctype.\");\n /*\n * Set the DOCTYPE token's correctness flag to incorrect.\n * Emit that DOCTYPE token.\n */\n tokenHandler.doctype(doctypeName, null, null, false);\n /*\n * Reconsume the EOF character in the data state.\n */\n unread(c);\n return;\n default:\n /* Anything else Parse error. */\n err(\"Bogus doctype.\");\n /*\n * Switch to the bogus DOCTYPE state.\n */\n bogusDoctypeState();\n return;\n }\n }\n }", "@Override\n public void setDocWriter(DocWriter docWriter) {\n super.setDocWriter(docWriter);\n if (docWriter != null) {\n // Get our parameters from the indexer\n Map<String, String> indexerParameters = docWriter.indexerParameters();\n if (indexerParameters != null)\n setParameters(indexerParameters);\n }\n }", "public void setDocAction (String DocAction);", "public void setDocAction (String DocAction);", "private void indexDocument(File f) throws IOException {\n\n\t\tHashMap<String, StringBuilder> fm;\n\t\tif (!f.getName().equals(\".DS_Store\")) {\n\n\t\t\tBufferedReader br = new BufferedReader(new FileReader(f));\n\n\t\t\tString s = \"\";\n\t\t\twhile ((s = br.readLine()) != null) {\n\n\t\t\t\tString temp = \"\";\n\n\t\t\t\tif (s.contains(\"<DOC>\")) {\n\n\t\t\t\t\ts = br.readLine();\n\n\t\t\t\t\twhile (!s.contains(\"</DOC>\")) {\n\n\t\t\t\t\t\ttemp += s + \" \";\n\n\t\t\t\t\t\ts = br.readLine();\n\t\t\t\t\t}\n\n\t\t\t\t\tfm = parseTags(temp);\n\t\t\t\t\tindexDocumentHelper(fm);\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tbr.close();\n\t\t}\n\n\t}", "public void startDocument() throws SAXException {\n \n }", "void normalize(ILineStartFinder finder) {\n // perform final changes to the open and close body ranges\n int openBodyEnd, openBodyStart, closeBodyStart, closeBodyEnd;\n DOMNode first = (DOMNode) getFirstChild();\n DOMNode lastNode = null;\n // look for the open body\n Scanner scanner = new Scanner();\n scanner.setSource(this.fDocument);\n scanner.resetTo(this.fNameRange[1] + 1, this.fDocument.length);\n try {\n int currentToken = scanner.getNextToken();\n while (currentToken != TerminalTokens.TokenNameLBRACE && currentToken != TerminalTokens.TokenNameEOF) {\n currentToken = scanner.getNextToken();\n }\n if (currentToken == TerminalTokens.TokenNameLBRACE) {\n openBodyEnd = scanner.currentPosition - 1;\n openBodyStart = scanner.startPosition;\n } else {\n openBodyEnd = this.fDocument.length;\n openBodyStart = this.fDocument.length;\n }\n } catch (InvalidInputException e) {\n openBodyEnd = this.fDocument.length;\n openBodyStart = this.fDocument.length;\n }\n if (first != null) {\n int lineStart = finder.getLineStart(first.getStartPosition());\n if (lineStart > openBodyEnd) {\n openBodyEnd = lineStart - 1;\n } else {\n openBodyEnd = first.getStartPosition() - 1;\n }\n lastNode = (DOMNode) first.getNextNode();\n if (lastNode == null) {\n lastNode = first;\n } else {\n while (lastNode.getNextNode() != null) {\n lastNode = (DOMNode) lastNode.getNextNode();\n }\n }\n scanner.setSource(this.fDocument);\n scanner.resetTo(lastNode.getEndPosition() + 1, this.fDocument.length);\n try {\n int currentToken = scanner.getNextToken();\n while (currentToken != TerminalTokens.TokenNameRBRACE && currentToken != TerminalTokens.TokenNameEOF) {\n currentToken = scanner.getNextToken();\n }\n if (currentToken == TerminalTokens.TokenNameRBRACE) {\n closeBodyStart = scanner.startPosition;\n closeBodyEnd = scanner.currentPosition - 1;\n } else {\n closeBodyStart = this.fDocument.length;\n closeBodyEnd = this.fDocument.length;\n }\n } catch (InvalidInputException e) {\n closeBodyStart = this.fDocument.length;\n closeBodyEnd = this.fDocument.length;\n }\n } else {\n scanner.resetTo(openBodyEnd, this.fDocument.length);\n try {\n int currentToken = scanner.getNextToken();\n while (currentToken != TerminalTokens.TokenNameRBRACE && currentToken != TerminalTokens.TokenNameEOF) {\n currentToken = scanner.getNextToken();\n }\n if (currentToken == TerminalTokens.TokenNameRBRACE) {\n closeBodyStart = scanner.startPosition;\n closeBodyEnd = scanner.currentPosition - 1;\n } else {\n closeBodyStart = this.fDocument.length;\n closeBodyEnd = this.fDocument.length;\n }\n } catch (InvalidInputException e) {\n closeBodyStart = this.fDocument.length;\n closeBodyEnd = this.fDocument.length;\n }\n openBodyEnd = closeBodyEnd - 1;\n }\n setOpenBodyRangeEnd(openBodyEnd);\n setOpenBodyRangeStart(openBodyStart);\n setCloseBodyRangeStart(closeBodyStart);\n setCloseBodyRangeEnd(closeBodyEnd);\n this.fInsertionPosition = finder.getLineStart(closeBodyStart);\n if (lastNode != null && this.fInsertionPosition < lastNode.getEndPosition()) {\n this.fInsertionPosition = getCloseBodyPosition();\n }\n if (this.fInsertionPosition <= openBodyEnd) {\n this.fInsertionPosition = getCloseBodyPosition();\n }\n super.normalize(finder);\n }", "Rule Document() {\n // Push 1 DocumentNode onto the value stack\n return Sequence(\n WhiteSpace(),\n ZeroOrMore(Header()),\n ZeroOrMore(Definition()),\n EOI,\n actions.pushDocumentNode());\n }", "public DefaultSyntaxDocument()\n {\n colors = SyntaxUtilities.getDefaultSyntaxColors();\n addDocumentListener(new DocumentHandler());\n }" ]
[ "0.5980003", "0.5650952", "0.5576857", "0.55163246", "0.55163246", "0.5481438", "0.5415521", "0.532229", "0.52625626", "0.52049047", "0.5195693", "0.5193376", "0.51911813", "0.5183749", "0.51412016", "0.5124247", "0.5047933", "0.5033871", "0.5007935", "0.49943492", "0.49940017", "0.49850407", "0.49819475", "0.4977422", "0.49673066", "0.4965594", "0.49535826", "0.49465942", "0.49430284", "0.49418145", "0.4926257", "0.49239606", "0.49188948", "0.49073312", "0.49024165", "0.4887564", "0.48789072", "0.4873563", "0.4863761", "0.4857154", "0.48299143", "0.4814863", "0.4813358", "0.48111713", "0.4803506", "0.47941044", "0.47630817", "0.47630817", "0.47373578", "0.47166312", "0.46983117", "0.4696662", "0.46918333", "0.4691694", "0.46819296", "0.46732765", "0.4671469", "0.46705848", "0.4660065", "0.46594557", "0.46578836", "0.46531364", "0.46526614", "0.46514732", "0.4638617", "0.4631522", "0.46300852", "0.4623612", "0.4623612", "0.4623612", "0.46017048", "0.46009928", "0.4599208", "0.4594402", "0.45862675", "0.4585037", "0.4579646", "0.4575328", "0.4573291", "0.45666522", "0.45637298", "0.45445487", "0.45426825", "0.454219", "0.45365122", "0.453565", "0.45340863", "0.4533725", "0.45332628", "0.45305187", "0.45298457", "0.45247602", "0.45239046", "0.45210925", "0.45197502", "0.45197502", "0.45151886", "0.4509479", "0.4508588", "0.45067152", "0.45060536" ]
0.0
-1
Empty Constructor a new UGraph. Initializes an empty Map to store unique nodes in.
public UGraph() { uNodes = new HashMap<Integer , UNode>(); uEdges = new HashMap<Integer, UEdge>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public UniGraph()\r\n/* 14: */ {\r\n/* 15: 28 */ this.map = new HashMap();\r\n/* 16: 29 */ assert (checkRep());\r\n/* 17: */ }", "public MapGraph()\n {\n this.nodes = new HashMap<Integer, MapNode>();\n this.edges = new HashMap<Integer, Set<MapEdge>>();\n this.nodesByName = new HashMap<String, Set<Integer>>();\n }", "public UniGraph(UniGraph<N, E> g)\r\n/* 20: */ {\r\n/* 21: 39 */ this.map = new HashMap(g.map);\r\n/* 22: 40 */ assert (checkRep());\r\n/* 23: */ }", "public Node() {\n this.nodeMap = new HashMap<>();\n }", "public HashGraph()\n {\n graph = new HashMap <>();\n }", "public Graph() {\n\t\tdictionary=new HashMap<>();\n\t}", "public Graphs() {\n graph = new HashMap<>();\n }", "public Graph()\n\t{\n\t\tthis.map = new HashMap<Object, SinglyLinkedList>();\n\t}", "public Graph()\r\n\t{\r\n\t\tthis.adjacencyMap = new HashMap<String, HashMap<String,Integer>>();\r\n\t\tthis.dataMap = new HashMap<String,E>();\r\n\t}", "public MyHashMap() {\r\n data = new Node[DEFAULT_CAPACITY];\r\n }", "public MapGraphExtra()\n\t{\n\t\t// TODO: Implement in this constructor in WEEK 3\n\t\tmap = new HashMap<GeographicPoint, MapNode> ();\n\t}", "@SuppressWarnings(\"rawtypes\")\r\n\tpublic Graph() {\r\n \tthis.vertex = new HashMap<T, Vertex>();\r\n \tthis.edge = new HashMap<Integer, Edge>();\r\n }", "public Map() {\n\t\t//intially empty\n\t}", "public Graph()\n\t{\n\t\tthis.total_verts = null;\n\t\tthis.total_edges = null;\n\t\tnodes = new HashMap<String, Node>();\n\t}", "public OwnMap() {\n super();\n keySet = new OwnSet();\n }", "public MapNode()\n\t{\n\t\t// Call alternative constructor\n\t\tthis((AbstractNode)null);\n\t}", "Graph<Integer, DefaultEdge> buildMap();", "public Graph() {\n\t\ttowns = new HashSet<Town>();\n\t\troads = new HashSet<Road>();\n\t\tprevVertex = new HashMap<String, Town>();\n\t}", "public ConnectedMap() {\n }", "public MyHashMap() {\n keys = new MapNode[n];\n vals = new MapNode[n];\n for (int i=0; i < n ; ++i) {\n keys[i] = new MapNode();\n vals[i] = new MapNode();\n }\n }", "public BSTMap() {\n clear();\n }", "@SuppressWarnings(\"unchecked\")\r\n\tpublic HashTableMap() {\r\n\t\tK = new LinkedList[10];\r\n\t\tV = new LinkedList[10];\r\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\tpublic HashMap() {\r\n\t\tdata = (Node<MapEntry<K, V>>[])new Node[INITIAL_SIZE];\r\n\t\tfor(int i = 0; i < data.length; i++)\t\t\t\t\t\t\t//For every element in data...\r\n\t\t\tdata[i] = new Node<MapEntry<K,V>>(new MapEntry<K,V>(null));\t//Add a head node to it.\r\n\t\t\r\n\t\t//TODO: May have to just default as null and in the put method, if the slot is null, then put a head node in it. The post-ceding code after that is logically correct!\r\n\t\r\n\t\tsize = 0;\t//Redundant but helpful to see that the size is 0\r\n\t}", "public CitiesMap(){\r\n\t\tmap=new Graph<City>();\r\n\t}", "public static Graph instantiateAdjacencyMapGraph() {\r\n\t\treturn new AdjacencyMapGraph();\r\n\t}", "public TreeDictionary() {\n\t\tfor (int i = 0; i < nodes.length; i++) {\n\t\t\tnodes[i] = null;\n\t\t}\n\t}", "Graph(){\n\t\tadjlist = new HashMap<String, Vertex>();\n\t\tvertices = 0;\n\t\tedges = 0;\n\t\tkeys = new ArrayList<String>();\n\t}", "public Map() {\n\n\t\t}", "public BSTMap() {\n root = null;\n size = 0;\n }", "public AbstractListMapGraph()\n\t{\n\t\tsuper();\n\t\tedgeList = new ArrayList<ET>();\n\t\tnodeList = new ArrayList<N>();\n\t\tgcs = new GraphChangeSupport<N, ET>(this);\n\t\tnodeEdgeMap = new HashMap<N, Set<ET>>();\n\t}", "public BSTMap() {\n this.clear();\n }", "public Graph(){//constructor\n //edgemap\n srcs=new LinkedList<>();\n maps=new LinkedList<>();\n chkIntegrity(\"edgemap\");\n \n nodes=new LinkedList<>();\n //m=new EdgeMap();\n }", "private HashNode() {\r\n key = null;\r\n value = null;\r\n }", "@SuppressWarnings(\"unchecked\")\r\n\tpublic HashMap()\r\n\t{\r\n\t\ttable = new MapEntry[7];\r\n\t\tcount = 0;\r\n\t\tmaxCount = table.length - table.length/3;\r\n\t\tDUMMY = new MapEntry<>(null, null);\r\n\t}", "public JSONNode() {\n map = new HashMap<>();\n }", "private static <N extends Node> SortedMap<ImmutableContextSet, SortedSet<N>> createMap() {\n return new ConcurrentSkipListMap<>(ContextSetComparator.reverse());\n }", "public AllOOneDataStructure() {\n\t\thead=new Node(\"\", 0);\n\t\ttail=new Node(\"\", 0);\n\t\thead.next=tail;\n\t\ttail.prev=head;\n\t\tmap=new HashMap<>();\n\t}", "private void initializeGraph() {\r\n map = new HashMap<>();\r\n graph = new List[n];\r\n for (int i = 0; i < n; i++) graph[i] = new ArrayList<>();\r\n\r\n\r\n }", "AdjacencyGraph(){\r\n vertices = new HashMap<>();\r\n }", "public HashMultiSet() {\r\n\t\tbaseMap = new HashMap<>();\r\n\t}", "public Model() {\n\t\tthis.map = new Map(37, 23);\n\t}", "protected WumpusMap() {\n\t\t\n\t}", "public Graph(Map<Vertex<? extends Position>, List<Vertex<? extends Position>>> graph){\n\t\tthis.mapGraph = graph;\n\t}", "public MapSum() {\n root = new Node();\n size = 0;\n }", "public MapSum() {\n root = new TrieNode();\n }", "public MapSum() {\n root = new TrieNode();\n }", "public MapSum() {\n root = new TrieNode();\n }", "public Graph() {\r\n\t\tnodePos = new HashMap<Integer, Vec2D>();\r\n\t\tconnectionLists = new HashMap<Integer, List<Connection>>();\r\n\t\t//screenWidth = Config.SCREEN_WIDTH;\r\n\t}", "public MyHashMap() {\n map = new HashMap();\n }", "public GraphInfo(){}", "public MapSum() {\n root = new Trie();\n }", "public MapNode(\n\t\tAbstractNode\tparent)\n\t{\n\t\t// Call superclass constructor\n\t\tsuper(parent);\n\n\t\t// Initialise instance variables\n\t\tpairs = new LinkedHashMap<>();\n\t}", "public OwnMap(int capacity) {\n super(capacity);\n keySet = new OwnSet();\n }", "public HashMultiSet() {\n\t\thMap = new HashMap<T, Integer>();\n\t\tsize = 0;\n\t}", "public Twitter() {\n u_map = new HashMap<>();\n }", "private void initGraph() {\n nodeMap = Maps.newIdentityHashMap();\n stream.forEach(t -> {\n Object sourceKey = sourceId.extractValue(t.get(sourceId.getTableId()));\n Object targetKey = targetId.extractValue(t.get(targetId.getTableId()));\n ClosureNode sourceNode = nodeMap.get(sourceKey);\n ClosureNode targetNode = nodeMap.get(targetKey);\n if (sourceNode == null) {\n sourceNode = new ClosureNode(sourceKey);\n nodeMap.put(sourceKey, sourceNode);\n }\n if (targetNode == null) {\n targetNode = new ClosureNode(targetKey);\n nodeMap.put(targetKey, targetNode);\n }\n sourceNode.next.add(targetNode);\n });\n\n }", "public Graph() {\r\n\t\tinit();\r\n\t}", "public DataNodeTable() {\r\n\t\tnodeMap = new HashMap<String, NodeRef>();\r\n\t}", "public MyHashMap() {\n map = new ArrayList<>();\n for (int i = 0;i<255;i++)\n map.add(new Entry());\n }", "private void init() {\n UNIGRAM = new HashMap<>();\n }", "public TravelMap() {\n\t\tfor (int i = 0; i < 100; i++) {\n\t\t\tadjacencyList.add(new ArrayList<>());\n\t\t}\n\t}", "public OmaHashMap() {\n this.values = new OmaLista[32];\n this.numberOfValues = 0;\n }", "@Override\n\tpublic HashMap<Position, Node> generate(){\n\t\tNode tempNode;\n\t\tPosition tempPosition;\n\t\tif(map != null && map.isEmpty()){\n\t\t\tfor(int y=0; y<numNodesY; y++){\n\t\t\t\tfor(int x=0; x<numNodesX; x++){\n\t\t\t\t\ttempPosition = new Position(x*nodeDistance, \n\t\t\t\t\t\t\ty*nodeDistance);\n\t\t\t\t\ttempNode = new Node(field, tempPosition,\n\t\t\t\t\t\t\tnodeSignalStrength,\n\t\t\t\t\t\t\tagentLife,\n\t\t\t\t\t\t\trequestLife);\n\t\t\t\t\tmap.put(tempPosition, tempNode);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn new HashMap<Position, Node>(map);\n\t}", "protected void clearGraphMap() {\n\n for (String id : this.graphMap.keySet()) {\n\n this.ids.remove(id);\n }\n this.graphMap.clear();\n }", "public DFSGraph() {\n this(new HashMap<>(), HashMap::new, HashSet::new, HashSet::new);\n }", "public QuadGramMap()\n\t{\n\t\tsuper();\n\t}", "public HashMap(){\n\t\tthis.numOfBins=10;\n\t\tthis.size=0;\n\t\tinitializeMap();\n\t}", "public IdentificationSet() {\n map = new HashMap<>();\n init();\n }", "public MapNode(\n\t\tMap<String, AbstractNode>\tpairs)\n\t{\n\t\t// Call alternative constructor\n\t\tthis(null, pairs);\n\t}", "public Q706DesignHashMap() {\n keys = new ArrayList<>();\n values = new ArrayList<>();\n\n }", "public MyHashMap() {\n hashMap = new ArrayList<>();\n }", "public FollowGraph() {\r\n users = new ArrayList<>();\r\n connections = new boolean[MAX_USERS][MAX_USERS];\r\n }", "public MapSumTrie() {\n root = new TrieNode();\n }", "public WGraph_DS()\n {\n modeCount=0;\n edges=0;\n HashMap<Integer,node_info>nodesHash=new HashMap<>();\n HashMap<Integer,Neighbors>edgesHash=new HashMap<>();\n }", "public RandomizedSet() {\n map = new HashMap<>();\n }", "public MyHashMap() {\n\n }", "public MyHashMap() {\n\t\tthis(INIT_CAPACITY);\n\t}", "public MapBuilder() {\r\n map = new Map();\r\n json = new Gson();\r\n }", "@Override\n public void create() {\n theMap = new ObjectSet<>(2048, 0.5f);\n generate();\n }", "public HashEntityMap()\n\t\t{\n\t\t\tmapNameToValue = new HashMap<String, Integer>();\n\t\t}", "@SuppressWarnings(\"unused\")\n private Map() {\n height_ = 0;\n width_ = 0;\n System.exit(-777);\n }", "public UpTreeDisjointSetForest() {\n\t\t// Use an efficient map!\n\t\tmap = new LinearProbingHashMap<E, UpTreeNode<E>>();\n\t}", "MyHashMap(int initialCapacity) {\r\n data = new Node[initialCapacity];\r\n }", "public CountingMap() {\n this( new HashMap<K, Integer>() );\n }", "public Graph() {\r\n\t\tthis.matrix = new Matrix();\r\n\t\tthis.listVertex = new ArrayList<Vertex>();\r\n\t}", "public DesignHashSet() {\n map=new HashMap<>();\n }", "public IntObjectHashMap() {\n resetToDefault();\n }", "public Graph() {\n }", "public MyHashSet() {\n nodes = new Node[Max_Size];\n }", "public MagicDictionary() {\n root=new Node();\n }", "protected MapImpl() {\n }", "public MyHashMap() {\r\n\t\tloadFactor = DEFAULT_LOAD_FACTOR;\r\n\t\tcapacity = DEFAULT_CAPACITY;\r\n\t\thashMapArray = new LinkedList[capacity];\r\n\t}", "public TrieNode() {\n map = new HashMap<Character, TrieNode>();\n isLeaf = false;\n }", "public void setUp()\n {\n map = new Map(5, 5, null);\n }", "public AutoIndexMap()\n\t\t{\n\t\t\t// Initialise instance variables\n\t\t\tindices = new IdentityHashMap<>();\n\t\t}", "public Trie() {\n\t\tnodes = new Trie[26];\n\t}", "public static <K, V> Reference2ObjectMap<K, V> emptyMap() {\n/* 178 */ return EMPTY_MAP;\n/* */ }", "public Twitter() {\n usersMap = new HashMap<>();\n }", "public WeightedAdjacencyGraph() {\n this.vertices = new HashMap<>();\n }", "public Graph(){\n\t\tthis.sizeE = 0;\n\t\tthis.sizeV = 0;\n\t}" ]
[ "0.7625236", "0.74999726", "0.71891177", "0.6902655", "0.6849878", "0.6789511", "0.67889947", "0.6727361", "0.66283375", "0.6569903", "0.65684175", "0.64942855", "0.644584", "0.64327633", "0.64295256", "0.6340335", "0.6291376", "0.6284153", "0.62766236", "0.6276419", "0.6266404", "0.6266141", "0.62566817", "0.6240979", "0.6203523", "0.61844677", "0.61762136", "0.61694205", "0.6165205", "0.6134966", "0.6118692", "0.600853", "0.59924424", "0.5961324", "0.589358", "0.5883096", "0.5882087", "0.58703405", "0.5851572", "0.58490926", "0.58089983", "0.5802483", "0.579678", "0.5789405", "0.5788313", "0.5788313", "0.5788313", "0.57853913", "0.57686174", "0.5760306", "0.5760022", "0.5753477", "0.5716505", "0.5711984", "0.5690805", "0.56848836", "0.56672454", "0.5658729", "0.5653921", "0.5630601", "0.56286263", "0.5620772", "0.5615375", "0.5604598", "0.55959016", "0.5589413", "0.5587548", "0.55649585", "0.5558191", "0.5548738", "0.5542932", "0.55420834", "0.5536942", "0.5525178", "0.5519127", "0.55178887", "0.5515885", "0.5511322", "0.5497336", "0.54963934", "0.54928833", "0.5483734", "0.54779726", "0.54767233", "0.54756385", "0.54673463", "0.5464225", "0.54619765", "0.5459551", "0.54582995", "0.5456422", "0.5448568", "0.54457754", "0.5441117", "0.5440591", "0.54390776", "0.54357594", "0.5434465", "0.5422421", "0.5414403" ]
0.78786826
0
Adds a new UNode to the uNodes map.
public boolean addNode(Integer id, String nodeName) { System.out.printf ("UGraph: Node %d added named %s\n", id, nodeName); if (uNodes.put( id, new UNode( id, nodeName)) == null) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addNode(Node n) {\n nodes.put(n.id, n);\n }", "public void addNode() {\r\n \r\n Nod nod = new Nod(capacitate_noduri);\r\n numar_noduri++;\r\n noduri.add(nod);\r\n }", "@Override\n\tpublic void addNode(node_data n) {\n\t\tif (Nodes.keySet().contains(n.getKey())) {\n\t\t\tSystem.err.println(\"Err: key already exists, add fail\");\n\t\t\treturn;\n\t\t}\n\t\tif(n.getWeight()<=0)\n\t\t{\n\t\t\tSystem.err.println(\"The weight must be positive! . The node hadn't been added successfully..\");\n\t\t\treturn;\n\t\t}\n\t\tthis.Nodes.put(n.getKey(), n);//n used to be casted into (node)\n\t\tthis.Edges.put(n.getKey(), new HashMap<Integer,edge_data>());\n\t\tMC++;\n\n\t}", "void addNode()\n {\n Node newNode = new Node(this.numNodes);\n this.nodeList.add(newNode);\n this.numNodes = this.numNodes + 1;\n }", "public void addNode(Node node){subNodes.add(node);}", "public boolean addNode(N node)\r\n/* 32: */ {\r\n/* 33: 68 */ assert (checkRep());\r\n/* 34: 69 */ if (!this.map.containsKey(node))\r\n/* 35: */ {\r\n/* 36: 70 */ this.map.put(node, new HashMap());\r\n/* 37: 71 */ return true;\r\n/* 38: */ }\r\n/* 39: 73 */ return false;\r\n/* 40: */ }", "public void addNode(int key)\n{\n Node n1 = new Node(key);\n\t\n\tif(!getNodes().containsKey(n1.getKey())) \n\t{\n\tmc++;\n\tthis.getNodes().put(n1.getKey(),n1);\n\t\t\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"Node already in the graph\");\n\t}\n}", "void addNode(String node);", "public void add(Node<T> n){\n\t\tconnect.add(n);\n\t}", "protected void addingNode( SearchNode n ) { }", "public void addNode(Node node) {\n\t\tnodes.add(node);\n\t}", "protected void addNode(INode node) {\n\n if (node != null) {\n\n this.ids.add(node.getID());\n this.nodeMap.put(node.getID(), node);\n }\n }", "private void add_node(Node node) {\n if (this.nodes.get(node.name) != null) {\n throw new RuntimeException(\"Node \" + node.name + \" already exists!\");\n }\n this.nodes.put(node.name, node);\n this.bars.put(node.name, new TreeMap<String, Bar>());\n }", "String addNewNode(Double lat, Double lon);", "public void addNode(NodeImpl node) {\n supervisedNodes.add(node);\n \n colorNodes();\n shortenNodeLabels();\n colorNodeLabels();\n colorNodeLabelBorders();\n }", "void addNode(int node);", "public void addNode(Node node) {\n\t\tthis.nodes.add(node);\n\t}", "public void addNode(Character charId, Node node) {\n graph.put(charId, node);\n }", "void addHasNodeID(Integer newHasNodeID);", "public void addToNodeMap(Node node) {\n nodeMap.put(node.getNodeId(), node);\n }", "private Node addNode(String nodeName)\r\n\t{\r\n\t final Node n = new Node(nodeName, attributes, numNodes());\r\n\t if (nodeMap.put(nodeName, n) != null)\r\n\t\tthrow new RuntimeException(\"Node <\"+n+\"> already exists!\");\r\n\t return n;\r\n\t}", "private void addNode(NeuralNode node) {\r\n\t\tinnerNodes.add(node);\r\n\t}", "public void add(U newValue) {\n\t\t\tlinkBeforeNode(new Node<>(newValue), mHead);\n\t\t}", "public boolean add(Node n) {\n\t\t\n\t\t//Validate n is not null\n\t\tif (n == null) { \n\t\t\tSystem.out.println(\"Enter a valid node\");\n\t\t\treturn false; \n\t\t} \n\t\t\n\t\t//If the node is present in the network return\n\t\tif (nodes.contains(n)) {\n\t\t\tSystem.out.println(\"Node name already exists\");\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t//Add the node to the network, with a new array for its neighbors\n\t\tnodes.add(n);\n\t\t\n\t\t//Successfully added\n\t\treturn true;\n\t}", "public void addNode(byte b, Node node) {\n nodes.put(b, node);\n }", "void add(Member node, long now);", "boolean addNode(long idNum, String label);", "private void addNode() {\n // Add GUI node\n int nodeCount = mGraph.getNodeCount();\n Node node = mGraph.addNode(String.valueOf(nodeCount));\n node.addAttribute(\"ui.label\", nodeCount);\n\n // Add Node_GUI node for algorithm to read from\n Node_GUI listNode = new Node_GUI();\n mNodeList.add(listNode);\n }", "public void add(Unit u) {\n getBody().getUnits().add(u);\n }", "private void addNode(int nodeId, short startNodeOutgoingNodes) {\n if (!nodes.containsKey(nodeId)) {\n statistic.log(Type.LOADED_NODES);\n nodes.put(nodeId, new NodeBINE(nodeId, startNodeOutgoingNodes));\n maxNodeSize = Math.max(maxNodeSize,nodes.size());\n }\n }", "@Override\n public void visit(Node node) {\n nodes.add(node);\n }", "public void addNode(Node p_node) {\n\t\tnodes.add(p_node);\n\t}", "public void addNode(INode node) {\r\n\t\tnodeList.add(node);\r\n\t}", "public void addNode(String node) {\n this.graph.put(node, new LinkedList<>());\n }", "@Override\r\n\tpublic void AddUtente(Utente u) throws RemoteException {\n\t\tthis.utentes.add(u);\r\n\t}", "boolean addNode(N node);", "@Override\n public void addNode(node_data n) {\n this.modeCount += this.nodes.putIfAbsent(n.getKey(), n) == null ? 1 : 0; // if the node was already in the graph - it will simply do nothing, if it wasn't - it will add it to the graph and increment modeCount by 1\n }", "@Override\n\tpublic boolean addNode(N node)\n\t{\n\t\tif (node == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (nodeEdgeMap.containsKey(node))\n\t\t{\n\t\t\t// Node already in this Graph\n\t\t\treturn false;\n\t\t}\n\t\tnodeList.add(node);\n\t\tnodeEdgeMap.put(node, new HashSet<ET>());\n\t\tgcs.fireGraphNodeChangeEvent(node, NodeChangeEvent.NODE_ADDED);\n\t\treturn true;\n\t}", "public void add(String key) {\n if (key == null || key.length() < 1) {\n return;\n }\n Node curr = root;\n for (int i = 0; i < key.length(); i++) {\n char c = key.charAt(i);\n if (!curr.next.items.containsKey(c)) {\n curr.next.items.put(c, new Node(c, false, 256));\n }\n curr = (Node)curr.next.items.get(c);\n }\n curr.isKey = true;\n }", "public Node addNode(Coordinate coordIn){//adds a node to the list\n\t\t//linear search to make sure the node already isnt there\n\t\tint i;\n\t\tfloat inx = coordIn.getX();\n\t\tfloat iny = coordIn.getY();\n\t\tfloat inz = coordIn.getZ();\n\t\tNode n = null;\n\t\tfor(i = 0; i < listOfNodes.size(); i++){\n\t\t\tn = listOfNodes.get(i);\n\t\t\tif(n==null) continue;\n\t\t\tfloat ox = n.getCoordinate().getX();\n\t\t\tfloat oy = n.getCoordinate().getY();\n\t\t\tfloat oz = n.getCoordinate().getZ();\n\t\t\tif(inx <= ox + 0.01f && inx >= ox - 0.01f && iny <= oy + 0.01f && iny >= oy - 0.01f && inz <= oz + 0.01f && inz >= oz - 0.01f)break;\n\t\t}\n\t\tif(i < listOfNodes.size()){ // found duplicate\n\t\t\treturn n;\n\t\t}\n\n\t\tnode_count++;\n\t\tfor(; node_arrayfirstopen < node_arraysize && listOfNodes.get(node_arrayfirstopen) != null; node_arrayfirstopen++);\n\t\tif(node_arrayfirstopen >= node_arraysize){\t//resize\n\t\t\tnode_arraysize = node_arrayfirstopen+1;\n\t\t\tlistOfNodes.ensureCapacity(node_arraysize);\n\t\t\tlistOfNodes.setSize(node_arraysize);\n\t\t}\n\t\tId nid = new Id(node_arrayfirstopen, node_count);\n\t\tn = new Node(coordIn, nid);\n\t\tlistOfNodes.set(node_arrayfirstopen, n);\n\t\tupdateAABBGrow(n.getCoordinate());\n\t\t\n\t\tif(node_arraylasttaken < node_arrayfirstopen) node_arraylasttaken = node_arrayfirstopen; //todo redo\n\t\treturn n;\n\t}", "public void addUser(String u, String p) {\n \t//users.put(\"admin\",\"12345\");\n users.put(u, p);\n }", "@Override\n public void Add(String key, Integer value) throws InvalidKeyException {\n if(Contains(key))\n throw new InvalidKeyException(\"Key already exists\");\n\n // Adding the new key/value node\n if(head == null)\n head = new Node(key, value);\n else{\n Node new_node = new Node(key, value);\n new_node.next = head;\n head = new_node;\n }\n\n // increment count\n count++;\n }", "private void addNode(Node node)\n\t{\n\t\tif (node == null)\n\t\t\treturn;\n\t\tthis.nodes[node.getRowIndex()][node.getColumnIndex()] = node;\n\t}", "public void addNode(String ip, int port) throws UnknownHostException {\t\r\n\t\tNodeRef ref = new NodeRef(ip, port); // create data node reference\r\n\t\tnodeMap.put(ref.getIp().getHostAddress(), ref);\r\n\t}", "public void addNodes(final Nodes nodes) {\n if (this.nodes == null) {\n this.nodes = new ArrayList<Nodes>();\n }\n this.findUpdateNode(nodes);\n }", "public void addUser() {\n\t\tthis.users++;\n\t}", "public Node<E> addNode(E value){\n Node<E> newNode = new Node<>(value);\n if(value != null){\n nodes.putIfAbsent(newNode, new HashSet<>());\n }\n return newNode;\n }", "@Override\n public void add(EventNode node) {\n nodes.add(node);\n // Invalidate the relations cache.\n //\n // NOTE: The reason we do not update the relations here is because the\n // node might not be finalized yet. That is, the node's transitions\n // might not be created/added yet, so at this point we do not know the\n // exact set of relations associated with this node.\n cachedRelations = null;\n }", "public Node appendNode(Node node);", "@Override\n\tpublic void add(UserModel um) throws Exception {\n\t\tuserMapper.insert(um);\n\t}", "public void addNode (NodeState node) throws RepositoryException, IOException\n\t{\n\t}", "protected void addNode(NodeView nv, boolean locked) {\n\tCyNode node = (CyNode) nv.getNode();\n\tLayoutNode v = new LayoutNodeImpl(nv, nodeIndex++);\n\tnodeList.add(v);\n\tnodeToLayoutNode.put(node, v);\n\n\tif (locked) {\n\t v.lock();\n\t lockedNodes++;\n\t} else {\n\t updateMinMax(nv.getXPosition(), nv.getYPosition());\n\t this.width += nv.getWidth();\n\t this.height += nv.getHeight();\n\t}\n }", "public Node addNode(String node) {\n return nodeRepository.save(new Node(node));\n }", "void addNode(Entity entity) {\n\t\tProcessing.nodeSet.add(entity);\n\t\tSystem.out.println(\"the entity was successfully added to the network.\");\n\t}", "@Override\n public boolean addNode(String nodeName) throws NodeException {\n Node newNode = new Node(nodeName);\n\n if(!containsNode(newNode)) {\n nodes.add(new Node(nodeName));\n return true;\n } else {\n // Dany prvek uz v listu existuje\n throw new NodeException(\"Vámi zadaný prvek už v listu existuje!\");\n }\n }", "public void addNodeToTheObjects(Node theNode) {\r\n getTheObjects().add(theNode);\r\n }", "public boolean addNode(NodeType node) {\n\t\treturn false;\n\t}", "public Node addNode(String nodeName, Attributes a) \r\n {\r\n\tnodes = null;\r\n\treturn ntMap.get(a.getName()).addNode(nodeName);\r\n }", "public void addNode(ConfigurationNode node)\n {\n if (node == null || node.getName() == null)\n {\n throw new IllegalArgumentException(\n \"Node to add must have a defined name!\");\n }\n node.setParentNode(null); // reset, will later be set\n\n if (nodes == null)\n {\n nodes = new ArrayList<ConfigurationNode>();\n namedNodes = new HashMap<String, List<ConfigurationNode>>();\n }\n\n nodes.add(node);\n List<ConfigurationNode> lst = namedNodes.get(node.getName());\n if (lst == null)\n {\n lst = new LinkedList<ConfigurationNode>();\n namedNodes.put(node.getName(), lst);\n }\n lst.add(node);\n }", "public void addNode() {\n if (nodeCount + 1 > xs.length)\n resize();\n nodeCount++;\n }", "public void addNode(GraphNode<T> node) {\n\tmRoot.addNode(node);\n\tmNodesCount++;\n }", "public void add(int num){\r\n\t\t\tNode newNode = new Node(num);\r\n\t\t\tthis.addNode(newNode);\r\n\t\t}", "@Override\n public void add(String key) {\n if (key == null || key.length() == 0 || root == null) {\n return;\n }\n Node p = root;\n for (int i = 0; i < key.length(); i++) {\n char current = key.charAt(i);\n if (!p.next.containsKey(current)) {\n p.next.put(current, new Node(current, false));\n }\n p = p.next.get(current);\n }\n p.isKey = true;\n }", "public void addNode(String hostname, String IP) throws IOException, XMLStreamException {\n Integer nodeID = returnHash(hostname);\n if (!IPmap.containsKey(nodeID)) {\n IPmap.put(nodeID, IP);\n //writeToXML();\n for (Map.Entry<Integer, String> entry : IPmap.entrySet()) {\n System.out.println(\"Key: \" + entry.getKey() + \". Value: \" + entry.getValue());\n }\n } else System.out.println(\"Node already in use.\");\n }", "void addNode(int weight) \n {\n Node newNode = new Node(this.numNodes, weight);\n this.nodeList.add(newNode);\n this.numNodes = this.numNodes + 1;\n \n }", "public void Nodemap (String addedNode, String[] connectNode) {\n\t\tNodeswithconnect.put(addedNode, connectNode);\n\t}", "public void add(T v) {\n add(new Node(v));\n }", "public void addEdge(int u, int v) {\n if (u > nodes.size() || v > nodes.size() || u <= 0 || v <= 0) {\n throw new IllegalArgumentException(\"An invalid node was given\");\n }\n // note that we have to subtract 1 from each since node 1 is located in index 0\n nodes.get(u - 1).addEdge(nodes.get(v - 1));\n }", "public int addNode(node_type node) {\n if (node.getIndex() < (int) nodeVector.size()) {\n //make sure the client is not trying to add a node with the same ID as\n //a currently active node\n assert nodeVector.get(node.getIndex()).getIndex() == invalid_node_index :\n \"<SparseGraph::AddNode>: Attempting to add a node with a duplicate ID\";\n\n nodeVector.set(node.getIndex(), node);\n\n return nextNodeIndex;\n } else {\n //make sure the new node has been indexed correctly\n assert node.getIndex() == nextNodeIndex : \"<SparseGraph::AddNode>:invalid index\";\n\n nodeVector.add(node);\n edgeListVector.add(new EdgeList());\n\n return nextNodeIndex++;\n }\n }", "protected boolean add(TreeNode n) {\n name = n.getTitle();\n address = n.getAddress();\n\n //List of current values to the name key\n if (map.get(name) != null) {\n addresses = map.get(name);\n } else {\n addresses = new ArrayList<>();\n }\n\n //Then it'll have to check if that add entry already exits. Although it never should.\n //TODO THIS IS WHERE ITS SLOW\n// if (addresses.contains(name)) {\n// logger.debug(\"HashBrowns: addresses already contained: \" + name);\n// return false;\n// }\n\n //Then it adds this new address entry. Order of addresses doesn't matter for the time being.\n addresses.add(address);\n\n //Replace the old hash key (name) with the update list of addresses\n map.put(name, addresses);\n\n return true;\n }", "public void add(Object key, Object value){\n\t\tint bucketLoc = key.hashCode() % _numBuckets;\r\n\t\tif(_locate(key) == null){\r\n\t\t\tNode newNode = new Node(key,value,_buckets[bucketLoc]);\r\n\t\t\t_buckets[bucketLoc] = newNode;\r\n\t\t\t_count++;\r\n\t\t\t_loadFactor = (double) _count / (double) _numBuckets;\r\n\t\t\tif(_loadFactor > _maxLoadFactor){\r\n\t\t\t\t_increaseTableSize();\r\n\t\t\t}\r\n\t\t}else{\r\n\t\t\t_buckets[bucketLoc]._value = value;\r\n\t\t}\r\n\t}", "public void addNode(String item){\n Node newNode = new Node(item,null);\nif(this.head == null){\n this.head = newNode;\n}else{\n Node currNode = this.head;\n while(currNode.getNextNode() != null){\n currNode = currNode.getNextNode();\n }\n currNode.setNextNode(newNode);\n}\nthis.numNodes++;\n }", "public void addNode(DijkstraNode node) {\n\t\tthis.cache.put(node.getCoordinate(), node);\n\t}", "public void ajouterNeuneu(Neuneu neuneu)\n\t{\n\t\tlisteNeuneux.add(neuneu);\n\t}", "public void add(String nickname, String username, String hostname) {\r\n this.UserList.add(new User(nickname, username, hostname));\r\n }", "public void add(NODE node) {\n root = root == null ? node : root.add(node);\n }", "void addNodes(List<CyNode> nodes);", "@Override\n public void add(E e) throws NullPointerException\n {\n if(e == null)\n {\n throw new NullPointerException();\n }\n new Node(e, left, right);\n idx += 1;\n previous();\n canRemove = false;\n }", "public static void addNode(String nodeId) {\n\t\tif (con.isConnected()) {\n\t\t\t// Create and publish\n\t\t\tConfigureForm form = new ConfigureForm(FormType.submit);\n\t\t\tform.setPersistentItems(false);\n\t\t\tform.setSubscribe(true);\n\t\t\tform.setDeliverPayloads(true);\n\t\t\tform.setAccessModel(AccessModel.open);\n\t\t\tform.setPublishModel(PublishModel.open);\n\n\t\t\t// add node\n\t\t\ttry {\n\t\t\t\tLeafNode myNode = (LeafNode) manager.createNode(nodeId, form);\n\t\t\t\tSystem.out.println(\"node created: \" + nodeId);\n\t\t\t} catch (XMPPException e1) {\n\t\t\t\tSystem.out.println(\"creating/retrieving node fails:\");\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "public Node addNodeByNameIfNotExists(String name) {\n if (!nodes.containsKey(name)) {\n nodes.put(name, new Node(name));\n }\n \n // Return existing node\n return nodes.get(name);\n }", "public void add(DefaultGraphCell node) {\n nodes.add(node);\n groupObject.add(node);\n fragmentName.append(((NodeData)node.getUserObject()).getName() + \" \");\n \n }", "@Override\n\tpublic V add(K key, V value) {\n\t\tV result = null;\n\t\tNode currentNode = firstNode;\n\t\t\n\t\tif(currentNode != null && key.equals(currentNode.getKey())){\n\t\t\tresult = (V) currentNode.getValue();\n\t\t\tcurrentNode.setValue(value);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tNode newNode = new Node(key, value);\n\t\t\tif(currentNode == null){\n\t\t\t\tnewNode.setNextNode(firstNode);\n\t\t\t\tfirstNode = newNode;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tfirstNode.setNextNode(newNode);\n\t\t\t}\n\t\tnumberOfEntries++;\t\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "public void add (V u, V v) {\n this.add(u); this.add(v);\n dag.get(u).add(v);\n \n List<V> newVertexOrder = getNewVertexOrderIfAcyclic();\n if(newVertexOrder == null){\n \t/**\n \t * This will be null only when the graph is cyclic. Remove the current added edge to remove the cycle.\n \t */\n \tremove(u,v);\n }else{\n \tvertexOrder = newVertexOrder;\n }\n }", "public void addToNeighbours(Tile N) {\n \r\n neighbours.add(N);\r\n }", "public void add(User user) {\r\n this.UserList.add(user);\r\n }", "public void add(String newData) {\n\t\t// DO NOT CHANGE THIS METHOD\n\t\tNode node = new Node(newData);\n\t\tnode.next = head;\n\t\thead = node;\n\t\tnumElements++;\n\t}", "public boolean addNode(GraphNode node){\n if(!graphNodes.contains(node)){\n graphNodes.add(node);\n return true;\n }\n return false;\n }", "public void addUeTimezone() throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"ue-timezone\",\n null,\n childrenNames());\n }", "public void addItem(Object item)\r\n {\r\n LLNode newNode;\r\n synchronized (nodeMutex)\r\n {\r\n if (nodePool.size() > 0)\r\n {\r\n newNode = (LLNode)nodePool.lastElement();\r\n newNode.key = item;\r\n newNode.next = newNode.prev = null;\r\n nodePool.removeElementAt(nodePool.size() - 1);\r\n } else\r\n {\r\n newNode = new LLNode(item);\r\n }\r\n }\r\n\r\n if (head == null)\r\n {\r\n head = tail = newNode;\r\n } else\r\n {\r\n tail.next = newNode;\r\n newNode.prev = tail;\r\n tail = newNode;\r\n }\r\n nItems++;\r\n }", "public void tryAddNode(VK nodeKey, VV nodeValue) {\r\n if(!nodes.containsKey(nodeKey)){\r\n \tV vertex = vertexCtor.apply(nodeKey, nodeValue);\r\n nodes.put(nodeKey, vertex);\r\n heads.add(vertex);\r\n }\r\n }", "private void addNewNode(Node newNode) {\r\n\t\tNode[] temp = new Node[this.treeNodes.length -1];\r\n\t\ttemp[0] = newNode;\r\n\r\n\t\tfor(int tempIndex = 1, i=2; i < this.treeNodes.length; i++, tempIndex++) {\r\n\t\t\ttemp[tempIndex] = this.treeNodes[i];\r\n\t\t}\r\n\t\tthis.treeNodes = temp;\r\n\t\tsortLeaves();\r\n\t}", "@Override\n public boolean addNode(@Nonnull LinkNode node, @Nullable StandardPathComponent path) {\n if (path == null || path.isEmpty()) return false;\n if (this.linkNodes.containsKey(path) || this.linkNodes.containsValue(node)) return false;\n this.linkNodes.put(path, node);\n this.linkNodesCopy = ImmutableMap.copyOf(this.linkNodes);\n return true;\n }", "public void addInputNode(Node node) {\n\t\t// nodes.add(node);\n\t\tnodeArray.add(node);\n\t}", "public void addUser(User u){\n\r\n userRef.child(u.getUuid()).setValue(u);\r\n\r\n DatabaseReference zipUserReference;\r\n DatabaseReference zipNotifTokenReference;\r\n List<String> zipList = u.getZipCodes();\r\n\r\n for (String zipCode : zipList) {\r\n zipUserReference = baseRef.child(zipCode).child(ZIPCODE_USERID_REFERENCE_LIST);\r\n // Add uuid to zipcode user list\r\n zipUserReference.child(u.getUuid()).setValue(u.getUuid());\r\n\r\n // Add notifToken to list\r\n zipNotifTokenReference = baseRef.child(zipCode).child(ZIPCODE_NOTIFICATION_TOKENS_LIST);\r\n zipNotifTokenReference.child(u.getNotificationToken()).setValue(u.getNotificationToken());\r\n\r\n }\r\n }", "public String add() {\r\n\t\tuserAdd = new User();\r\n\t\treturn \"add\";\r\n\t}", "public void add (K key) {\n\t\tthis.root = this.addRecursively(root,key);\n\t}", "protected void addNode( String workspaceName,\n NodeKey key,\n Path path,\n Name primaryType,\n Set<Name> mixinTypes,\n Properties properties ) {\n }", "public void addMember(String uuid) {\n this.members.add(uuid);\n }", "@Override\n\tpublic void addNewUser(User user) {\n\t\tusersHashtable.put(user.getAccount(),user);\n\t}", "public void add(T aData) {\n\t\tNode newNode = new Node(aData);\n\t\tnewNode.next = firstNode;\n\t\tfirstNode = newNode;\n\t\tnumEntries++;\n\t}" ]
[ "0.66411775", "0.6417955", "0.6219271", "0.6100445", "0.60708845", "0.6013939", "0.6003987", "0.59702206", "0.59163445", "0.59041184", "0.58997786", "0.5891003", "0.5847535", "0.5816045", "0.58023125", "0.5795698", "0.5781996", "0.5779992", "0.5752505", "0.57424116", "0.5742065", "0.57330024", "0.573276", "0.5725217", "0.57238394", "0.57006377", "0.56994295", "0.5689077", "0.56851363", "0.5679889", "0.5661004", "0.5635579", "0.55964607", "0.55922323", "0.5576768", "0.55631506", "0.55598074", "0.5524561", "0.5523252", "0.5521506", "0.54929143", "0.5483575", "0.54774797", "0.54660875", "0.5450128", "0.5433531", "0.54099154", "0.5402304", "0.53904873", "0.5388338", "0.538486", "0.538268", "0.5372035", "0.5363351", "0.5359775", "0.53477675", "0.53455305", "0.53372276", "0.53203565", "0.53181994", "0.5309663", "0.5278585", "0.5277325", "0.52610505", "0.526047", "0.5255967", "0.5253205", "0.52510285", "0.5242609", "0.5238231", "0.52221924", "0.5219151", "0.52139425", "0.5211118", "0.51981944", "0.5183953", "0.5175123", "0.51728475", "0.51642466", "0.515483", "0.51361406", "0.5130167", "0.5113965", "0.5111445", "0.5105912", "0.5098532", "0.5090023", "0.5089651", "0.508791", "0.5058032", "0.5052421", "0.5052152", "0.50506216", "0.50502867", "0.5047562", "0.50471085", "0.5036749", "0.5034731", "0.5023214", "0.50229436" ]
0.62573457
2
Searches the map with the Key given.
public UNode getNode(Integer nodeid) { return uNodes.get(nodeid); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public V search(K key);", "private BTNode search(BTNode btNode, DataPair key) {\n int i =0;\n while (i < btNode.mCurrentKeyNum && key.compareTo(btNode.mKeys[i]) > 0)\n i++;\n\n if (i < btNode.mCurrentKeyNum && key.compareTo(btNode.mKeys[i])==0)\n return btNode;//btNode.mKeys[i];\n if (btNode.mIsLeaf)\n return null;\n return search(btNode.mChildren[i],key);\n }", "public abstract HashMap search(String keyword);", "public OrderedPair search(String key) {\n return getRoot().search(key.toLowerCase());\n }", "public abstract boolean lookup(Key key);", "public Entry find(Object key) {\r\n Entry entry_with_key = new Entry();\r\n entry_with_key.key = key; \r\n int comp_hash = compFunction(entry_with_key.key.hashCode());\r\n if (hash_table[comp_hash] == null) {\r\n return null;\r\n } else {\r\n DList searching = hash_table[comp_hash];\r\n for(Object entry: searching){\r\n if(((Entry) entry).key().equals(key)){\r\n return (Entry) entry;\r\n }\r\n }\r\n return null;\r\n \r\n }\r\n\r\n\r\n }", "protected ArrayList<String> search(String key) {\n addresses = map.get(key);\n if (addresses == null) {\n return null;\n }\n return addresses;\n }", "public String find(String key) {\n\t\t\n\t\tsearchProbe = 0;\n\t\tint h = hash(key);\n\t\twhile(table[h]!=null) {\n\t\t\t\n\t\t\tif(table[h].toString().substring(0, 19).equals(key)) {\n\t\t\t\treturn table[h].toString();\n\t\t\t}\n\t\t\tsearchProbe++;\n\t\t\th=(h+1)%getTablesize();\n\t\t}\n\t\t\n\t\t\n\treturn \"Not Found\";\n\t}", "String search(int key);", "@Override\r\n public Object findElement(Object key) {\r\n\r\n // Search for node possibly containing key\r\n TFNode node = search(root(), key);\r\n \r\n // Note the index of where the key should be\r\n int index = FFGTE(node, key);\r\n\r\n // If the index is greater than the number of items in the node, the key is not in the node\r\n if (index < node.getNumItems()) {\r\n // Look for key in node\r\n if (treeComp.isEqual(node.getItem(index).key(), key)) {\r\n return node.getItem(index);\r\n }\r\n }\r\n\r\n // The search hit a leaf without finding the key\r\n return null;\r\n }", "public V search(K key) throws KeyNotFoundException {\n\tif (!RBT.containsKey(key))\n\t throw new KeyNotFoundException();\n return (V) RBT.get(key);\n }", "public BTreeNode search(long key) {\n\t\treturn searcher(root, key);\n\t}", "public V get(K searchKey) {\n\t\tint index = hash(searchKey);\n\t\t\n\t\tIterator<WordCode<K, V>> itr = myBuckets.get(index).iterator();\n\t\twhile (itr.hasNext()) {\n\t\t\tWordCode<K, V> itrVal = itr.next();\n\t\t\tif (itrVal.myKey.equals(searchKey)) return itrVal.myValue;\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "public V find (K key) throws KeyNotFoundException {\n\t\treturn findKey(root, key);\n\t}", "public boolean contains(Key key);", "public V lookup(K key);", "private int locateIndex(K key)\n { \n // // Search until you either find an entry containing key or \n // // pass the point where it should be\n // int index = 0;\n // while ((index < numberOfEntries) && (key.compareTo(dictionary[index].getKey()) > 0))\n // index++;\n // // end while \n // return index;\n \n return binarySearchQ7(0, numberOfEntries - 1, key);\n }", "UrlMap findByKey(String key);", "public boolean search(String key){\n DataPair dp = getDataPair(key);\n BTNode out=null;\n if (dp != null)\n out = search(dp);\n return out != null;\n }", "public V searchValue (K key) {\n\t\tfor (Map.Entry<K, V> entry : this.entrySet()) {\n\t\t\tif (entry.getKey() == key) {\n\t\t\t\treturn entry.getValue();\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "@Override\n public boolean search(K key) {\n if (rootNode == null)\n return false;\n try {\n return exist(key, rootNode);\n } catch (IllegalArgumentException e) {\n System.out.println(e.getMessage());\n return false;\n }\n }", "private boolean findMapValue(Map<String, String> map, String searchValue) {\n\t\treturn (findMapKeyByValue(map, searchValue) != null);\r\n\t}", "public Node search(K key) {\n\t\tNode currentNode = this.mRoot;\n\t\t// start from the root of the tree that calls the method\n\t\twhile (currentNode != mSentinel && key.compareTo(currentNode.getKey()) != 0) {\n\t\t\t// if the current node is not empty and its key is not equal to the\n\t\t\t// search key\n\t\t\tif (key.compareTo(currentNode.getKey()) < 0) {\n\t\t\t\tcurrentNode = currentNode.getLeftChild();\n\t\t\t\t// go left if the search key is lower\n\t\t\t} else {\n\t\t\t\tcurrentNode = currentNode.getrightChild();\n\t\t\t\t// go right if the search key is higher\n\t\t\t}\n\t\t\t// break the loop if the search key matches the node key\n\t\t}\n\t\tif (currentNode == mSentinel) {\n\t\t\treturn null;\n\t\t\t// if there is not a match return nu;;\n\t\t} else {\n\t\t\treturn currentNode;\n\t\t\t// return the first node with the same key as the search key\n\t\t}\n\t}", "public Entry find(Object key) {\n int i = compFunction(key.hashCode());\n SList chain = buckets[i];\n try {\n for (SListNode n = (SListNode) chain.front(); n.isValidNode(); n = (SListNode) n.next()) {\n Entry e = (Entry) n.item();\n if (e.key.equals(key)) {\n return e;\n }\n }\n } catch(InvalidNodeException e) {\n System.out.println(e);\n }\n return null;\n }", "@Override\n\tpublic K lookup(K key) {\n\t\treturn lookup(root, key);\n\t}", "public Entry<K, V> find(K key) {\r\n try {\r\n int hash = key.hashCode();\r\n ListNode<Entry<K, V>> node = table[compFunction(hash)].front();\r\n if (node.isValidNode()) {\r\n return (Entry<K, V>) node.getItem();\r\n }\r\n } catch (Exception e) {\r\n System.out.println(\"Unhashable key: \" + e);\r\n }\r\n return null;\r\n }", "public void search(int key) {\n beginAnimation();\n queueNodeSelectAnimation(root, \"Start at root\",\n AnimationParameters.ANIM_TIME);\n valueSearch(key, root);\n stopAnimation();\n\n }", "private void valueSearch(int key, Node currNode) {\n int numChildren = getNumChildren();\n\n // Returns if currNode is null.\n if (currNode == null) {\n queueNodeSelectAnimation(null, \"Current Node null, desired Node not found\",\n AnimationParameters.ANIM_TIME);\n return;\n\n }\n\n // Finishes the traversal if the key has been found.\n if (currNode.key == key) {\n queueNodeSelectAnimation(currNode, key + \" == \"\n + currNode.key + \", desired Node found\",\n AnimationParameters.ANIM_TIME);\n\n }\n // Explores the left subtree.\n else if (key < currNode.key) {\n for (int i = 0; i < numChildren / 2; ++i) {\n queueNodeSelectAnimation(currNode.children[i],\n key + \" < \" + currNode.key +\n \", exploring left subtree\",\n AnimationParameters.ANIM_TIME);\n valueSearch(key, currNode.children[i]);\n\n }\n }\n // Explores the right subtree.\n else {\n for (int i = numChildren / 2; i < numChildren; ++i) {\n queueNodeSelectAnimation(currNode.children[i],\n key + \" > \" + currNode.key +\n \", exploring right subtree\",\n AnimationParameters.ANIM_TIME);\n valueSearch(key, currNode.children[i]);\n\n }\n }\n }", "public int Search(int key)\n {\n for(int i=0; i<n; i++)\n {\n if(a[i]==key)\n return 1;\n }\n return 0;\n }", "public boolean contains (String key)\n {\n use (key);\n return map.containsKey (key);\n }", "public T search(K key) {\n\t\tfor (T item : list) {\n\t\t\tif (item.matches(key)) {\n\t\t\t\treturn item;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }", "public int Search(int v_key){\n\tboolean cont ;\n\tint ifound ;\n\tTree current_node;\n\tint key_aux ;\n\n\tcurrent_node = this ;\n\tcont = true ;\n\tifound = 0 ;\n\twhile (cont){\n\t key_aux = current_node.GetKey();\n\t if (v_key < key_aux)\n\t\tif (current_node.GetHas_Left())\n\t\t current_node = current_node.GetLeft() ;\n\t\telse cont = false ;\n\t else \n\t\tif (key_aux < v_key)\n\t\t if (current_node.GetHas_Right())\n\t\t\tcurrent_node = current_node.GetRight() ;\n\t\t else cont = false ;\n\t\telse { \n\t\t ifound = 1 ;\n\t\t cont = false ;\n\t\t}\n\t}\n\treturn ifound ;\n }" ]
[ "0.70770395", "0.67600775", "0.66182745", "0.6600671", "0.65851206", "0.65149504", "0.6500184", "0.64612037", "0.6450846", "0.6446043", "0.62915677", "0.6287315", "0.62578243", "0.6254894", "0.62461305", "0.62412024", "0.6238503", "0.6229365", "0.62217605", "0.62102145", "0.61901164", "0.61894196", "0.6179914", "0.61790705", "0.6169755", "0.61518437", "0.615026", "0.6143817", "0.6141896", "0.61283547", "0.6127765", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.6110789", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467", "0.61097467" ]
0.0
-1
Removes a specific Node from the map.
public void removeNode (int id) { uNodes.remove(id); //hard remove; See undo/redo/History.java }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeNode(N node)\r\n/* 71: */ {\r\n/* 72:135 */ assert (checkRep());\r\n/* 73:137 */ for (N endNode : getSuccessors(node)) {\r\n/* 74:138 */ ((Map)this.map.get(endNode)).remove(node);\r\n/* 75: */ }\r\n/* 76:140 */ this.map.remove(node);\r\n/* 77: */ }", "public void remove(\n\t\t\tMapNode\tmapNode)\n\t\t{\n\t\t\tindices.remove(mapNode);\n\t\t}", "void removeNode(NodeKey key);", "public void removeNode(Integer nodeID) throws IOException, XMLStreamException {\n if (this.IPmap.containsKey(nodeID)) {\n\n this.IPmap.remove(nodeID);\n this.fileOwnerMap.remove(nodeID);\n if (this.IPmap.size() > 1) {\n //writeToXML();\n for (Map.Entry<Integer, String> entry : IPmap.entrySet()) {\n System.out.println(\"Key: \" + entry.getKey() + \". Value: \" + entry.getValue());\n }\n }\n System.out.printf(\"Node removed\");\n } else System.out.println(\"Node not in system.\");\n }", "public abstract void removeFromMap();", "public int deleteFromNodeMap(Node node) {\n try {\n nodeMap.remove(node.getNodeId());\n } catch (Exception e) {\n Logger.log(\"Node with the entered id does not exist.\");\n return -1;\n }\n return 1;\n }", "public node_info removeNode(int key)\n{\n\tif(getNodes().containsKey(key))\n\t{\n\t\tNode n=(Node)getNode(key);\n\t\t\n\t\tList <Integer> m=n.getNi_k();\n\t\t\n\t\tif(m!=null)\n\t\t{\n for(int i=0;i<m.size();i++)\t\t\t\n\t\t{\n \tint z=m.get(i);\n \t\n\t\t Node h=(Node)getNode(z);\n\t\t h.removeNode(n);\n\t\t\tedge_size--;\n\t\t mc++;\n\t\t}\n \n\t\t}\n\t\t\n\t\t n.getEdgesOf().clear();\n\t\tthis.getNodes().remove(key);\n\t\treturn n;\n\t\t\n\t\t}\n \n\t else {\n\t//\tSystem.out.println(\"key doesnt exist\");\n\t\treturn null;\n\t}\t\n}", "public void remove(Object key){\n map.remove(key);\n }", "@Override\n\tpublic node_data removeNode(int key) {\n\t\tif (this.Nodes.get(key) == null) {\n\t\t\treturn null;\n\t\t}\n\n\t\tSet<Integer> edgeKeys = Edges.keySet();\n\t\tfor(Integer node: edgeKeys) {\n\t\t\tif(Edges.get(node).containsKey(key)) \n\t\t\t{\n\t\t\t\tEdges.get(node).remove(key);\n\t\t\t\tnumOfEdges--;\n\t\t\t}\n\t\t}\n\n\t\t// remove all edges coming out of key-node.\n\t\tnumOfEdges -= this.Edges.get(key).values().size();\n\t\tthis.Edges.remove(key);\n\n\n\t\tMC++;\n\n\t\treturn this.Nodes.remove(key);\n\n\t}", "void removeHasNodeID(Integer oldHasNodeID);", "@Override\r\n public node_data removeNode(int key) {\r\n// if(this.graph.containsKey(key)){\r\n// //while - all the node toward him\r\n// if(this.neighbors.get(key) != null){\r\n// ArrayList<edge_data> ni = new ArrayList<edge_data>(this.neighbors.get(key).values()); //o(k)\r\n//\r\n// while(ni.size()!= 0) { //o(k)\r\n// int n = ni.get(0).getDest();\r\n// removeEdge(key, n);\r\n// ni.remove(0);\r\n// }\r\n// }\r\n// }\r\n// return null;\r\n \t\r\n \tif (this.graph.containsKey(key)) {\r\n \t\t\r\n \t\t//go to connected remove\r\n \t\t\r\n \t\tfor (Integer v : this.connected_to.get(key)) {\r\n\t\t\t\t\r\n \t\t\tthis.neighbors.get(v).remove(key);\r\n \t\t\t\r\n \t\t\tthis.edgeCounter--;\r\n \t\t\tthis.mc++;\r\n \t\t\t\r\n\t\t\t}\r\n \t\t\r\n \t\t//remove all neighbors\r\n \t\tthis.edgeCounter -= this.neighbors.get(key).size();\r\n \t\tthis.mc += this.neighbors.get(key).size();\r\n\r\n \t\tthis.neighbors.get(key).clear();\r\n \t\t\r\n \t\treturn this.graph.remove(key);\r\n \t\t//return node\r\n \t\t\r\n \t}\r\n \t\r\n \treturn null;\r\n \t\r\n }", "public void remove(int key) {\n map.remove(key);\n }", "public void removeNode(Node<E> node) {\n super.removeNode(node);\n addNodeToCache(node);\n }", "void removeNode(CacheNode<K, V> node) {\n\n\t\tconcurrentList.remove(node); // O(1) operation.\n\n\t}", "void removeNode(Entity entity) {\n\t\tProcessing.nodeSet.remove(entity);\n\t\tProcessing.friendMap.remove(entity);\n\n\t\tSystem.out.println(\"the person was successfully removed from the network.\");\n\t}", "public void remove(int key) {\n int hashedKey = hash(key);\n Entry entry = map.get(hashedKey);\n if (entry.key == -1) {\n return;\n } else if (entry.key == key) {\n if (entry.next != null) map.set(hashedKey, entry.next);\n else entry.key = -1;\n } else if (entry.next != null) {\n Entry pre = entry, cur = entry.next;\n while (cur.next != null && cur.key != key) {\n pre = cur;\n cur = cur.next;\n }\n if (cur.key == key) {\n pre.next = cur.next;\n }\n }\n }", "@Override\n public node_data removeNode(int key) {\n if (!this.nodes.containsKey(key))\n return null; // return null if the node we wish to remove does not exist in the graph\n\n NodeData nodeToRemove = (NodeData) this.nodes.get(key);\n this.numOfEdges -= nodeToRemove.getNeighborEdges().size();\n this.numOfEdges -= nodeToRemove.getEdgesConnectedToThisNode().size();\n\n Iterator<edge_data> sourceItr = nodeToRemove.getEdgesConnectedToThisNode().values().iterator();\n\n while (sourceItr.hasNext()) { // We are iterating over all edges directed at the node that we want to remove\n EdgeData edgeToRemove = (EdgeData) sourceItr.next();\n ((NodeData) (nodes.get(edgeToRemove.getSrc()))).getNeighborEdges().remove(edgeToRemove.getDest()); // Remove the edge from a node that directs to this node\n this.modeCount++;\n }\n\n Iterator<edge_data> destItr = getE(nodeToRemove.getKey()).iterator();\n\n while (destItr.hasNext()) { //We are iterating over all edges coming from the node that we want to remove\n EdgeData edgeToRemove = (EdgeData) destItr.next();\n NodeData nodeConnectedFromThisNode = (NodeData) nodes.get(edgeToRemove.getDest()); //get the node that the edge is directed at (the destination node)\n nodeConnectedFromThisNode.getEdgesConnectedToThisNode().remove(nodeToRemove.getKey()); //remove the edge from the destination node\n nodeToRemove.getNeighborEdges().remove(edgeToRemove.getDest()); //remove the edge from the source node\n this.modeCount++;\n }\n\n this.modeCount++;\n return this.nodes.remove(key);\n\n }", "public boolean removeNode(Node n);", "ArrayMap<Integer,DefinedProperty> nodeDelete( long nodeId );", "void nodeRemoveProperty( long nodeId, int propertyKey );", "public void deleteNode(int key){\n\t\t//System.out.println(\" in delete Node \");\n\t\tNode delNode = search(key);\n\t\tif(delNode != nil){\n\t\t\t//System.out.println(\" del \" + delNode.id);\n\t\t\tdelete(delNode);\n\t\t}else{\n\t\t\tSystem.out.println(\" Node not in RB Tree\");\n\t\t}\n\t}", "public Object remove(Map<Prop, Object> map) {\n return map.remove(this);\n }", "public void remove(int key) {\n int index = key % n;\n MapNode node = keys[index];\n for (int i =0; i < node.list.size(); ++i) {\n if (node.list.get(i) == key) {\n node.list.remove(i);\n vals[index].list.remove(i);\n }\n }\n }", "public void removeNode(T node) {\n\t\tnodes.remove(node);\n\t\tarcs.remove(node);\n\t\tfor(T k: arcs.keySet()) {\n\t\t\tarcs.get(k).remove(node);\n\t\t}\n\t}", "public void remove() {\n removeNode(this);\n }", "public void remove(Object key, Object value) {\n map.get(key).remove(value);\n }", "boolean removeNode(N node);", "public Object remove(Object o) {\n for(int a=0;a<nodes.size();a++)\n if(((Node)nodes.elementAt(a)).data==o)\n return ((Node)nodes.remove(a)).data;\n return null;\n }", "public void onRemoveNode(Node node) {\n\t}", "private void RemoveRootNode() {\n\t\t\n\t\troot_map.remove(this);\n\t\tis_node_set = false;\n\t\tif(left_ptr == null && right_ptr == null) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tleft_ptr.RemoveRootNode();\n\t\tright_ptr.RemoveRootNode();\n\t}", "void removeEntry(K key);", "@Override\n\tpublic V remove(K key) {\n\t\t\n\t\tNode currentNode = firstNode;\n\t\tNode previousNode = firstNode;\n\t\t\n\t\twhile(currentNode.key != key){\n\t\t\tif(currentNode.getNextNode() == null){\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tpreviousNode = currentNode;\n\t\t\t\tcurrentNode = currentNode.getNextNode();\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(currentNode == firstNode){\n\t\t\tcurrentNode = currentNode.getNextNode();\n\t\t\tnumberOfEntries--;\n\t\t}\n\t\telse{\n\t\t\tpreviousNode.next = currentNode.getNextNode();\n\t\t\tnumberOfEntries--;\n\t\t}\n\t\t\n\t\treturn (V)currentNode;\n\t}", "public boolean remove(Node n) {\n\t\t\n\t\t//Validate n has a value\n\t\tif (n == null) { \n\t\t\tSystem.out.println(\"Node you entered is invalid\");\n\t\t\treturn false; \n\t\t} \n\t\t\n\t\t//If the node isn't present in the network return\t\t\n\t\tif (!nodes.contains(n)) { \n\t\t\tSystem.out.println(\"Node does not exist\");\n\t\t\treturn false; \n\t\t}\n\t\t\n\t\t//Remove the nodes neighbor links \n\t\tn.removeNeighbors();\n\t\t\n\t\t//remove the node from the HashMap\n\t\tnodes.remove(n);\n\t\t\n\t\t//Successfully removed\n\t\treturn true;\n\t\t\n\t}", "@Override\n public V remove(K key, V value) {\n Node saveRemove = new Node(null,null);\n root = removeHelper(key,value,root,saveRemove);\n return saveRemove.value;\n }", "@Override\n public T remove(Object key) {\n // Do I have an entry for it?\n Map.Entry<String, T> entry = entries.get((String) key);\n if (entry != null) {\n entries.remove(key);\n // Change the underlying map.\n return map.remove(prefix + key);\n }\n return null;\n }", "private void delete(DoublyLinkedNode node) {\n DoublyLinkedNode prev = node.prev;\n DoublyLinkedNode next = node.next;\n prev.next = next;\n next.prev = prev;\n map.remove(node.key);\n }", "@Override\n public Node remove() {\n Node temp;\n int x = 0;\n while (isEmpty(x)) {\n x++;\n }\n temp = hashTable[x];\n hashTable[x] = temp.getNext(); \n\n return temp;\n }", "public void delete(K u) {\n\t\tnodes.remove(u);\n\t\troot = null;\n//\t\tfor (Map.Entry<K, V> entry : nodes.entrySet()) {\n//\t\t K key = entry.getKey();\n//\t\t V value = entry.getValue();\n//\t\t add(key, value);\n//\t\t}\n\t\t\n\t\tIterator<Map.Entry<K, V>> entries = nodes.entrySet().iterator();\n\t\twhile (entries.hasNext()) {\n\t\t Map.Entry<K, V> entry = entries.next();\n\t\t System.out.println(\"Key = \" + entry.getKey() + \", Value = \" + entry.getValue());\n\t\t K key = entry.getKey();\n\t\t V value = entry.getValue();\n\t\t add(key, value);\n\t\t}\n\t}", "@Override\n\tpublic V remove(Object key) {\n\t\tkeys.remove(key);\n\t\treturn map.remove(key);\n\t}", "@PortedFrom(file = \"Taxonomy.h\", name = \"removeNode\")\n public void removeNode(TaxonomyVertex node) {\n graph.remove(node);\n }", "public int deleteFromIdMap(int Id) {\n try {\n idMap.remove(Id);\n } catch (Exception e) {\n Logger.log(\"Node with the entered id does not exist.\");\n return -1;\n }\n return 1;\n }", "public void removeNode(NodeBINE node) {\n statistic.log(Type.REMOVED_NODES);\n if (removedNodeIds.contains(node.getId())) {\n System.err.println(\"Node: \" + node.getId() + \" already removed\");\n } else {\n removedNodeIds.add(node.getId());\n //storeNode(node);\n }\n nodes.remove(node.getId());\n }", "protected abstract void remove(E entry);", "public void removeNode(Node p_node) {\n\t\tnodes.remove(p_node);\n\t}", "Entry<Key, Value> remove(Entry<Key, Value> entry);", "public void remove(int key) {\n\n }", "@Override\n\tpublic Node removeNode() {\n\t\tif(isEmpty())\n\t\t\treturn null;\n\t\t// BreadthFirstSearch using a queue, first in first out principle\n\t\treturn frontier.removeFirst();\n\t}", "public void remove(int key){\n\t\tif(get(key) != null){\n\t\t\tSystem.out.println(\"Removing \" + get(key) + \" from map\");\n\t\t\thashMap[key] = null;\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"Key \" + key + \" not in map\");\n\t\treturn;\n\t}", "@Override\n public boolean remove(T item) {\n //find the node with the value\n Node n = getRefTo(item);\n //make sure it actually is in the set\n if(n == null)\n return false;\n //reassign the value from the first node to the removed node\n n.value = first.value;\n //take out the first node\n remove();\n return true;\n }", "public boolean remove(BSTMapNode element) \n\t{\n\t\t\n\t\tif(element.getKey() == this.key)\n\t\t{\n\t\t\t\n\t\t\t\n\t\t\treturn true;\n\t\t\t\n\t\t}\n\t\telse if(element.getKey() < this.key)\n\t\t{\n\t\t\tif(this.left == null)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn this.left.contains(element);\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif(this.right == null)\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn this.right.contains(element);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "@Override\n\tpublic boolean removeNode(N node)\n\t{\n\t\tif (node == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tif (!containsNode(node))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\t/*\n\t\t * Note: This method is command sequence sensitive.\n\t\t * \n\t\t * First, the remove (from nodeEdgeMap) below is \"guaranteed\" to work,\n\t\t * since the graph must contain the node (test above) and it is assumed\n\t\t * that the addNode method initialized nodeEdgeMap.\n\t\t * \n\t\t * Second, the use of remove is significant, in that it removes the set\n\t\t * of connected edges from the Map. This is important, since removeEdge\n\t\t * is called from within the loop, and removeEdge will alter sets within\n\t\t * nodeEdgeMap. Therefore, the use of get in place of remove for\n\t\t * creation of this Iterator would result in a\n\t\t * ConcurrentModificationException (since the set for GraphNode gn would\n\t\t * be modified by removeEdge while inside this Iterator).\n\t\t */\n\t\tfor (ET edge : nodeEdgeMap.remove(node))\n\t\t{\n\t\t\t// FUTURE Consider Check of return values here to ensure success??\n\t\t\tremoveEdge(edge);\n\t\t}\n\t\t/*\n\t\t * containsNode test means we don't need to check return value of remove\n\t\t * we 'know' it is present (barring an internal error!). This remove\n\t\t * must happen after removeEdge above, as removeEdge may trigger side\n\t\t * effects that will expect this Node to still be present in the Graph.\n\t\t */\n\t\tnodeList.remove(node);\n\t\tgcs.fireGraphNodeChangeEvent(node, NodeChangeEvent.NODE_REMOVED);\n\t\treturn true;\n\t}", "protected void deleteNode(INode node) {\n\n if (node != null) {\n\n this.ids.remove(node.getID());\n this.nodeMap.remove(node.getID());\n }\n }", "public void removeTile(){\n\t\toccupied = false;\n\t\tcurrentTile = null;\n\t}", "public void remove(String key) {\n \ttmp = getNode(key);\n \tif (tmp == null) {\n \t\treturn;\n \t} else {\n \t\tif (first.getKey() == key) {\n \t\t\tfirst = first.getNext();\n \t\t\tif (first == null) {\n \t\t\t\tlen--;\n \t\t\t\treturn;\n \t\t\t}\n \t\t\tfirst.setPrev(null);\n \t\t} else if (last.getKey() == key) {\n \t\t\tlast = last.getPrev();\n \t\t\tlast.setNext(null);\n \t\t\tif (last.getKey() == first.getKey()) {\n \t\t\t\tlast = null;\n \t\t\t}\n \t\t} else {\n \t\t\tNode tmp1 = tmp.getNext();\n \t\t\tNode tmp2 = tmp.getPrev();\n \t\t\ttmp1.setPrev(tmp2);\n \t\t\ttmp2.setNext(tmp1);\n \t\t}\n \tlen--;\n \t}\n }", "@Override\n\t@TimeComplexity(\"O(n)\")\n\tpublic V remove(K key) {\n\t/* TCJ\n\t * Binary search operation: log n\n\t * Iterate through new collection: n\n\t */\n\t\tint j = findIndex(key);\n\t\tif ( j == size() || key.compareTo(map.get(j).getKey()) != 0 ) return null;\n\t\treturn map.remove(j).getValue();\n\t}", "private E removeNode(Node n) {\n \tassert (n != sentinel);\n \tn.succ.pred = n.pred;\n \tn.pred.succ = n.succ;\n \tsize--;\n \treturn n.data;\n }", "protected MapElement removeElement(int key) {\n int index = key % capacity;\n if (index < 0) {\n index = -index;\n }\n\n if (map[index] == null) {\n return null;\n } else {\n MapElement me = map[index];\n MapElement prev = null;\n\n while (true) {\n if (me.getKey() == key) {\n // Keys match\n if (me.beforeRemove()) {\n if (prev == null) {\n // The first element in the chain matches\n map[index] = me.getNext();\n } else {\n // An element further down in the chain matches - \n // delete it from the chain\n prev.setNext(me.getNext());\n }\n contents--;\n }\n return me;\n } else {\n // Keys don't match, try the next element\n prev = me;\n me = me.getNext();\n if (me == null) {\n return null;\n }\n }\n }\n }\n }", "@Override\n public V remove(K key, V value) {\n if (get(root, key) == value) {\n return delete(root, key).val;\n }\n return null;\n }", "public V remove(K key)\r\n\t{\r\n\t\t//TODO: add your code here\r\n\t\tV oldVal;\r\n\t\tint slot = findSlot(key, false); // check if it already exists\r\n\t\t// sets the slot in the map to DUMMY value if it exists\r\n\t\tif (slot >= 0)\r\n\t\t{\r\n\t\t\toldVal = table[slot].getValue();\r\n\t\t\ttable[slot] = DUMMY;\r\n\t\t\tcount--;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\toldVal = null;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\treturn oldVal;\r\n\t}", "public void remove(K key);", "@SuppressWarnings(\"java:S2445\") // the reference of allNodes is unchanged\n public void removeNode(Node removedNode) {\n if (logger.isDebugEnabled()) {\n logger.debug(\"{}: start to remove node {}\", name, removedNode);\n }\n\n synchronized (allNodes) {\n preRemoveNode(removedNode);\n if (allNodes.contains(removedNode)) {\n // update the group if the deleted node was in it\n allNodes.remove(removedNode);\n peerMap.remove(removedNode);\n if (removedNode.equals(leader.get())) {\n // if the leader is removed, also start an election immediately\n synchronized (term) {\n setCharacter(NodeCharacter.ELECTOR);\n setLeader(null);\n }\n synchronized (getHeartBeatWaitObject()) {\n getHeartBeatWaitObject().notifyAll();\n }\n }\n }\n }\n }", "@Override\n public V remove(K key) {\n // just using a temp node to save the the .value of the removed node.\n Node saveRemove = new Node(null, null);\n root = removeHelper(key, root, saveRemove);\n return saveRemove.value;\n }", "public Object remove(String key);", "@Override\r\n public void remove(V vertexName) {\r\n try {\r\n Vertex a = null;\r\n Iterator<Vertex> vertexIterator = map.values().iterator();\r\n while(vertexIterator.hasNext()) {\r\n Vertex v = vertexIterator.next();\r\n if(vertexName.compareTo(v.vertexName) == 0)\r\n a = v;\r\n }\r\n if(a == null)\r\n vertexIterator.next();\r\n for(Vertex v : map.values()) {\r\n if(v.destinations.contains(a.vertexName))\r\n disconnect(v.vertexName, vertexName);\r\n }\r\n map.remove(a.vertexName, a);\r\n }\r\n catch(NoSuchElementException e) {\r\n throw e;\r\n }\r\n }", "public void removeObstacle(Coord obstacleCoord);", "public void remove(String key) throws IOException;", "public Entry remove(Object key) {\r\n if (find(key) == null) {\r\n return null;\r\n } else { \r\n try{\r\n int index = compFunction(key.hashCode());\r\n if (hash_table[index].size() == 1) {\r\n Entry entry = (Entry)hash_table[index].front().item();\r\n hash_table[index] = null;\r\n return entry;\r\n } else { \r\n DListNode current = (DListNode) hash_table[index].front();\r\n while(current.isValidNode()){\r\n Entry pair = (Entry) current.item();\r\n if(pair.key().equals(key)){\r\n current.remove();\r\n size--;\r\n return pair;\r\n }\r\n current = (DListNode) current.next();\r\n }\r\n \r\n System.out.println(\"Couldn't find the item\");\r\n return null;\r\n }\r\n \r\n }catch(InvalidNodeException e){\r\n return null;\r\n }\r\n }\r\n }", "public Entry remove(Object key) {\n int i = compFunction(key.hashCode());\n SList chain = buckets[i];\n try {\n for (SListNode n = (SListNode) chain.front(); n.isValidNode(); n = (SListNode) n.next()) {\n Entry e = (Entry) n.item();\n if (e.key.equals(key)) {\n n.remove();\n size--;\n return e;\n }\n }\n } catch(InvalidNodeException e) {\n System.out.println(e);\n }\n return null; \n }", "@Override\n\tpublic void nodeRemoved(TGGraph graph, TGNode node) {\n gLogger.log(TGLogger.TGLevel.Debug, \"Node is removed\");\n removedList.put(((AbstractEntity) node).getVirtualId(), node);\n\t}", "public Location remove() {\n\t\t//empty set\n\t\tif (head == null){\n\t\t\treturn null;\n\t\t}\n\n\t\t//removes and returns the SquarePosition object from the top of the set\n\t\tLocation removedLocation = head.getElement();\n\t\thead = head.next;\n\t\tsize --;\n\t\treturn removedLocation;\n\t}", "public void removeFromPane(Node node) {\n pane.getChildren().remove(node);\n }", "@Override\r\n\tpublic void removeEntry(String key) {\n\t\t\r\n\t}", "public synchronized Object remove( Object key ) {\n\t\tObject intvalue = mapKeyPos.remove(key);\n\t\tif ( intvalue != null ) {\n\t\t\tint pos = ((Integer)intvalue).intValue();\n\t\t\tObject temp = values[pos];\n\t\t\tkeys[pos] = null;\n\t\t\tvalues[pos] = null;\n\t\t\tstatus[pos] = LRU_OLD;\n\t\t\t//System.out.println(\"CountLimiteLRU: remove(\"+key+\") = \"+temp);\n\t\t\treturn temp;\n\t\t}\n\t\treturn null;\n\t}", "public void remove(int key) {\n hashMap.removeIf(pair -> pair[0] == key);\n }", "void remove(String key);", "void remove(String key);", "void remove(String key);", "protected void openRemove(AlssLrtaSearchNode node)\n {\n //If not null\n if(node!=null)\n {\n //If the node exists in open\n AlssLrtaSearchNode alsn = this.open_id.get(node.getNode().getId());\n if(alsn == null)\n return;\n //Remove the node from open_time\n MaAlssLrtaSearchNode maNode = (MaAlssLrtaSearchNode)node;\n Map<Integer,AlssLrtaSearchNode> set = this.open_time.get(node.getNode().getId());\n set.remove(maNode.getTime());\n\n //If this node was the last one in the map\n if(set.size() ==0) {\n this.open_time.remove(node.getNode().getId());\n //Remove from others\n super.openRemove(node);\n return;\n }\n\n\n //If the node is the node of the open_id - replace it\n if(((MaAlssLrtaSearchNode)alsn).getTime() == ((MaAlssLrtaSearchNode)node).getTime())\n {\n //Remove from others\n super.openRemove(node);\n\n for(AlssLrtaSearchNode node2: set.values())\n {\n this.open_id.put(node2.getNode().getId(),node2);\n return;\n }\n\n }\n super.openRemoveNoId(node);\n\n }\n\n }", "@Override\n\tpublic TreeNode remove() {\n\t\treturn null;\n\t}", "void removeNi(int node) {\n neighbors.remove(node);\n }", "public void remove(String item) {\n synchronized(this) {\n _treeSet.remove(item);\n }\n }", "@Test\n public void mapRemove() {\n check(MAPREM);\n query(MAPSIZE.args(MAPREM.args(MAPENTRY.args(1, 2), 1)), 0);\n }", "@Override\n\tpublic V remove(K pLlave) {\n\t\tint posicion = hash(pLlave);\n\t\tSequentialSearchST<K,V> st = map.darElemento(posicion);\n\t\tNodoTabla<K,V> buscado = st.remove(pLlave);\n\t\tif(buscado == null)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn buscado.darValor();\n\t\t}\n\t}", "public ListNode remove(int nodeID){\n\t\treturn remove(new ListNode(nodeID));\n\t}", "public synchronized V remove(Object oKey)\n {\n // COH-6009: map mutations must be synchronized with event dispatch\n // to ensure in-order delivery\n Entry<K, V> entry = (Entry<K, V>) getEntryInternal(oKey);\n if (entry == null)\n {\n return null;\n }\n else\n {\n removeEntryInternal(entry);\n entry.onRemove();\n return entry.getValue();\n }\n }", "@Override\n\tpublic boolean delete(Eleve o) {\n\t\tmap.remove(o.getId(), o);\n\t\treturn true;\n\t}", "@Override\n\tpublic void remove(DuNode s) {\n\t\t\n\t}", "@Override\n\tpublic boolean removeVertex(Object value)\n\t{\n\t\tif(this.map.containsKey(value))\n\t\t{\n\t\t\t// remove the value from the map\n\t\t\tthis.map.remove(value);\n\t\t\t// iterate over the map and remove any edges of the value\n\t\t\tfor(Map.Entry<Object, SinglyLinkedList> vertex : map.entrySet())\n\t\t\t\tvertex.getValue().removeNode(value);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "private E remove(Node node) {\n\n\t\tNode q = mHead;\n\n\t\tNode p = mHead.next;\n\n\t\twhile (p != node) {\n\n\t\t\tq = p;\n\t\t\tp = p.next;\n\t\t}\n\n\t\tq.next = p.next;\n\n\t\treturn node.data;\n\t}", "public Entry<K, V> remove(K key) {\r\n try {\r\n int hash = key.hashCode();\r\n ListNode<Entry<K, V>> node = table[compFunction(hash)].front();\r\n if (node.isValidNode()) {\r\n Entry<K, V> entry = (Entry<K, V>) node.getItem();\r\n node.remove();\r\n return entry;\r\n }\r\n } catch (Exception e) {\r\n System.out.println(\"Unhashable key: \" + e);\r\n }\r\n return null;\r\n }", "public Entry remove(Object key) {\n int hashCode = key.hashCode();\n int index = compFunction(hashCode);\n\n if(defTable[index].isEmpty()) {\n return null;\n }\n\n Entry entry = new Entry();\n ListNode current = defTable[index].front();\n try{\n while(true) {\n if(( (Entry) current.item()).key().equals(key)) {\n entry.key = key;\n entry.value = ((Entry) current.item()).value();\n current.remove();\n size--;\n return entry;\n }\n if(current==defTable[index].back()) {\n break;\n }\n current = current.next();\n }\n } catch(Exception err) {\n System.out.println(err);\n }\n return null;\n }", "public void remove(int key) {\n int hashCode = key%nodes.length;\n if (nodes[hashCode]==null) return;\n ListNode pre = findPrev(key);\n pre.next = pre.next.next;\n size--;\n }", "public void remove(int key) {\n store[key] = -1; // If the key is removed, the value of that key is replaced with -1, \n \t\t\t\t// that the item doesn't exist because hashmap requires removal of keys.\n }", "public E remove(String key) {\n TSTNode<E> node = getNode(key);\n deleteNode(getNode(key));\n return (node != null ? node.data : null);\n }", "private int removeTail() {\n DNode node = tail.prev;\n removeNode(node);\n map.remove(node.key, node);\n return node.key;\n }", "public void deleteNode(String node) {\n nodeRepository.delete(new Node(node));\n }", "public void remove();", "public void remove();", "public void remove();", "public void remove();" ]
[ "0.7283439", "0.72394234", "0.72310066", "0.68739146", "0.6795956", "0.6782164", "0.65252227", "0.65171283", "0.63851464", "0.63528866", "0.6277104", "0.62762696", "0.6260503", "0.62407213", "0.61901265", "0.61757106", "0.6149998", "0.61481637", "0.6128142", "0.60876447", "0.60797805", "0.60405356", "0.601976", "0.60066557", "0.6004246", "0.599176", "0.59841913", "0.5966393", "0.5958322", "0.5944148", "0.59420586", "0.5937192", "0.5936721", "0.59177357", "0.59109056", "0.5910489", "0.5893382", "0.5891522", "0.58910507", "0.58860683", "0.5879148", "0.58634645", "0.58632004", "0.58578104", "0.5855367", "0.58407086", "0.5819391", "0.5818339", "0.581207", "0.58115023", "0.5811042", "0.5797341", "0.57770497", "0.5766088", "0.57634705", "0.5760209", "0.5743665", "0.57344675", "0.57263935", "0.5724585", "0.57236874", "0.5715693", "0.5712521", "0.57120943", "0.57081395", "0.57012904", "0.570029", "0.56945765", "0.5688802", "0.567821", "0.56711155", "0.5667828", "0.5667544", "0.5665915", "0.5665889", "0.5665889", "0.5665889", "0.5659979", "0.5655475", "0.5652157", "0.5650389", "0.5646798", "0.5643306", "0.5635528", "0.5629343", "0.5628336", "0.56277156", "0.56183994", "0.560826", "0.56070936", "0.5595332", "0.5595298", "0.5587299", "0.55808717", "0.5577528", "0.55677456", "0.5562171", "0.5562171", "0.5562171", "0.5562171" ]
0.5784955
52
Links two given UNodes with a directional UEdge.
public void addEdge(Integer id, UNode n1, UNode n2, String edge) { UEdge e = new UEdge(id, n1, n2, edge); n1.addOutEdge(e); n2.addInEdge(e); uEdges.put (id, e); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addEdge(Node from, Node to);", "public void addUndirectedEdge(int v1, int v2) {\r\n addUndirectedEdge(v1, v2, null);\r\n }", "public void addUndirectedEdge(int v1, int v2) {\n addUndirectedEdge(v1, v2, null);\n }", "public void addUndirectedEdge(int v1, int v2) {\n addUndirectedEdge(v1, v2, null);\n }", "public void addEdge(int u, int v) {\n if (u > nodes.size() || v > nodes.size() || u <= 0 || v <= 0) {\n throw new IllegalArgumentException(\"An invalid node was given\");\n }\n // note that we have to subtract 1 from each since node 1 is located in index 0\n nodes.get(u - 1).addEdge(nodes.get(v - 1));\n }", "public void drawUndirectedEdge(String label1, String label2) {\n }", "public void addTwoWayVertex(String node1, String node2) {\r\n addEdge(node1, node2);\r\n addEdge(node2, node1);\r\n }", "public void addEdge(int start, int end);", "public void transferLink(Node one, Node two){ \n\t\t//System.out.println(\" in transferLink\");\n\t\tif (one.parent == nil){\n\t\t\t//System.out.println(\" u is root \" + u.id + \" v is \" + v.id);\n\t root=two;\n\t }else if(one==one.parent.right){\n\t \tone.parent.right = two; \n\t }else{\n\t \tone.parent.left = two;\n\t }\n\t \n\t two.parent = one.parent;\n\t}", "public void addUndirectedEdge(int v1, int v2, Object edgeInfo) {\n //your code here\n \taddEdge(v1, v2, edgeInfo);\n \taddEdge(v2, v1, edgeInfo);\n \t\n }", "void addEdge(Vertex u, Vertex v) {\r\n\t\tu.addNeighbor(v);\r\n\t}", "Edge(Vertex u, Vertex v) {\n From = u;\n To = v;\n\n }", "public void addUndirectedEdge(int vertexOne, int vertexTwo) {\n\t\tGraphNode first = nodeList.get(vertexOne - 1);\n\t\tGraphNode second = nodeList.get(vertexTwo - 1);\n\t\tfirst.getNeighbors().add(second);//Neighbour of first is second. Store it.\n\t\tsecond.getNeighbors().add(first);//Neighbour of second is first. Store it.\n\t\tSystem.out.println(first.getNeighbors());\n\t\tSystem.out.println(second.getNeighbors());\n\t}", "public Edge(Node from, Node to) {\n fromNode = from;\n toNode = to;\n }", "public void addUndirectedEdge(int v1, int v2, Object edgeInfo) {\n//your code here\n Edge edge1 = new Edge(v1, v2, edgeInfo);\n Edge edge2 = new Edge(v2, v1, edgeInfo);\n if(!adjLists[v1].contains(edge1)){\n adjLists[v1].addLast(edge1);\n }\n if(!adjLists[v2].contains(edge2)){\n adjLists[v2].addLast(edge2);\n }\n }", "public abstract boolean addEdge(Node node1, Node node2, int weight);", "public Edge<V> addEdge(V source, V target);", "public GraphEdge(GraphNode u, GraphNode v, char busLine){\r\n first = u;\r\n second = v;\r\n this.busLine = busLine;\r\n }", "public void addEdge(int u, int v, double w) {\n\t\t\n\t}", "void addEdge(int source, int destination, int weight);", "public void connect(int node1, int node2, double w)\n{\n\tif(getNodes().containsKey(node1) && getNodes().containsKey(node2) && (node1 != node2))\n\t{\n\t \tNode n1 = (Node)getNodes().get(node1);\n\t\t Node n2 = (Node)getNodes().get(node2);\n\t\t\n\t\tif(!n1.hasNi(node2)&&!n2.hasNi(node1))\n\t\t{\n\t\t\tEdge e=new Edge(w,node1,node2);\n\t\t\tn1.addEdge(e);\n\t\t\tn2.addEdge(e);\n\t\t\tmc++;//adding an edge\n\t\t\tedge_size++;\n\t\t}\n\t\telse\n\t\t\t// if the edge already exist in the HashMap of the two nodes\n\t\t\t//we want only update the weight of the edge.\n\t\t{\n\t\t\tn1.getEdgesOf().get(node2).set_weight(w);\n\t\t\tn2.getEdgesOf().get(node1).set_weight(w);\n\t\t}\n\t\t\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"src or dst doesnt exist OR src equals to dest\");\n\t}\n}", "private void connectVertex(IndoorVertex indoorV1, IndoorVertex indoorV2)\n {\n XYPos firstPos = indoorV1.getPosition();\n XYPos secondPos = indoorV2.getPosition();\n\n //Change in only X position means that the vertex's are East/West of eachother\n //Change in only Y position means that the vertex's are North/South of eachother\n if(firstPos.getX() > secondPos.getX() && Math.floor(firstPos.getY() - secondPos.getY()) == 0.0)\n {\n indoorV1.addWestConnection(indoorV2);\n indoorV2.addEastConnection(indoorV1);\n }\n else if(firstPos.getX() < secondPos.getX() && Math.floor(firstPos.getY() - secondPos.getY()) == 0.0)\n {\n indoorV1.addEastConnection(indoorV2);\n indoorV2.addWestConnection(indoorV1);\n }\n else if(firstPos.getY() > secondPos.getY() && Math.floor(firstPos.getX() - secondPos.getX()) == 0.0)\n {\n indoorV1.addSouthConnection(indoorV2);\n indoorV2.addNorthConnection(indoorV1);\n }\n else if(firstPos.getY() < secondPos.getY() && Math.floor(firstPos.getX() - secondPos.getX()) == 0.0)\n {\n indoorV1.addNorthConnection(indoorV2);\n indoorV2.addSouthConnection(indoorV1);\n }\n\n\n indoorV1.addConnection(indoorV2);\n indoorV2.addConnection(indoorV1);\n }", "void addDirectedEdge(final Node first, final Node second)\n {\n if ( first == second )\n {\n return;\n }\n else if (first.connectedNodes.contains(second))\n return;\n else\n first.connectedNodes.add(second);\n }", "public abstract void connect(N n1, E edge, N n2);", "Edge(Node from,Node to, int length){\n this.source=from;\n this.destination=to;\n this.weight=length;\n }", "void addEdge(Vertex v1, Vertex v2, Double w) throws VertexNotInGraphException;", "public void union(E e1, E e2) {\n Node<E> n1 = findSet(theMap.get(e1));\n Node<E> n2 = findSet(theMap.get(e2));\n link(n1, n2);\n }", "public static void join(Node a, Node b) {\r\n a.right = b;\r\n b.left = a;\r\n }", "public UndirectedEdge(VType from, VType to) {\n\t\t// TODO: Add your code here\n\t\tsuper(from,to);\n\t}", "public void addEdge(int u, int v)\n {\n // Add v to u's list.\n adjList[u].add(v);\n }", "public void addEdge(String n1, String n2) {\n if (!this.graph.containsKey(n1)) {\n addNode(n1);\n }\n if (!this.graph.containsKey(n2)) {\n addNode(n2);\n }\n Edgeq edge = new Edgeq(n1, n2);\n this.graph.get(n1).add(edge);\n\n edge = new Edgeq(n2, n1);\n this.graph.get(n2).add(edge);\n }", "public void addEdge(int v1, int v2) {\r\n addEdge(v1, v2, null);\r\n }", "public void addEdge(N startNode, N endNode, E label)\r\n/* 43: */ {\r\n/* 44: 89 */ assert (checkRep());\r\n/* 45: 90 */ if (!contains(startNode)) {\r\n/* 46: 90 */ addNode(startNode);\r\n/* 47: */ }\r\n/* 48: 91 */ if (!contains(endNode)) {\r\n/* 49: 91 */ addNode(endNode);\r\n/* 50: */ }\r\n/* 51: 92 */ ((Map)this.map.get(startNode)).put(endNode, label);\r\n/* 52: 93 */ ((Map)this.map.get(endNode)).put(startNode, label);\r\n/* 53: */ }", "public void addEdge(int start, int end, double weight);", "public void addEdge(K u, K v, int weight)\n {\n if (u.equals(v))\n {\n throw new IllegalArgumentException(\"adding self loop\");\n }\n\n\t// get u's adjacency list\n Map<K, Edge> adj = adjMaps.get(u);\n\n\t// check for edge already being there\n if (!adj.containsKey(v))\n {\n\t\t// edge is not already there -- add to both adjacency lists\n Edge e = new Edge(weight);\n adj.put(v, e);\n adjMaps.get(v).put(u, e);\n }\n }", "public void addUndirectedEdge(int v1, int v2, Object edgeInfo) {\r\n \tmyAdjLists[v1].add(new Edge(v1, v2, edgeInfo));\r\n \tmyAdjLists[v2].add(new Edge(v2, v1, edgeInfo));\r\n }", "public void addEdge(String node1, String node2) {\n\r\n LinkedHashSet<String> adjacent = map.get(node1);\r\n// checking to see if adjacent node exist or otherwise is null \r\n if (adjacent == null) {\r\n adjacent = new LinkedHashSet<String>();\r\n map.put(node1, adjacent);\r\n }\r\n adjacent.add(node2); // if exist we add the instance node to adjacency list\r\n }", "public void addEdge(int v1, int v2) {\n addEdge(v1, v2, null);\n }", "public void addEdge(int v1, int v2) {\n addEdge(v1, v2, null);\n }", "private void addEdgeWithInst(NasmInst source, NasmInst destination) {\n if (source == null || destination == null)\n throw new FgException(\"ERROR: Can't create an edge without a source and a destination\");\n Node from = inst2Node.get(source);\n Node to = inst2Node.get(destination);\n if (from == null || to == null)\n throw new FgException(\"ERROR: No nodes matching with given Source or destination \");\n graph.addEdge(from, to);\n }", "private void addEdgeWithLabel(NasmInst source, NasmLabel destination) {\n if (source == null || destination == null)\n throw new FgException(\"ERROR: Can't create an edge without a source and a destination\");\n\n if (systemCalls.contains(destination.toString()))\n return; // System call: iprintLF, readline or atoi. No edge needed\n\n NasmInst destinationInst = label2Inst.get(destination.toString());\n if (destinationInst == null)\n throw new FgException(\"ERROR: No instruction matching with the given label\");\n addEdgeWithInst(source, destinationInst);\n }", "public E addEdge(V tail, V head);", "public void addEdge(Character sourceId, Character destinationId) {\n Node sourceNode = getNode(sourceId);\n Node destinationNode = getNode(destinationId);\n sourceNode.adjacent.add(destinationNode);\n }", "public GraphEdge(GraphNode u, GraphNode v, char busLine) {\n\t\t\tstart = u;\t\t\t\n\t\t\tend = v;\n\t\t\tthis.busLine = busLine;\n\t\t}", "public void setEdge(int n1, int n2){\n\t\tif(outOfBounds(n1) || outOfBounds(n2))// if node indexes are bad return\n\t\t\treturn ;\n\t\t\n if((dGraph.getElement(n1, n2)) == 1){\n\t\t\treturn;\n\t}\n\t\tdGraph.setElement(n1, n2, 1); //shows that there is an edge going from n1 to n2\n\t\tdGraphin.setElement(n2, n1, 1);// show the edges going into n2\n\t\toutdegree[n1]++;\n\t\tindegree[n2]++;\n\t\t\n\t}", "private void addEdge(Vertex v1, Vertex v2) {\n LinkedList<Vertex> v1AdjacentVertices = verticesAndTheirEdges.get(v1);\n if (!v1AdjacentVertices.contains(v2)) {\n v1AdjacentVertices.add(v2);\n }\n }", "void addLink(byte start, byte end);", "public void makeEdgeUp( String sourceName, String destName)\n {\n Vertex v = vertexMap.get( sourceName );\n Vertex w = vertexMap.get( destName );\n if(v!=null && w!=null)\n \tv.adjEdge.get(w.name).isDown =false;\n else if(v==null){\n \tSystem.out.println(\"Invalid Source vertex\");\n }\n else if(w==null){\n \tSystem.out.println(\"Invalid dest vertex\");\n }\n \n // v.weightnext.put(w.name,(Double) distance);\n }", "void addEdge(int x, int y);", "public Edge(T node_1, T node_2,S label) {\n\t\tparent = node_1;\n\t\tchild = node_2;\n\t\tl = label;\n\t\tcheckRep();\n\t}", "public void addEdge(int u, int v, int weight){\n this.edges.add(new DEdge(u,v,weight));\n }", "protected void addEdge(CyEdge edge, LayoutNode v1, LayoutNode v2) {\n\tLayoutEdge newEdge = new LayoutEdge(edge, v1, v2);\n\tupdateWeights(newEdge);\n\tedgeList.add(newEdge);\n }", "public Edge(Vertex<VV> from, Vertex<VV> to)\r\n {\r\n this.from = from;\r\n this.to = to;\r\n from.addEdge(this);\r\n to.addEdge(this);\r\n }", "public static void addEdge(int u, int v, int w){\n Edge obj1 = new Edge(v,w);\n Edge obj2 = new Edge(u,w);\n (adj.get(u)).add(obj1);\n (adj.get(v)).add(obj2);\n }", "public void addEdge(String v1, String v2) {\n if (v1.equals(v2))\n throw new IllegalArgumentException(\"Vertexes are same\");\n\n // get the indexes of v1 and v2\n int index1 = -1;\n int index2 = -1;\n for (int i = 0; i < vertexes.length; i++) {\n if (v1.equals(vertexes[i])) index1 = i;\n if (v2.equals(vertexes[i])) index2 = i;\n }\n\n if (index1 == -1 || index2 == -1)\n throw new IllegalArgumentException(\"Vertexes are not exist.\");\n\n // add to the linked lists\n heads[index1].add(index2);\n heads[index2].add(index1);\n }", "void removeEdge(Vertex v1, Vertex v2) throws GraphException;", "@DisplayName(\"Add undirected edge\")\n @Test\n public void testAddEdgeUndirected() {\n graph.addEdge(new Edge(3, 4));\n List<Integer> l0 = new ArrayList<>();\n l0.add(0);\n List<Integer> l1 = new ArrayList<>();\n l1.add(4);\n Assertions.assertEquals(l0.get(0), graph.getNeighbours(4).get(0));\n Assertions.assertEquals(l1.get(0), graph.getNeighbours(0).get(0));\n }", "public void addEdge (E vertex1, E vertex2, int edgeWeight) throws IllegalArgumentException\n {\n if(vertex1 == vertex2)\n return;\n \n int index1 = this.indexOf (vertex1);\n if (index1 < 0)\n throw new IllegalArgumentException (vertex1 + \" was not found!\");\n \n int index2 = this.indexOf (vertex2);\n if (index2 < 0)\n throw new IllegalArgumentException (vertex2 + \" was not found!\");\n\n\n if (this.hasEdge (vertex1, vertex2))\n {\n this.removeNode (index1, index2);\n this.removeNode (index2, index1);\n }\n \n Node node = new Node(index2, edgeWeight);\n this.addNode(node, index1);\n node = new Node(index1, edgeWeight);\n this.addNode(node, index2);\n }", "@Test\n\tpublic void connectTest_North_VerticalStraight() throws Exception {\n\n\t\tfinal Factory<Node> railNodeFactory = new DefaultRailNodeFactory();\n\n\t\tfinal RailNode switchLeft0RailNode = (RailNode) railNodeFactory.create(1, 1, ShapeType.SWITCH_LEFT_0);\n\t\tfinal RailNode horizontalRailNode = (RailNode) railNodeFactory.create(1, 0, ShapeType.STRAIGHT_VERTICAL);\n\n\t\tfinal Model model = new DefaultModel();\n\t\tmodel.setNode(1, 1, switchLeft0RailNode);\n\t\tmodel.setNode(1, 0, horizontalRailNode);\n\n\t\tswitchLeft0RailNode.connect(model);\n\t\thorizontalRailNode.connect(model);\n\n\t\tSystem.out.println(switchLeft0RailNode.toString());\n\t\tSystem.out.println(horizontalRailNode.toString());\n\n\t\tassertEquals(1, switchLeft0RailNode.getGraphNodeOne().getChildren().size());\n\t\tassertEquals(0, switchLeft0RailNode.getGraphNodeTwo().getChildren().size());\n\t\tassertEquals(2, switchLeft0RailNode.getGraphNodeOne().getChildren().get(0).getId());\n\n\t\tassertEquals(0, horizontalRailNode.getGraphNodeOne().getChildren().size());\n\t\tassertEquals(1, horizontalRailNode.getGraphNodeTwo().getChildren().size());\n\t\tassertEquals(1, horizontalRailNode.getGraphNodeTwo().getChildren().get(0).getId());\n\t}", "public boolean addEdge(T beg, T end);", "@Override\r\n public void addEdge(Vertex v1, Vertex v2) {\r\n adjacencyList.get(v1).add(v2); //put v2 into the LinkedList of key v1.\r\n adjacencyList.get(v2).add(v1); //put v1 into the LinkedList of key v2.\r\n }", "public void Add( TopoDS_Edge aFirst, TopoDS_Edge aSecond) {\n OCCwrapJavaJNI.ShapeFix_EdgeConnect_Add__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(aFirst), aFirst, TopoDS_Edge.getCPtr(aSecond), aSecond);\n }", "public EdgeOperation(T t1, T t2) {\n\t\tthis.t1 = t1;\n\t\tthis.t2 = t2;\n\t}", "public void setEdge(int start, int target){\n\t\tthis.graph.elementAt(start).insert(target);\n\t}", "public void makeEdgeDown( String sourceName, String destName)\n {\n \tVertex v = vertexMap.get( sourceName );\n Vertex w = vertexMap.get( destName );\n if(v!=null && w!=null)\n \tv.adjEdge.get(w.name).isDown =true;\n else if(v==null){\n \tSystem.out.println(\"Invalid Source vertex\");\n }\n else if(w==null){\n \tSystem.out.println(\"Invalid dest vertex\");\n }\n // v.weightnext.put(w.name,(Double) distance);\n }", "private void addUndirectedEdge(int i, int j) {\n\t\tNode first = nodeList.get(i-1);\r\n\t\tNode second = nodeList.get(j-1);\r\n//\t\tSystem.out.println(first.name);\r\n//\t\tSystem.out.println(second.name);\r\n\t\tfirst.getNeighbors().add(second);//Neighbour of first is second. Store it.\r\n\t\tsecond.getNeighbors().add(first);\r\n\t}", "public void addEdge(int v1, int v2) {\r\n\t\tadjList[v1].add(v2);\r\n\t}", "public void edgeMake(int vertex1, int vertex2) {\n addVertex(vertex1); // both vertices added to the set\n addVertex(vertex2);\n adjacencyMap.get(vertex1).add(vertex2); // both vertices receive the edge\n adjacencyMap.get(vertex2).add(vertex1);\n }", "public void addEdge(FlowEdge e){\n int v = e.getFrom();\n int w = e.getTo();\n adj[v].add(e); //add forward edge\n adj[w].add(e); //add backward edge\n }", "boolean addEdge(V v, V w);", "public void addEdge(){\n Node[] newAdjacent = new Node[adjacent.length + 1];\n for (int i = 0; i < adjacent.length; i++) {\n newAdjacent[i] = adjacent[i];\n }\n adjacent = newAdjacent;\n }", "public PolytopeEdge(PolytopePoint s1, PolytopePoint s2){\n\t\t\tstart = s1;\n\t\t\tend = s2;\n\t\t}", "public boolean addEdge(T begin, T end, int weight);", "@Override\n public void addEdge(V source, V destination, double weight)\n {\n super.addEdge(source, destination, weight);\n super.addEdge(destination, source, weight);\n }", "private void addEdge(int from, int to, Edge e) {\n _edges.get(from).set(to, e);\n _edgeMap.put(e, new int [] {from, to});\n }", "public Link(Node from, Node to) {\n\t this.from = from;\n\t this.to = to;\n\t}", "public void treeEdge(Edge e) {}", "public void addEdge(K u, K v, int w)\n {\n\tif (u.equals(v))\n\t {\n\t\tthrow new IllegalArgumentException(\"adding self loop\");\n\t }\n\n\t// get u's adjacency list\n\tList<HashMap<K, Integer>> adj = adjLists.get(u);\n\n\t// check for edge already being there\n\tint count=0;\n\tfor (HashMap<K, Integer> A:adj){\n\t\tfor (K vertex:A.keySet()){\n\t\t\tif (!vertex.equals(v))\n\t\t {\n\t\t\t\tcount++;\n\n\t\t }\n\t\t}\n\t\t\n\t}\n\tif (count==adj.size()){\n\t\tHashMap<K, Integer> edge;\n\t\tedge=new HashMap<K, Integer>();\n\t\tedge.put(v, w);\n\t\t// edge is not already there -- add to both adjacency lists\n\t\tadj.add(edge);\n\t\tHashMap<K, Integer> edge2=new HashMap<K, Integer>();\n\t\tedge2.put(u, w);\n\t\tadjLists.get(v).add(edge2);\n\t}\n\t\n }", "public abstract void addEdge(Point p, Direction dir);", "public JmtEdge connect(JmtCell source, JmtCell target, boolean forced) {\r\n \t\t// If one of parameter is null, returns null\r\n \t\tif (source == null || target == null) {\r\n \t\t\treturn null;\r\n \t\t}\r\n \t\t// Retrives source and target keys to create connection\r\n \t\tObject sourceKey = ((CellComponent) source.getUserObject()).getKey();\r\n \t\tObject targetKey = ((CellComponent) target.getUserObject()).getKey();\r\n \t\t// Initializes correct layout for routing edges\r\n \t\tMap map = new Hashtable();\r\n \t\tGraphConstants.setRouting(map, GraphConstants.ROUTING_SIMPLE);\r\n \t\tGraphConstants.setRouting(map, JmtGraphConstants.ROUTING_JMT);\r\n \t\tGraphConstants.setLineEnd(map, GraphConstants.ARROW_CLASSIC);\r\n \t\tGraphConstants.setEndFill(map, true);\r\n \t\tMap<Object, Map> viewMap = new Hashtable<Object, Map>();\r\n \t\tJmtEdge connection = new JmtEdge(sourceKey, targetKey, this);\r\n \t\tviewMap.put(connection, map);\r\n \t\tObject[] insert = new Object[] { connection };\r\n \t\tConnectionSet cs = new ConnectionSet();\r\n \t\t// Finds sourcePort\r\n \t\tIterator it;\r\n \t\tit = source.getChildren().iterator();\r\n \t\tDefaultPort tmpPort, sourcePort, targetPort;\r\n \t\tsourcePort = null;\r\n \t\twhile (it.hasNext()) {\r\n \t\t\ttmpPort = (DefaultPort) it.next();\r\n \t\t\tif (tmpPort instanceof OutputPort) {\r\n \t\t\t\tsourcePort = tmpPort;\r\n \t\t\t}\r\n \t\t}\r\n \t\t// Finds targetPort\r\n \t\tit = target.getChildren().iterator();\r\n \t\ttargetPort = null;\r\n \t\twhile (it.hasNext()) {\r\n \t\t\ttmpPort = (DefaultPort) it.next();\r\n \t\t\tif (tmpPort instanceof InputPort) {\r\n \t\t\t\ttargetPort = tmpPort;\r\n \t\t\t}\r\n \t\t}\r\n \t\tif (sourcePort != null && targetPort != null) {\r\n \t\t\tcs.connect(connection, sourcePort, true);\r\n \t\t\tcs.connect(connection, targetPort, false);\r\n \t\t\t// Adds connection to the graph only if it can be created into data\r\n \t\t\t// structure\r\n \t\t\tif (model.setConnected(sourceKey, targetKey, true) || forced) {\r\n \t\t\t\tgraph.getModel().insert(insert, viewMap, cs, null, null);\r\n \t\t\t\treturn connection;\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn null;\r\n \t}", "public boolean addEdge(String label1, String label2)\n\t{\n\t\tif(!isAdjacent(label1, label2)) //if edge does not already exist add it\n\t\t{\n\t\t\tDSAGraphVertex vx1 = getVertex(label1), vx2 = getVertex(label2);\n\t\t\tvx1.addEdge(vx2);\n\t\t\tvx2.addEdge(vx1);\n\t\t\tedgeCount++;\n\t\t\treturn true;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t}", "@Test\n public void testEdgeReverse() {\n Edge<Integer, String> target = new Edge<>(1, 2, \"hello\");\n Edge<Integer, String> reverse = target.reverse();\n assertNotNull(reverse);\n assertEquals(Integer.valueOf(2), reverse.getFrom());\n assertEquals(Integer.valueOf(1), reverse.getTo());\n }", "public Edge(Node source, Node sink) {\n\t\tsuper();\n\t\t_source = source;\n\t\t_sink = sink;\n\t}", "public UndirectedEdge() {\n \tthis(null,null);\n\t}", "public void removeEdge(int node1, int node2)\n{\n\tif(getNodes().containsKey(node1) && getNodes().containsKey(node2))\n\t{\n\t\tNode n1 = (Node) getNodes().get(node1);\n\t\tNode n2 = (Node) getNodes().get(node2);\n\n\t\tif(n1.getEdgesOf().containsKey(node2))\n\t\t{\n\t\t\tedge_size--;\n\t\t\tmc++;\n\t\t\tn1.getEdgesOf().remove(node2);\n\n\t\t}\n\t\tif(n2.getEdgesOf().containsKey(node1))\n\t\t{\n\t\t\tedge_size--;\n\t\t\tmc++;\n\t\t\tn2.getEdgesOf().remove(node1);\n\n\t\t}\n\t\t\n\t\telse {\n\t\t\t\n\t\t\t//System.out.println(\"Edge doesnt exist\");\n\t\t}\n\t}\n\telse {\n\t\treturn;\n\t\t//System.out.println(\"src or dest doesnt exist\");\n\t}\n}", "public TransitionSystemEdge addEdge(TransitionSystemEdge newEdge) {\n\t\tTransitionSystemVertex v1 = (TransitionSystemVertex) newEdge\n\t\t\t\t.getSource();\n\t\tTransitionSystemVertex v2 = (TransitionSystemVertex) newEdge.getDest();\n\n\t\tHashSet edges = this.getEdgesBetween(v1, v2);\n\t\tif ((v1 != v2) && (edges.size() > 1)) { // 1 - created edge\n\t\t\t// The edge has been created, hence the nodes v1 and v2 know about\n\t\t\t// it.\n\t\t\t// and newEdge is not an inEdge of v1 (hence false as 2nd argument)\n\t\t\tv1.removeEdge(newEdge, false);\n\t\t\t// The edge has been created, hence the nodes v1 and v2 know about\n\t\t\t// it.\n\t\t\t// and newEdge is an inEdge of v2 (hence true as 2nd argument)\n\t\t\tv2.removeEdge(newEdge, true);\n\n\t\t\tIterator it = edges.iterator();\n\t\t\treturn (TransitionSystemEdge) it.next();\n\t\t} else if ((v1 == v2) && (edges.size() >= 2)) { // a tricky check for\n\t\t\t// the case of loops\n\t\t\tIterator it = edges.iterator();\n\t\t\tTransitionSystemEdge existingEdge = null;\n\t\t\tint k = 0;\n\t\t\twhile (it.hasNext()) {\n\t\t\t\tTransitionSystemEdge anEdge = (TransitionSystemEdge) it.next();\n\t\t\t\tif (anEdge.getIdentifier().equals(newEdge.getIdentifier())) {\n\t\t\t\t\tk++;\n\t\t\t\t\texistingEdge = anEdge;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (k == 1) {\n\t\t\t\tsuper.addEdge(newEdge);\n\t\t\t\treturn newEdge;\n\t\t\t} else {\n\t\t\t\t// The edge has been created, hence the nodes v1 and v2 know\n\t\t\t\t// about it.\n\t\t\t\t// and newEdge is not an inEdge of v1 (hence false as 2nd\n\t\t\t\t// argument)\n\t\t\t\tv1.removeEdge(newEdge, false);\n\t\t\t}\n\t\t\t// The edge has been created, hence the nodes v1 and v2 know about\n\t\t\t// it.\n\t\t\t// and newEdge is an inEdge of v2 (hence true as 2nd argument)\n\t\t\tv2.removeEdge(newEdge, true);\n\t\t\treturn existingEdge;\n\t\t} else {\n\t\t\tsuper.addEdge(newEdge);\n\t\t\treturn newEdge;\n\t\t}\n\t}", "private void edgeUp(String source, String dest) {\r\n\t\tVertex v = vertexMap.get(source);\r\n\t\tfor (Iterator i = v.adjacent.iterator(); i.hasNext();) {\r\n\t\t\tEdge edge = (Edge) i.next();\r\n\t\t\tif (edge.getDestination().equals(dest))\r\n\t\t\t\tedge.setStatus(true);\r\n\t\t}\r\n\t}", "void addEdge(int from, int to) {\n\t\tadjList.get(from).add(to);\n\t}", "Edge createEdge(Vertex src, Vertex tgt, boolean directed);", "void removeDirectedEdge(final Node first, final Node second)\n {\n if (first.connectedNodes.contains(second))\n first.connectedNodes.remove(second);\n\n }", "public void addEdge(T source, T destination, boolean biDirectional) {\n\n if(!map.containsKey(source)) addVertex(source);\n if(!map.containsKey(destination)) addVertex(destination);\n\n map.get(source).add(destination);\n if(biDirectional) map.get(destination).add(source);\n }", "public void addEdge(edge_type edge) {\n //first make sure the from and to nodes exist within the graph\n assert (edge.getFrom() < nextNodeIndex) && (edge.getTo() < nextNodeIndex) :\n \"<SparseGraph::AddEdge>: invalid node index\";\n\n //make sure both nodes are active before adding the edge\n if ((nodeVector.get(edge.getTo()).getIndex() != invalid_node_index)\n && (nodeVector.get(edge.getFrom()).getIndex() != invalid_node_index)) {\n //add the edge, first making sure it is unique\n if (isEdgeNew(edge.getFrom(), edge.getTo())) {\n edgeListVector.get(edge.getFrom()).add(edge);\n }\n\n //if the graph is undirected we must add another connection in the opposite\n //direction\n if (!isDirectedGraph) {\n //check to make sure the edge is unique before adding\n if (isEdgeNew(edge.getTo(), edge.getFrom())) {\n GraphEdge reversedEdge = new GraphEdge(edge.getTo(),edge.getFrom(),edge.getCost());\n edgeListVector.get(edge.getTo()).add(reversedEdge);\n }\n }\n }\n }", "int addEdge(int tail, int head);", "public DirectedEdge(Graph g, Vertex v1, Vertex v2){\n\t\tsuper(g, v1, v2);\n\t\tthis.source = v1;\n\t}", "@Override\n public void connect(T value1, T value2, int weight) {\n Vertex<T> from = vertices.get(value1);\n Vertex<T> to = vertices.get(value2);\n from.addNeighbor(to, weight);\n\n }", "public void addEdge(Node source, Node destination, int weight) {\n nodes.add(source);\n nodes.add(destination);\n checkEdgeExistance(source, destination, weight);\n\n if (!directed && source != destination) {\n checkEdgeExistance(destination, source, weight);\n }\n }", "private void addRelationship(String node1, String node2, String relation)\n {\n try (Session session = driver.session())\n {\n // Wrapping Cypher in an explicit transaction provides atomicity\n // and makes handling errors much easier.\n try (Transaction tx = session.beginTransaction())\n {\n tx.run(\"MATCH (j:Node {value: {x}})\\n\" +\n \"MATCH (k:Node {value: {y}})\\n\" +\n \"MERGE (j)-[r:\" + relation + \"]->(k)\", parameters(\"x\", node1, \"y\", node2));\n tx.success(); // Mark this write as successful.\n }\n }\n }", "public void addEdge(Graph graph, int source, int destination, double weight){\r\n\r\n Node node = new Node(destination, weight);\r\n LinkedList<Node> list = null;\r\n\r\n //Add an adjacent Node for source\r\n list = adjacencyList.get((double)source);\r\n if (list == null){\r\n list = new LinkedList<Node>();\r\n }\r\n\r\n list.addFirst(node);\r\n adjacencyList.put((double)source, list);\r\n\r\n //Add adjacent node again since graph is undirected\r\n node = new Node(source, weight);\r\n\r\n list = null;\r\n\r\n list = adjacencyList.get((double)destination);\r\n\r\n if (list == null){\r\n list = new LinkedList<Node>();\r\n }\r\n\r\n list.addFirst(node);\r\n adjacencyList.put((double)destination, list);\r\n }", "public JmtEdge connect(JmtCell source, JmtCell target) {\r\n \t\treturn connect(source, target, false);\r\n \t}", "@Test\n\tvoid testAddEdge() {\n\t\tgeo_location ge = new GeoLoc(0,1,2);\n\t\tnode_data n0 =new NodeData(0,ge);\n\t\tgeo_location ge1 = new GeoLoc(0,6,2);\n\t\tnode_data n1 =new NodeData(2,ge1);\n\t\tgraph.addNode(n0);\n\t\tgraph.addNode(n1);\n\t\tedge_data e = new EdgeData(0, 2, 20);\n\t\tgraph.connect(0, 2, 20);\n\t\tedge_data actual = graph.getEdge(0, 2);\n\t\tedge_data expected = e;\n\t\tassertEquals(expected.getSrc(), actual.getSrc());\n\t\tassertEquals(expected.getDest(), actual.getDest());\n\t\tassertEquals(expected.getWeight(), actual.getWeight());\n\t}" ]
[ "0.6801102", "0.62557995", "0.6231632", "0.6231632", "0.6218395", "0.6204739", "0.6186568", "0.6081275", "0.60630006", "0.6048784", "0.6042316", "0.6023369", "0.6000927", "0.5951094", "0.5922602", "0.59117234", "0.5875529", "0.58444494", "0.58353305", "0.5800349", "0.57829577", "0.5729673", "0.57270724", "0.5720866", "0.5713898", "0.5711259", "0.57082504", "0.56972706", "0.5678208", "0.5675126", "0.56695926", "0.56695014", "0.5647723", "0.5641528", "0.5630098", "0.5623231", "0.56197643", "0.56091315", "0.56091315", "0.5599303", "0.5597958", "0.55790985", "0.55790585", "0.5570617", "0.5568424", "0.55417585", "0.5533534", "0.5519748", "0.5519455", "0.5508069", "0.55041945", "0.5498603", "0.54943246", "0.5490047", "0.5485165", "0.54735494", "0.54700744", "0.5454591", "0.5450874", "0.54376143", "0.5415139", "0.54056025", "0.53976744", "0.5392557", "0.5388383", "0.5385597", "0.53822285", "0.5380509", "0.53690267", "0.5348342", "0.5348328", "0.5328093", "0.5324594", "0.5319175", "0.53114", "0.53003347", "0.5299124", "0.5295293", "0.5292411", "0.52886575", "0.5283529", "0.5281367", "0.5270143", "0.52651435", "0.52647823", "0.5262516", "0.52611274", "0.52553517", "0.5244782", "0.52347934", "0.52326095", "0.52319854", "0.5228345", "0.52217335", "0.52204293", "0.5219319", "0.52106196", "0.5208185", "0.5205577", "0.5203086" ]
0.63218105
1
Clearing the previous artis list
@Override public void onDataChange(DataSnapshot dataSnapshot){ services.clear(); //iterating through all the nodes for(DataSnapshot postSnapshot : dataSnapshot.getChildren()){ //getting product ServiceType serv = postSnapshot.getValue(ServiceType.class); //adding product to the list services.add(serv); } //creating adapter ServiceTypeList servicesAdapter = new ServiceTypeList(ManageServiceType.this, services); //attaching adapter to the listview listViewServices.setAdapter(servicesAdapter); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void clearPreviousArtists(){previousArtists.clear();}", "public void clear() {\n\t\tshowList = new ArrayList<Slide>();\n\t\tsetSlideNumber(-1);\n\t}", "public void reset() {\n this.list.clear();\n }", "public void Reset()\n {\n this.list1.clear();\n }", "public void reset() {\n next = 0;\n renderList.clear();\n viewList.clear();\n }", "protected void reset() {\n\t\tpush();\n\n\t\t// Clearen, en niet opnieuw aanmaken, om referenties elders\n\t\t// in het programma niet corrupt te maken !\n\t\tcurves.clear();\n\t\tselectedCurves.clear();\n\t\thooveredCurves.clear();\n\t\tselectedPoints.clear();\n\t\thooveredPoints.clear();\n\t\tselectionTool.clear();\n\t}", "public void reset() {\r\n\t\tcards.addAll(dealt);\r\n\t\tdealt.clear();\r\n\t}", "public void reset() {\r\n\t\t//begin\r\n\t\tproducerList.clear();\r\n\t\tretailerList.clear();\r\n\t\tBroker.resetLists();\r\n\t\t//end\r\n\t}", "public void clear(){\r\n BarsList.clear();\r\n }", "public void clear(){\r\n NotesList.clear();\r\n }", "void clear() {\n\t\t// Initialize new empty list, clearing out old data\n\t\tmNewsList = new ArrayList<>();\n\t}", "public void reset() {\n \titems.clear();\n \tsetProcessCount(0);\n }", "public void clear(){\r\n\t\tbeginMarker.next = endMarker;\r\n\t\tendMarker.prev = beginMarker;\r\n\t\tnumAdded=0;\r\n\t\tsize=0;\r\n \tmodCount++;\r\n\t}", "public void clear(){\r\n MetersList.clear();\r\n }", "public void clearMusicPanel(){\n\t\tmusicContents.removeAll();\n\t}", "public void reset(){\n star.clear();\n planet.clear();\n }", "public void clear(){\n this.items.clear();\n }", "public void clear() {\n items.clear();\n update();\n }", "public void clear() {\n history.clear();\n position = -1;\n }", "public void clear() {\n \tthis.listShapes.clear();\n }", "private void clearLists() {\r\n if (memoryLists == null) return;\r\n\r\n for (int i = 0; i < this.memoryLists.length; i++) {\r\n this.lastChanged[i] = -1;\r\n\r\n // clear list\r\n memoryLists[i].setModel(new DefaultListModel());\r\n }\r\n\r\n this.memoryBlocks = null;\r\n this.memoryLists = null;\r\n }", "void clear()\n\t{\n\t\tfront = null;\n\t\tback = null;\n\t\tcursor = null;\n\t\tlength = 0;\n\t\tindex = -1;\n\t}", "void reset() {\n\t\tsongs.get(curSong).rewind();\n\t\tsongs.get(curSong).pause();\n\t}", "private void clearLists() {\n\t\tobjects = new ArrayList<Entity>();\n\t\tenemies.clear();\n\t\titemList.clear();\n\t}", "void clear()\n\t{\n\t\tgetItems().clear();\n\t}", "void deleteFront()\n\t{\n\t\tif (length == 0) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call deleteFront() on empty List\");\n\t\t}\n\t\tif (cursor == front) \n\t\t{\n\t\t\tcursor = null;\n\t\t\tindex = -1; //added because i was failing the test scripts because i wasn't managing the indicies\n\t\t}\n \n\t\tfront = front.next; //front element becomes the next element in the list\n\t\tlength--;\n index --; //added because i was failing the test scripts because i wasn't managing the indicies\n\t\t\n\t}", "public void makeEmpty(){\n front = null;\n numItems =0;\n }", "public synchronized void resetArticlePhotoList() {\n articlePhotoList = null;\n }", "public void reset()\n\t{\n\t\tprint (\"Rynek reset\");\n\t\t//this line is for debug purposes only\n\t\t\n\t\titeracja =0;\n\t\t\n\t\tlistaFunkcjiUzytecznosci = new ArrayList<ArrayList<Point>>();\n\n\t\t//dla scenariuszy nie psoiadajacych EV \n\t\tint liczbaHandlowcow=obliczLiczbaKont();\n\t\n\t\t\n\t\tint a=0;\n\t\twhile (a<liczbaHandlowcow)\n\t\t{\n\t\t\tlistaFunkcjiUzytecznosci.add(new ArrayList<Point>());\n\t\t\ta++;\n\t\t}\n\t\t\n\t\tpriceVectorsList = new ArrayList<ArrayList<Float>>();\n\t\t\n\t\trynekHistory.reset(liczbaHandlowcow);\n\t\t\n\t}", "public void clear() {\r\n\t\tremoveAll();\r\n\t\tdrawBackGround();\r\n\t\tclearEntries();\r\n\t\t\r\n\t}", "void clear() {\n\t\tfor (int list = getFirstList(); list != -1;) {\n\t\t\tlist = deleteList(list);\n\t\t}\n\t}", "public void clear()\n {\n dessertList.clear();\n }", "public void clearHistory() {\n while (eqn != null) {\n eqn = eqn.next;\n }\n EquationList eqn = null;\n }", "public void clear() {\n\t\tlists.clear();\n\t}", "public void reset(){\n\t\tthis.currentIndex = 0;\n\t}", "private void actionClear() {\n layoutPanel.inhNList.clear();\n layoutPanel.activeNList.clear();\n layoutPanel.probedNList.clear();\n\n Graphics g = layoutPanel.getGraphics();\n layoutPanel.writeToGraphics(g);\n }", "@Override\r\n\tpublic void reset() {\r\n\t\tpilots.clear();\r\n\t\tcabinCrew.clear();\r\n\r\n\t}", "@Override\n public void reset()\n {\n this.titles = new ABR();\n this.years = new ABR();\n this.votes = new ABR();\n this.director = new ABR();\n\n for(int i = 0; i < this.movies.length; i++)\n this.movies.set(i, null);\n }", "public void reset() {\r\n\r\n for ( Card card : cards ) {\r\n if ( card.isFaceUp() ) {\r\n card.toggleFace( true );\r\n }\r\n }\r\n Collections.shuffle( cards );\r\n\r\n this.undoStack = new ArrayList<>();\r\n\r\n this.moveCount = 0;\r\n\r\n announce( null );\r\n }", "void reset() {\n colorSelectedList = new HashSet<>();\n }", "public void clear() {\r\n\t\titems.clear();\r\n\t}", "public void reset()\n {\n // put your code here\n position = 0;\n order = \"\";\n set[0] = 0;\n set[1] = 0;\n set[2] = 0;\n }", "public static void reset() {\n\t\tselectedAtts.clear();\n\t}", "public void clearItems() {\n grabbedItems.clear();\n }", "public void clear(){\n\n \tlist = new ArrayList();\n\n }", "public void clear() {\n\t\tList<CartLine> cartLines = getCartLineList();\n\t\tcartLines.clear();\n\t}", "public void reset() {\n\t\trabbitcount[1]=8;\n\t\trabbitcount[2]=8;\n\t\tpieces.clear();\n\t\tselectedsquares.clear();\n\t\trepaint();\n\t}", "public void resetAll()\n {\n _markers = null;\n setPrefSizeForText();\n repaint();\n }", "public void clear() {\r\n\t\tdisplayEntries.clear();\r\n\t\tupdate();\r\n\t}", "public synchronized void reset()\n\t{\n\t\tthis.snapshots.clear();\n\t\tthis.selfPositions.clear();\n\t}", "public void reset() {\n this.setIndex(0);\n }", "public synchronized void resetLineItems() {\n lineItems = null;\n }", "public void reset() {\n\t\tx = 0;\n\t\ty = 0;\n\t\tdir = -90;\n\t\tcoul = 0;\n\t\tcrayon = true;\n\t\tlistSegments.clear();\n \t}", "public void reset() {\n initEntries();\n }", "public void clearItems(){\n items.clear();\n }", "@FXML\n void clearEntireListClicked(ActionEvent event)\n {\n Item.getToDoList().clear();\n\n // Clear the table view\n listView.getItems().clear();\n\n // Reset the index to 0 and clear\n index = 0;\n clear();\n\n }", "public void clear()\r\n {\r\n first = null;\r\n last = null;\r\n count = 0;\r\n }", "public void reset()\n {\n setLastItem(NOTHING_HANDLED);\n for (int i = 0; i < counters.length; i++)\n {\n counters[i] = 0;\n }\n for (int j = 0; j < expected.length; j++)\n {\n expected[j] = ITEM_DONT_CARE;\n }\n }", "@Override\r\n\tpublic void undo() {\n\t\tfor(IShape shape : tempList)\r\n\t\t\tshapeList.remove(shape);\r\n\t}", "@Generated(hash = 15234777)\n public synchronized void resetImageList() {\n imageList = null;\n }", "public void reset() {\n while (getNumTotal() > 0) {\n this.removeNuclei();\n }\n lastModified = Calendar.getInstance().getTimeInMillis(); // record time\n }", "public void Clear() {\r\n\t\tfm.Clear();\r\n\t}", "public void removePrevCardList(){\n for (int i = 0; i < playerCardList.getPlayerCardListSize(); i++){\n playerCardPuzzle.getChildren().remove(playerCardList.getPlayerCardByNo(i));\n }\n }", "public void clear()\n {\n current = null;\n size = 0;\n }", "public void clear() {\n this.layers.clear();\n list.clear();\n }", "public void reset()\n {\n currentPosition = 0;\n }", "public void reset()\n {\n pages.clear();\n ePortfolioTitle = \"\";\n selectedPage = null;\n }", "protected void reset() {\n\t\tadaptees.clear();\n\t}", "public void removeAll()\n {\n this.front = null;\n this.rear = null;\n }", "public void clearFilmPanel(){\n\t\tfilmContents.removeAll();\n\t}", "public void reset() {\n price = 0;\n itemNumbers.clear();\n selectedOptions.clear();\n setupGUI();\n }", "@Override\n\tpublic void undo() {\n\t\tthis.list.delete(shape);\n\n\t}", "public void clear() {\n super.clear();\n locationToWidget.clear();\n widgetToCaptionWrapper.clear();\n }", "public void restorePreviousDeletion(){\n int cachePosition = deletedEntry.cachePosition;\n sortedFilesArrList.add(cachePosition, deletedEntry.cacheFileName);\n tag1ArrList.add(cachePosition, deletedEntry.cacheTag1);\n tag2ArrList.add(cachePosition, deletedEntry.cacheTag2);\n tag3ArrList.add(cachePosition, deletedEntry.cachetTag3);\n favArrList.add(cachePosition, deletedEntry.cacheFileIsFavorite);\n deletedEntry = null;\n\n notifyItemInserted(cachePosition);\n notifyItemRangeChanged(cachePosition, this.getItemCount());\n }", "public void reset() {\n for (int i = 0; i < numberOfRows; i++ ) {\n for (int j =0; j < numberOfColumns; j++) {\n if (grid[i][j] == LASER) {\n this.Remove(i,j);\n }\n }\n }\n }", "private void reset(){\n //stop les threads\n if(jeuPousse != null) {jeuPousse = null;}\n if(jeuDeBalle != null) {jeuDeBalle.setFinPartie(true); jeuDeBalle = null;}\n if(jeuEquipe != null) {jeuEquipe.setFinPartie(true); jeuEquipe = null;}\n\n simpleLogo.getFeuille().getListeTortues().clear();\n effacer();\n courante = null;\n }", "public void clear() {\n this.next = null;\n this.mList.clear();\n this.notifyDataSetChanged();\n }", "public void clearMoteList()\n {\n swapMotes.removeAllElements();\n }", "public void clear() {\n first = null;\n n = 0;\n }", "public void reset() {\r\n setGiftCardList(new ArrayList());\r\n for (int i = 0; i < getMaxNumGiftCards(); i++) {\r\n addBlankGiftCard(getGiftCardList());\r\n }\r\n \r\n setGiftCardTempList(new ArrayList());\r\n for (int i = 0; i < getMaxNumGiftCards(); i++) {\r\n addBlankGiftCard(getGiftCardTempList());\r\n }\r\n }", "protected void clear() {\n\n\t\tthis.myRRList.clear();\n\t}", "@Override\n public void clear() {\n size = 0;\n first = null;\n last = null;\n }", "public void empty() {\n _items.clear();\n }", "public void reset() {\n\t\t\t\t\r\n\t\t\t}", "private void reset() {\n\t\tdata.clear();\n\t}", "public final void Reset()\n\t{\n\t\t_curindex = -1;\n\t}", "void StoryReset() {\n\n //Delete Any Previous Recordings\n\n //Remove Previous Audio Commentary Callbacks\n cancelIdleStoryCountdown();\n }", "private void reset() {\n darkSquare.reset();\n lightSquare.reset();\n background.reset();\n border.reset();\n showCoordinates.setSelected(resetCoordinates);\n pieceFont.reset();\n }", "public static final void clear ()\n {\n ITEMS.clear();\n }", "public void resetAlg(){\n //clear prims presets\n primsAlg.clearUnvisited();\n primsAlg.clearVisited();\n primsAlg.clearEdges();\n\n //delete vertex images in arraylist\n for (ImageView vertex : vertexImages){\n primsLayout.removeView(vertex);\n }\n\n //delete drawn edge in arraylist\n for (DrawView drawnEdge : drawnEdges){\n primsLayout.removeView(drawnEdge);\n }\n\n //delete displayed weight in arraylist\n for (TextView displayWeight : displayedWeights){\n primsLayout.removeView(displayWeight);\n }\n\n //clear vertex images arrayList\n vertexImages.clear();\n\n //clear lines arrayList\n drawnEdges.clear();\n\n //clear weights arrayList\n displayedWeights.clear();\n\n //set prims run status\n setPrimHasRun(false);\n\n updateAllButtons();\n }", "public void clearPlayed(){\n\t\tplayed = null;\n\t}", "protected void clear() {\n\n\t\tfinal HashSet<Transition> t = new HashSet<>(transitions);\n\t\tfor (final Transition o : t) {\n\t\t\tremoveTransition(o);\n\t\t}\n\t\ttransitions = new HashSet<>();\n\n\t\tfinal HashSet<State> s = new HashSet<>(states);\n\t\tfor (final State o : s) {\n\t\t\tremoveState(o);\n\t\t}\n\t\tstates = new HashSet<>();\n\n\t\tfinalStates = new HashSet<>();\n\n\t\tinitialState = null;\n\n\t\tcachedStates = null;\n\n\t\tcachedTransitions = null;\n\n\t\tcachedFinalStates = null;\n\n\t\ttransitionFromStateMap = new HashMap<>();\n\t\ttransitionToStateMap = new HashMap<>();\n\n\t\ttransitionArrayFromStateMap = new HashMap<>();\n\n\t\ttransitionArrayToStateMap = new HashMap<>();\n\n\t\twhile (myNotes.size() != 0) {\n\t\t\tfinal AutomatonPane ap = myNotes.get(0).getView();\n\t\t\tap.remove(myNotes.get(0));\n\t\t\tap.repaint();\n\t\t\tdeleteNote(myNotes.get(0));\n\t\t}\n\t}", "private void clearPreviousInstances() {\n DiscardedCards.clearInstance();\n Fireworks.clearInstance();\n History.clearInstance();\n SelectedSymbol.clearInstance();\n Tokens.clearInstance();\n HanabiCards.initDeck();\n }", "void clearCurrent();", "public void clear(){\n\t\tfor (LinkedList<Line> list : lineLists){\n\t\t\tfor (Line l : list){\n\t\t\t\tpane.getChildren().remove(l);\n\t\t\t}\n\t\t\tlist.clear();\n\t\t}\n\t\tfor (Line l : bezierCurve){\n\t\t\tpane.getChildren().remove(l);\n\t\t}\n\t\tbezierCurve.clear();\n\t\t\n\t\tlineLists.clear();\n\t\tlineLists.add(new LinkedList<Line>());\n\t}", "@Override\n\tpublic void redo() {\n\t\tfor (IShape shape : temp) {\n\t\t\tlist.delete(shape);\n\t\t}\n\t}", "public void clear() {\n\t\tlist = new ArrayList<String>();\n\t\tword = \"\";\n\t}", "public void clear()\n {\n int llSize = ll.getSize();\n for(int i=0; i<llSize; i++){\n ll.remove(0);\n }\n }", "public void vaciar(){\n\t\tingredientes.clear();\n\t}", "public void clear() {\r\n myCommandLine.clear();\r\n inputPositionX.clear();\r\n inputPositionY.clear();\r\n creatureHomeX = creatureHomeY = 0;\r\n myModelTokenIndex = 0;\r\n commandHistory.getMenus().get(0).getItems().clear();\r\n continuing = false;\r\n if (myAnimation != null) {\r\n myAnimation.stop();\r\n }\r\n }", "public void removeAllItems() {\n contents.clear();\n }" ]
[ "0.7978029", "0.71886444", "0.71872795", "0.7147794", "0.7039191", "0.7029537", "0.6915899", "0.68742704", "0.68551314", "0.68190634", "0.67816067", "0.67706984", "0.6767877", "0.6744346", "0.6712572", "0.6678767", "0.6649735", "0.6625439", "0.66106606", "0.6604466", "0.66000843", "0.6575933", "0.6572708", "0.656736", "0.6548245", "0.6547155", "0.65415317", "0.6535962", "0.65340483", "0.65313876", "0.6531357", "0.65156364", "0.6511885", "0.65110105", "0.6504978", "0.6500686", "0.6496654", "0.649656", "0.64912534", "0.6483117", "0.64787936", "0.64679176", "0.6462995", "0.64605033", "0.64571726", "0.64531547", "0.644543", "0.64420307", "0.6429309", "0.6412632", "0.64089394", "0.639466", "0.6389958", "0.6376685", "0.63766", "0.6374649", "0.63741213", "0.63723546", "0.6370857", "0.6366881", "0.6358122", "0.63527167", "0.6348121", "0.6346498", "0.6342014", "0.6341177", "0.63352597", "0.63351923", "0.63217", "0.63193554", "0.6318961", "0.63173145", "0.631648", "0.6310721", "0.63013226", "0.6293728", "0.6293627", "0.62903935", "0.6288518", "0.6287873", "0.62805295", "0.6279795", "0.6277819", "0.62757474", "0.62691754", "0.6268328", "0.62678343", "0.6267448", "0.6260288", "0.6257939", "0.62555397", "0.6253038", "0.6250609", "0.6244286", "0.6241207", "0.6238253", "0.62362313", "0.6235293", "0.6233362", "0.6232511", "0.6231367" ]
0.0
-1
Returns RayTraceResult of Entity or Block impacted, or null if nothing was struck
public static RayTraceResult checkForImpact(World world, Entity entity, Entity shooter, double hitBox, boolean flag) { Vec3d vec3 = new Vec3d(entity.posX, entity.posY, entity.posZ); Vec3d vec31 = new Vec3d(entity.posX + entity.motionX, entity.posY + entity.motionY, entity.posZ + entity.motionZ); RayTraceResult raytraceresult = world.rayTraceBlocks(vec3, vec31, false, true, false); vec3 = new Vec3d(entity.posX, entity.posY, entity.posZ); vec31 = new Vec3d(entity.posX + entity.motionX, entity.posY + entity.motionY, entity.posZ + entity.motionZ); if (raytraceresult != null) { vec31 = new Vec3d(raytraceresult.hitVec.x, raytraceresult.hitVec.y, raytraceresult.hitVec.z); } Entity target = null; List<Entity> list = world.getEntitiesWithinAABBExcludingEntity(entity, entity.getEntityBoundingBox().expand(entity.motionX, entity.motionY, entity.motionZ).expand(1.0D, 1.0D, 1.0D)); double d0 = 0.0D; //double hitBox = 0.3D; for (int i = 0; i < list.size(); ++i) { Entity entity1 = (Entity) list.get(i); if (entity1.canBeCollidedWith() && (entity1 != shooter || flag)) { AxisAlignedBB axisalignedbb = entity1.getEntityBoundingBox().expand(hitBox, hitBox, hitBox); RayTraceResult mop1 = axisalignedbb.calculateIntercept(vec3, vec31); if (mop1 != null) { double d1 = vec3.distanceTo(mop1.hitVec); if (d1 < d0 || d0 == 0.0D) { target = entity1; d0 = d1; } } } } if (target != null) { raytraceresult = new RayTraceResult(target); } if (raytraceresult != null && raytraceresult.entityHit instanceof EntityPlayer) { EntityPlayer player = (EntityPlayer) raytraceresult.entityHit; if (player.capabilities.disableDamage || (shooter instanceof EntityPlayer && !((EntityPlayer) shooter).canAttackPlayer(player))) { raytraceresult = null; } } return raytraceresult; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MovingObjectPosition rayTraceEntities(World world, Vector3 target)\n {\n MovingObjectPosition pickedEntity = null;\n Vec3 startingPosition = this.toVec3();\n Vec3 look = target.toVec3();\n double reachDistance = this.distance(target);\n Vec3 reachPoint = Vec3.createVectorHelper(startingPosition.xCoord + look.xCoord * reachDistance, startingPosition.yCoord + look.yCoord * reachDistance, startingPosition.zCoord + look.zCoord * reachDistance);\n\n double checkBorder = 1.1 * reachDistance;\n AxisAlignedBB boxToScan = AxisAlignedBB.getAABBPool().getAABB(-checkBorder, -checkBorder, -checkBorder, checkBorder, checkBorder, checkBorder).offset(this.x, this.y, this.z);\n\n @SuppressWarnings(\"unchecked\")\n List<Entity> entitiesHit = world.getEntitiesWithinAABBExcludingEntity(null, boxToScan);\n double closestEntity = reachDistance;\n\n if (entitiesHit == null || entitiesHit.isEmpty())\n {\n return null;\n }\n for (Entity entityHit : entitiesHit)\n {\n if (entityHit != null && entityHit.canBeCollidedWith() && entityHit.boundingBox != null)\n {\n float border = entityHit.getCollisionBorderSize();\n AxisAlignedBB aabb = entityHit.boundingBox.expand(border, border, border);\n MovingObjectPosition hitMOP = aabb.calculateIntercept(startingPosition, reachPoint);\n\n if (hitMOP != null)\n {\n if (aabb.isVecInside(startingPosition))\n {\n if (0.0D < closestEntity || closestEntity == 0.0D)\n {\n pickedEntity = new MovingObjectPosition(entityHit);\n if (pickedEntity != null)\n {\n pickedEntity.hitVec = hitMOP.hitVec;\n closestEntity = 0.0D;\n }\n }\n }\n else\n {\n double distance = startingPosition.distanceTo(hitMOP.hitVec);\n\n if (distance < closestEntity || closestEntity == 0.0D)\n {\n pickedEntity = new MovingObjectPosition(entityHit);\n pickedEntity.hitVec = hitMOP.hitVec;\n closestEntity = distance;\n }\n }\n }\n }\n }\n return pickedEntity;\n }", "public MovingObjectPosition rayTrace(World world, float rotationYaw, float rotationPitch, boolean collisionFlag, double reachDistance)\n {\n // Somehow this destroys the playerPosition vector -.-\n MovingObjectPosition pickedBlock = this.rayTraceBlocks(world, rotationYaw, rotationPitch, collisionFlag, reachDistance);\n MovingObjectPosition pickedEntity = this.rayTraceEntities(world, rotationYaw, rotationPitch, reachDistance);\n\n if (pickedBlock == null)\n {\n return pickedEntity;\n }\n else if (pickedEntity == null)\n {\n return pickedBlock;\n }\n else\n {\n double dBlock = this.distance(new Vector3(pickedBlock.hitVec));\n double dEntity = this.distance(new Vector3(pickedEntity.hitVec));\n\n if (dEntity < dBlock)\n {\n return pickedEntity;\n }\n else\n {\n return pickedBlock;\n }\n }\n }", "@SideOnly(Side.CLIENT)\n\tpublic static RayTraceResult getPlayerMouseOverBlock(double dist, float duringTicks)\n\t{\n\t EntityPlayer player = ClientProxy.getClientPlayer();\n\t\t\n\t\tVec3d vec3 = player.getPositionEyes(duringTicks);\n\t Vec3d vec31 = player.getLook(duringTicks);\n\t Vec3d vec32 = vec3.addVector(vec31.xCoord * dist, vec31.yCoord * dist, vec31.zCoord * dist);\n\t \n\t //參數: entity位置, entity視線最遠位置, 停止在液體方塊上, 忽略沒有AABB的方塊, 回傳距離內最遠的不可碰撞方塊\n\t return player.world.rayTraceBlocks(vec3, vec32, true, false, false);\n\t}", "@Override\n public MovingObjectPosition collisionRayTrace(World world, BlockPos pos, Vec3 vec0, Vec3 vec1) {\n this.setBlockBoundsBasedOnState(world, pos);\n vec0 = vec0.addVector((double)(-pos.getX()), (double)(-pos.getY()), (double)(-pos.getZ()));\n vec1 = vec1.addVector((double) (-pos.getX()), (double) (-pos.getY()), (double) (-pos.getZ()));\n Vec3 vec2 = vec0.getIntermediateWithXValue(vec1, this.minX);\n Vec3 vec3 = vec0.getIntermediateWithXValue(vec1, this.maxX);\n Vec3 vec4 = vec0.getIntermediateWithYValue(vec1, this.minY);\n Vec3 vec5 = vec0.getIntermediateWithYValue(vec1, this.maxY);\n Vec3 vec6 = vec0.getIntermediateWithZValue(vec1, this.minZ);\n Vec3 vec7 = vec0.getIntermediateWithZValue(vec1, this.maxZ);\n Vec3 vec8 = null;\n if (!this.isVecInsideYZBounds(world, pos, vec2)) {\n vec2 = null;\n }\n if (!this.isVecInsideYZBounds(world, pos, vec3)) {\n vec3 = null;\n }\n if (!this.isVecInsideXZBounds(world, pos, vec4)) {\n vec4 = null;\n }\n if (!this.isVecInsideXZBounds(world, pos, vec5)) {\n vec5 = null;\n }\n if (!this.isVecInsideXYBounds(world, pos, vec6)) {\n vec6 = null;\n }\n if (!this.isVecInsideXYBounds(world, pos, vec7)) {\n vec7 = null;\n }\n if (vec2 != null) {\n vec8 = vec2;\n }\n if (vec3 != null && (vec8 == null || vec0.squareDistanceTo(vec3) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec3;\n }\n if (vec4 != null && (vec8 == null || vec0.squareDistanceTo(vec4) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec4;\n }\n if (vec5 != null && (vec8 == null || vec0.squareDistanceTo(vec5) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec5;\n }\n if (vec6 != null && (vec8 == null || vec0.squareDistanceTo(vec6) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec6;\n }\n if (vec7 != null && (vec8 == null || vec0.squareDistanceTo(vec7) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec7;\n }\n if (vec8 == null) {\n return null;\n } else {\n EnumFacing enumfacing = null;\n if (vec8 == vec3) {\n enumfacing = EnumFacing.WEST;\n }\n if (vec8 == vec2) {\n enumfacing = EnumFacing.EAST;\n }\n if (vec8 == vec3) {\n enumfacing = EnumFacing.DOWN;\n }\n if (vec8 == vec4) {\n enumfacing = EnumFacing.UP;\n }\n if (vec8 == vec5) {\n enumfacing = EnumFacing.NORTH;\n }\n if (vec8 == vec6) {\n enumfacing = EnumFacing.SOUTH;\n }\n return new MovingObjectPosition(vec8.addVector((double) pos.getX(), (double) pos.getY(), (double) pos.getZ()), enumfacing, pos);\n }\n }", "protected void onImpact(RayTraceResult result) {\n\t\tif (result.entityHit != null) {\n\t\t\tfloat i = 2.5F;\n\n\t\t\tif (result.entityHit instanceof EntityBlizzard) {\n\t\t\t\ti = 0;\n\t\t\t}\n\n result.entityHit.attackEntityFrom(WorldsRetold.HAIL, i);\n\n\t\t\tif (result.entityHit instanceof EntityLivingBase) {\n\t\t\t\tEntityLivingBase target = (EntityLivingBase) result.entityHit;\n\t\t\t\tif (!this.world.isRemote) {\n\t\t\t\t\ttarget.addPotionEffect(new PotionEffect(HailstormPotions.FREEZING, 100, 0));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (!this.world.isRemote) {\n\t\t\tthis.world.setEntityState(this, (byte) 3);\n\t\t\tthis.setDead();\n\t\t}\n\t}", "private Vec3 trace(Ray ray) {\n\t\tSphere sphere = null;\n\n\t\tfor (int i = 0; i < spheres.size(); i++) {\n\t\t\tif (spheres.get(i).intersect(ray)) {\n\t\t\t\tsphere = spheres.get(i);\n\t\t\t}\n\t\t}\n\n\t\tif (sphere == null) {\n\t\t\treturn new Vec3(0.0f); // Background color.\n\t\t}\n\n\t\tVec3 p = ray.getIntersection(); // Intersection point.\n\t\tVec3 n = sphere.normal(p); // Normal at intersection.\n\n\t\treturn light.phong(sphere, p, n);\n\t}", "private double calculateT(Position lineStart, Position lineEnd, double lookaheadDistance) {\n Position d = Functions.Positions.subtract(lineEnd, lineStart);\n Position f = Functions.Positions.subtract(lineStart, currentCoord);\n double r = lookaheadDistance;\n\n double a = Functions.Positions.dot(d, d);\n double b = 2 * Functions.Positions.dot(f, d);\n double c = Functions.Positions.dot(f, f) - r * r;\n\n double discriminant = b * b - 4 * a * c;\n if (discriminant < 0) {\n // no intersection\n } else {\n // ray didn't totally miss sphere, so there is a solution to the equation.\n discriminant = Math.sqrt(discriminant);\n\n // either solution may be on or off the ray so need to test both\n // t1 is always the smaller value, because BOTH discriminant and a are nonnegative.\n double t1 = (-b - discriminant) / (2 * a);\n double t2 = (-b + discriminant) / (2 * a);\n\n // 3x HIT cases:\n // -o-> --|--> | | --|->\n // Impale(t1 hit,t2 hit), Poke(t1 hit,t2>1), ExitWound(t1<0, t2 hit),\n\n // 3x MISS cases:\n // -> o o -> | -> |\n // FallShort (t1>1,t2>1), Past (t1<0,t2<0), CompletelyInside(t1<0, t2>1)\n\n if (t1 >= 0 && t1 <= 1) {\n // t1 is the intersection, and it's closer than t2 (since t1 uses -b - discriminant)\n // Impale, Poke\n return t1;\n }\n\n if (t2 >= 0 && t2 <= 1) {\n return t2;\n }\n }\n return Double.NaN;\n }", "public MovingObjectPosition collisionRayTrace(World world, int x, int y, int z, Vec3 startVec, Vec3 endVec)\n\t {\n\t this.setBlockBoundsBasedOnState(world, x, y, z);\n\t return super.collisionRayTrace(world, x, y, z, startVec, endVec);\n\t }", "protected void onImpact(RayTraceResult result)\n\t{\n\t\tif (result.entityHit != null)\n\t\t{\n\t\t\tresult.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), 1.0F);\n\t\t}\n\n\t\tif (!this.world.isRemote)\n\t\t{\n\t\t\tEntityWeatherCloud egg = new EntityWeatherCloud(this.world, result.hitVec.x, result.hitVec.y + 0.5, result.hitVec.z, this.eggType);\n\t\t\tthis.world.spawnEntity(egg);\n\n\t\t\tthis.world.setEntityState(this, (byte) 3);\n\t\t\tthis.setDead();\n\t\t}\n\t}", "public Vector traceRay(Ray ray, int bounces) {\n\t\t\n\t\t/* Terminate after too many bounces. */\n\t\tif(bounces > this.numBounces)\n\t\t\treturn new Vector(0.0, 0.0, 0.0);\n\t\t\n\t\t/* Trace ray. */\n\t\tObjectHit hit = getHit(ray);\n\n\t\tif(hit.hit) {\n\t\t\t\n\t\t\t/* Light emitted by the hit location. */\n\t\t\tVector color = hit.material.getEmission(hit.textureCoordinates.x, hit.textureCoordinates.y);\n\t\t\t\n\t\t\t/* Light going into the hit location. */\n\t\t\tVector incoming = new Vector(0.0, 0.0, 0.0);\n\t\t\t\n\t\t\t/* Do secondary rays. */\n\t\t\tVector selfColor = hit.material.getColor(hit.textureCoordinates.x, hit.textureCoordinates.y);\n\t\t\tdouble diffuseness = hit.material.getDiffuseness();\n\t\t\t\n\t\t\tfor(int i = 0; i < this.numSecondaryRays; i++) {\n\n\t\t\t\tRay newRay = new Ray(hit.hitPoint, new Vector(0.0, 0.0, 0.0));\n\t\t\t\t\t\t\n\t\t\t\tVector diffuseSample = new Vector(0.0, 0.0, 0.0);\n\t\t\t\tVector specularSample = new Vector(0.0, 0.0, 0.0);\n\t\t\t\t\n\t\t\t\tif(diffuseness > 0.0) {\n\t\t\t\t\tVector diffuseVector = Material.getDiffuseVector(hit.normal);\n\t\t\t\t\tnewRay.direction = diffuseVector;\n\t\t\t\t\tdiffuseSample = traceRay(newRay, bounces + 1);\n\t\t\t\t\tdiffuseSample = diffuseSample.times(diffuseVector.dot(hit.normal)).times(selfColor);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(diffuseness < 1.0) {\n\t\t\t\t\tVector specularVector = Material.getReflectionVector(hit.normal, ray.direction, hit.material.getGlossiness());\n\t\t\t\t\tnewRay.direction = specularVector;\n\t\t\t\t\tspecularSample = traceRay(newRay, bounces + 1);\n\t\t\t\t\t\n\t\t\t\t\tif(!hit.material.isPlastic())\n\t\t\t\t\t\tspecularSample = specularSample.times(selfColor);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tVector total = diffuseSample.times(hit.material.getDiffuseness()).plus(specularSample.times(1 - hit.material.getDiffuseness()));\n\t\t\t\tincoming = incoming.plus(total);\n\t\t\t}\n\t\t\t\n\t\t\tincoming = incoming.divBy(this.numSecondaryRays);\n\t\t\treturn color.plus(incoming);\n\t\t\t\n\t\t} else {\n\t\t\t\n\t\t\t/* If the ray missed return the ambient color. */\n\t\t\tVector d = new Vector(0.0, 0.0, 0.0).minus(ray.direction);\n\t\t\tdouble u = 0.5 + Math.atan2(d.z, d.x) / (2 * Math.PI);\n\t\t\tdouble v = 0.5 - Math.asin(d.y) / Math.PI;\n\t\t\t\n\t\t\treturn skyMaterial.getColor(u, v).times(255).plus(skyMaterial.getEmission(u, v));\n\t\t\t\n\t\t}\n\t\t\n\t}", "public BLine2D\ngetFivePrimeRay()\nthrows Exception\n{\n\tif (this.lastNuc2D() == null)\n\t\treturn (null);\n\treturn (new BLine2D(\n\t\tthis.getPoint2D(),\n\t\tthis.lastNuc2D().getPoint2D()));\n}", "public abstract Color traceRay(Ray ray);", "public abstract Color traceRay(Ray ray);", "public static boolean rayTraceBlocks(World world, Vec3d vec, Vec3d vecEnd, boolean collideOnAllSolids)\n {\n world.profiler.startSection(\"Fantastic Lib: Improved Raytrace\");\n if (vec.x < vecEnd.x)\n {\n Vec3d swap = vec;\n vec = vecEnd;\n vecEnd = swap;\n }\n\n int x = MathHelper.floor(vec.x);\n int y = MathHelper.floor(vec.y);\n int z = MathHelper.floor(vec.z);\n\n int endX = MathHelper.floor(vecEnd.x);\n int endY = MathHelper.floor(vecEnd.y);\n int endZ = MathHelper.floor(vecEnd.z);\n\n //Check starting block\n BlockPos blockPos = new BlockPos(x, y, z);\n if (!world.isBlockLoaded(blockPos))\n {\n world.profiler.endSection();\n return false;\n }\n\n\n IBlockState blockState = world.getBlockState(blockPos);\n if ((collideOnAllSolids || !canSeeThrough(blockState)) && blockState.getCollisionBoundingBox(world, blockPos) != Block.NULL_AABB)\n {\n if (blockState.collisionRayTrace(world, blockPos, vec, vecEnd) != null)\n {\n world.profiler.endSection();\n return false;\n }\n }\n\n //Iterate through all non-starting blocks and check them\n for (int i = 1; i <= MAX_ITERATIONS; i++)\n {\n if (x == endX && y == endY && z == endZ)\n {\n world.profiler.endSection();\n return true;\n }\n\n boolean xMotion = true;\n boolean yMotion = true;\n boolean zMotion = true;\n\n double x2 = 999;\n double y2 = 999;\n double z2 = 999;\n\n if (endX > x) x2 = x + 1;\n else if (endX < x) x2 = x;\n else xMotion = false;\n\n if (endY > y) y2 = y + 1;\n else if (endY < y) y2 = y;\n else yMotion = false;\n\n if (endZ > z) z2 = z + 1;\n else if (endZ < z) z2 = z;\n else zMotion = false;\n\n double x3 = 999;\n double y3 = 999;\n double z3 = 999;\n\n double xDif = vecEnd.x - vec.x;\n double yDif = vecEnd.y - vec.y;\n double zDif = vecEnd.z - vec.z;\n\n if (xMotion) x3 = (x2 - vec.x) / xDif;\n if (yMotion) y3 = (y2 - vec.y) / yDif;\n if (zMotion) z3 = (z2 - vec.z) / zDif;\n\n //Make sure they wanted to use -0.0001 here (they were using -1.0E-4D, which is -0.0001)\n if (x3 == 0) x3 = -0.0001;\n if (y3 == 0) y3 = -0.0001;\n if (z3 == 0) z3 = -0.0001;\n\n EnumFacing enumfacing;\n\n if (x3 < y3 && x3 < z3)\n {\n enumfacing = endX > x ? EnumFacing.WEST : EnumFacing.EAST;\n vec = new Vec3d(x2, vec.y + yDif * x3, vec.z + zDif * x3);\n }\n else if (y3 < z3)\n {\n enumfacing = endY > y ? EnumFacing.DOWN : EnumFacing.UP;\n vec = new Vec3d(vec.x + xDif * y3, y2, vec.z + zDif * y3);\n }\n else\n {\n enumfacing = endZ > z ? EnumFacing.NORTH : EnumFacing.SOUTH;\n vec = new Vec3d(vec.x + xDif * z3, vec.y + yDif * z3, z2);\n }\n\n x = MathHelper.floor(vec.x) - (enumfacing == EnumFacing.EAST ? 1 : 0);\n y = MathHelper.floor(vec.y) - (enumfacing == EnumFacing.UP ? 1 : 0);\n z = MathHelper.floor(vec.z) - (enumfacing == EnumFacing.SOUTH ? 1 : 0);\n\n blockPos = new BlockPos(x, y, z);\n if (!world.isBlockLoaded(blockPos))\n {\n world.profiler.endSection();\n return false;\n }\n\n blockState = world.getBlockState(blockPos);\n if ((collideOnAllSolids || !canSeeThrough(blockState)) && blockState.getCollisionBoundingBox(world, blockPos) != Block.NULL_AABB)\n {\n if (blockState.collisionRayTrace(world, blockPos, vec, vecEnd) != null)\n {\n world.profiler.endSection();\n return false;\n }\n }\n }\n\n world.profiler.endSection();\n return false; //Too far to see\n }", "public Hit hit (final Ray r) {\n\n final double a;\n final double b;\n final double cNor;\n final double t1;\n final double t2;\n final double d;\n final Point3 p;\n\n b = r.d.dot((r.o.sub(c)).mul(2));\n a = r.d.dot(r.d);\n cNor = r.o.sub(c).dot(r.o.sub(c))-(this.r*this.r);\n d = (b * b) - (4 * a * cNor);\n\n if(d > 0) {\n\n t1 = (-b + Math.sqrt(d)) / (2 * a);\n t2 = (-b - Math.sqrt(d)) / (2 * a);\n\n if (t1 >= 0 & t2 >= 0) {\n\n p = r.at(Math.min(t1, t2));\n\n return new Hit(Math.min(t1, t2), r, this,p.sub(c).normalized().asNormal(),texFor(p) );\n\n }else if (t1 >= 0){\n\n return new Hit(t1,r,this, r.at(t1).sub(c).normalized().asNormal(),texFor(r.at(t1)));\n\n }else if(t2 >= 0) {\n\n return new Hit(t2, r, this, r.at(t2).sub(c).normalized().asNormal(),texFor(r.at(t2)));\n }\n }else if (d == 0){\n\n final double t3;\n t3 = -b / (2 * a);\n\n if (t3 >= 0){\n\n return new Hit(t3, r, this, r.at(t3).sub(c).normalized().asNormal(), texFor(r.at(t3)));\n\n }\n }\n\n return null;\n }", "public org.bukkit.util.RayTraceResult rayTraceBlocks ( double maxDistance ,\n\t\t\tFluidCollisionMode fluidCollisionMode ) {\n\t\treturn extract ( handle -> handle.rayTraceBlocks ( maxDistance , fluidCollisionMode ) );\n\t}", "public Ray calculateReflectionRay() {\n Vec3 directN = mInRay.getDirection();\n\n if(mShape.getReflection().blurryness != 0){\n CoordinateSystem coordSys = this.calculateCoordinateSystem(directN);\n\n Vec3 directNB = coordSys.vecB;\n Vec3 directNC = coordSys.vecC;\n\n directN = this.calculateTransformedRandomEndDirection(directN, directNB, directNC, true);\n }\n\n return calculateReflectionRay(directN);\n }", "public Point3d getBlockHit(Point3d position, Point3d delta){\r\n\t\tVec3d start = new Vec3d(position.x, position.y, position.z);\r\n\t\tRayTraceResult trace = world.rayTraceBlocks(start, start.add(delta.x, delta.y, delta.z), false, true, false);\r\n\t\tif(trace != null){\r\n\t\t\tBlockPos pos = trace.getBlockPos();\r\n\t\t\tif(pos != null){\r\n\t\t\t\t return new Point3d(pos.getX(), pos.getY(), pos.getZ());\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "@Override\n \tpublic Actor hit(float x, float y) {\n \t\treturn null;\n \t}", "public Hit intersectsRay(Ray ray) {\n\t\tVector3D dst = Vector3D.sub(ray.b, pos);\n\t\tfloat B = dst.dot(ray.d);\n\t\tfloat C = dst.dot(dst) - radius2;\n\t\tfloat D = B*B - C;\n\t\tfloat t = (float) (-B - Math.sqrt(D));\n\t\tif (!(t > 0)) return null; // escape case: no collision or outside fov\n\t\tVector3D hitPos = Vector3D.add(ray.b, Vector3D.mult(ray.d, t));\n\t\tVector3D n = getNormal(hitPos);\n\t\treturn new Hit(this, t, hitPos, n);\n\t}", "public BLine2D\ngetThreePrimeRay()\nthrows Exception\n{\n\tif (this.nextNuc2D() == null)\n\t\treturn (null);\n\treturn (new BLine2D(\n\t\tthis.getPoint2D(),\n\t\tthis.nextNuc2D().getPoint2D()));\n}", "protected Entity findPlayerToAttack() {\n/* 339 */ double var1 = 8.0D;\n/* 340 */ return getIsSummoned() ? null : this.field_70170_p.func_72890_a(this, var1);\n/* */ }", "public CollisionInfo getClosestCollision(Line trajectory) {\r\n // check if there is a core.Collidable objects.\r\n if (this.collidObj.isEmpty()) {\r\n return null;\r\n }\r\n List<Collidable> collisobj = new ArrayList<Collidable>();\r\n int counter = 0;\r\n // Make a copy of the Sprite before iterating over them.\r\n List<Collidable> collidables = new ArrayList<Collidable>(this.collidObj);\r\n // create a List of collision Colidable.\r\n for (Collidable c : collidables) {\r\n if (trajectory.closestIntersectionToStartOfLine(c.getCollisionRectangle()) != null) {\r\n collisobj.add(c);\r\n }\r\n }\r\n if (collisobj.size() == 0) {\r\n return null;\r\n // if there is just one collision.\r\n } else if (collisobj.size() == 1) {\r\n Rectangle r = (collisobj.get(0)).getCollisionRectangle();\r\n return new CollisionInfo(trajectory.closestIntersectionToStartOfLine(r), collisobj.get(0));\r\n // else search the closet collision.\r\n } else {\r\n return searchClosetCollision(collisobj, trajectory);\r\n }\r\n }", "public WrapperEntity getEntityLookingAt(WrapperEntity entityLooking, float searchRadius){\r\n\t\tdouble smallestDistance = searchRadius*2;\r\n\t\tEntity foundEntity = null;\r\n\t\tEntity mcLooker = entityLooking.entity;\r\n\t\tVec3d mcLookerPos = mcLooker.getPositionVector();\r\n\t\tPoint3d lookerLos = entityLooking.getLineOfSight(searchRadius).add(entityLooking.getPosition());\r\n\t\tVec3d losVector = new Vec3d(lookerLos.x, lookerLos.y, lookerLos.z);\r\n\t\tfor(Entity entity : world.getEntitiesWithinAABBExcludingEntity(mcLooker, mcLooker.getEntityBoundingBox().grow(searchRadius))){\r\n\t\t\tif(!entity.equals(mcLooker.getRidingEntity()) && !(entity instanceof BuilderEntityRenderForwarder)){\r\n\t\t\t\tfloat distance = mcLooker.getDistance(entity);\r\n\t\t\t\tif(distance < smallestDistance){\r\n\t\t\t\t\tsmallestDistance = distance;\r\n\t\t\t\t\tRayTraceResult rayTrace = entity.getEntityBoundingBox().calculateIntercept(mcLookerPos, losVector);\r\n\t\t\t\t\tif(rayTrace != null){\r\n\t\t\t\t\t\tfoundEntity = entity;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn WrapperEntity.getWrapperFor(foundEntity);\r\n\t}", "protected Entity findPlayerToAttack()\n {\n EntityPlayer var1 = this.worldObj.getClosestVulnerablePlayerToEntity(this, 16.0D);\n return var1 != null && this.canEntityBeSeen(var1) ? var1 : null;\n }", "@Override\r\n public Hit getHit() {\n return null;\r\n }", "public Vector3d computeLineIntersection(\r\n\t\tCSGRay\t\t\tpOtherLine\r\n\t,\tVector3d\t\tpResult\r\n\t,\tdouble\t\t\tpTolerance\r\n\t,\tCSGTempVars\t\tpTempVars\r\n\t,\tCSGEnvironment\tpEnvironment\r\n\t) {\r\n\t\t//x = x1 + a1*t = x2 + b1*s\r\n\t\t//y = y1 + a2*t = y2 + b2*s\r\n\t\t//z = z1 + a3*t = z2 + b3*s\r\n\t\tVector3d lineOrigin = pOtherLine.getOrigin(); \r\n\t\tVector3d lineDirection = pOtherLine.getDirection();\r\n\t\t\t\t\r\n\t\tdouble t;\r\n\t\tif ( Math.abs( mDirection.y*lineDirection.x - mDirection.x*lineDirection.y ) > pTolerance ) {\r\n\t\t\tt = (-mOrigin.y*lineDirection.x\r\n\t\t\t\t\t+ lineOrigin.y*lineDirection.x\r\n\t\t\t\t\t+ lineDirection.y*mOrigin.x\r\n\t\t\t\t\t- lineDirection.y*lineOrigin.x) \r\n\t\t\t\t/ (mDirection.y*lineDirection.x - mDirection.x*lineDirection.y);\r\n\t\t\t\r\n\t\t} else if ( Math.abs( -mDirection.x*lineDirection.z + mDirection.z*lineDirection.x) > pTolerance ) {\r\n\t\t\tt = -(-lineDirection.z*mOrigin.x\r\n\t\t\t\t\t+ lineDirection.z*lineOrigin.x\r\n\t\t\t\t\t+ lineDirection.x*mOrigin.z\r\n\t\t\t\t\t- lineDirection.x*lineOrigin.z)\r\n\t\t\t\t/ (-mDirection.x*lineDirection.z + mDirection.z*lineDirection.x);\r\n\t\t\t\r\n\t\t} else if ( Math.abs( -mDirection.z*lineDirection.y + mDirection.y*lineDirection.z) > pTolerance ) {\r\n\t\t\tt = (mOrigin.z*lineDirection.y\r\n\t\t\t\t\t- lineOrigin.z*lineDirection.y\r\n\t\t\t\t\t- lineDirection.z*mOrigin.y\r\n\t\t\t\t\t+ lineDirection.z*lineOrigin.y)\r\n\t\t\t\t/ (-mDirection.z*lineDirection.y + mDirection.y*lineDirection.z);\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\t// Nothing we can figure out\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\t// Construct a new position based on what we know \r\n\t\tpResult = mDirection.mult( t, pResult );\r\n\t\tpResult.addLocal( mOrigin );\r\n\t\t\r\n\t\tif ( pEnvironment.mRationalizeValues ) {\r\n\t\t\t// Confirm that the magnitudes of the resultant point are rational\r\n\t\t\tCSGEnvironment.rationalizeVector( pResult, pEnvironment.mEpsilonMagnitudeRange );\r\n\t\t}\r\n\t\treturn( pResult );\r\n\t}", "public void receiveResultrayTrace(\n RayTracerStub.RayTraceResponse result\n ) {\n }", "private LightIntensity traceRay(Ray ray, int currentTraceDepth) {\n if (currentTraceDepth > MAX_TRACE_DEPTH) {\n return LightIntensity.makeZero();\n }\n\n currentTraceDepth += 1;\n\n Solid.Intersection solidIntersection = castRayOnSolids(ray);\n LightSource.Intersection lightIntersection = castRayOnLights(ray);\n\n LightIntensity result = LightIntensity.makeZero();\n if (solidIntersection == null && lightIntersection == null) {\n // Nothing to do\n } else if (solidIntersection == null && lightIntersection != null) {\n result = result.add(lightIntersection.intersectedLight.intensity);\n } else if (solidIntersection != null & lightIntersection == null) {\n result = handleSolidRayHit(ray, solidIntersection, result, currentTraceDepth);\n } else if (solidIntersection.info.pointOfIntersection.distance(ray.origin) < lightIntersection.info.pointOfIntersection.distance(ray.origin)) {\n result = handleSolidRayHit(ray, solidIntersection, result, currentTraceDepth);\n } else {\n result = result.add(lightIntersection.intersectedLight.intensity);\n }\n\n return result;\n }", "public void attackEntity(Entity entityToHit) {\n ItemStack item = tinkerProjectile.getItemStack();\n ItemStack launcher = tinkerProjectile.getLaunchingStack();\n\n // deal damage if we have everything\n if(item.getItem() instanceof ToolCore && this.attacker != null) {\n EntityLivingBase attacker = (EntityLivingBase) this.attacker;\n //EntityLivingBase target = (EntityLivingBase) raytraceResult.entityHit;\n\n // find the actual itemstack in the players inventory\n ItemStack inventoryItem = AmmoHelper.getMatchingItemstackFromInventory(tinkerProjectile.getItemStack(), attacker, false);\n if(inventoryItem.isEmpty() || inventoryItem.getItem() != item.getItem()) {\n // backup, use saved itemstack\n inventoryItem = item;\n }\n\n // for the sake of dealing damage we always ensure that the impact itemstack has the correct broken state\n // since the ammo stack can break while the arrow travels/if it's the last arrow\n boolean brokenStateDiffers = ToolHelper.isBroken(inventoryItem) != ToolHelper.isBroken(item);\n if(brokenStateDiffers) {\n toggleBroken(inventoryItem);\n }\n\n Multimap<String, AttributeModifier> projectileAttributes = null;\n // remove stats from held items\n if(!world.isRemote) {\n unequip(attacker, EntityEquipmentSlot.OFFHAND);\n unequip(attacker, EntityEquipmentSlot.MAINHAND);\n\n // apply stats from projectile\n if(item.getItem() instanceof IProjectile) {\n projectileAttributes = ((IProjectile) item.getItem()).getProjectileAttributeModifier(inventoryItem);\n\n if(launcher.getItem() instanceof ILauncher) {\n ((ILauncher) launcher.getItem()).modifyProjectileAttributes(projectileAttributes, tinkerProjectile.getLaunchingStack(), tinkerProjectile.getItemStack(), tinkerProjectile.getPower());\n }\n\n // factor in power\n projectileAttributes.put(SharedMonsterAttributes.ATTACK_DAMAGE.getName(),\n new AttributeModifier(PROJECTILE_POWER_MODIFIER, \"Weapon damage multiplier\", tinkerProjectile.getPower() - 1f, 2));\n\n attacker.getAttributeMap().applyAttributeModifiers(projectileAttributes);\n }\n // deal the damage\n// ToolHelper.attackEntity(item, (ToolCore) item.getItem(), attacker, entityToHit, null);\n// float speed = MathHelper.sqrt(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ);\n\n boolean attack = ToolHelper.attackEntity(item, (ToolCore) item.getItem(), attacker, entityToHit, null);\n// if(attack) {\n//// for(IProjectileTrait trait : tinkerProjectile.getProjectileTraits()) {\n//// trait.afterHit(tinkerProjectile.get, this.world, inventoryItem, attacker, entityToHit, (double) 0.0);\n//// }\n//\n// // if on fire, set the entity on fire, like vanilla arrows\n//// if (this.isBurning() && !(entityToHit instanceof EntityEnderman)) {\n//// entityToHit.setFire(5);\n//// }\n// }\n if(brokenStateDiffers) {\n toggleBroken(inventoryItem);\n }\n\n // remove stats from projectile\n // apply stats from projectile\n if(item.getItem() instanceof IProjectile) {\n assert projectileAttributes != null;\n attacker.getAttributeMap().removeAttributeModifiers(projectileAttributes);\n }\n\n // readd stats from held items\n equip(attacker, EntityEquipmentSlot.MAINHAND);\n equip(attacker, EntityEquipmentSlot.OFFHAND);\n }\n }else {\n System.out.println(\"something failed with attacking.\");\n }\n }", "private Point3 _getIntersection(Point3 eye, Point3 direction) {\n int size = NORMALS.length;\n float tresult;\n Point4 norm; // normal of face hit\n Plane plane; // plane equation\n float tnear, tfar, t, vn, vd;\n int front = 0, back = 0; // front/back face # hit\n\n tnear = -1.0e+20f; // -HUGE_VAL\n tfar = +1.0e+20f; // tmax\n for (int i = 0; i < size; i++) {\n\n plane = _planes[i];\n\n vd = plane.dot(direction);\n vn = plane.distance(eye);\n if (vd == 0.0f) {\n // ray is parallel to plane -\n // check if ray origin is inside plane's\n // half-space\n if (vn < 0.0f) {\n return null;\n }\n\n } else {\n // ray not parallel - get distance to plane\n t = -vn / vd;\n if (vd > 0.0f) {\n\n if (t > tfar) {\n return null;\n }\n if (t > tnear) {\n // hit near face, update normal\n front = i;\n tnear = t;\n }\n } else {\n // back face - T is a far point\n\n if (t < tnear) {\n return null;\n }\n if (t < tfar) {\n // hit far face, update normal\n\n back = i;\n tfar = t;\n }\n }\n }\n }\n // survived all tests\n // Note: if ray originates on polyhedron,\n // may want to change 0.0 to some\n // epsilon to avoid intersecting the originating face.\n //\n if (tnear >= 0.0f) {\n // outside, hitting front face\n norm = _planes[front]._normal;\n tresult = tnear;\n return Point3.addition(eye, direction.scaled(tresult));\n } else {\n if (tfar < 1.0e+20f) {\n // inside, hitting back face\n norm = _planes[back]._normal;\n tresult = tfar;\n return Point3.addition(eye, direction.scaled(tresult));\n } else {\n // inside, but back face beyond tmax//\n return null;\n }\n }\n }", "public Hit getHit(final Ray r, final TestCounter c) {\n if(box.intersects(r, c) < 0) return new Hit(r, c);\n if(tri != null) return getLevelHit(r, c);\n int firstCheck = 0;\n switch(splitType) {\n case 0:\n firstCheck = r.getDirection().getX() > 0 ? 0 : 1;\n break;\n case 1:\n firstCheck = r.getDirection().getY() > 0 ? 0 : 1;\n break;\n case 2:\n firstCheck = r.getDirection().getZ() > 0 ? 0 : 1;\n break;\n }\n for(int i = 0; i < 2; i++) {\n final int index = (firstCheck + i) % 2;\n if(children[index] == null) {\n continue;\n }\n final Hit hit = children[index].getHit(r, c);\n if(hit.hasHit()) {\n if(crossingTriangles.contains(hit.getTriangle())) {\n final Hit hit2 = children[(index + 1) % 2].getHit(r, c);\n if(hit2.hasHit()) return hit.getDistance() < hit2.getDistance() ? hit : hit2;\n }\n return hit;\n }\n }\n return new Hit(r, c);\n }", "public HitResult a(World paramaqu, BlockPosition paramdt, Vec3 parambrw1, Vec3 parambrw2)\r\n/* 94: */ {\r\n/* 95:120 */ return null;\r\n/* 96: */ }", "public boolean hasLineOfSight ( Entity other ) {\n\t\treturn extract ( handle -> handle.hasLineOfSight ( other ) );\n\t}", "public int getLineOfSight() {\n return (int)applyModifier((float)getType().getVisibleRadius(),\n \"model.modifier.lineOfSightBonus\");\n }", "public boolean shouldExecute() {\n/* 25 */ if (!this.field_190859_a.getLeashed() && !this.field_190859_a.func_190718_dR()) {\n/* */ \n/* 27 */ List<EntityLlama> list = this.field_190859_a.world.getEntitiesWithinAABB(this.field_190859_a.getClass(), this.field_190859_a.getEntityBoundingBox().expand(9.0D, 4.0D, 9.0D));\n/* 28 */ EntityLlama entityllama = null;\n/* 29 */ double d0 = Double.MAX_VALUE;\n/* */ \n/* 31 */ for (EntityLlama entityllama1 : list) {\n/* */ \n/* 33 */ if (entityllama1.func_190718_dR() && !entityllama1.func_190712_dQ()) {\n/* */ \n/* 35 */ double d1 = this.field_190859_a.getDistanceSqToEntity((Entity)entityllama1);\n/* */ \n/* 37 */ if (d1 <= d0) {\n/* */ \n/* 39 */ d0 = d1;\n/* 40 */ entityllama = entityllama1;\n/* */ } \n/* */ } \n/* */ } \n/* */ \n/* 45 */ if (entityllama == null)\n/* */ {\n/* 47 */ for (EntityLlama entityllama2 : list) {\n/* */ \n/* 49 */ if (entityllama2.getLeashed() && !entityllama2.func_190712_dQ()) {\n/* */ \n/* 51 */ double d2 = this.field_190859_a.getDistanceSqToEntity((Entity)entityllama2);\n/* */ \n/* 53 */ if (d2 <= d0) {\n/* */ \n/* 55 */ d0 = d2;\n/* 56 */ entityllama = entityllama2;\n/* */ } \n/* */ } \n/* */ } \n/* */ }\n/* */ \n/* 62 */ if (entityllama == null)\n/* */ {\n/* 64 */ return false;\n/* */ }\n/* 66 */ if (d0 < 4.0D)\n/* */ {\n/* 68 */ return false;\n/* */ }\n/* 70 */ if (!entityllama.getLeashed() && !func_190858_a(entityllama, 1))\n/* */ {\n/* 72 */ return false;\n/* */ }\n/* */ \n/* */ \n/* 76 */ this.field_190859_a.func_190715_a(entityllama);\n/* 77 */ return true;\n/* */ } \n/* */ \n/* */ \n/* */ \n/* 82 */ return false;\n/* */ }", "public T caseCollision(Collision object) {\r\n\t\treturn null;\r\n\t}", "public ObjectHit getHit(Ray ray) {\n\t\t\n\t\tObjectHit nearestHit = new ObjectHit(Hit.MISS, null);\n\t\t\n\t\tfor(int i = 0; i < scene.objects.size(); i++) {\n\t\t\tWorldObject object = scene.objects.get(i);\n\t\t\t\n\t\t\tObjectHit hit = new ObjectHit(object.intersect(ray), object.material);\n\t\t\t\n\t\t\tif(hit.hit && hit.distance < nearestHit.distance) {\n\t\t\t\tnearestHit = hit;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn nearestHit;\n\t\t\n\t}", "private Point3D findHitPoint(Ray3D ray) {\n // We plug paramaterization of x, y, z for ray into our general quartic equation\n // to get standard form: At^2 + Bt + C = 0, then use the quadratic equation to solve for t.\n // The coefficients A, B, and C are quite ugly, and the derivation is described in the linked\n // resource\n Point3D P = ray.getPoint(); // Ray starting point\n Point3D D = ray.getDirection(); // Ray direction\n // First coefficient of quadratic equation of t\n double A = a * sq(D.getX()) + b * sq(D.getY()) + c * sq(D.getZ())\n + d * D.getY() * D.getZ() + e * D.getX() * D.getZ() + f * D.getX() * D.getY();\n // Second coefficient of quadratic equation of t\n double B = 2 * (a * P.getX() * D.getX() + b * P.getY() * D.getY() + c * P.getZ() * D.getZ())\n + d * (P.getY() * D.getZ() + P.getZ() * D.getY())\n + e * (P.getX() * D.getZ() + P.getZ() * D.getX())\n + f * (P.getX() * D.getY() + P.getY() * D.getX())\n + g * D.getX() + h * D.getY() + i * D.getZ();\n // Third coefficient of quadratic equation of t\n double C = a * sq(P.getX()) + b * sq(P.getY()) + c * sq(P.getZ()) + d * P.getY() * P.getZ()\n + e * P.getX() * P.getZ() + f * P.getX() * P.getY() + g * P.getX() + h * P.getY() + i * P.getZ() + j;\n\n double discriminant = sq(B) - 4 * A * C;\n\n // Find intersection Point\n Point3D intersection = null;\n if (discriminant >= 0) {\n double t1 = (-B - Math.sqrt(discriminant)) / (2 * A);\n double t2 = (-B + Math.sqrt(discriminant)) / (2 * A);\n Point3D p1 = ray.atTime(t1);\n Point3D p2 = ray.atTime(t2);\n if (t1 > 0 && t2 > 0 && isWithinBounds(p1) && isWithinBounds(p2)) {\n intersection = t1 <= t2 ? p1 : p2;\n } else if (t1 > 0 && isWithinBounds(p1)) {\n intersection = p1;\n } else if (t2 > 0 && isWithinBounds(p2)) {\n intersection = p2;\n }\n }\n return intersection;\n }", "public boolean hitOrStand(){\r\n\t\treturn hitOrStand;\r\n\t}", "public org.bukkit.util.RayTraceResult rayTraceBlocks ( double maxDistance ) {\n\t\treturn extract ( handle -> handle.rayTraceBlocks ( maxDistance ) );\n\t}", "@Override\n public RayHit rayIntersectObj(Ray3D ray) {\n // Next check if ray hits this quadric\n Point3D hitPoint = findHitPoint(ray);\n if (hitPoint == null || !isWithinBounds(hitPoint)) {\n return RayHit.NO_HIT;\n }\n double distance = hitPoint.subtract(ray.getPoint()).length();\n Point3D normal = findNormalAtPoint(hitPoint);\n return new RayHit(hitPoint, distance, normal, this, new TextureCoordinate(0, 0));\n }", "public abstract void collideWith(Entity entity);", "public Entity getShoulderEntityRight ( ) {\n\t\treturn extract ( handle -> handle.getShoulderEntityRight ( ) );\n\t}", "@Override\n\tpublic int getDamageVsEntity(Entity e){\n\t\treturn 0;\n\t}", "public Throwable cause()\r\n/* 88: */ {\r\n/* 89:124 */ Object result = this.result;\r\n/* 90:125 */ if ((result instanceof CauseHolder)) {\r\n/* 91:126 */ return ((CauseHolder)result).cause;\r\n/* 92: */ }\r\n/* 93:128 */ return null;\r\n/* 94: */ }", "@Override\n protected void doCheckEffect ()\n {\n List<LivingEntity> entities = getLivingEntities(1.5);\n if (entities.size() > 0)\n {\n for (LivingEntity entity : entities)\n {\n if (entity.getUniqueId() == player.getUniqueId())\n continue;\n\n entity.damage(usesModifier * 2, player);\n\n kill();\n return;\n }\n }\n\n // if the spell has hit a solid block, the projectile is stopped and wont go further so kill the spell\n if (hasHitTarget())\n kill();\n }", "@Override\n\tpublic void intersect(Ray ray, IntersectResult result) {\n\t\t\t\tdouble tmin,tmax;\n\t\t\t\tdouble xmin, xmax, ymin, ymax, zmin, zmax;\n\t\t\t\t//find which face to cross\n\n\t\t\t\tif(ray.viewDirection.x>0){\n\t\t\t\t\txmin=(min.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t\txmax=(max.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t}else{\n\t\t\t\t\txmin=(max.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t\txmax=(min.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t}\n\t\t\t\tif(ray.viewDirection.y>0){\n\t\t\t\t\tymin=(min.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t\tymax=(max.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t}else{\n\t\t\t\t\tymin=(max.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t\tymax=(min.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t}\n\t\t\t\tif(ray.viewDirection.z>0){\n\t\t\t\t\tzmin=(min.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t\tzmax=(max.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t}else{\n\t\t\t\t\tzmin=(max.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t\tzmax=(min.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttmin=Double.max(xmin, ymin);\n\t\t\t\ttmin=Double.max(tmin, zmin);\n\t\t\t\ttmax=Double.min(xmax, ymax);\n\t\t\t\ttmax=Double.min(tmax, zmax);\n\t\t\t\t\n\t\t\t\t \n\t\t\t\tif(tmin<tmax && tmin>0){\n\t\t\t\t\t\n\t\t\t\t\tresult.material=material;\n\t\t\t\t\tresult.t=tmin;\n\t\t\t\t\tPoint3d p=new Point3d(ray.viewDirection);\n\t\t\t\t\tp.scale(tmin);\n\t\t\t\t\tp.add(ray.eyePoint);\n\t\t\t\t\tresult.p=p;\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfinal double epsilon=1e-9;\n\t\t\t\t\t// find face and set the normal\n\t\t\t\t\tif(Math.abs(p.x-min.x)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(-1,0,0);\n\t\t\t\t\t}else if(Math.abs(p.x-max.x)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(1,0,0);\n\t\t\t\t\t}else if(Math.abs(p.y-min.y)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,-1,0);\n\t\t\t\t\t}else if(Math.abs(p.y-max.y)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,1,0);\n\t\t\t\t\t}else if(Math.abs(p.z-min.z)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,0,-1);\n\t\t\t\t\t}else if(Math.abs(p.z-max.z)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,0,1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t}", "public void applyEntityCollision(Entity entityIn) {\n }", "public Velocity hit(Ball hitter, Point collisionPoint, Velocity currentVelocity) {\n // Checking a collision with the corners.\n if (collisionPoint.equals(this.rectangle.getDownerLeft())\n || collisionPoint.equals(this.rectangle.getDownerRight())\n || collisionPoint.equals(this.rectangle.getUpperLeft())\n || collisionPoint.equals(this.rectangle.getUpperRight())) {\n this.notifyCounter();\n this.notifyHit(hitter);\n return new Velocity(currentVelocity.getDx() * -1, currentVelocity.getDy() * -1);\n }\n // checking collisions with the block's edges.\n if (this.rectangle.getDownerEdge().isOnLine(collisionPoint)) {\n this.notifyCounter();\n this.notifyHit(hitter);\n return new Velocity(currentVelocity.getDx(), currentVelocity.getDy() * -1);\n }\n if (this.rectangle.getLeftEdge().isOnLine(collisionPoint)) {\n this.notifyCounter();\n this.notifyHit(hitter);\n return new Velocity(currentVelocity.getDx() * -1, currentVelocity.getDy());\n }\n if (this.rectangle.getUpperEdge().isOnLine(collisionPoint)) {\n this.notifyCounter();\n this.notifyHit(hitter);\n return new Velocity(currentVelocity.getDx(), currentVelocity.getDy() * -1);\n }\n if (this.rectangle.getRightEdge().isOnLine(collisionPoint)) {\n this.notifyCounter();\n this.notifyHit(hitter);\n return new Velocity(currentVelocity.getDx() * -1, currentVelocity.getDy());\n }\n return currentVelocity; // default.\n }", "public Entity getShoulderEntityLeft ( ) {\n\t\treturn extract ( handle -> handle.getShoulderEntityLeft ( ) );\n\t}", "public void raycast(VrState state);", "boolean checkLineOfSight(Entity a, Entity b, ServerGameModel model) {\n // Get x and y coordinate of both entities.\n double ax = a.getX();\n double ay = a.getY();\n double bx = b.getX();\n double by = b.getY();\n\n // Find how far in each component the two entities are.\n double dy = Math.abs(by - ay);\n double dx = Math.abs(bx - ax);\n\n int x = (int) Math.floor(a.getX());\n int y = (int) Math.floor(a.getY());\n\n // Number of grid cells to check.\n int n = 0;\n\n // How much to increment x, y after each grid cell check. Should be -1, 0, or 1.\n int xinc, yinc;\n double error;\n\n if (dx == 0) {\n xinc = 0;\n error = Double.POSITIVE_INFINITY;\n } else if (bx > ax) {\n xinc = 1;\n n += (int) Math.floor(bx) - x;\n error = (Math.floor(ax) + 1 - ax) * dy;\n } else {\n xinc = -1;\n n += x - (int) Math.floor(bx);\n error = (ax - Math.floor(ax)) * dy;\n }\n\n if (dy == 0) {\n yinc = 0;\n error -= Double.POSITIVE_INFINITY;\n } else if (by > ay) {\n yinc = 1;\n n += (int) Math.floor(by) - y;\n error -= (Math.floor(ay) + 1 - ay) * dx;\n } else {\n yinc = -1;\n n += y - (int) Math.floor(by);\n error -= (ay - Math.floor(ay)) * dx;\n }\n\n while (true) {\n\n // Check if cell x, y has a wall.\n if (!a.containedIn.contains(model.getCell(x, y)) && !model.getCell(x, y).isSeeThrough())\n return false;\n\n if (--n == 0)\n break;\n\n if (error > 0) {\n y += yinc;\n error -= dx;\n } else if (error < 0) {\n x += xinc;\n error += dy;\n } else {\n // Error = 0 case. Intersects the corner of a grid cell. Need to check\n // all of the 3 other corners.\n // May need to check this case.\n if (!model.getCell(x - 1, y - 1).isPassable() || !model.getCell(x - 1, y).isPassable() ||\n !model.getCell(x, y - 1).isPassable())\n return false;\n x += xinc;\n y += yinc;\n error += (dy - dx);\n n--;\n }\n\n }\n return true;\n }", "POGOProtos.Rpc.VsSeekerRewardTrack getRewardTrack();", "public HitRecord hit(Ray ray, float tmin, float tmax) {\n Vector3f origin = ray.getOrigin();\n Vector3f direction = ray.getDirection();\n\t\tVector3f temp = new Vector3f(origin.x - center.x, origin.y - center.y, origin.z - center.z);\n //Calculate quadratic variables (a*t^2 + b*t + t = r^2)\n float a = direction.dot(direction);\n float b = 2.0f * temp.dot(direction);\n float c = temp.dot(temp) - radius * radius;\n float discriminant = (float) (b * b - 4 * a * c);\n\t\tif (discriminant <= 0.f) {\n return null;\n }\n\t\tdouble t = ((b * -1) - Math.sqrt(discriminant)) / (2 * a);\n\t\tif (t < tmin)\n t = ((b * -1) + Math.sqrt(discriminant)) / (2 * a);\n /* if t out of range, return null */\n if (t < tmin || t > tmax)\t\n return null;\n\t\t/* construct hit record */\n\t\tHitRecord rec = new HitRecord();\n\t\trec.pos = ray.pointAt((float) t);\t\t// position of hit point\n\t\trec.t = (float) t;\t\t\t\t\t\t// parameter t (distance along the ray)\n\t\trec.material = material;\t\t// material\n\t\trec.normal = new Vector3f(origin.x + (float) (t * direction.x) - center.x, origin.y + (float) (t * direction.y) - center.y, origin.z + (float) (t * direction.z) - center.z);\n rec.normal.normalize();\t\t\t// normal should be normalized\n\t\treturn rec;\n\t}", "@Override\n\tpublic HTResult HitTest(Vector3 c, Vector3 l) {\n\n\t\treturn HTResult.Miss;\n\n\t}", "public Color ray_trace(Ray ray) {\r\n int index = -1;\r\n float t = Float.MAX_VALUE;\r\n \r\n for(int i = 0; i < spheres.size(); i++) {\r\n float xd, yd, zd, xo, yo, zo, xc, yc, zc, rc, A, B, C, disc, t0, t1;\r\n \r\n xd = ray.getDirection().getX();\r\n yd = ray.getDirection().getY();\r\n zd = ray.getDirection().getZ();\r\n xo = ray.getOrigin().getX();\r\n yo = ray.getOrigin().getY();\r\n zo = ray.getOrigin().getZ();\r\n xc = spheres.get(i).getCenter().getX();\r\n yc = spheres.get(i).getCenter().getY();\r\n zc = spheres.get(i).getCenter().getZ();\r\n rc = spheres.get(i).getRadius();\r\n \r\n A = xd*xd + yd*yd + zd*zd;\r\n B = 2*(xd*(xo-xc) + yd*(yo-yc) + zd*(zo-zc));\r\n C = (xo-xc)*(xo-xc) + (yo-yc)*(yo-yc) + (zo-zc)*(zo-zc) - rc*rc;\r\n \r\n disc = B*B - (4*A*C);\r\n \r\n if(disc < 0) {\r\n continue;\r\n }\r\n\r\n if(disc == 0) {\r\n t0 = -B/(2*A);\r\n if(t0 < t && t0 > 0) {\r\n t=t0;\r\n index = i;\r\n }\r\n } else {\r\n t0 = (-B + (float) Math.sqrt(disc))/(2*A);\r\n t1 = (-B - (float) Math.sqrt(disc))/(2*A);\r\n\r\n if( t0 > t1) {\r\n float flip = t0;\r\n t0 = t1;\r\n t1 = flip;\r\n }\r\n\r\n if(t1 < 0) {\r\n continue;\r\n }\r\n\r\n if(t0 < 0 && t1 < t) {\r\n t = t1;\r\n index = i;\r\n } else if(t0 > 0 && t0 < t) {\r\n t = t0;\r\n index = i;\r\n }\r\n }\r\n }// end of for loop\r\n if(index < 0) {\r\n return background;\r\n } else {\r\n Point intersect = (ray.getDirection().const_mult(t)).point_add(window.getEye());\r\n return shade_ray(index, intersect);\r\n } \r\n }", "public static Direction shouldBackOff () {\n RobotInfo[] nearby = rc.senseNearbyRobots();\n boolean nearbyEc = false;\n for (RobotInfo ri: nearby) {\n if (ri.team != mTeam && ri.type == RobotType.ENLIGHTENMENT_CENTER) {\n nearbyEc = true;\n break;\n }\n }\n if (!nearbyEc) {\n return null;\n }\n MapLocation sum = rc.getLocation(), curr = sum;\n for (RobotInfo ri: nearby) {\n if (ri.type == RobotType.POLITICIAN && ri.getConviction() > rc.getConviction()) {\n sum = sum.translate(ri.getLocation().x - curr.x, ri.getLocation().y - curr.y);\n }\n }\n if (sum.equals(curr)) {\n return null;\n }\n return sum.directionTo(curr);\n }", "public CollisionInfo getClosestCollision(Line trajectory) {\n Collidable tempCollidable = null;\n Point p;\n Point temp = null;\n boolean first = true;\n for (Collidable c : collidables) {\n p = trajectory.closestIntersectionToStartOfLine(c.getCollisionRectangle());\n if (first && p != null) {\n temp = p;\n first = false;\n tempCollidable = c;\n }\n if (!first && p != null && p.distance(trajectory.start()) < temp.distance(trajectory.start())) {\n temp = p;\n tempCollidable = c;\n }\n }\n if (temp != null) {\n return new CollisionInfo(temp , tempCollidable);\n } else {\n return null;\n }\n }", "void checkCollision(Entity other);", "private EntityLivingBase findPlayerToAttack() {\n EntityPlayer player = entity.worldObj.getClosestVulnerablePlayerToEntity(entity, aggroRange);\n if ( player != null && !player.capabilities.isCreativeMode && entity.canEntityBeSeen(player) )\n \treturn player;\n\n EntityLivingBase target = entity.getLastAttacker();\n if ( isTargetValid(target) && entity.canEntityBeSeen(target) )\n \treturn target;\n\n \treturn null;\n }", "public IEntity getLeashedEntity() {\n return getEntity(source.getLeashedEntity());\n }", "@Override\n\tpublic void act(long now) {\n\n\t\tcheckIsFrogAtTheEdge();\n\t\t\tif (getIntersectingObjects(Car.class).size() >= 1 ||\n\t\t\t\tgetIntersectingObjects(Truck.class).size() >= 1 ||\n\t\t\t\tgetIntersectingObjects(LongTruck.class).size() >= 1)\n\t\t\t\t{\n\t\t\t\t\tintersectCar = true;\n\t\t\t\t}\n\n\t\t\telse if (getIntersectingObjects(Log.class).size() >= 1 && !death) {\n\t\t\t\tmove(frogSpeed.ObjSpeed(frogLevel, 6), 0);\n\t\t\t}\n\n\t\t\telse if (getIntersectingObjects(LongLog.class).size() >= 1 && !death) {\n\n\t\t\t\tmove(frogSpeed.ObjSpeed(frogLevel, 8), 0);\n\t\t\t}\n\n\t\t\telse if (getIntersectingObjects(Turtle.class).size() >= 1) {\n\t\t\t\tmove(frogSpeed.ObjSpeed(frogLevel, 7), 0);\n\t\t\t}\n\t\t\telse if (getIntersectingObjects(WetTurtle.class).size() >= 1){\n\t\t\t\tif (getIntersectingObjects(WetTurtle.class).get(0).isSunk()) {\n\t\t\t\t\tintersectWater = true;\n\t\t\t\t} else {\n\t\t\t\t\tmove(frogSpeed.ObjSpeed(frogLevel, 7), 0);\n\t\t\t\t}\n\t\t\t}\n\t\t\t else if (getIntersectingObjects(End.class).size() >= 1) {\n\n\t\t\t\t\tIntersectEnd();\n\t\t\t\t}\n\n\t\t\telse if (getY() < waterPositionY) {\n\t\t\t\tintersectWater = true;\n\t\t\t}\n\t\t\tgetlives();\n\n\t\t\tCheckIntersect(intersectCar, intersectWater, now);\n\t\t}", "@Override\n\tpublic void onUpdate()\n\t{\n\t\tthis.lastTickPosX = this.posX;\n\t\tthis.lastTickPosY = this.posY;\n\t\tthis.lastTickPosZ = this.posZ;\n\t\tsuper.onUpdate();\n\n\t\tif (this.throwableShake > 0)\n\t\t{\n\t\t\t--this.throwableShake;\n\t\t}\n\n\t\tif (this.inGround)\n\t\t{\n\t\t\tif (this.worldObj.getBlockState(this.getPosition()).getBlock() == this.inTile)\n\t\t\t{\n\t\t\t\t++this.ticksInGround;\n\n\t\t\t\tif (this.ticksInGround == 1200)\n\t\t\t\t{\n\t\t\t\t\tthis.setDead();\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.inGround = false;\n\t\t\tthis.motionX *= this.rand.nextFloat() * 0.2F;\n\t\t\tthis.motionY *= this.rand.nextFloat() * 0.2F;\n\t\t\tthis.motionZ *= this.rand.nextFloat() * 0.2F;\n\t\t\tthis.ticksInGround = 0;\n\t\t\tthis.ticksInAir = 0;\n\t\t}\n\t\telse\n\t\t{\n\t\t\t++this.ticksInAir;\n\t\t}\n\n\t\tVec3 vec3 = new Vec3(this.posX, this.posY, this.posZ);\n\t\tVec3 vec31 = new Vec3(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);\n\t\tMovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks(vec3, vec31);\n\t\tvec3 = new Vec3(this.posX, this.posY, this.posZ);\n\t\tvec31 = new Vec3(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);\n\n\t\tif (movingobjectposition != null)\n\t\t{\n\t\t\tvec31 = new Vec3(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord);\n\t\t}\n\n\t\tif (!this.worldObj.isRemote)\n\t\t{\n\t\t\tEntity entity = null;\n\t\t\tList list = this.worldObj.getEntitiesWithinAABBExcludingEntity(this,\n\t\t\t\t\tthis.getEntityBoundingBox().addCoord(this.motionX, this.motionY, this.motionZ).expand(1.0D, 1.0D, 1.0D));\n\t\t\tdouble d0 = 0.0D;\n\t\t\tEntityLivingBase entitylivingbase = this.getThrower();\n\n\t\t\tfor (Object obj : list)\n\t\t\t{\n\t\t\t\tEntity entity1 = (Entity) obj;\n\n\t\t\t\tif (entity1.canBeCollidedWith() && ((entity1 != entitylivingbase) || (this.ticksInAir >= 5)))\n\t\t\t\t{\n\t\t\t\t\tfloat f = 0.3F;\n\t\t\t\t\tAxisAlignedBB axisalignedbb = entity1.getEntityBoundingBox().expand(f, f, f);\n\t\t\t\t\tMovingObjectPosition movingobjectposition1 = axisalignedbb.calculateIntercept(vec3, vec31);\n\n\t\t\t\t\tif (movingobjectposition1 != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tdouble d1 = vec3.distanceTo(movingobjectposition1.hitVec);\n\n\t\t\t\t\t\tif ((d1 < d0) || (d0 == 0.0D))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tentity = entity1;\n\t\t\t\t\t\t\td0 = d1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (entity != null)\n\t\t\t{\n\t\t\t\tmovingobjectposition = new MovingObjectPosition(entity);\n\t\t\t}\n\t\t}\n\n\t\tif (movingobjectposition != null)\n\t\t{\n\t\t\tif ((movingobjectposition.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK)\n\t\t\t\t\t&& (this.worldObj.getBlockState(movingobjectposition.getBlockPos()).getBlock() == Blocks.portal))\n\t\t\t{\n\t\t\t\tthis.inPortal = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tthis.onImpact(movingobjectposition);\n\t\t\t}\n\t\t}\n\n\t\tthis.posX += this.motionX;\n\t\tthis.posY += this.motionY;\n\t\tthis.posZ += this.motionZ;\n\t\tfloat f1 = MathHelper.sqrt_double((this.motionX * this.motionX) + (this.motionZ * this.motionZ));\n\t\tthis.rotationYaw = (float) ((Math.atan2(this.motionX, this.motionZ) * 180.0D) / Math.PI);\n\n\t\tfor (this.rotationPitch = (float) ((Math.atan2(this.motionY, f1) * 180.0D) / Math.PI); (this.rotationPitch\n\t\t\t\t- this.prevRotationPitch) < -180.0F; this.prevRotationPitch -= 360.0F)\n\t\t{\n\t\t}\n\n\t\twhile ((this.rotationPitch - this.prevRotationPitch) >= 180.0F)\n\t\t{\n\t\t\tthis.prevRotationPitch += 360.0F;\n\t\t}\n\n\t\twhile ((this.rotationYaw - this.prevRotationYaw) < -180.0F)\n\t\t{\n\t\t\tthis.prevRotationYaw -= 360.0F;\n\t\t}\n\n\t\twhile ((this.rotationYaw - this.prevRotationYaw) >= 180.0F)\n\t\t{\n\t\t\tthis.prevRotationYaw += 360.0F;\n\t\t}\n\n\t\tthis.rotationPitch = this.prevRotationPitch + ((this.rotationPitch - this.prevRotationPitch) * 0.2F);\n\t\tthis.rotationYaw = this.prevRotationYaw + ((this.rotationYaw - this.prevRotationYaw) * 0.2F);\n\t\tfloat f2 = 0.99F;\n\t\tfloat f3 = this.getGravityVelocity();\n\n\t\tif (this.isInWater())\n\t\t{\n\t\t\tfor (int i = 0; i < 4; ++i)\n\t\t\t{\n\t\t\t\tfloat f4 = 0.25F;\n\t\t\t\tthis.worldObj.spawnParticle(EnumParticleTypes.WATER_BUBBLE, this.posX - (this.motionX * f4), this.posY - (this.motionY * f4),\n\t\t\t\t\t\tthis.posZ - (this.motionZ * f4), this.motionX, this.motionY, this.motionZ);\n\t\t\t}\n\n\t\t\tf2 = 0.8F;\n\t\t}\n\n\t\tthis.motionX *= f2;\n\t\tthis.motionY *= f2;\n\t\tthis.motionZ *= f2;\n\t\tthis.motionY -= f3;\n\t\tthis.setPosition(this.posX, this.posY, this.posZ);\n\t}", "public void onUpdate()\n {\n super.onUpdate();\n this.jumpMovementFactor = 0.0F;\n this.renderYawOffset = this.rotationPitch = this.rotationYaw = 0.0F;\n\n if (this.target != null && this.target instanceof EntityLiving)\n {\n EntityLiving var1 = (EntityLiving) this.target;\n\n if (var1.getHealth() <= 0 || !this.canEntityBeSeen(var1))\n {\n this.target = null;\n this.stop();\n this.moveTimer = 0;\n return;\n }\n } else\n {\n if (this.target != null && this.target.isDead)\n {\n this.target = null;\n this.stop();\n this.moveTimer = 0;\n return;\n }\n\n if (this.target == null)\n {\n this.target = this.worldObj.getClosestPlayerToEntity(this, -1.0D);\n\n if (this.target == null)\n {\n this.target = null;\n this.stop();\n this.moveTimer = 0;\n\n if (!this.worldObj.isRemote)\n {\n this.setDead();\n }\n\n return;\n }\n }\n }\n\n if (this.posX == (double) this.getOrgX() && this.posY == (double) this.getOrgY() && this.posZ == (double) this.getOrgZ())\n {\n if (!this.isReformed())\n {\n this.setReformed(true);\n }\n\n this.stop();\n this.moveTimer = 0;\n }\n\n if (this.slider == null)\n {\n Vec3 var16 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ);\n Vec3 var2 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);\n MovingObjectPosition var18 = this.worldObj.rayTraceBlocks(var16, var2);\n var16 = Vec3.createVectorHelper(this.posX, this.posY, this.posZ);\n var2 = Vec3.createVectorHelper(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);\n\n if (var18 != null)\n {\n var2 = Vec3.createVectorHelper(var18.hitVec.xCoord, var18.hitVec.yCoord, var18.hitVec.zCoord);\n }\n\n if (!this.worldObj.isRemote)\n {\n Object var4 = null;\n List var15 = this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.boundingBox.addCoord(this.motionX, this.motionY, this.motionZ).expand(4.0D, 4.0D, 4.0D));\n double var6 = 0.0D;\n\n for (int var8 = 0; var8 < var15.size(); ++var8)\n {\n Entity var9 = (Entity) var15.get(var8);\n\n if (var9.canBeCollidedWith() && var9 != this)\n {\n float var10 = 0.3F;\n\n if (var9 instanceof EntitySlider)\n {\n this.slider = (EntitySlider) var9;\n var18 = null;\n }\n\n AxisAlignedBB var11 = var9.boundingBox.expand((double) var10, (double) var10, (double) var10);\n MovingObjectPosition var12 = var11.calculateIntercept(var16, var2);\n\n if (var12 != null)\n {\n double var13 = var16.distanceTo(var12.hitVec);\n\n if (var13 < var6 || var6 == 0.0D)\n {\n var6 = var13;\n }\n }\n }\n }\n }\n\n if (this.slider == null || this.slider.isDead)\n {\n this.target = null;\n this.stop();\n this.moveTimer = 0;\n\n if (!this.worldObj.isRemote)\n {\n this.setDead();\n }\n }\n } else if (this.slider.target != this.target)\n {\n this.target = null;\n this.stop();\n this.moveTimer = 0;\n\n if (!this.worldObj.isRemote)\n {\n this.setDead();\n }\n } else\n {\n this.fallDistance = 0.0F;\n double var17;\n double var5;\n double var3;\n\n if (this.gotMovement)\n {\n if (this.isCollided)\n {\n var17 = this.posX - 0.5D;\n var3 = this.boundingBox.minY + 0.75D;\n var5 = this.posZ - 0.5D;\n\n if (this.crushed)\n {\n this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, \"random.explode\", 3.0F, (0.625F + (this.worldObj.rand.nextFloat() - this.worldObj.rand.nextFloat()) * 0.2F) * 0.7F);\n this.worldObj.playSoundAtEntity(this, \"aeboss.slider.collide\", 2.5F, 1.0F / (this.rand.nextFloat() * 0.2F + 0.9F));\n }\n\n this.stop();\n } else\n {\n if (this.speedy < 2.0F)\n {\n this.speedy += 0.035F;\n }\n\n this.motionX = 0.0D;\n this.motionY = 0.0D;\n this.motionZ = 0.0D;\n\n if (this.direction == 0)\n {\n this.motionY = (double) this.speedy;\n\n if (this.boundingBox.minY > (this.reform ? (double) this.getOrgY() : this.target.boundingBox.minY + 0.35D))\n {\n this.stop();\n this.moveTimer = 8;\n }\n } else if (this.direction == 1)\n {\n this.motionY = (double) (-this.speedy);\n\n if (this.boundingBox.minY < (this.reform ? (double) this.getOrgY() : this.target.boundingBox.minY - 0.25D))\n {\n this.stop();\n this.moveTimer = 8;\n }\n } else if (this.direction == 2)\n {\n this.motionX = (double) this.speedy;\n\n if (this.posX > (this.reform ? (double) this.getOrgX() - 1.0D : this.target.posX + 0.125D))\n {\n this.stop();\n this.moveTimer = 8;\n }\n } else if (this.direction == 3)\n {\n this.motionX = (double) (-this.speedy);\n\n if (this.posX < (this.reform ? (double) this.getOrgX() - 1.0D : this.target.posX - 0.125D))\n {\n this.stop();\n this.moveTimer = 8;\n }\n } else if (this.direction == 4)\n {\n this.motionZ = (double) this.speedy;\n\n if (this.posZ > (this.reform ? (double) this.getOrgZ() - 1.0D : this.target.posZ + 0.125D))\n {\n this.stop();\n this.moveTimer = 8;\n }\n } else if (this.direction == 5)\n {\n this.motionZ = (double) (-this.speedy);\n\n if (this.posZ < (this.reform ? (double) this.getOrgZ() - 1.0D : this.target.posZ - 0.125D))\n {\n this.stop();\n this.moveTimer = 8;\n }\n }\n }\n } else\n {\n this.motionY = 0.0D;\n\n if (this.moveTimer > 0)\n {\n --this.moveTimer;\n this.motionX = 0.0D;\n this.motionY = 0.0D;\n this.motionZ = 0.0D;\n } else\n {\n var17 = Math.abs(this.posX - (this.reform ? (double) this.getOrgX() : this.target.posX));\n var3 = Math.abs(this.boundingBox.minY - (this.reform ? (double) this.getOrgY() : this.target.boundingBox.minY));\n var5 = Math.abs(this.posZ - (this.reform ? (double) this.getOrgZ() : this.target.posZ));\n\n if (var17 > var5)\n {\n this.direction = 2;\n\n if (this.posX > (this.reform ? (double) this.getOrgX() - 1.0D : this.target.posX))\n {\n this.direction = 3;\n }\n } else\n {\n this.direction = 4;\n\n if (this.posZ > (this.reform ? (double) this.getOrgZ() - 1.0D : this.target.posZ))\n {\n this.direction = 5;\n }\n }\n\n if (var3 > var17 && var3 > var5 || var3 > 0.25D && this.rand.nextInt(5) == 0)\n {\n this.direction = 0;\n\n if (this.posY > (this.reform ? (double) this.getOrgY() : this.target.posY))\n {\n this.direction = 1;\n }\n }\n\n this.gotMovement = true;\n }\n }\n\n if (this.harvey > 0.01F)\n {\n this.harvey *= 0.8F;\n }\n }\n }", "CollisionRule getCollisionRule();", "private Color calcLocalEffects(GeoPoint intersection, Ray ray,double k) \r\n\t{\r\n\t\tVector v = ray.getDir();// ray direction\r\n\t\tVector n = intersection.geometry.get_Normal(intersection.point);\r\n\t\tdouble nv = Util.alignZero(n.dotProduct(v));\r\n\t\tif (Util.isZero(nv))// there is no diffusive and Specular\r\n\t\t\treturn Color.BLACK;\r\n\t\tint nShininess = intersection.geometry.getMaterial().nShininess;\r\n\t\tdouble kd = intersection.geometry.getMaterial().kD;\r\n\t\tdouble ks = intersection.geometry.getMaterial().kS;\r\n\t\tColor color = Color.BLACK;\r\n\t\tfor (LightSource lightSource : scene.lights) {\r\n\t\t\tVector l = lightSource.getL(intersection.point);\r\n\t\t\tdouble nl = Util.alignZero(n.dotProduct(l));\r\n\t\t\tif (nl * nv > 0) { // sign(nl) == sing(nv)\r\n\t\t\t\tdouble ktr = transparency( l, n, intersection,lightSource);\r\n\t\t\t\tif (ktr * k > MIN_CALC_COLOR_K) {\r\n\t\t\t\t\tColor lightIntensity = lightSource.getIntensity(intersection.point).scale(ktr);\r\n\t\t\t\t\tcolor = color.add(calcDiffusive(kd, nl, lightIntensity),\r\n\t\t\t\t\t\t\tcalcSpecular(ks, l, n, nl, v, nShininess, lightIntensity));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn color;\r\n\t}", "public T caseReactionEffect(ReactionEffect object) {\r\n\t\treturn null;\r\n\t}", "private GeoPoint findClosestIntersection(Ray ray)\r\n\t{\r\n\r\n\t\tif (ray == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\tList<GeoPoint> intersections = scene.geometries.findGeoIntersections(ray);\r\n\t\treturn ray.findClosestGeoPoint(intersections);\r\n\t}", "int hit();", "public Color4f getColor(Ray ray, IntersectResult result) {\n \tColor4f c = new Color4f();\n \tif(result.t == Double.POSITIVE_INFINITY) {\n \t\tc.x = render.bgcolor.x;\n \t\tc.y = render.bgcolor.y;\n \t\tc.z = render.bgcolor.z;\n \t\treturn c;\n \t}\n \t\n \t//Ambient color\n \tc.x = ambient.x * result.material.diffuse.x;\n \tc.y = ambient.y * result.material.diffuse.y;\n \tc.z = ambient.z * result.material.diffuse.z;\n \t\n \t//multi light resources contribute to result point\n \tfor(Light light: lights.values()) {\n \t\tRay shadowRay = new Ray();\n \t\tIntersectResult shadowResult = new IntersectResult();\n \t\t\n \t\tint rowNum = 5;\n \t\tint columnNum = 5; //the light plane is separated to rowNum*columnNum sub plane.\n \t\tColor4f lightAccumColor = new Color4f();\n \t\tfor(int i = 0; i < rowNum; i++) {\n \t\tfor(int j = 0; j < columnNum; j++) {\n \t\t\tLight jitterLight = new Light();\n \t\tjitterLight.color.set(light.color);\n \t\tjitterLight.from.set(light.from);\n \t\tjitterLight.power = light.power;\n \t\tVector3d a = new Vector3d(2, 2, 0);\n \t\tVector3d b = new Vector3d(0, 2, 2);\n \t\ta.scale((double)i/(double)rowNum); //delta\n \t\tb.scale((double)j/(double)columnNum);\n \t\t//jitterLight.from = light.from + epsilon1*a + epsilon2*b\n \t\tjitterLight.from.x = jitterLight.from.x+a.x+b.x;\n \t\tjitterLight.from.y = jitterLight.from.y+a.y+b.y;\n \t\tjitterLight.from.z = jitterLight.from.z+a.z+b.z;\n \t\t\n \t\t\n \t\tif(!inShadow(result, surfaceList, jitterLight, shadowResult, shadowRay)) {\n \t \t\t//Lambertian shader\n \t \t\tColor3f ld = new Color3f();\n \t \t\tVector3d l = new Vector3d();\n \t \t\t\n \t \t\t//Area light according to FCG p340\n \t \t\tl.sub(jitterLight.from, result.p);\n \t \t\tl.normalize();\n \t \t\tdouble max = Math.max(0.0, l.dot(result.n));\n \t \t\tld.x = (float)(light.color.x * light.power * result.material.diffuse.x * max);\n \t \t\tld.y = (float)(light.color.y * light.power * result.material.diffuse.y * max);\n \t \t\tld.z = (float)(light.color.z * light.power * result.material.diffuse.z * max);\n \t \t\t\n \t \t\t//Blinn-Phone shader\n \t \t\tColor3f ls = new Color3f();\n \t \t\tVector3d h = new Vector3d();\n \t \t\tVector3d v = new Vector3d();\n \t \t\tv.sub(ray.eyePoint, result.p);\n \t \t\tv.normalize();\n \t \t\th.add(l, v);\n \t \t\th.normalize();\n \t \t\tmax = Math.max(0.0, h.dot(result.n));\n \t \t\tls.x = (float)( light.color.x * light.power * result.material.specular.x * Math.pow(max, result.material.shinyness));\n \t \t\tls.y = (float)( light.color.y * light.power * result.material.specular.y * Math.pow(max, result.material.shinyness));\n \t \t\tls.z = (float)( light.color.z * light.power * result.material.specular.z * Math.pow(max, result.material.shinyness));\n \t \t\t\n \t \t\t//update c\n \t \t\tlightAccumColor.x += ld.x+ls.x;\n \t \t\tlightAccumColor.y += ld.y+ls.y;\n \t \t\tlightAccumColor.z += ld.z+ls.z;\n \t\t}\n \t\t\n \t\tif(result.material.mirror != null) {\n \t\t\t//Firstly calculate reflection ray\n \t\t\tRay mirrorRay = new Ray();\n \t\t\tIntersectResult mirrorResult = new IntersectResult();\n \t\t\tmirrorRay.eyePoint.set(result.p); //Firstly origin is intersection point\n \t\t\tmirrorRay.viewDirection.set(ray.viewDirection); //initialize to d temply, finally to r = d-2(dn)n textbook 103\n \t\t\t\n \t\t\tVector3d d = new Vector3d();\n \t\t\tVector3d n = new Vector3d();\n \t\t\td.set(ray.viewDirection);\n \t\t\tn.set(result.n);\n \t\t\tn.scale(-2.0*d.dot(n)); // n = -2(dn)n\n \t\t\tmirrorRay.viewDirection.add(n); //finally\n \t\t\t\n \t\t\tVector3d epsilon = new Vector3d();\n \t\t\tepsilon.set(mirrorRay.viewDirection);\n \t\t\tepsilon.scale(1e-8);\n \t\t\tmirrorRay.eyePoint.add(epsilon); //add a very small offset in the mirror ray direction to avoid t = 0 \n \t\t\t\n \t\t\tfor(Intersectable surface: surfaceList) {\n \t\t\t\tsurface.intersect(mirrorRay, mirrorResult); //see the intersection of mirror ray with the scene\n \t\t\t}\n \t\t\tColor4f mirrorColor = getColor(mirrorRay, mirrorResult);\n \t\t\tlightAccumColor.x += result.material.mirror.x*mirrorColor.x;\n \t\t\tlightAccumColor.y += result.material.mirror.y*mirrorColor.y;\n \t\t\tlightAccumColor.z += result.material.mirror.z*mirrorColor.z;\n \t\t}\n \t\t}\n \t\t}\n \t\tlightAccumColor.scale(1/(float)(rowNum*columnNum));\n \t\tc.add(lightAccumColor);\n\n \t\t\n \t\t\n \t}\n \t\n \treturn c;\n }", "public MoverEntity getFormationLeader();", "public GameEntity getTarget() {\r\n\t\tif(mode == RadarMode.LOCKED) return currentTarget; else return null;\r\n\t}", "@Override\n public void onRightDetect(FaceDetectionResult faceResult) {\n if (faceResult != null) {\n rightResult = faceResult;\n } else {\n rightResult = null;\n }\n calcMatch();\n }", "private LightSource.Intersection castRayOnLights(Ray ray) {\n double closestPointDistanceSquared = Double.POSITIVE_INFINITY;\n LightSource.Intersection closestIntersection = null;\n for (LightSource light : lightSources) {\n LightSource.Intersection intersection = light.castRay(ray);\n if (intersection != null) {\n double distanceToIntersectionSquared =\n GeometryHelpers.vectorLengthSquared(intersection.info.pointOfIntersection.subtract(ray.origin));\n\n // To avoid hitting the shape from which the ray was shot, the ray has to have a minimum length\n if (distanceToIntersectionSquared > MINIMUM_RAY_LENGTH*MINIMUM_RAY_LENGTH) {\n if (distanceToIntersectionSquared < closestPointDistanceSquared) {\n closestPointDistanceSquared = distanceToIntersectionSquared;\n closestIntersection = intersection;\n }\n }\n }\n }\n return closestIntersection;\n }", "Velocity hit(Ball hitter, Point collisionPoint, Velocity currentVelocity);", "@Override\n public void intersect( Ray ray, IntersectResult result ) {\n \t\tVector3d e = new Vector3d(ray.eyePoint);\n \t\te.sub(this.center);\n \t\tdouble a = ray.viewDirection.dot(ray.viewDirection);\n \t\tdouble b = 2 * ray.viewDirection.dot(e);\n \t\tdouble c = e.dot(e) - this.radius * this.radius;\n \t\tdouble discriminant = b*b - 4*a*c;\n \t\t\n \t\tif (discriminant == 0.0) {\n \t\t\t\n \t\t\tdouble t_pos = -0.5 * b / a;\n \t\t\t// scale ray viewDirection to be t_pos length\n\t\t\t// point of intersection is at ray.eyePoint + scaled viewDirection vector\n\t\t\tPoint3d point_of_intersection = new Point3d(ray.viewDirection);\n\t\t\tpoint_of_intersection.scale(t_pos);\n\t\t\tpoint_of_intersection.add(ray.eyePoint);\n\t\t\t\n\t\t\t// normal is point_of_intersection - sphere.center\n\t\t\tVector3d normal = new Vector3d();\n\t\t\tnormal.add(point_of_intersection);\n\t\t\tnormal.sub(this.center);\n\t\t\tnormal.normalize();\n\t\t\t\n\t\t\tresult.p.set(point_of_intersection);\n\t\t\tresult.material = this.material;\n\t\t\tresult.t = t_pos;\n\t\t\tresult.n.set(normal);\n \t\t\t\n \t\t}\n \t\telse if (discriminant > 0.0) {\n \t\t\t\n \t\t\t// solve quadratic formula\n \t\t\tdouble q = (b > 0) ? -0.5 * (b + Math.sqrt(discriminant)) : -0.5 * (b - Math.sqrt(discriminant));\n \t\t\tdouble t_pos = q / a;\n \t\t\tdouble t_neg = c / q;\n \t\t\t\n \t\t\tif (t_pos < t_neg) {\n \t\t\t\tdouble temp = t_pos;\n \t\t\t\tt_pos = t_neg;\n \t\t\t\tt_neg = temp;\n \t\t\t}\n \t\t\t\t\n \t\t\tif (t_neg > 0) {\n \t\t\t\t// scale ray viewDirection to be t_neg length\n \t\t\t\t// point of intersection is at ray.eyePoint + scaled viewDirection vector\n \t\t\tPoint3d point_of_intersection = new Point3d(ray.viewDirection);\n \t\t\tpoint_of_intersection.scale(t_neg);\n \t\t\tpoint_of_intersection.add(ray.eyePoint);\n \t\t\t\n \t\t\t// normal is point_of_intersection - sphere.center\n \t\t\tVector3d normal = new Vector3d();\n \t\t\tnormal.add(point_of_intersection);\n \t\t\tnormal.sub(this.center);\n \t\t\tnormal.normalize();\n \t\t\t\n \t\t\tresult.p.set(point_of_intersection);\n \t\t\tresult.material = this.material;\n \t\t\tresult.t = t_neg;\n \t\t\tresult.n.set(normal);\n \t\t\t}\n\t\n \t\t}\n \t\t\n \t\t\n \t\t\n \t\t\n \t\t\n\n }", "@Override\n\tpublic <R> R traceExit(R result) {\n\t\treturn null;\n\t}", "private GeoPoint findClosestIntersection(Ray ray) {\r\n\t\tList<GeoPoint> temp = _scene.get_geometries().findIntersections(ray);\r\n\t\tif (temp == null)\r\n\t\t\treturn null;\r\n\t\treturn getClosestPoint(temp, ray);\r\n\t}", "public boolean wasHit() {\n return(_hit);\n }", "void hitEvent(Block beingHit, Ball hitter);", "void hitEvent(Block beingHit, Ball hitter);", "public Entity getLender();", "private static final boolean isTargetInSight(Vec3d vec3, EntityLivingBase seeker, Entity target) \r\n\t{\r\n\t\treturn seeker.canEntityBeSeen(target) && isTargetInFrontOf(seeker, target, 60);\r\n\t}", "@Override\n ArrayList<Hit> object_hit_detec(Point S_t, Vector c_t, Intersection intersection) {\n ArrayList<Hit> hit_times = new ArrayList<>();\n double A = Math.pow(c_t.get_X(), 2) + Math.pow(c_t.get_Y(), 2) + Math.pow(c_t.get_Z(), 2);\n double B = c_t.get_X() * S_t.get_X() + c_t.get_Y() * S_t.get_Y() + c_t.get_Z() * S_t.get_Z();\n double C = Math.pow(S_t.get_X(), 2) + Math.pow(S_t.get_Y(), 2) + Math.pow(S_t.get_Z(), 2) - 1;\n double Discriminant = Math.pow(B, 2) - A * C;\n// System.out.println(A);\n// System.out.println(B);\n// System.out.println(C);\n //double t_hit = 0;\n if (Discriminant < 0) {\n //System.out.println(\"Geen hitpunten\");\n } else if (Discriminant == 0) {\n double t_hit = (-B) / A;\n Hit hit = new Hit(t_hit, false);\n //System.out.println(\"hit\");\n } else {\n double t_hit1 = (-B) / A + Math.sqrt(Discriminant) / A;\n double t_hit2 = (-B) / A - Math.sqrt(Discriminant) / A;\n //Find lowest hit time (for entering hit time)\n double t_in = Math.min(t_hit1, t_hit2);\n double t_out = Math.max(t_hit1, t_hit2);\n Hit hit_in = new Hit(t_in, true);\n hit_times.add(hit_in);\n Hit hit_out = new Hit(t_out, false);\n hit_times.add(hit_out);\n //t_hit = Math.min(t_hit1, t_hit2);\n //System.out.println(\"hit\");\n }\n return hit_times;\n }", "@Override\n\tpublic Point3D findFirstIntersect(Ray3D ray) {\n\t\tPoint3D p = plane.findFirstIntersect(ray);\n\t\tif(isOnSurface(p))\n\t\t\treturn p;\n\t\telse\n\t\t\treturn Point3D.nullVal;\n\t}", "boolean wasHit();", "@Test\n public void nearestObjectHighlighted() {\n radar.loop();\n assertTrue(world.getPasslist().get(0).isHighlightedWhenRadarIsOn());\n }", "public boolean isHit() { return hit; }", "public MoverEntity getConvoyLeader();", "public boolean lineOfSight(PathAgentModel viewer, PathAgentModel target)\r\n/* 293: */ {\r\n/* 294: */ float ty;\r\n/* 295: */ float tx;\r\n/* 296: */ float ty;\r\n/* 297:336 */ if (target.hasTarget())\r\n/* 298: */ {\r\n/* 299:338 */ float tx = target.getTargetX();\r\n/* 300:339 */ ty = target.getTargetY();\r\n/* 301: */ }\r\n/* 302: */ else\r\n/* 303: */ {\r\n/* 304:343 */ tx = target.getX();\r\n/* 305:344 */ ty = target.getY();\r\n/* 306: */ }\r\n/* 307:348 */ if (viewer.fov(tx, ty)) {\r\n/* 308:350 */ if (line(viewer.getX(), viewer.getY(), tx, ty)) {\r\n/* 309:352 */ return true;\r\n/* 310: */ }\r\n/* 311: */ }\r\n/* 312:355 */ return false;\r\n/* 313: */ }", "public boolean getHitOrSplat() {\n return currentlyAbilityHit;\n }", "@Override\n protected void doCheckEffect ()\n {\n // check all the stationary spells in the location of the projectile for a Colloportus\n List<O2StationarySpell> inside = new ArrayList<>();\n for (O2StationarySpell spell : Ollivanders2API.getStationarySpells(p).getStationarySpellsAtLocation(location))\n {\n if (spell instanceof COLLOPORTUS)\n {\n inside.add(spell);\n }\n }\n\n // remove the colloportus spells found\n if (inside.size() > 0)\n {\n for (O2StationarySpell spell : inside)\n {\n spell.kill();\n spell.flair(10);\n }\n\n kill();\n }\n\n // if the spell has hit a solid block, the projectile is stopped and wont go further so kill the spell\n if (hasHitTarget())\n kill();\n }", "public EntityLiving c()\r\n/* 209: */ {\r\n/* 210:221 */ if (this.h == null) {\r\n/* 211:222 */ return null;\r\n/* 212: */ }\r\n/* 213:224 */ if ((this.h instanceof aek)) {\r\n/* 214:225 */ return ((aek)this.h).j();\r\n/* 215: */ }\r\n/* 216:227 */ if ((this.h instanceof EntityLiving)) {\r\n/* 217:228 */ return (EntityLiving)this.h;\r\n/* 218: */ }\r\n/* 219:230 */ return null;\r\n/* 220: */ }", "Entity getShooter();", "private Hit getLevelHit(final Ray r, final TestCounter c) {\n double minDist = Double.POSITIVE_INFINITY;\n Triangle curBest = null;\n for(final Triangle t : tri) {\n final double dist = t.hit(r, c);\n if(r.isValidDistance(dist) && dist < minDist) {\n minDist = dist;\n curBest = t;\n }\n }\n return new Hit(r, curBest, minDist, c);\n }", "public void onUsingTick(ItemStack stack, EntityPlayer player, int count) {\n/* 132 */ player.motionX = 0.0D;\n/* 133 */ player.motionZ = 0.0D;\n/* */ \n/* 135 */ int searchRange = 20;\n/* 136 */ List<EntityLivingBase> entities = player.worldObj.getEntitiesWithinAABB(EntityLivingBase.class, AxisAlignedBB.getBoundingBox(player.posX - searchRange, player.posY - searchRange, player.posZ - searchRange, player.posX + searchRange, player.posY + searchRange, player.posZ + searchRange));\n/* */ \n/* 138 */ if (entities.contains(player)) {\n/* 139 */ entities.remove(player);\n/* */ }\n/* 141 */ if (count < getMaxItemUseDuration(stack) - 20) {\n/* 142 */ for (int counter = entities.size() - 1; counter >= 0; counter--) {\n/* 143 */ if (player.getDistanceToEntity((Entity)entities.get(counter)) <= 3.0F && \n/* 144 */ WandManager.consumeVisFromInventory(player, (new AspectList()).add(Aspect.FIRE, (int)(150.0F * RelicsConfigHandler.soulTomeVisMult)).add(Aspect.ENTROPY, (int)(120.0F * RelicsConfigHandler.soulTomeVisMult)))) {\n/* */ \n/* 146 */ EntityLivingBase thrownEntity = entities.get(counter);\n/* */ \n/* 148 */ Vector3 entityVec = Vector3.fromEntityCenter((Entity)thrownEntity);\n/* 149 */ Vector3 playerVec = Vector3.fromEntityCenter((Entity)player);\n/* */ \n/* 151 */ Vector3 diff = entityVec.copy().sub(playerVec).multiply((1.0F / player.getDistanceToEntity((Entity)thrownEntity) * 3.0F));\n/* */ \n/* 153 */ float curve = (float)(1.0D / player.getDistance(entityVec.x, entityVec.y, entityVec.z) * 8.0D);\n/* */ \n/* 155 */ if (!player.worldObj.isRemote)\n/* 156 */ for (int counterZ = 0; counterZ <= 3; counterZ++) {\n/* 157 */ Main.proxy.lightning(player.worldObj, player.posX, player.posY + 1.0D, player.posZ, entityVec.x, entityVec.y, entityVec.z, 40, curve, (int)(player.getDistance(entityVec.x, entityVec.y, entityVec.z) * 6.0D), 0, 0.075F);\n/* */ } \n/* 159 */ player.worldObj.playSoundAtEntity((Entity)player, \"thaumcraft:zap\", 1.0F, 0.8F);\n/* */ \n/* 161 */ thrownEntity.attackEntityFrom((DamageSource)new DamageRegistryHandler.DamageSourceTLightning((Entity)player), (float)(20.0D + 80.0D * Math.random()));\n/* */ \n/* 163 */ thrownEntity.motionX = diff.x;\n/* 164 */ thrownEntity.motionY = diff.y + 1.0D;\n/* 165 */ thrownEntity.motionZ = diff.z;\n/* */ } \n/* */ } \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 195 */ this; this; this; this; if ((((count < getMaxItemUseDuration(stack) - 20) ? 1 : 0) & ((count % 4 == 0) ? 1 : 0)) != 0 && WandManager.consumeVisFromInventory(player, (new AspectList()).add(Aspect.EARTH, TerraCost).add(Aspect.AIR, AerCost).add(Aspect.FIRE, IgnisCost).add(Aspect.ENTROPY, PerditioCost))) {\n/* */ \n/* 197 */ EntityLivingBase randomEntity = null;\n/* */ \n/* 199 */ if (entities.size() > 0) {\n/* 200 */ randomEntity = entities.get((int)(entities.size() * Math.random()));\n/* */ }\n/* 202 */ if ((((randomEntity != null) ? 1 : 0) & (!player.worldObj.isRemote ? 1 : 0)) != 0) {\n/* */ \n/* 204 */ float soulDamage = randomEntity.getMaxHealth() / RelicsConfigHandler.soulTomeDivisor;\n/* */ \n/* 206 */ if (soulDamage > 20.0F) {\n/* 207 */ soulDamage = 20.0F;\n/* 208 */ } else if (soulDamage < 1.0F) {\n/* 209 */ soulDamage = 1.0F;\n/* */ } \n/* 211 */ randomEntity.attackEntityFrom((DamageSource)new DamageRegistryHandler.DamageSourceSoulDrain((Entity)player), soulDamage);\n/* 212 */ spawnSoul(player.worldObj, randomEntity, (EntityLivingBase)player);\n/* */ } \n/* */ } \n/* */ }", "public native void raycast(Raycaster raycaster, Object[] intersects);", "private GeoPoint findClosestIntersection(Ray ray) {\n if (ray == null) {\n return null;\n }\n GeoPoint closestPoint = null;\n double closestDistance = Double.MAX_VALUE;\n Point3D ray_p0 = ray.getPo();\n\n List<GeoPoint> intersections = scene.getGeometries().findGeoIntersections(ray);\n if (intersections == null)\n return null;\n\n for (GeoPoint geoPoint : intersections) {\n double distance = ray_p0.distance(geoPoint.getPoint());\n if (distance < closestDistance) {\n closestPoint = geoPoint;\n closestDistance = distance;\n }\n }\n return closestPoint;\n }", "public static Result\n traceRecursion(PointF vLaserSource, PointF vLaserDir, float fRefractionMultiplier, PointF[] geometry, float[] afRefractiveIndices, float fIntensity, int iRecursionDepth, float fFlightLength){\n\n Result res = new Result();\n //init return lists\n res.lineSegments = new ArrayList<>();\n res.intensities = new ArrayList<>();\n res.lightLengths = new ArrayList<>();\n res.hitIntensities = new ArrayList<>();\n res.hitSegments = new ArrayList<>();\n\n //important for angle calculation\n Vec2D.normalize(vLaserDir);\n\n //recursion limiter\n if(fIntensity < 0.05f || iRecursionDepth > 20)\n return res;\n\n //populate output structure\n res.lineSegments.add(vLaserSource);\n res.intensities.add(fIntensity);\n res.lightLengths.add(fFlightLength);\n\n //initialize to infinity\n float fNearestHit = Float.MAX_VALUE;\n int iHitIndex = -1;\n\n //check each geometry line against this ray\n for (int iLine = 0; iLine < geometry.length/2; iLine++) {\n //check if source on right side\n PointF line0 = geometry[iLine*2];\n PointF line1 = geometry[iLine*2 + 1];\n\n //calculate intersection with geometry line\n float fIntersection = intersectRayLine(vLaserSource, vLaserDir, line0, line1);\n\n if(fIntersection > 0.0f && fIntersection < 1.0f){\n //stuff intersects\n //calculate intersection PointF\n PointF vIntersection = Vec2D.add(line0, Vec2D.mul(fIntersection, Vec2D.subtract(line1, line0)) );\n //calculate distance to source\n float fHitDistance = Vec2D.subtract(vLaserSource, vIntersection).length();\n if(Vec2D.subtract(vLaserSource, vIntersection).length() < fNearestHit && fHitDistance > 0.001f) {\n //new minimum distance\n fNearestHit = fHitDistance;\n iHitIndex = iLine;\n }\n }\n }\n //check if we hit\n if(iHitIndex == -1)\n {\n //bigger than screen\n final float fInfLength = 3.0f;\n res.lineSegments.add(Vec2D.add(vLaserSource, Vec2D.mul(fInfLength, vLaserDir)) );\n res.lightLengths.add(fFlightLength + fInfLength);\n }\n else\n {\n //there was a hit somewhere\n //first re-evaluate\n PointF line0 = geometry[iHitIndex*2];\n PointF line1 = geometry[iHitIndex*2 + 1];\n\n res.hitSegments.add(iHitIndex);\n res.hitIntensities.add(fIntensity);\n //calculate point of impact\n float fIntersection = intersectRayLine(vLaserSource, vLaserDir, line0, line1);\n PointF vIntersection = Vec2D.add(line0, Vec2D.mul(fIntersection, Vec2D.subtract(line1, line0)) );\n\n //spam line end\n res.lineSegments.add(vIntersection);\n float fNextLength = fFlightLength + fNearestHit;\n res.lightLengths.add(fNextLength);\n\n if(afRefractiveIndices[iHitIndex] < 0.0f)\n return res;\n\n //calculate normalized surface normal\n PointF vLine = Vec2D.subtract(line1, line0);\n PointF vSurfaceNormal = Vec2D.flip(Vec2D.perpendicular(vLine));\n Vec2D.normalize(vSurfaceNormal);\n\n //calculate direction of reflection\n PointF vReflected = Vec2D.add(Vec2D.mul(-2.0f, Vec2D.mul(Vec2D.dot(vSurfaceNormal, vLaserDir), vSurfaceNormal)), vLaserDir);\n\n double fImpactAngle = Math.acos(Vec2D.dot(vSurfaceNormal, Vec2D.flip(vLaserDir)));\n\n double fRefractionAngle = 0.0f;\n float fRefracted = 0.0f;\n boolean bTotalReflection = false;\n\n if(afRefractiveIndices[iHitIndex] < 5.0f) {\n //calculate which side of the object we're on\n if (Vec2D.dot(vSurfaceNormal, Vec2D.subtract(vLaserSource, line0)) < 0) {\n //from medium to air\n //angle will become bigger\n double fSinAngle = Math.sin(fImpactAngle) * (afRefractiveIndices[iHitIndex] * fRefractionMultiplier);\n\n if (fSinAngle > 1.0f || fSinAngle < -1.0f)\n //refraction would be back into object\n bTotalReflection = true;\n else {\n //calculate refraction\n fRefractionAngle = Math.asin(fSinAngle);\n float fFlippedImpactAngle = (float) Math.asin(Math.sin(fImpactAngle));\n fRefracted = (float) (2.0f * Math.sin(fFlippedImpactAngle) * Math.cos(fRefractionAngle) / Math.sin(fFlippedImpactAngle + fRefractionAngle));\n\n //set refraction angle for direction calculation\n fRefractionAngle = Math.PI - fRefractionAngle;\n }\n } else {\n //from air to medium\n //angle will become smaller\n fRefractionAngle = Math.asin(Math.sin(fImpactAngle) / (afRefractiveIndices[iHitIndex] * fRefractionMultiplier));\n fRefracted = (float) (2.0f * Math.sin(fRefractionAngle) * Math.cos(fImpactAngle) / Math.sin(fImpactAngle + fRefractionAngle));\n }\n }\n else\n bTotalReflection = true;\n\n //give the refraction angle a sign\n if(Vec2D.dot(vLine, vLaserDir) < 0)\n fRefractionAngle = -fRefractionAngle;\n\n //calculate direction of refraction\n double fInvertedSurfaceAngle = Math.atan2(-vSurfaceNormal.y, -vSurfaceNormal.x);\n PointF vRefracted = new PointF((float)Math.cos(fInvertedSurfaceAngle - fRefractionAngle), (float)Math.sin(fInvertedSurfaceAngle - fRefractionAngle));\n\n //calculate amount of light reflected\n float fReflected = 1.0f - fRefracted;\n\n //continue with recursion, reflection\n Result resReflection = traceRecursion(vIntersection, vReflected, fRefractionMultiplier, geometry, afRefractiveIndices, fReflected * fIntensity, iRecursionDepth+1, fNextLength);\n //merge results\n res.lineSegments.addAll(resReflection.lineSegments);\n res.intensities.addAll(resReflection.intensities);\n res.lightLengths.addAll(resReflection.lightLengths);\n res.hitSegments.addAll(resReflection.hitSegments);\n res.hitIntensities.addAll(resReflection.hitIntensities);\n\n //continue with recursion, refraction\n if(!bTotalReflection) {\n Result resRefraction = traceRecursion(vIntersection, vRefracted, fRefractionMultiplier, geometry, afRefractiveIndices, fRefracted * fIntensity, iRecursionDepth+1, fNextLength);\n //merge results\n res.lineSegments.addAll(resRefraction.lineSegments);\n res.intensities.addAll(resRefraction.intensities);\n res.lightLengths.addAll(resRefraction.lightLengths);\n res.hitSegments.addAll(resRefraction.hitSegments);\n res.hitIntensities.addAll(resRefraction.hitIntensities);\n }\n }\n return res;\n }" ]
[ "0.6270021", "0.5848269", "0.54208696", "0.5321118", "0.5316214", "0.5257487", "0.5213352", "0.51226914", "0.5098415", "0.50516635", "0.5005164", "0.4986364", "0.4986364", "0.49843794", "0.4943672", "0.49296018", "0.48739743", "0.48688376", "0.48342806", "0.47957847", "0.4795426", "0.47226956", "0.4662393", "0.46622962", "0.46566257", "0.46537074", "0.46523786", "0.46518385", "0.46505767", "0.46247658", "0.46214038", "0.4612031", "0.45994613", "0.45923597", "0.4584423", "0.45696327", "0.45656866", "0.4563701", "0.45493957", "0.45419523", "0.45359406", "0.45313016", "0.44940895", "0.44890657", "0.4479951", "0.44794747", "0.44787607", "0.4476202", "0.44701517", "0.44666937", "0.44616824", "0.44588584", "0.4452182", "0.44419995", "0.44380236", "0.4424523", "0.44139773", "0.44012263", "0.43978712", "0.43875453", "0.43868145", "0.43751", "0.4362225", "0.43425894", "0.43412825", "0.43387398", "0.43376213", "0.4325492", "0.4306053", "0.43058595", "0.42963123", "0.4295872", "0.42954704", "0.42924133", "0.4289853", "0.42880648", "0.42870227", "0.42853844", "0.42825252", "0.42815855", "0.42757267", "0.42757267", "0.42731956", "0.42709312", "0.42651573", "0.42562658", "0.425595", "0.4242808", "0.42418346", "0.4238849", "0.42385548", "0.42332545", "0.42300665", "0.42285615", "0.4227841", "0.42234722", "0.42202753", "0.42162457", "0.42160985", "0.42143753" ]
0.65543395
0
Similar to the all look target entity version, but this method returns a List of all EntityMob entities that are within the entity's field of vision, up to a certain range and distance away Modified by Spikybum Jolteon
public static final List<EntityMob> acquireAllLookMobTargets(EntityLivingBase seeker, int distance, double radius) { if (distance < 0 || distance > MAX_DISTANCE) { distance = MAX_DISTANCE; } List<EntityMob> targets = new ArrayList<EntityMob>(); Vec3d vec3 = seeker.getLookVec(); double targetX = seeker.posX; double targetY = seeker.posY + seeker.getEyeHeight() - 0.10000000149011612D; double targetZ = seeker.posZ; double distanceTraveled = 0; while ((int) distanceTraveled < distance) { targetX += vec3.x; targetY += vec3.y; targetZ += vec3.z; distanceTraveled += vec3.lengthVector(); List<EntityMob> list = seeker.world.getEntitiesWithinAABB(EntityMob.class, new AxisAlignedBB(targetX-radius, targetY-radius, targetZ-radius, targetX+radius, targetY+radius, targetZ+radius)); for (EntityMob target : list) { if (target != seeker && target.canBeCollidedWith() && isTargetInSight(vec3, seeker, target)) { if (!targets.contains(target)) { targets.add(target); } } } } return targets; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Collection<Entity> attackableEnemies(Entity entity, ServerGameModel model) {\n // Minions shouldn't count enemies around a wall as attackable.\n\n Collection<Entity> enemies = new HashSet<>();\n double x = entity.getX();\n double y = entity.getY();\n double range = ((TowerBuildingSpawnerStrat) entity.get(AI_STRAT)).attackRange(entity);\n\n // Add enemies within the range of this entity and in the line of sight of this enemy.\n for (int i = (int) (x - range); i <= (int) (x + range); i++) {\n for (int j = (int) (y - range); j <= (int) (y + range); j++) {\n if (util.Util.checkBounds(i, j))\n enemies.addAll(model.getCell(i, j).getContents().stream().filter(e ->\n util.Util.dist(x, y, e.getX(), e.getY()) <= range\n && e.has(Entity.EntityProperty.TEAM)\n && e.getTeam() != entity.getTeam()\n && !e.has(PROJECTILE)\n && checkLineOfSight(entity, e, model)).collect(Collectors.toSet()));\n }\n }\n\n return enemies;\n }", "public List<WrapperEntity> getEntitiesWithin(BoundingBox box){\r\n\t\tList<WrapperEntity> entities = new ArrayList<WrapperEntity>();\r\n\t\tfor(Entity entity : world.getEntitiesWithinAABB(Entity.class, box.convert())){\r\n\t\t\tentities.add(WrapperEntity.getWrapperFor(entity));\r\n\t\t}\r\n\t\treturn entities;\r\n\t}", "public List<WrapperEntity> getEntitiesHostile(WrapperEntity lookingEntity, double radius){\r\n\t\tList<WrapperEntity> entities = new ArrayList<WrapperEntity>();\r\n\t\tfor(Entity entity : world.getEntitiesWithinAABBExcludingEntity(lookingEntity.entity, lookingEntity.entity.getEntityBoundingBox().grow(radius))){\r\n\t\t\tif(entity instanceof IMob && !entity.isDead && (!(entity instanceof EntityLivingBase) || ((EntityLivingBase) entity).deathTime == 0)){\r\n\t\t\t\tentities.add(WrapperEntity.getWrapperFor(entity));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn entities;\r\n\t}", "public static Entity[] getRandomEntitiesInRange(World world, Entity entity, double range)\n {\n return getRandomEntitiesInRangeWithRandomChance(world, entity, range, 4);\n }", "@Override\n public ArrayList<Entity> getEntities() {\n ArrayList<Entity> enemies = new ArrayList<>();\n\n // Fire Dragon (Near Starting Area)\n enemies.add(new Enemy(\"Dracoflame\", 31, 32) {\n @Override\n public void doAction() {\n //Globals.SBG.enterState(Globals.STATES.get(\"CHALLENGE\"));\n }\n });\n\n // Evil Tree (Far Right)\n enemies.add(new Enemy(\"Trevil\", 90, 40) {\n @Override\n public void doAction() {\n //Globals.SBG.enterState(Globals.STATES.get(\"CHALLENGE\"));\n }\n });\n\n // Evil Mushroom (Bottom Left)\n enemies.add(new Enemy(\"Mycovolence\", 72, 80) {\n @Override\n public void doAction() {\n //Globals.SBG.enterState(Globals.STATES.get(\"CHALLENGE\"));\n }\n });\n\n // Ship\n enemies.add(new Enemy(\"SailingShip\", 11, 76) {\n @Override\n public void doAction() {\n //Globals.SBG.enterState(Globals.STATES.get(\"CHALLENGE\"));\n }\n });\n\n return enemies;\n }", "public List<Entity> shootoutEntities(List<Entity> ents, boolean simulate);", "public static List<Entity> getNearbyEntities(Location loc, double radius) {\n\t\tList<Entity> closeEntities = new ArrayList<Entity>();\n\t\tList<Entity> totalEntities = loc.getWorld().getEntities();\n\t\tfor (Entity ent : totalEntities) {\n\t\t\tif (loc.getWorld().equals(ent.getWorld())) {\n\t\t\t\tif (loc.distanceSquared(ent.getLocation()) < Math.pow(radius, 2)) {\n\t\t\t\t\tcloseEntities.add(ent);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn closeEntities;\n\t}", "List<IViewEntity> getEntities();", "List<IViewEntity> getConstraintEntities();", "public List<Entity> getEntitiesInArea(BoundingBox area)\n\t{\n\t\tList<Entity> entitiesInArea = new ArrayList<Entity>();\n\t\tEntity currentEntity;\n\t\tfor(int i = 0; i < this.entities.size(); ++i)\n\t\t{\n\t\t\tcurrentEntity = this.entities.get(i);\n\t\t\tif(currentEntity.getBoundingBox().offset(currentEntity.getX(), currentEntity.getY()).intersects(area))\n\t\t\t{\n\t\t\t\tentitiesInArea.add(currentEntity);\n\t\t\t}\n\t\t}\n\t\treturn entitiesInArea;\n\t}", "boolean getContainEntities();", "private List<Entity> getLoadableEntities() { \n ArrayList<Entity> choices = new ArrayList<Entity>();\n // If current entity is null, nothing to do\n if (ce() == null) {\n return choices;\n }\n List<Entity> entities = clientgui.getClient().getGame()\n .getEntitiesVector();\n for (Entity other : entities) { \n if (other.isSelectableThisTurn() && ce().canLoad(other, false)) {\n choices.add(other);\n }\n }\n return choices;\n }", "public List<Entity> getEntities() {\n return entities;\n }", "public List<Emotion> getEmotions();", "public MovingObjectPosition rayTraceEntities(World world, Vector3 target)\n {\n MovingObjectPosition pickedEntity = null;\n Vec3 startingPosition = this.toVec3();\n Vec3 look = target.toVec3();\n double reachDistance = this.distance(target);\n Vec3 reachPoint = Vec3.createVectorHelper(startingPosition.xCoord + look.xCoord * reachDistance, startingPosition.yCoord + look.yCoord * reachDistance, startingPosition.zCoord + look.zCoord * reachDistance);\n\n double checkBorder = 1.1 * reachDistance;\n AxisAlignedBB boxToScan = AxisAlignedBB.getAABBPool().getAABB(-checkBorder, -checkBorder, -checkBorder, checkBorder, checkBorder, checkBorder).offset(this.x, this.y, this.z);\n\n @SuppressWarnings(\"unchecked\")\n List<Entity> entitiesHit = world.getEntitiesWithinAABBExcludingEntity(null, boxToScan);\n double closestEntity = reachDistance;\n\n if (entitiesHit == null || entitiesHit.isEmpty())\n {\n return null;\n }\n for (Entity entityHit : entitiesHit)\n {\n if (entityHit != null && entityHit.canBeCollidedWith() && entityHit.boundingBox != null)\n {\n float border = entityHit.getCollisionBorderSize();\n AxisAlignedBB aabb = entityHit.boundingBox.expand(border, border, border);\n MovingObjectPosition hitMOP = aabb.calculateIntercept(startingPosition, reachPoint);\n\n if (hitMOP != null)\n {\n if (aabb.isVecInside(startingPosition))\n {\n if (0.0D < closestEntity || closestEntity == 0.0D)\n {\n pickedEntity = new MovingObjectPosition(entityHit);\n if (pickedEntity != null)\n {\n pickedEntity.hitVec = hitMOP.hitVec;\n closestEntity = 0.0D;\n }\n }\n }\n else\n {\n double distance = startingPosition.distanceTo(hitMOP.hitVec);\n\n if (distance < closestEntity || closestEntity == 0.0D)\n {\n pickedEntity = new MovingObjectPosition(entityHit);\n pickedEntity.hitVec = hitMOP.hitVec;\n closestEntity = distance;\n }\n }\n }\n }\n }\n return pickedEntity;\n }", "@Override\n protected Entity[] getObservedEntities() {\n return entities;\n }", "protected Unit target() {\n\t\tUnit closest = null; // this variable will contain the closest Unit\n\t\tDouble min = (double) projectile_range; // this will contain the lowest distance\n\t\tList<Entity> entities = level.getEntities();\n\n\t\tfor (int i = 0; i < entities.size(); i++) {\n\t\t\tEntity e = entities.get(i);\n\t\t\tUnit u = (Unit) e; // casts e to Unit\n\t\t\tif (u.equals(this)) continue; // discounts self\n\t\t\tif (u.UNIT_R != UNIT_G && u.UNIT_G != UNIT_R) continue; // discounts Units from own team\n\t\t\tif (!(e instanceof Unit)) continue; // discounts non-Unit entities\n\n\t\t\tdouble distance = MathMachine.distance((u.getX() - x), (u.getY() - y));\n\t\t\t/*\n\t\t\t * int r = 0; int g = 0; for (int y = 0; y < level.getHeight() * 16; y++) { for (int x = 0; x < level.getWidth() * 16; x++) { if (level.redPixels[x + y * level.getWidth() * 16] == true) r++; if (level.greenPixels[x + y * level.getWidth() * 16] == true )g++; System.out.println(\"r: \" + r + \", \" + g); } }\n\t\t\t */\n\t\t\tif (UNIT_R) { // if it is a red unit\n\t\t\t\tif (distance < min) {\n\t\t\t\t\tint xt = (int) Math.round(u.getX());\n\t\t\t\t\tint yt = (int) Math.round(u.getY());\n\t\t\t\t\tif (level.redPixels[(int) Math.round(xt + level.getWidth() * 16.0 * yt)]) {\n\t\t\t\t\t\tclosest = u;\n\t\t\t\t\t\tmin = distance;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (UNIT_G) { // if it is a green unit\n\t\t\t\tif (distance < min) {\n\t\t\t\t\tSystem.out.println(level.greenPixels[(int) Math.round(u.getX() + level.getWidth() * 16.0 * u.getY())]);\n\n\t\t\t\t\tif (level.greenPixels[(int) Math.round(u.getX() + level.getWidth() * 16.0 * u.getY())]) {\n\t\t\t\t\t\tclosest = u;\n\t\t\t\t\t\tmin = distance;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\treturn closest; // the program is fucked if null happens. just a headsup. hopefully you will remember if you get a null pointer exception.\n\t}", "public static ArrayList<? extends Entity>getEntities(){\n\t\tArrayList<Entity> totalEntities = new ArrayList<Entity>();\n\t\ttotalEntities.addAll(humans);\n\t\ttotalEntities.addAll(zombies);\n\n\t\treturn totalEntities;\n\t}", "public void onUsingTick(ItemStack stack, EntityPlayer player, int count) {\n/* 132 */ player.motionX = 0.0D;\n/* 133 */ player.motionZ = 0.0D;\n/* */ \n/* 135 */ int searchRange = 20;\n/* 136 */ List<EntityLivingBase> entities = player.worldObj.getEntitiesWithinAABB(EntityLivingBase.class, AxisAlignedBB.getBoundingBox(player.posX - searchRange, player.posY - searchRange, player.posZ - searchRange, player.posX + searchRange, player.posY + searchRange, player.posZ + searchRange));\n/* */ \n/* 138 */ if (entities.contains(player)) {\n/* 139 */ entities.remove(player);\n/* */ }\n/* 141 */ if (count < getMaxItemUseDuration(stack) - 20) {\n/* 142 */ for (int counter = entities.size() - 1; counter >= 0; counter--) {\n/* 143 */ if (player.getDistanceToEntity((Entity)entities.get(counter)) <= 3.0F && \n/* 144 */ WandManager.consumeVisFromInventory(player, (new AspectList()).add(Aspect.FIRE, (int)(150.0F * RelicsConfigHandler.soulTomeVisMult)).add(Aspect.ENTROPY, (int)(120.0F * RelicsConfigHandler.soulTomeVisMult)))) {\n/* */ \n/* 146 */ EntityLivingBase thrownEntity = entities.get(counter);\n/* */ \n/* 148 */ Vector3 entityVec = Vector3.fromEntityCenter((Entity)thrownEntity);\n/* 149 */ Vector3 playerVec = Vector3.fromEntityCenter((Entity)player);\n/* */ \n/* 151 */ Vector3 diff = entityVec.copy().sub(playerVec).multiply((1.0F / player.getDistanceToEntity((Entity)thrownEntity) * 3.0F));\n/* */ \n/* 153 */ float curve = (float)(1.0D / player.getDistance(entityVec.x, entityVec.y, entityVec.z) * 8.0D);\n/* */ \n/* 155 */ if (!player.worldObj.isRemote)\n/* 156 */ for (int counterZ = 0; counterZ <= 3; counterZ++) {\n/* 157 */ Main.proxy.lightning(player.worldObj, player.posX, player.posY + 1.0D, player.posZ, entityVec.x, entityVec.y, entityVec.z, 40, curve, (int)(player.getDistance(entityVec.x, entityVec.y, entityVec.z) * 6.0D), 0, 0.075F);\n/* */ } \n/* 159 */ player.worldObj.playSoundAtEntity((Entity)player, \"thaumcraft:zap\", 1.0F, 0.8F);\n/* */ \n/* 161 */ thrownEntity.attackEntityFrom((DamageSource)new DamageRegistryHandler.DamageSourceTLightning((Entity)player), (float)(20.0D + 80.0D * Math.random()));\n/* */ \n/* 163 */ thrownEntity.motionX = diff.x;\n/* 164 */ thrownEntity.motionY = diff.y + 1.0D;\n/* 165 */ thrownEntity.motionZ = diff.z;\n/* */ } \n/* */ } \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 195 */ this; this; this; this; if ((((count < getMaxItemUseDuration(stack) - 20) ? 1 : 0) & ((count % 4 == 0) ? 1 : 0)) != 0 && WandManager.consumeVisFromInventory(player, (new AspectList()).add(Aspect.EARTH, TerraCost).add(Aspect.AIR, AerCost).add(Aspect.FIRE, IgnisCost).add(Aspect.ENTROPY, PerditioCost))) {\n/* */ \n/* 197 */ EntityLivingBase randomEntity = null;\n/* */ \n/* 199 */ if (entities.size() > 0) {\n/* 200 */ randomEntity = entities.get((int)(entities.size() * Math.random()));\n/* */ }\n/* 202 */ if ((((randomEntity != null) ? 1 : 0) & (!player.worldObj.isRemote ? 1 : 0)) != 0) {\n/* */ \n/* 204 */ float soulDamage = randomEntity.getMaxHealth() / RelicsConfigHandler.soulTomeDivisor;\n/* */ \n/* 206 */ if (soulDamage > 20.0F) {\n/* 207 */ soulDamage = 20.0F;\n/* 208 */ } else if (soulDamage < 1.0F) {\n/* 209 */ soulDamage = 1.0F;\n/* */ } \n/* 211 */ randomEntity.attackEntityFrom((DamageSource)new DamageRegistryHandler.DamageSourceSoulDrain((Entity)player), soulDamage);\n/* 212 */ spawnSoul(player.worldObj, randomEntity, (EntityLivingBase)player);\n/* */ } \n/* */ } \n/* */ }", "@Override\n public String getEntLS() {\n return \"Enemies\";\n }", "public static Entity[] getRandomEntitiesInRangeWithRandomChance(World world, Entity entity, double range, int chance)\n {\n return null;\n }", "@NotNull\r\n Entity[] getEntities();", "public ArrayList<E> getAt(Point p) {\n\t\tArrayList<E> result = new ArrayList<E>();\n\t\tfor (E e : entities)\n\t\t\tif (e.getBounds().contains(p))\n\t\t\t\tresult.add(e);\n\t\treturn result;\n\t}", "protected List<FloorDef> genEntities() {\n List<FloorDef> list = new ArrayList<>();\n\n // MUST ADD THE WORK IDS AFTER\n\n list.add(new FloorDef(1, 10, 7001));\n list.add(new FloorDef(2, 3, 7002));\n list.add(new FloorDef(3, 10, 7003));\n list.add(new FloorDef(4, 0, 7004));\n\n //int[] workIDs = new int[]{};\n\n //for (int i = 0; i < workIDs.length)\n\n return list;\n }", "public List<Agent> findAgentsInterne() {\n Query q = getEntityManager().createQuery(\"select A from Agent A WHERE A.etat NOT IN('RET','DEM') AND A.lastDirection IN(SELECT D.code FROM Direction D WHERE D.internExtern=?1) ORDER BY A.personne.name\");\n q.setParameter(1, InterneExterne.Interne);\n List<Agent> list = q.getResultList();\n return list;\n }", "public List<EntityObject> getEntities() {\n\t\treturn entities;\n\t}", "public Future<List<CtxEntity>> lookupEntities(String entityType, String attribType, Serializable minAttribValue, Serializable maxAttribValue);", "public List<Class<?>> getEntities(){\n\t\tList<Class<?>> result = new ArrayList<Class<?>>();\n\t\t\n//\t\tresult.add(Equipo.class);\n\t\tresult.add(Formacion.class);\n\t\tresult.add(FormacionStrategy.class);\n\t\tresult.add(Habilidad.class);\n\t\tresult.add(Jugador.class);\n\t\tresult.add(Tecnico.class);\n\t\tresult.add(Titular.class);\n//\t\tresult.add(PartidoSimple.class);\n//\t\tresult.add(PartidoDeCopa.class);\n\t\t\n\t\treturn result;\n\t}", "public List<Tile> findTargets() {\n List<Tile> targets = new ArrayList<>(); // our return value\n int fearDistance = 2; // Ideally we're 2 spots away from their head, increases when we can't do that.\n int foodDistance = 3; // We look at a distance 3 for food.\n\n // If fearDistance gets this big, then its just GG i guess\n while (targets.size() == 0 && fearDistance < 15) {\n // Get the tiles around the Enemy's head\n targets = this.gb.nearByTiles(this.enemy_head_x, this.enemy_head_y, fearDistance);\n fearDistance += 1;\n }\n\n // Get the food tiles near us\n for (int i=0; i < foodDistance; i++) {\n List<Tile> nearBy = this.gb.nearByTiles(this.us_head_x, this.us_head_y, i);\n for (Tile t : nearBy) {\n if (t.isFood() && !targets.contains(t)) targets.add(t);\n }\n }\n return targets;\n }", "public List<Entity> getEntitiesInRadius(float x, float y, float radius, Entity... exclude)\n\t{\n\t\treturn this.getEntitiesInRadius(x, y, radius, Entity.class, exclude);\n\t}", "List<TransportEntity> getAllEntityOfQuery();", "public org.LexGrid.concepts.Entities getEntities() {\n return entities;\n }", "public List<Agent> findAgentsActifs() {\n Query q = getEntityManager().createQuery(\"select A from Agent A WHERE A.etat NOT IN('RET','DEM') ORDER BY A.personne.name\");\n List<Agent> list = q.getResultList();\n return list;\n }", "public ArrayList<Entity> getEntities() {\n\t\treturn entities;\n\t}", "public List<BE> getBlockEntitiesInRange(Level level, BlockPos pos) {\n\t\treturn getBlockEntitiesInRange(level, new Vec3(pos.getX(), pos.getY(), pos.getZ()));\n\t}", "public List<Enemy> getEnemies();", "private static EntityIterator getEntityIterator(Schematic schematic, Location location) {\n var iterator = new EntityIterator();\n\n var world = location.getWorld();\n var offset = new Vector3i(location.getBlockX(), location.getBlockY(), location.getBlockZ());\n offset.sub(schematic.getOrigin());\n\n var min = schematic.getMinimumPoint().add(offset, new Vector3i());\n var max = schematic.getMaximumPoint().add(offset, new Vector3i());\n\n for (var entity : world.getEntities()) {\n var eLoc = entity.getLocation();\n if (isInBounds(eLoc, min, max))\n iterator.addEntity(entity);\n }\n\n return iterator;\n }", "public static Iterable<Entity> getAllEntities() {\n\t\treturn Util.listEntities(\"RecetteId\", null, null);\n\t}", "public Set<Integer> getEntities(Aspect.Builder aspect) {\n throw new UnsupportedOperationException();\n }", "public List<Entity> getAllEntities()\n\t{\n\t\treturn this.entities;\n\t}", "@Command(\n name = \"listnearhere\",\n permission = \"aperf.cmd.module.entity.listnearhere\",\n parentName = \"aperf.cmd.module.entity\",\n syntax = \"/aperf entity <command>\",\n alias = {\"lnh\"})\n public static CommandResponse listNearHereCommand(ICommandSender sender, List<String> args) {\n if (args.size() < 1) return CommandResponse.SEND_HELP_MESSAGE;\n if (!(sender instanceof EntityPlayer)) return CommandResponse.DONE; // TODO Throw an exception\n EntityPlayer p = (EntityPlayer) sender;\n int radius = Integer.parseInt(args.get(0));\n\n String filter = args.get(2);\n filter = filter != null && filter.length() > 0 ? filter + \",\" : \"\";\n\n filter = filter + String.format(\"dim:%d,where:%d.%d/%d.%d\", p.dimension, p.chunkCoordX - radius, p.chunkCoordZ - radius, p.chunkCoordX + radius, p.chunkCoordZ + radius);\n args.set(2, filter);\n\n listEntitiesCommand(sender, args.subList(1, args.size()));\n\n return CommandResponse.DONE;\n }", "public Vector<HibernateEntity> getEntitiesAllowedAsParent() {\n\t\tVector<HibernateEntity> result = new Vector<HibernateEntity>();\n\t\tfor (HibernateEntity entity : getHibernateModel().getEntities()) {\n\t\t\tif (entity != this && entity.getFather() == null) {\n\t\t\t\tresult.add(entity);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}", "private List getActiveEntities() {\n \t\tList<String> chainIds = new ArrayList<String>();\n \t\tbioUnitTransformationsStructAssembly = bioUnitsStructAssembly.getBioUnitTransformationList(initialBioId);\n \t\tif (bioUnitTransformationsStructAssembly != null) {\n \t\t\tfor (ModelTransformationMatrix trans: bioUnitTransformationsStructAssembly) {\n \t\t\t\tchainIds.add(trans.ndbChainId);\n \t\t\t}\n \t\t}\n \t return chainIds;\n \t}", "private List<Entity> getToTeleport(boolean sameDimension) {\n return level == null || teleportBounds == null ? Collections.emptyList() : level.getEntitiesOfClass(Entity.class, teleportBounds,\n entity -> !entity.isSpectator() && !entity.isPassenger() && !(entity instanceof PartEntity) &&\n (sameDimension || entity.canChangeDimensions()) && !didTeleport.contains(entity.getUUID()));\n }", "@Command(\n name = \"list\",\n permission = \"aperf.cmd.module.entity.list\",\n parentName = \"aperf.cmd.module.entity\",\n syntax = \"/aperf entity <command>\",\n alias = {\"l\"})\n public static CommandResponse listEntitiesCommand(ICommandSender sender, List<String> args) {\n String groupName;\n IFilter grouperFilter = null;\n if (args.size() >= 1 && args.get(0) != null) {\n groupName = args.get(0);\n grouperFilter = loadGroup(groupName);\n }\n\n // Get Filter\n String filterArg;\n IFilter filter = null;\n if (args.size() >= 2 && args.get(1) != null) {\n filterArg = args.get(1);\n filter = loadFilter(\"Multi\", filterArg);\n }\n\n // Get Limit\n int limitStart = 0;\n int limitCount = 0;\n if (args.size() >= 3 && args.get(2) != null) {\n String limitArg = args.get(2);\n String[] limitArgParts = limitArg.split(\"-\");\n limitStart = Integer.parseInt(limitArgParts[0]);\n\n if (limitArgParts.length > 1) {\n limitCount = Integer.parseInt(limitArgParts[1]);\n }\n }\n\n Grouper<Entity> grouper = new Grouper<Entity>(filter, grouperFilter);\n\n ChatManager.send(sender, new ChatComponentText(\"----------------------------------\").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.GRAY)));\n for (WorldServer world : MinecraftServer.getServer().worldServers) {\n List<?> list = world.loadedEntityList;\n if (list.size() <= 0) continue;\n int total = 0;\n List<Map.Entry<String, Integer>> groups = grouper.group((List<Entity>) list);\n for (Map.Entry<String, Integer> e : groups) {\n total += e.getValue();\n }\n\n if (total > 0) {\n ChatManager.send(sender, new ChatComponentFormatted(\"{a|%s [%s], %s %s}\", world.provider.getDimensionName(), world.provider.dimensionId, total, total == 1 ? \"entity\" : \"entities\"));\n sendCountedList(sender, \" \", groups, limitStart, limitCount);\n }\n }\n ChatManager.send(sender, new ChatComponentText(\"----------------------------------\").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.GRAY)));\n\n return CommandResponse.DONE;\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic ArrayList<E> getEntities() {\n\t\treturn (ArrayList<E>) entities.clone();\n\t}", "public List<WrapperEntity> getEntitiesClassNamed(String className){\r\n\t\tList<WrapperEntity> entities = new ArrayList<WrapperEntity>();\r\n\t\tfor(Entity entity : world.loadedEntityList){\r\n\t\t\tif(entity.getClass().getCanonicalName().equals(className)){\r\n\t\t\t\tentities.add(WrapperEntity.getWrapperFor(entity));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn entities;\r\n\t}", "public void onUsingTick(ItemStack stack, EntityLivingBase player, int count) {\n/* 108 */ List<EntityItem> stuff = EntityUtils.getEntitiesInRange(player.field_70170_p, player.field_70165_t, player.field_70163_u, player.field_70161_v, player, EntityItem.class, 10.0D);\n/* */ \n/* */ \n/* 111 */ if (stuff != null && stuff.size() > 0)\n/* */ {\n/* 113 */ for (EntityItem e : stuff) {\n/* 114 */ if (!e.field_70128_L) {\n/* */ \n/* 116 */ double d6 = e.field_70165_t - player.field_70165_t;\n/* 117 */ double d8 = e.field_70163_u - player.field_70163_u + (player.field_70131_O / 2.0F);\n/* 118 */ double d10 = e.field_70161_v - player.field_70161_v;\n/* 119 */ double d11 = MathHelper.func_76133_a(d6 * d6 + d8 * d8 + d10 * d10);\n/* 120 */ d6 /= d11;\n/* 121 */ d8 /= d11;\n/* 122 */ d10 /= d11;\n/* 123 */ double d13 = 0.3D;\n/* 124 */ e.field_70159_w -= d6 * d13;\n/* 125 */ e.field_70181_x -= d8 * d13 - 0.1D;\n/* 126 */ e.field_70179_y -= d10 * d13;\n/* 127 */ if (e.field_70159_w > 0.25D) e.field_70159_w = 0.25D; \n/* 128 */ if (e.field_70159_w < -0.25D) e.field_70159_w = -0.25D; \n/* 129 */ if (e.field_70181_x > 0.25D) e.field_70181_x = 0.25D; \n/* 130 */ if (e.field_70181_x < -0.25D) e.field_70181_x = -0.25D; \n/* 131 */ if (e.field_70179_y > 0.25D) e.field_70179_y = 0.25D; \n/* 132 */ if (e.field_70179_y < -0.25D) e.field_70179_y = -0.25D; \n/* 133 */ if (player.field_70170_p.field_72995_K) {\n/* 134 */ FXDispatcher.INSTANCE.crucibleBubble((float)e.field_70165_t + (player.field_70170_p.field_73012_v\n/* 135 */ .nextFloat() - player.field_70170_p.field_73012_v.nextFloat()) * 0.2F, (float)e.field_70163_u + e.field_70131_O + (player.field_70170_p.field_73012_v\n/* 136 */ .nextFloat() - player.field_70170_p.field_73012_v.nextFloat()) * 0.2F, (float)e.field_70161_v + (player.field_70170_p.field_73012_v\n/* 137 */ .nextFloat() - player.field_70170_p.field_73012_v.nextFloat()) * 0.2F, 0.33F, 0.33F, 1.0F);\n/* */ }\n/* */ } \n/* */ } \n/* */ }\n/* */ }", "public ArrayList<Actor> getEnemies() {\n return getGrid().getNeighbors(getLocation());\n }", "public <T extends Entity> List<T> getAllEntitiesOf(Class<T> type, Entity... exclude)\n\t{\n\t\treturn this.getEntitiesInRadius(0.0F, 0.0F, 9999F, type, exclude);\n\t}", "private List<T> findRange(RequestData requestData) {\n javax.persistence.criteria.CriteriaQuery cq = getEntityManager().getCriteriaBuilder().createQuery();\n cq.select(cq.from(getEntityClass()));\n javax.persistence.Query q = getEntityManager().createQuery(cq);\n q.setMaxResults(requestData.getLength());\n q.setFirstResult(requestData.getStart());\n return q.getResultList();\n }", "public List<Measurement> findMeasurementsByTimeRange(Date fromDate, Date toDate) {\n return entityManager.createQuery(\"SELECT m from \" +\n \"Measurement m where m.date >= :fromDate and m.date <= :toDate\", Measurement.class)\n .setParameter(\"fromDate\", fromDate)\n .setParameter(\"toDate\", toDate)\n .getResultList();\n\n }", "public List<Entity> getPassengers() {\n/* 667 */ return Lists.newArrayList(Lists.transform((getHandle()).passengers, new Function<Entity, Entity>()\n/* */ {\n/* */ public Entity apply(Entity input) {\n/* 670 */ return input.getBukkitEntity();\n/* */ }\n/* */ }));\n/* */ }", "public List<Sprite> getEnnemies() {\r\n return ennemies.stream()\r\n .filter(c -> !SpriteStatusEnum.DEAD.equals(c.getStatus()))\r\n .collect(Collectors.toList());\r\n }", "public List<DefectEntity> getDefectEntity();", "public ArrayList<IMobile> getmEntity() {\r\n\t\treturn this.mEntity;\r\n\t}", "@NotNull\r\n BlockState[] getTileEntities();", "public LivingEntity getLivingEntity() {\n return eliteMob;\n }", "com.google.cloud.videointelligence.v1p2beta1.Entity getEntity();", "@Nonnull\n EntityLineageResult getLineageEntities(String rawUrn, LineageDirection direction, @Nullable Integer start,\n @Nullable Integer count, int maxHops, String actor);", "public boolean shouldExecute() {\n/* 25 */ if (!this.field_190859_a.getLeashed() && !this.field_190859_a.func_190718_dR()) {\n/* */ \n/* 27 */ List<EntityLlama> list = this.field_190859_a.world.getEntitiesWithinAABB(this.field_190859_a.getClass(), this.field_190859_a.getEntityBoundingBox().expand(9.0D, 4.0D, 9.0D));\n/* 28 */ EntityLlama entityllama = null;\n/* 29 */ double d0 = Double.MAX_VALUE;\n/* */ \n/* 31 */ for (EntityLlama entityllama1 : list) {\n/* */ \n/* 33 */ if (entityllama1.func_190718_dR() && !entityllama1.func_190712_dQ()) {\n/* */ \n/* 35 */ double d1 = this.field_190859_a.getDistanceSqToEntity((Entity)entityllama1);\n/* */ \n/* 37 */ if (d1 <= d0) {\n/* */ \n/* 39 */ d0 = d1;\n/* 40 */ entityllama = entityllama1;\n/* */ } \n/* */ } \n/* */ } \n/* */ \n/* 45 */ if (entityllama == null)\n/* */ {\n/* 47 */ for (EntityLlama entityllama2 : list) {\n/* */ \n/* 49 */ if (entityllama2.getLeashed() && !entityllama2.func_190712_dQ()) {\n/* */ \n/* 51 */ double d2 = this.field_190859_a.getDistanceSqToEntity((Entity)entityllama2);\n/* */ \n/* 53 */ if (d2 <= d0) {\n/* */ \n/* 55 */ d0 = d2;\n/* 56 */ entityllama = entityllama2;\n/* */ } \n/* */ } \n/* */ } \n/* */ }\n/* */ \n/* 62 */ if (entityllama == null)\n/* */ {\n/* 64 */ return false;\n/* */ }\n/* 66 */ if (d0 < 4.0D)\n/* */ {\n/* 68 */ return false;\n/* */ }\n/* 70 */ if (!entityllama.getLeashed() && !func_190858_a(entityllama, 1))\n/* */ {\n/* 72 */ return false;\n/* */ }\n/* */ \n/* */ \n/* 76 */ this.field_190859_a.func_190715_a(entityllama);\n/* 77 */ return true;\n/* */ } \n/* */ \n/* */ \n/* */ \n/* 82 */ return false;\n/* */ }", "@Test\n public void entity_entityFilter_tag_tagFilter() throws AtlasBaseException {\n SearchParameters params = new SearchParameters();\n params.setTypeName(HIVE_TABLE_TYPE);\n SearchParameters.FilterCriteria fcE = getSingleFilterCondition(\"tableType\", Operator.EQ, \"Managed\");\n params.setEntityFilters(fcE);\n params.setClassification(METRIC_CLASSIFICATION);\n SearchParameters.FilterCriteria fcC = getSingleFilterCondition(\"__timestamp\", SearchParameters.Operator.LT, String.valueOf(System.currentTimeMillis()));\n params.setTagFilters(fcC);\n\n List<AtlasEntityHeader> entityHeaders = discoveryService.searchWithParameters(params).getEntities();\n\n Assert.assertTrue(CollectionUtils.isNotEmpty(entityHeaders));\n assertEquals(entityHeaders.size(), 4);\n\n }", "@Override\n\tpublic List<String> getAllAuditedEntitiesNames() {\n\t\tif (this.allAuditedEntititesNames != null) {\n\t\t\t// return this.allAuditedEntititesNames;\n\t\t}\n\t\t//\n\t\tList<String> result = new ArrayList<>();\n\t\tSet<EntityType<?>> entities = entityManager.getMetamodel().getEntities();\n\t\tfor (EntityType<?> entityType : entities) {\n\t\t\tif (entityType.getJavaType() == null) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t// get entities methods and search annotation Audited in fields.\n\t\t\tif (getAuditedField(entityType.getJavaType().getDeclaredFields())) {\n\t\t\t\tresult.add(entityType.getJavaType().getCanonicalName());\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t//\n\t\t\t// TODO: add some better get of all class annotations\n\t\t\tAnnotation[] annotations = null;\n\t\t\ttry {\n\t\t\t\tannotations = entityType.getJavaType().newInstance().getClass().getAnnotations();\n\t\t\t} catch (InstantiationException | IllegalAccessException e) {\n\t\t\t\t// class is not accessible\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t// entity can be annotated for all class\n\t\t\tif (getAuditedAnnotation(annotations)) {\n\t\t\t\tresult.add(entityType.getJavaType().getCanonicalName());\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t// sort entities by name\n\t\tCollections.sort(result);\n\t\t//\n\t\tthis.allAuditedEntititesNames = result;\n\t\treturn result;\n\t}", "public List<Entity> getAll() {\n return entities;\n }", "List<WeightedMobSpawnGroup> getMobSpawnGroup(EntityCategory entityCategory);", "@SuppressWarnings(\"unchecked\")\n\tpublic <T extends Entity> List<T> getEntitiesInRadius(float x, float y, float radius, Class<T> type, Entity... exclude)\n\t{\n\t\tList<T> entitiesInRadius = new ArrayList<>();\n\t\tEntity currentEntity;\n\t\tfor(int i = 0; i < this.entities.size(); ++i)\n\t\t{\n\t\t\tcurrentEntity = this.entities.get(i);\n\t\t\tif(!type.isInstance(currentEntity))\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif(Math.pow(currentEntity.getX() - x, 2) + Math.pow(currentEntity.getY() - y, 2) <= Math.pow(radius + currentEntity.getRadius(), 2)\n\t\t\t\t&& !Arrays.asList(exclude).contains(currentEntity))\n\t\t\t{\n\t\t\t\tentitiesInRadius.add((T)currentEntity);\n\t\t\t}\n\t\t}\n\t\treturn entitiesInRadius;\n\t}", "List<EffectPointModel> mo70331d();", "public List<MatchEntity> mo110211a() {\n return f89786a.mo110197a().mo110205a();\n }", "public static ArrayList<XYCoord> findTargetsInRange(GameMap map, Commander co, XYCoord attackerPosition, Weapon weapon)\n {\n ArrayList<XYCoord> locations = findLocationsInRange(map, attackerPosition, weapon.model.minRange, weapon.model.maxRange);\n ArrayList<XYCoord> targets = new ArrayList<XYCoord>();\n for( XYCoord loc : locations )\n {\n if( map.getLocation(loc).getResident() != null && // Someone is there.\n map.getLocation(loc).getResident().CO.isEnemy(co) && // They are not friendly.\n weapon.getDamage(map.getLocation(loc).getResident().model) > 0 ) // We can shoot them.\n {\n targets.add(loc);\n }\n }\n return targets;\n }", "private void initializeEntities() {\n arrAttack = new ArrayList<>();\n arrCollidable = new ArrayList<>();\n entities = new ArrayList<>();\n\n arrAttack = scene.entityManager.getEntitiesWithComponents(attackComponent.getClass(), tool.getClass());\n\n arrCollidable = scene.entityManager.getEntitiesWithComponents(collidable.getClass(), Playable.class);\n\n for (int i = 0; i < arrAttack.size(); i++) {\n\n tool = scene.entityManager.getEntityComponentInstance(arrAttack.get(i), tool.getClass());\n\n //A -1 means that the entity is not attacking, at least with that weapon\n if (tool.currentActive != -1) {\n entities.add(arrAttack.get(i));\n }\n }\n\n //adding collidables to entities\n for (int i = 0; i < arrCollidable.size(); i++) {\n entities.add(arrCollidable.get(i));\n }\n }", "Vec3 getHomeCoords(IGeneticMob geneticMob);", "public static <T extends Entity> T getTargetedEntity(LivingEntity entity, double range, Class<T> c,\r\n\t\t\tCollection<? extends T> avoid, boolean targetHidden) {\r\n\t\tLocation eyeLocation = entity.getEyeLocation();\r\n\t\tVector direction = eyeLocation.getDirection();\r\n\t\tSet<T> candidates;\r\n\t\tif (avoid == null) {\r\n\t\t\tcandidates = EnvironmentUtils.getEntitiesAroundPoint(eyeLocation, range, c);\r\n\t\t} else {\r\n\t\t\tcandidates = EnvironmentUtils.getEntitiesAroundPoint(eyeLocation, range, c, avoid);\r\n\t\t}\r\n\t\tT result = null;\r\n\t\tdouble distance, bestdistance = Double.MAX_VALUE;\r\n\t\tfor (T target : candidates) {\r\n\t\t\tLocation loc = target.getLocation();\r\n\t\t\tif (entity instanceof Player && target instanceof Player) {\r\n\t\t\t\tif (!targetHidden && !((Player) entity).canSee((Player) target)) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (!entity.equals(target) && isLineOfSight(loc, eyeLocation) && isInFrontOf(entity, target)\r\n\t\t\t\t\t&& MathUtils.getDistanceFromLine(direction, eyeLocation, loc) < 2) {\r\n\t\t\t\tdistance = loc.distance(eyeLocation);\r\n\t\t\t\tif (distance < bestdistance) {\r\n\t\t\t\t\tbestdistance = distance;\r\n\t\t\t\t\tresult = target;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public ArrayList<Entity> getAdjacentCreature(int row, int col, int type) {\n\t\tint topRow = row-1;\n\t\tint bottomRow = row+1;\n\t\tint leftCol = col-1;\n\t\tint rightCol = col+1;\n\t\tArrayList<Entity> allAround = new ArrayList<Entity>(); \n\t\tArrayList<Entity> adjacentMonsterList = new ArrayList<Entity>();\n\t\tArrayList<Entity> adjacentHeroList = new ArrayList<Entity>();\n\t\t\n\t\ttry {\n\t\t\tQolTile Center = (QolTile)curboard[row][col];\n\t\t\tEntity[] heroTile = Center.getOccupants();\n\t\t\tfor (int i = 0; i < heroTile.length; i++) {\n\t\t\t\tallAround.add(heroTile[i]);\n\t\t\t}\t\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t} catch (ClassCastException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\n\t\ttry {\n\t\t\tQolTile TopLeft = (QolTile)curboard[topRow][leftCol];\n\t\t\tEntity[] monster1 = TopLeft.getOccupants();\n\t\t\tfor (int i = 0; i < monster1.length; i++) {\n\t\t\t\tallAround.add(monster1[i]);\n\t\t\t}\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t} catch (ClassCastException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t}\n\n\t\ttry {\n\t\t\tQolTile TopCenter = (QolTile)curboard[topRow][col];\n\t\t\tEntity[] monster2 = TopCenter.getOccupants();\n\t\t\tfor (int i = 0; i < monster2.length; i++) {\n\t\t\t\tallAround.add(monster2[i]);\n\t\t\t}\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t} catch (ClassCastException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t}\n\n\t\ttry {\n\t\t\tQolTile TopRight = (QolTile)curboard[topRow][rightCol];\n\t\t\tEntity[] monster3 = TopRight.getOccupants();\n\t\t\tfor (int i = 0; i < monster3.length; i++) {\n\t\t\t\tallAround.add(monster3[i]);\n\t\t\t}\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t} catch (ClassCastException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t}\n\n\t\ttry {\n\t\t\tQolTile CenterLeft = (QolTile)curboard[row][leftCol];\n\t\t\tEntity[] monster4 = CenterLeft.getOccupants();\n\t\t\tfor (int i = 0; i < monster4.length; i++) {\n\t\t\t\tallAround.add(monster4[i]);\n\t\t\t}\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t} catch (ClassCastException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t}\n\n\t\ttry {\n\t\t\tQolTile CenterRight = (QolTile)curboard[row][col+1];\n\t\t\tEntity[] monster5 = CenterRight.getOccupants();\n\t\t\tfor (int i = 0; i < monster5.length; i++) {\n\t\t\t\tallAround.add(monster5[i]);\n\t\t\t}\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t} catch (ClassCastException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t}\n\n\t\ttry {\n\t\t\tQolTile BottomLeft = (QolTile)curboard[bottomRow][leftCol];\n\t\t\tEntity[] monster6 = BottomLeft.getOccupants();\n\t\t\tfor (int i = 0; i < monster6.length; i++) {\n\t\t\t\tallAround.add(monster6[i]);\n\t\t\t}\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t} catch (ClassCastException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t}\n\n\t\ttry {\n\t\t\tQolTile BottomCenter = (QolTile)curboard[bottomRow][col];\n\t\t\tEntity[] monster7 = BottomCenter.getOccupants();\n\t\t\tfor (int i = 0; i < monster7.length; i++) {\n\t\t\t\tallAround.add(monster7[i]);\n\t\t\t}\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t} catch (ClassCastException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t}\n\n\t\ttry {\n\t\t\tQolTile BottomRight = (QolTile)curboard[bottomRow][rightCol];\n\t\t\tEntity[] monster8 = BottomRight.getOccupants();\n\t\t\tfor (int i = 0; i < monster8.length; i++) {\n\t\t\t\tallAround.add(monster8[i]);\n\t\t\t}\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t} catch (ClassCastException e) {\n\t\t\t// TODO: handle exception\n//\t\t\te.printStackTrace();\n\t\t}\t\t\n\t\t\n\t\t\n\t\tfor(Entity e : allAround) {\n\t\t\tif (e instanceof Monster) {\n\t\t\t\tadjacentMonsterList.add(e);\n\t\t\t} else if (e instanceof Hero) {\n\t\t\t\tadjacentHeroList.add(e);\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Negative Type is a hero looking for nearby monster\n\t\t//Positive Type is a monster looking for nearby hero\n\t\t//Return respective list\n\t\t\n\t\tif (type < 0) {\n\t\t\treturn adjacentMonsterList;\n\t\t} else if (type > 0) {\n\t\t\treturn adjacentHeroList;\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "List<Videogioco> doRetriveVideogiocoAllRange(int min, int max);", "public static MTriggerEffectRange createEntity(EntityManager em) {\n MTriggerEffectRange mTriggerEffectRange = new MTriggerEffectRange()\n .effectType(DEFAULT_EFFECT_TYPE)\n .targetPositionGk(DEFAULT_TARGET_POSITION_GK)\n .targetPositionFw(DEFAULT_TARGET_POSITION_FW)\n .targetPositionOmf(DEFAULT_TARGET_POSITION_OMF)\n .targetPositionDmf(DEFAULT_TARGET_POSITION_DMF)\n .targetPositionDf(DEFAULT_TARGET_POSITION_DF)\n .targetAttribute(DEFAULT_TARGET_ATTRIBUTE)\n .targetNationalityGroupId(DEFAULT_TARGET_NATIONALITY_GROUP_ID)\n .targetTeamGroupId(DEFAULT_TARGET_TEAM_GROUP_ID)\n .targetCharacterGroupId(DEFAULT_TARGET_CHARACTER_GROUP_ID)\n .targetFormationGroupId(DEFAULT_TARGET_FORMATION_GROUP_ID)\n .targetActionCommand(DEFAULT_TARGET_ACTION_COMMAND);\n return mTriggerEffectRange;\n }", "public static ArrayList<Npc> getNearbyNpcList(ClientContext ctx) {\n ArrayList npcs = new ArrayList();\n\n for (Npc n : ctx.npcs.select().viewable()) {\n npcs.add(n);\n }\n\n return new ArrayList<>(new HashSet<>(npcs));\n\n\n }", "public ArrayList<Entity> getAllOtherEntities(Player player)\n {\n ArrayList<Entity> entitiesWithoutPlayer = new ArrayList<>();\n for (Entity entity : entityList) {\n if (!entity.equals(player)) {\n entitiesWithoutPlayer.add(entity);\n }\n }\n return entitiesWithoutPlayer;\n }", "@Command(\n name = \"listaround\",\n permission = \"aperf.cmd.module.entity.listaround\",\n parentName = \"aperf.cmd.module.entity\",\n syntax = \"/aperf entity <command>\",\n alias = {\"la\"})\n public static CommandResponse listAroundCommand(ICommandSender sender, List<String> args) {\n if (args.size() < 1) return CommandResponse.SEND_HELP_MESSAGE;\n if (!(sender instanceof EntityPlayer)) return CommandResponse.DONE; // TODO Throw an exception\n EntityPlayer p = (EntityPlayer) sender;\n int radius = Integer.parseInt(args.get(0));\n\n String filter = args.get(2);\n filter = filter != null && filter.length() > 0 ? filter + \",\" : \"\";\n\n filter = filter + String.format(\"dim:%d,pos:%d.%d.%d/%d.%d.%d\", p.dimension, (int) p.posX - radius, (int) p.posY - radius, (int) p.posZ - radius, (int) p.posX + radius, (int) p.posY + radius, (int) p.posZ + radius);\n args.set(2, filter);\n\n listEntitiesCommand(sender, args.subList(1, args.size()));\n\n return CommandResponse.DONE;\n }", "public List<Object> retrieveIncrementalEntities() {\n List<Object> result = new ArrayList<Object>();\n for (ProvisioningEntityWrapper provisioningEntityWrapper : this.provisioningEntityWrappers) {\n \n if (provisioningEntityWrapper.getGrouperTargetEntity() != null) {\n result.add(provisioningEntityWrapper.getGrouperTargetEntity());\n } else if (provisioningEntityWrapper.getGrouperProvisioningEntity() != null) {\n result.add(provisioningEntityWrapper.getGrouperProvisioningEntity());\n } else if (provisioningEntityWrapper.getGcGrouperSyncMember() != null) {\n result.add(provisioningEntityWrapper.getGcGrouperSyncMember());\n } else if (provisioningEntityWrapper.getProvisioningStateEntity() != null) {\n result.add(provisioningEntityWrapper.getProvisioningStateEntity());\n }\n }\n return result;\n }", "public List<Equipment> findByPriceRange(int from, int to){\n List<Equipment> foundEquipment = new ArrayList<>();\n for(Equipment e: equipment){\n if (e.getPrice() <= to && e.getPrice() >= from){\n foundEquipment.add(e);\n }\n }\n return foundEquipment;\n }", "public ArrayList<QuadTreeNode<E>> getIntersecting(Circle range) {\n\t\tif (!divided) {\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\tArrayList<QuadTreeNode<E>> intersecting = new ArrayList<QuadTreeNode<E>>();\n\t\t\n\t\tfor (QuadTreeNode<E> n : nodes) {\n\t\t\tif (n.intersects(range)) {\n\t\t\t\tintersecting.add(n);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn intersecting;\n\t}", "List<RegionalClassifierEntity> getItsListOfRegions();", "public Entity[][] entities() {\r\n\t\treturn this.entities;\r\n\t}", "List<StandardsEntity> STANDARDS_ENTITY_LIST() throws Exception;", "public Parameter[] getEntities()\n\t{\n\t\tStorageSupportParameter[] resultArray = null;\n\t\tWorkingInformation temp[] = null;\n\t\tif (wLength > 0 && wLength <= DatabaseFinder.MAXDISP)\n\t\t{\t\n\t\t\ttry\n\t\t\t{\t\n\t\t\t\ttemp = (WorkingInformation[])((WorkingInformationFinder)wFinder).getEntities(wStartpoint, wEndpoint);\n\t\t\t\tresultArray = convertToStorageSupportParams(temp);\n\t\t\t}\n\t\t\tcatch (Exception e)\n\t\t\t{\n\t\t\t\t//#CM570186\n\t\t\t\t//Drop the error to the log file. \n\t\t\t\tRmiMsgLogClient.write(new TraceHandler(6006020, e), this.getClass().getName());\n\t\t\t}\n\t\t}\n\n\t\twCurrent = wEndpoint;\n\t\treturn resultArray;\n\t}", "List<ObjectExpenseEntity> getAllObjectExpenses();", "public List<LugarEntity> findall(){\n Query q = em.createQuery(\"SELECT p FROM LugarEntity p\");\n return q.getResultList();\n }", "public List<cn.edu.nju.teamwiki.jooq.tables.pojos.Document> fetchRangeOfModifiedTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) {\n return fetchRange(Document.DOCUMENT.MODIFIED_TIME, lowerInclusive, upperInclusive);\n }", "public static MTriggerEffectRange createUpdatedEntity(EntityManager em) {\n MTriggerEffectRange mTriggerEffectRange = new MTriggerEffectRange()\n .effectType(UPDATED_EFFECT_TYPE)\n .targetPositionGk(UPDATED_TARGET_POSITION_GK)\n .targetPositionFw(UPDATED_TARGET_POSITION_FW)\n .targetPositionOmf(UPDATED_TARGET_POSITION_OMF)\n .targetPositionDmf(UPDATED_TARGET_POSITION_DMF)\n .targetPositionDf(UPDATED_TARGET_POSITION_DF)\n .targetAttribute(UPDATED_TARGET_ATTRIBUTE)\n .targetNationalityGroupId(UPDATED_TARGET_NATIONALITY_GROUP_ID)\n .targetTeamGroupId(UPDATED_TARGET_TEAM_GROUP_ID)\n .targetCharacterGroupId(UPDATED_TARGET_CHARACTER_GROUP_ID)\n .targetFormationGroupId(UPDATED_TARGET_FORMATION_GROUP_ID)\n .targetActionCommand(UPDATED_TARGET_ACTION_COMMAND);\n return mTriggerEffectRange;\n }", "@Override\n\tpublic int getDamageVsEntity(Entity e){\n\t\treturn 0;\n\t}", "private List<Enemy> filterEnemies(List<Enemy> enemies, Point towerPosition) {\n return enemies.stream().filter(e -> canReach(new Point((int) e.getX(), (int) e.getY()), towerPosition)).collect(Collectors.toList());\n }", "public default double getTargetRange(Entity casterIn){ return RangeType.getRange(casterIn, this); }", "public ArrayList<Particle> getNearParticles(Complex p, int range)\n\t{\n\t\tint cellX = (int)Math.floor(p.re() / meshWidth);\n\t\tint cellY = (int)Math.floor(p.im() / meshWidth);\n\t\treturn proximityList[cellX][cellY];\n\t}", "public HashMap<String, float[]> getAllInRange(float range, float [] obj_pos){\n HashMap<String, float[]> objs = new HashMap<>();\n float [] pos = new float [3];\n String name;\n float distance;\n for (int i = 0; i < field.length; i++){\n //euclidean distance and only add those in range\n //NOTE: could replace with (x<range && y<range && z<range)\n distance = (float)Math.sqrt(((obj_pos[0]-field[i].x)*(obj_pos[0]-field[i].x)) + ((obj_pos[1]-field[i].y)\n *(obj_pos[1]-field[i].y)) + ((obj_pos[2]-field[i].z)*(obj_pos[2]-field[i].z)));\n if (distance <= range) {\n name = \"Asteroid\" + i;\n pos[0] = field[i].x;\n pos[1] = field[i].y;\n pos[2] = field[i].z;\n objs.put(name, pos);\n }\n }\n return objs;\n }", "EntityVisitor getEntityContactBeginVisitor();", "List<SpawnType> getSpawnTypes(EntityType entityType);", "public boolean overlapAnyEntity(){\n \treturn this.getSuperWorld().getEntities().stream().anyMatch(T ->this.overlap(T));\n }", "com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrBuilder();", "public List<EntityMapping> entityMappings() {\n return this.innerProperties() == null ? null : this.innerProperties().entityMappings();\n }", "private void findExtremes( Vector<? extends AbstractWirelessDevice> coll )\r\n {\r\n for( AbstractWirelessDevice e: coll )\r\n {\r\n double x = e.getLocation().getX();\r\n double y = e.getLocation().getY();\r\n \r\n if( x < minX )\r\n minX = x;\r\n \r\n if( x > maxX )\r\n maxX = x;\r\n \r\n if( y < minY )\r\n minY = y;\r\n \r\n if( y > maxY )\r\n maxY = y;\r\n }\r\n }" ]
[ "0.59516585", "0.5820169", "0.56547624", "0.56512755", "0.5644257", "0.5540325", "0.55240774", "0.54945034", "0.54842395", "0.5469605", "0.5450272", "0.53849757", "0.53316885", "0.5329191", "0.53044164", "0.53016996", "0.52835035", "0.52816516", "0.5258851", "0.5243933", "0.5211181", "0.5208461", "0.5201462", "0.5193254", "0.51847774", "0.51750904", "0.51705647", "0.5149965", "0.51428044", "0.51252145", "0.51225394", "0.51092446", "0.5103757", "0.5095513", "0.50905037", "0.5082416", "0.50819993", "0.50513524", "0.50472784", "0.50202614", "0.5007763", "0.49918297", "0.49859703", "0.49833187", "0.49747637", "0.49669865", "0.4966933", "0.49494192", "0.49177897", "0.48857614", "0.48633936", "0.4862467", "0.48361817", "0.4832327", "0.4829162", "0.48144615", "0.4811624", "0.48080856", "0.4797276", "0.4791401", "0.47910628", "0.47769225", "0.47731856", "0.47724742", "0.47711754", "0.4758834", "0.47586802", "0.47528467", "0.4750991", "0.47480977", "0.47363368", "0.47334212", "0.47225344", "0.47130895", "0.4709795", "0.46833152", "0.46832052", "0.46751273", "0.4663721", "0.46611547", "0.46504712", "0.46486264", "0.4642271", "0.46313012", "0.46309617", "0.4611195", "0.46025532", "0.4601277", "0.45921868", "0.45882198", "0.45866355", "0.45863277", "0.45853385", "0.45847827", "0.4583874", "0.45777038", "0.45773605", "0.45691592", "0.45643738", "0.45623025" ]
0.5379028
12
Returns a list of EntityMobs closest to the point at which the entity is looking and within the distance and radius specified
public static final List<EntityMob> acquireNearestLookMobTargetList(EntityLivingBase seeker, int distance, double radius, int numberOfTargets) { List<EntityMob> targets = new ArrayList<EntityMob>(); targets = acquireAllLookMobTargets(seeker, distance, radius); List<EntityMob> closestMobsArray = new ArrayList<EntityMob>(); int counter = 0; boolean isListExhausted = false; while(counter < numberOfTargets && !isListExhausted) { double currentDistance = MAX_DISTANCE_SQ; EntityMob currentTarget = null; for (EntityMob target : targets) { if(!closestMobsArray.contains(target)) { double newDistance = target.getDistanceSq(seeker); if (newDistance < currentDistance) { currentTarget = target; currentDistance = newDistance; //System.out.println( "Test Entity Detected By Dance of Arrows" ); //System.out.println( "Target Found " + Integer.toString( target.getEntityId() ) ); } } } if(currentTarget != null) { closestMobsArray.add(currentTarget); } else { isListExhausted = true; } counter++; } return closestMobsArray; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static List<Entity> getNearbyEntities(Location loc, double radius) {\n\t\tList<Entity> closeEntities = new ArrayList<Entity>();\n\t\tList<Entity> totalEntities = loc.getWorld().getEntities();\n\t\tfor (Entity ent : totalEntities) {\n\t\t\tif (loc.getWorld().equals(ent.getWorld())) {\n\t\t\t\tif (loc.distanceSquared(ent.getLocation()) < Math.pow(radius, 2)) {\n\t\t\t\t\tcloseEntities.add(ent);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn closeEntities;\n\t}", "public List<GameObject> getObjectsInRadius(int radius) {\n \n //filters and joins together both lists\n return objs.stream()\n .filter(go -> withinRadius(go, radius))\n .collect(Collectors.toList());\n }", "public static final List<EntityMob> acquireAllLookMobTargets(EntityLivingBase seeker, int distance, double radius) \r\n\t{\r\n\t\tif (distance < 0 || distance > MAX_DISTANCE) \r\n\t\t{\r\n\t\t\tdistance = MAX_DISTANCE;\r\n\t\t}\r\n\r\n\t\tList<EntityMob> targets = new ArrayList<EntityMob>();\r\n\t\tVec3d vec3 = seeker.getLookVec();\r\n\t\tdouble targetX = seeker.posX;\r\n\t\tdouble targetY = seeker.posY + seeker.getEyeHeight() - 0.10000000149011612D;\r\n\t\tdouble targetZ = seeker.posZ;\r\n\t\tdouble distanceTraveled = 0;\r\n\r\n\t\twhile ((int) distanceTraveled < distance) \r\n\t\t{\r\n\t\t\ttargetX += vec3.x;\r\n\t\t\ttargetY += vec3.y;\r\n\t\t\ttargetZ += vec3.z;\r\n\t\t\tdistanceTraveled += vec3.lengthVector();\r\n\r\n\t\t\tList<EntityMob> list = seeker.world.getEntitiesWithinAABB(EntityMob.class,\r\n\t\t\t\t\tnew AxisAlignedBB(targetX-radius, targetY-radius, targetZ-radius, targetX+radius, targetY+radius, targetZ+radius));\r\n\r\n\t\t\tfor (EntityMob target : list) \r\n\t\t\t{\r\n\t\t\t\tif (target != seeker && target.canBeCollidedWith() && isTargetInSight(vec3, seeker, target)) \r\n\t\t\t\t{\r\n\t\t\t\t\tif (!targets.contains(target)) \r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttargets.add(target);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn targets;\r\n\t}", "public ArrayList<Record> near()\n {\n int count = 0;\n ArrayList<Record> closest = new ArrayList<>();\n System.out.println(\"Community Centres that are 5km or less to your location are: \");\n for(Record i: cCentres)\n {\n //latitude and longitude for each centre\n double lat2 = Double.parseDouble(i.getValue(4));\n double lon2 = Double.parseDouble(i.getValue(3));\n ;\n //distance\n double dist = calcDist(lat2, lon2, cCentres);\n if(dist<=5)\n {\n System.out.println(i + \", Distance: \" + dist + \" km\");\n closest.add(i);\n }\n }\n return closest;\n }", "public void calculateDistance() {\n\t\tdouble lon = coordinates.getLongitude(); // your longitude\n\t\tdouble lat = coordinates.getLatitude(); // your latitude\n\n\t\tString distanceQueryString = \"SELECT loc, \"\n\t\t\t\t+ \"(:earthRadius * FUNC('acos', FUNC('cos', FUNC('radians', :latitude)) * \"\n\t\t\t\t+ \"FUNC('cos', FUNC('radians', loc.latitude)) * \"\n\t\t\t\t+ \"FUNC('cos', FUNC('radians', loc.longitude) - FUNC('radians', :longitude)) + \"\n\t\t\t\t+ \"FUNC('sin', FUNC('radians', :latitude)) * FUNC('sin', FUNC('radians', loc.latitude)) ) ) AS distance \"\n\t\t\t\t+ \"FROM Location loc \"\n\t\t\t\t+ \"WHERE ((:earthRadius * FUNC('acos', FUNC('cos', FUNC('radians', :latitude)) * \"\n\t\t\t\t+ \"FUNC('cos', FUNC('radians', loc.latitude)) * \"\n\t\t\t\t+ \"FUNC('cos', FUNC('radians', loc.longitude) - FUNC('radians', :longitude)) + \"\n\t\t\t\t+ \"FUNC('sin', FUNC('radians', :latitude)) * FUNC('sin', FUNC('radians', loc.latitude)) ) )<= :searchRadius) \"\n\t\t\t\t+ \"ORDER BY distance\";\n\n\t\tQuery query = entityManager.createQuery(distanceQueryString);\n\t\tquery.setParameter(\"latitude\", lat);\n\t\tquery.setParameter(\"longitude\", lon);\n\t\tquery.setParameter(\"searchRadius\", searchRadius);\n\t\tquery.setParameter(\"earthRadius\", EARTH_RADIUS);\n\t\tquery.setMaxResults(limit);\n\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tList<Object[]> rows = query.getResultList();\n\t\tList<Location> sortedLocations = new ArrayList<>(rows.size());\n\t\tfor (Object[] row : rows) {\n\t\t\tsortedLocations.add((Location) row[0]);\n\t\t}\n\n\t\tCity city;\n\t\tMap<City, Double> unsortedMap = new HashMap<>();\n\n\t\tfor (Location entity : sortedLocations) {\n\t\t\tcity = entity.getCity();\n\t\t\tdouble distance = getDistanceFromBounds(new Coordinates(lat, lon), city.getBounds());\n\t\t\tunsortedMap.put(city, distance);\n\t\t}\n\n\t\tMap<City, Double> sortedMap = unsortedMap.entrySet().stream().sorted(Entry.comparingByValue())\n\t\t\t\t.collect(Collectors.toMap(Entry::getKey, Entry::getValue, (e1, e2) -> e1, LinkedHashMap::new));\n\n\t\tfor (Map.Entry<City, Double> entry : sortedMap.entrySet()) {\n\t\t\tif (entry.getValue() == 0.0) {\n\t\t\t\tSystem.out.println(\"Point is inside the bounds of \" + entry.getKey().getName() + \"(\"\n\t\t\t\t\t\t+ entry.getKey().getCountry() + \")\");\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%.4f\", entry.getValue());\n\t\t\t\tSystem.out.println(\" km. - \" + entry.getKey().getName() + \"(\" + entry.getKey().getCountry() + \")\");\n\t\t\t}\n\t\t}\n\t}", "public static Player nearestPlayer(Entity entity, double radius) {\n Player player = null;\n double shortest = (radius * radius) + 1;\n double distSq;\n for (Player p : entity.getWorld().getPlayers()) {\n if (p.isDead() || !p.getGameMode().equals(GameMode.SURVIVAL)) continue;\n if (!entity.getWorld().equals(p.getWorld())) continue;\n distSq = entity.getLocation().distanceSquared(p.getLocation()); //3D distance\n if (distSq < shortest) {\n player = p;\n shortest = distSq;\n }\n }\n return player;\n }", "public List<Entity> getEntitiesInRadius(float x, float y, float radius, Entity... exclude)\n\t{\n\t\treturn this.getEntitiesInRadius(x, y, radius, Entity.class, exclude);\n\t}", "public MovingObjectPosition rayTraceEntities(World world, Vector3 target)\n {\n MovingObjectPosition pickedEntity = null;\n Vec3 startingPosition = this.toVec3();\n Vec3 look = target.toVec3();\n double reachDistance = this.distance(target);\n Vec3 reachPoint = Vec3.createVectorHelper(startingPosition.xCoord + look.xCoord * reachDistance, startingPosition.yCoord + look.yCoord * reachDistance, startingPosition.zCoord + look.zCoord * reachDistance);\n\n double checkBorder = 1.1 * reachDistance;\n AxisAlignedBB boxToScan = AxisAlignedBB.getAABBPool().getAABB(-checkBorder, -checkBorder, -checkBorder, checkBorder, checkBorder, checkBorder).offset(this.x, this.y, this.z);\n\n @SuppressWarnings(\"unchecked\")\n List<Entity> entitiesHit = world.getEntitiesWithinAABBExcludingEntity(null, boxToScan);\n double closestEntity = reachDistance;\n\n if (entitiesHit == null || entitiesHit.isEmpty())\n {\n return null;\n }\n for (Entity entityHit : entitiesHit)\n {\n if (entityHit != null && entityHit.canBeCollidedWith() && entityHit.boundingBox != null)\n {\n float border = entityHit.getCollisionBorderSize();\n AxisAlignedBB aabb = entityHit.boundingBox.expand(border, border, border);\n MovingObjectPosition hitMOP = aabb.calculateIntercept(startingPosition, reachPoint);\n\n if (hitMOP != null)\n {\n if (aabb.isVecInside(startingPosition))\n {\n if (0.0D < closestEntity || closestEntity == 0.0D)\n {\n pickedEntity = new MovingObjectPosition(entityHit);\n if (pickedEntity != null)\n {\n pickedEntity.hitVec = hitMOP.hitVec;\n closestEntity = 0.0D;\n }\n }\n }\n else\n {\n double distance = startingPosition.distanceTo(hitMOP.hitVec);\n\n if (distance < closestEntity || closestEntity == 0.0D)\n {\n pickedEntity = new MovingObjectPosition(entityHit);\n pickedEntity.hitVec = hitMOP.hitVec;\n closestEntity = distance;\n }\n }\n }\n }\n }\n return pickedEntity;\n }", "Execution getClosestDistance();", "public List<Map<String, AttributeValue>> findStations(Point point, Distance radiusInMeters) {\n GeoPoint centerPoint = new GeoPoint(point.getY(), point.getX());\n\n QueryRadiusRequest queryRadiusRequest = new QueryRadiusRequest(centerPoint, radiusInMeters.in(Metrics.KILOMETERS).getValue() * 1000);\n QueryRadiusResult queryRadiusResult = geoDataManager.queryRadius(queryRadiusRequest);\n\n return queryRadiusResult.getItem();\n }", "List<Media> search(double latitude, double longitude, int distance);", "public List<T> nearestNeighborsInRadiusNaive(double r, HasCoordinates searchPos)\n throws IllegalArgumentException {\n if (r < 0) {\n throw new IllegalArgumentException(\"ERROR: Radius must be \"\n + \"a positive integer\");\n }\n List<T> pointsCopy = new ArrayList<>(points);\n Collections.shuffle(pointsCopy);\n\n pointsCopy.removeIf(p -> searchPos.dist(p) > r);\n\n Collections.sort(pointsCopy, new PointComparator(searchPos));\n\n return pointsCopy;\n }", "List<Media> search(double latitude, double longitude, long maxTimeStamp, long minTimeStamp, int distance);", "public static EntityPlayer getClosest() {\r\n\t\tdouble lowestDistance = Integer.MAX_VALUE;\r\n\t\tEntityPlayer closest = null;\r\n\t\t\r\n\t\tfor (EntityPlayer player : getAll()) {\r\n\t\t\tif (player.getDistance(mc.player) < lowestDistance) {\r\n\t\t\t\tlowestDistance = player.getDistance(mc.player);\r\n\t\t\t\tclosest = player;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn closest;\r\n\t}", "public ArrayList< LocationHandler >findNear ( double lat, double lon){\n\t\tArrayList< LocationHandler> locationList = new ArrayList< LocationHandler>();\n\t\tString selectQuery = \"SELECT \"+ table_location +\".*, \" +\n\t\t\t\t\"(( \" + lat +\" - \" + table_location+\".\"+ key_latitude +\") * (\" + lat +\" - \" + table_location+\".\"+ key_latitude +\") + \" +\n\t\t\t\t\"(\" + lon +\" - \" + table_location+\".\"+ key_longitude +\") * (\" + lon +\" - \" + table_location+\".\"+ key_longitude +\"))\" +\n\t\t\t\t\" AS distance \"+ \n\t\t\t\t\" FROM \" + table_location + \" LEFT JOIN \" + table_locationType + \" ON \" +\n\t\t\t\ttable_location +\".\"+key_type + \" = \" + table_locationType+ \".\" +key_base_id +\n\t\t\t\t\" ORDER BY distance\";\n\t\t//\t\t\t\t\t\" ORDER BY \" + \"ABS( \" + table_location +\".\" +key_latitude + \" - \" + lon + \") \" + \" AND \" \n\t\t//\t\t\t\t\t + \"ABS( \" + table_location +\".\"+ key_longitude + \" - \" + lat + \") \" + \" DESC\";\n\t\tLog.i(TAG, \"near \" + selectQuery);\n\t\tSQLiteDatabase db = this.getWritableDatabase();\n\t\tCursor cursor = db.rawQuery(selectQuery, null);\n\t\tif (cursor.moveToFirst()) {\n\t\t\tdo {\n\t\t\t\tLocationHandler locationHandlerArray = new LocationHandler();\n\t\t\t\tlocationHandlerArray.setId(cursor.getInt(0)); \n\t\t\t\tlocationHandlerArray.setBase_id(cursor.getInt(1)); \n\t\t\t\tlocationHandlerArray.setDate_entry(cursor.getString(2)); \n\t\t\t\tlocationHandlerArray.setLongitude(cursor.getDouble(3)); \n\t\t\t\tlocationHandlerArray.setLatitude(cursor.getDouble(4)); \n\t\t\t\tlocationHandlerArray.setName(cursor.getString(5)); \n\t\t\t\tlocationHandlerArray.setType(cursor.getString(6));\n\t\t\t\tlocationHandlerArray.setSearchTag(cursor.getString(7));\n\t\t\t\tlocationHandlerArray.setAmountables(cursor.getDouble(8));\n\t\t\t\tlocationHandlerArray.setDescription(cursor.getString(9));\n\t\t\t\tlocationHandlerArray.setBestSeller(cursor.getString(10));\n\t\t\t\tlocationHandlerArray.setWebsite(cursor.getString(11));\n\t\t\t\tlocationList.add(locationHandlerArray);\n\t\t\t} while (cursor.moveToNext());\n\t\t}\n\t\tdb.close();\n\t\treturn locationList;\n\t}", "public ArrayList< LocationHandler >findNear (String tag, double lat, double lon){\n\t\tArrayList< LocationHandler> locationList = new ArrayList< LocationHandler>();\n\t\tString selectQuery = \"SELECT \"+ table_location +\".*, \" +\n\t\t\t\t\"(( \" + lat +\" - \" + table_location+\".\"+ key_latitude +\") * (\" + lat +\" - \" + table_location+\".\"+ key_latitude +\") + \" +\n\t\t\t\t\"(\" + lon +\" - \" + table_location+\".\"+ key_longitude +\") * (\" + lon +\" - \" + table_location+\".\"+ key_longitude +\"))\" +\n\t\t\t\t\" AS distance \"+ \n\t\t\t\t\" FROM \" + table_location + \" LEFT JOIN \" + table_locationType + \" ON \" +\n\t\t\t\ttable_location +\".\"+key_type + \" = \" + table_locationType+ \".\" +key_base_id\n\t\t\t\t+ \" WHERE \" + table_locationType +\".\"+key_name + \" LIKE \" + \"'%\" + tag + \"%'\" +\n\t\t\t\t\" ORDER BY distance\";\n\t\t//\t\t\t\t\t\" ORDER BY \" + \"ABS( \" + table_location +\".\" +key_latitude + \" - \" + lon + \") \" + \" AND \" \n\t\t//\t\t\t\t\t + \"ABS( \" + table_location +\".\"+ key_longitude + \" - \" + lat + \") \" + \" DESC\";\n\t\tLog.i(TAG, \"near \" + selectQuery);\n\t\tSQLiteDatabase db = this.getWritableDatabase();\n\t\tCursor cursor = db.rawQuery(selectQuery, null);\n\t\tif (cursor.moveToFirst()) {\n\t\t\tdo {\n\t\t\t\tLocationHandler locationHandlerArray = new LocationHandler();\n\t\t\t\tlocationHandlerArray.setId(cursor.getInt(0)); \n\t\t\t\tlocationHandlerArray.setBase_id(cursor.getInt(1)); \n\t\t\t\tlocationHandlerArray.setDate_entry(cursor.getString(2)); \n\t\t\t\tlocationHandlerArray.setLongitude(cursor.getDouble(3)); \n\t\t\t\tlocationHandlerArray.setLatitude(cursor.getDouble(4)); \n\t\t\t\tlocationHandlerArray.setName(cursor.getString(5)); \n\t\t\t\tlocationHandlerArray.setType(cursor.getString(6));\n\t\t\t\tlocationHandlerArray.setSearchTag(cursor.getString(7));\n\t\t\t\tlocationHandlerArray.setAmountables(cursor.getDouble(8));\n\t\t\t\tlocationHandlerArray.setDescription(cursor.getString(9));\n\t\t\t\tlocationHandlerArray.setBestSeller(cursor.getString(10));\n\t\t\t\tlocationHandlerArray.setWebsite(cursor.getString(11));\n\t\t\t\tlocationList.add(locationHandlerArray);\n\t\t\t} while (cursor.moveToNext());\n\t\t}\n\t\tdb.close();\n\t\treturn locationList;\n\t}", "public List<WrapperEntity> getEntitiesHostile(WrapperEntity lookingEntity, double radius){\r\n\t\tList<WrapperEntity> entities = new ArrayList<WrapperEntity>();\r\n\t\tfor(Entity entity : world.getEntitiesWithinAABBExcludingEntity(lookingEntity.entity, lookingEntity.entity.getEntityBoundingBox().grow(radius))){\r\n\t\t\tif(entity instanceof IMob && !entity.isDead && (!(entity instanceof EntityLivingBase) || ((EntityLivingBase) entity).deathTime == 0)){\r\n\t\t\t\tentities.add(WrapperEntity.getWrapperFor(entity));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn entities;\r\n\t}", "@Command(\n name = \"listnearhere\",\n permission = \"aperf.cmd.module.entity.listnearhere\",\n parentName = \"aperf.cmd.module.entity\",\n syntax = \"/aperf entity <command>\",\n alias = {\"lnh\"})\n public static CommandResponse listNearHereCommand(ICommandSender sender, List<String> args) {\n if (args.size() < 1) return CommandResponse.SEND_HELP_MESSAGE;\n if (!(sender instanceof EntityPlayer)) return CommandResponse.DONE; // TODO Throw an exception\n EntityPlayer p = (EntityPlayer) sender;\n int radius = Integer.parseInt(args.get(0));\n\n String filter = args.get(2);\n filter = filter != null && filter.length() > 0 ? filter + \",\" : \"\";\n\n filter = filter + String.format(\"dim:%d,where:%d.%d/%d.%d\", p.dimension, p.chunkCoordX - radius, p.chunkCoordZ - radius, p.chunkCoordX + radius, p.chunkCoordZ + radius);\n args.set(2, filter);\n\n listEntitiesCommand(sender, args.subList(1, args.size()));\n\n return CommandResponse.DONE;\n }", "@Override\n public List<Obstacle> neighboursNearby(AbstractVehicle source, float radius) {\n List<Obstacle> neighbours = new ArrayList<Obstacle>();\n float r2 = radius * radius;\n Node n = source.flock != null ? source.flock : friendNode;\n for (Spatial s : n.getChildren())\n if (s instanceof Vehicle && !s.equals(source)) {\n Vehicle v = (Vehicle) s;\n float d = source.getWorldTranslation().subtract(v.getWorldTranslation()).lengthSquared();\n if (d < r2) // if it is within the radius\n if (source.flock != null && source.flock.has(v))\n neighbours.add(v.toObstacle());\n else if (source.flock == null)\n neighbours.add(v.toObstacle());\n }\n return neighbours;\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic <T extends Entity> List<T> getEntitiesInRadius(float x, float y, float radius, Class<T> type, Entity... exclude)\n\t{\n\t\tList<T> entitiesInRadius = new ArrayList<>();\n\t\tEntity currentEntity;\n\t\tfor(int i = 0; i < this.entities.size(); ++i)\n\t\t{\n\t\t\tcurrentEntity = this.entities.get(i);\n\t\t\tif(!type.isInstance(currentEntity))\n\t\t\t{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif(Math.pow(currentEntity.getX() - x, 2) + Math.pow(currentEntity.getY() - y, 2) <= Math.pow(radius + currentEntity.getRadius(), 2)\n\t\t\t\t&& !Arrays.asList(exclude).contains(currentEntity))\n\t\t\t{\n\t\t\t\tentitiesInRadius.add((T)currentEntity);\n\t\t\t}\n\t\t}\n\t\treturn entitiesInRadius;\n\t}", "public BeyondarObject getNearestARObject(List<BeyondarObject> list)\n {\n int nearestDistance = 10000;\n BeyondarObject nearest = null;\n for (BeyondarObject beyondarObject : list) {\n if (beyondarObject.getDistanceFromUser() < nearestDistance) {\n nearestDistance = (int) beyondarObject.getDistanceFromUser();\n nearest = beyondarObject;\n }\n }\n return nearest;\n }", "List<CoordinateDistance> getNearestCoordinates(Point coordinate, int n);", "@Command(\n name = \"listaround\",\n permission = \"aperf.cmd.module.entity.listaround\",\n parentName = \"aperf.cmd.module.entity\",\n syntax = \"/aperf entity <command>\",\n alias = {\"la\"})\n public static CommandResponse listAroundCommand(ICommandSender sender, List<String> args) {\n if (args.size() < 1) return CommandResponse.SEND_HELP_MESSAGE;\n if (!(sender instanceof EntityPlayer)) return CommandResponse.DONE; // TODO Throw an exception\n EntityPlayer p = (EntityPlayer) sender;\n int radius = Integer.parseInt(args.get(0));\n\n String filter = args.get(2);\n filter = filter != null && filter.length() > 0 ? filter + \",\" : \"\";\n\n filter = filter + String.format(\"dim:%d,pos:%d.%d.%d/%d.%d.%d\", p.dimension, (int) p.posX - radius, (int) p.posY - radius, (int) p.posZ - radius, (int) p.posX + radius, (int) p.posY + radius, (int) p.posZ + radius);\n args.set(2, filter);\n\n listEntitiesCommand(sender, args.subList(1, args.size()));\n\n return CommandResponse.DONE;\n }", "List findByDistance(Double latitude, Double longitude, int maxDistance, int maxResults);", "public List<Shop> nearestShops(double lat, double lon, double distance) {\n List<Shop> allShops = shopRepository.findByLocationNear(new Point(lon,lat), new Distance(distance, Metrics.KILOMETERS));\n\n logger.info(\"Find \"+allShops.size()+\" shops within \"+distance+\"KM distance\");\n return allShops;\n }", "List<CoordinateDistance> getClosestCoordinates(\n Point coordinate, int n, ComparableQuantity<Length> distance);", "private GeoPoint getClosestPoint(List<GeoPoint> intersectionPoints) {\n Point3D p0 = scene.getCamera().getSpo();//the point location of the camera.\n double minDist = Double.MAX_VALUE;//(meatchelim ldistance hamaximily)\n double currentDistance = 0;\n GeoPoint pt = null;\n for (GeoPoint geoPoint : intersectionPoints) {\n currentDistance = p0.distance(geoPoint.getPoint());//checks the distance from camera to point\n if (currentDistance < minDist) {\n minDist = currentDistance;\n pt = geoPoint;\n }\n }\n return pt;\n }", "@Override\r\n\tpublic List<GeoPoint> findIntersections(Ray ray) {\r\n\t\tList<GeoPoint> list = new ArrayList<GeoPoint>();\r\n\t\tVector rayDirection = ray.getDirection();\r\n\t\tPoint3D rayPoint = ray.getPOO();\r\n\r\n\t\t// case centerPoint same as the RayPoint\r\n\t\tif (centerPoint.equals(rayPoint)) {\r\n\t\t\tlist.add(new GeoPoint(this, rayPoint.addVector(rayDirection.scale(radius))));\r\n\t\t\treturn list;\r\n\t\t}\r\n\r\n\t\t// u = centerPoint - rayPoint\r\n\t\tVector u = centerPoint.subtract(rayPoint);\r\n\t\t// tm = u * rayDirection\r\n\t\tdouble tm = rayDirection.dotProduct(u);\r\n\t\t// distance = sqrt(|u|^2 - tm^2)\r\n\t\tdouble d = Math.sqrt(u.dotProduct(u) - tm * tm);\r\n\t\t// case the distance is bigger than radius no intersections\r\n\t\tif (d > radius)\r\n\t\t\treturn list;\r\n\r\n\t\t// th = sqrt(R^2 - d^2)\r\n\t\tdouble th = Math.sqrt(radius * radius - d * d);\r\n\r\n\t\tdouble t1 = tm - th;\r\n\t\tdouble t2 = tm + th;\r\n\r\n\t\tif (Util.isZero(t1) || Util.isZero(t2)) {\r\n\t\t\tlist.add(new GeoPoint(this, rayPoint));\r\n\t\t}\r\n\t\tif (Util.isZero(th)) {\r\n\t\t\tlist.add(new GeoPoint(this, rayPoint.addVector(rayDirection.scale(tm))));\r\n\t\t} else {\r\n\t\t\tif (t1 > 0 && !Util.isZero(t1))// one\r\n\t\t\t\tlist.add(new GeoPoint(this, rayPoint.addVector(rayDirection.scale(t1))));\r\n\t\t\tif (t2 > 0 && !Util.isZero(t2)) {// two\r\n\t\t\t\tlist.add(new GeoPoint(this, rayPoint.addVector(rayDirection.scale(t2))));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn list;\r\n\r\n\t}", "public scala.Tuple2<java.lang.Object, java.lang.Object> findClosest (scala.collection.TraversableOnce<org.apache.spark.mllib.clustering.VectorWithNorm> centers, org.apache.spark.mllib.clustering.VectorWithNorm point) { throw new RuntimeException(); }", "@Override\n public List<GeoPoint> findGeoIntersections(Ray ray , double maxDistance) {\n Point3D P0 = ray.getP0();\n Vector v = ray.getDir();\n\n if (P0.equals(_center)) {\n return List.of(new GeoPoint(this,_center.add(v.scale(_radius))));\n }\n\n Vector U = _center.subtract(P0);\n\n double tm = alignZero(v.dotProduct(U));\n double d = alignZero(Math.sqrt(U.lengthSquared() - tm * tm));\n\n // no intersections : the ray direction is above the sphere\n if (d >= _radius) {\n return null;\n }\n\n double th = alignZero(Math.sqrt(_radius * _radius - d * d));\n double t1 = alignZero(tm - th);\n double t2 = alignZero(tm + th);\n boolean validT1=alignZero(t1 - maxDistance ) <=0;\n boolean validT2=alignZero( t2 - maxDistance )<=0;\n if (t1>0 && t2>0 && validT1 && validT2) {\n Point3D P1 =ray.getPoint(t1);\n Point3D P2 =ray.getPoint(t2);\n return List.of(new GeoPoint(this,P1),new GeoPoint(this, P2));\n }\n if (t1>0 && validT1){\n Point3D P1 =ray.getPoint(t1);\n return List.of(new GeoPoint(this,P1));\n }\n if (t2>0 && validT2) {\n Point3D P2 =ray.getPoint(t2);\n return List.of(new GeoPoint(this,P2));\n }\n return null;\n }", "@Transactional \n\tpublic List<PharmacyDto> getTheNeartsPharmacy(double userLon, double userLat, double userdistance) {\n\t\t\n\t\t\n\t\tIterator <PharmacyDto> pharmacyListDto = pharmacyRepository1.getAllPharmaciesDto().iterator();\n\t\t\n\t\tList <PharmacyDto> nearestList = new ArrayList<PharmacyDto>() ;\n\t\t\n\t\twhile (pharmacyListDto.hasNext()) {\n\t\t\t\n\t\t\tPharmacyDto pharmacyToAdd = pharmacyListDto.next();\n\t\t\t\n\t\t\tNearLocationBusiness userlocation = new NearLocationBusiness(userLon,userLat);\n\t\t\t\n\t\t\tNearLocationBusiness pharmacy = new NearLocationBusiness(pharmacyToAdd.getLonLocation(),pharmacyToAdd.getLatLocation());\n\t\t\t\n\t\t\tdouble distance= pharmacy.distanceTo(userlocation);\n\t\t\t\n\t\t\tif(distance<userdistance) {\n\t\t\t\tnearestList.add(pharmacyToAdd);\n\t\t\t}\t\t\n\t\t}\n\t\t\n\t\treturn nearestList;\n\t}", "public static Robot[] nearbyEnemies(int radiusSquared) {\n // Since we only have shitty fixed-sized arrays, we implement this only for common inputs:\n int i;\n switch (radiusSquared) {\n case LC_RADIUS:\n i = 0;\n break;\n case Soldier.GL_RADIUS:\n i = 1;\n break;\n // We don't cache that radius\n default: return RC.senseNearbyGameObjects(Robot.class, radiusSquared, ENEMY_TEAM);\n }\n \n if (nearby_enemies[i] == null || nearby_enemies_last_updated[i] < Clock.getRoundNum()) {\n nearby_enemies[i] = RC.senseNearbyGameObjects(Robot.class, radiusSquared, ENEMY_TEAM);\n nearby_enemies_last_updated[i] = Clock.getRoundNum();\n }\n \n return nearby_enemies[i];\n }", "public static List<String> getNearbyPlayers(Location loc, double radius) {\n\t\tList<String> playerNames = new ArrayList<String>();\n\t\tfor (Player player : Bukkit.getOnlinePlayers()) {\n\t\t\tif (player.getLocation().getWorld().equals(loc.getWorld())) {\n\t\t\t\tif (loc.distanceSquared(player.getLocation()) < Math.pow(radius, 2)) {\n\t\t\t\t\tplayerNames.add(player.getName());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn playerNames;\n\t}", "private List<Integer> getClosestRange(List<Integer> ranges, double predictionAmount) {\n List<Integer> bestRange = new ArrayList<>();\n double bestRangeDistance = Double.MAX_VALUE;\n for (int i = 0; i < ranges.size(); i += 2) {\n double rangeDistance = Math.abs(predictionAmount - getRangeCenter(ranges.get(i), ranges.get(i + 1)));\n if (rangeDistance < bestRangeDistance) {\n bestRangeDistance = rangeDistance;\n bestRange.clear();\n bestRange.add(ranges.get(i));\n bestRange.add(ranges.get(i + 1));\n }\n }\n return bestRange;\n }", "public static List<IPokemob> getPokemobs(final LivingEntity owner, final double distance)\r\n {\r\n final List<IPokemob> ret = new ArrayList<>();\r\n\r\n for (final Entity e : PokemobTracker.getMobs(owner, e -> !(e instanceof EntityPokecubeBase)))\r\n {\r\n final IPokemob mob = PokemobCaps.getPokemobFor(e);\r\n if (mob != null) ret.add(mob);\r\n }\r\n return ret;\r\n }", "public List<CustomerRO> calculateInvitationList(List<CustomerDO> customerDOList, double searchRadius) {\n List<CustomerRO> customerROList = new ArrayList<>();\n if (customerDOList != null) {\n for (CustomerDO customerDO : customerDOList) {\n\n //calculate the distance of the customer based on the customer location and origin location.\n double distance = 0;\n\n try {\n distance = DistanceCalculator.calculateDistance(customerDO.getLocation(), this.origin);\n } catch (InvalidLocationException e) {\n continue;\n }\n\n if (distance <= searchRadius) {\n customerROList.add(CustomerMapper.mapCustomerRO(customerDO));\n }\n }\n\n //sorts the ist based on customerRO id\n Collections.sort(customerROList);\n }\n return customerROList;\n }", "long closest(double lon, double lat) {\n double smallestDist = Double.MAX_VALUE;\n long smallestId = 0;\n Iterable<Node> v = world.values();\n for (Node n : v) {\n double tempLat = n.getLat();\n double tempLon = n.getLon();\n double tempDist = distance(lon, lat, tempLon, tempLat);\n if (tempDist < smallestDist) {\n smallestDist = tempDist;\n smallestId = n.getId();\n }\n }\n return smallestId;\n }", "@Query(value = \"SELECT coordinate_id, latitude, longitude, location_name, (6371 * acos(cos(radians( :latitude )) * cos(radians( latitude )) * cos(radians( longitude ) - radians( :longitude )) + sin(radians( :latitude )) * sin(radians( latitude )))) AS distance \" +\r\n \"FROM ms_coordinate \" +\r\n \"HAVING distance <= :distanceInKm \" +\r\n \"ORDER BY distance ASC\",\r\n nativeQuery = true)\r\n Collection<Coordinate> findByDistance(@Param(\"latitude\") double latitude, @Param(\"longitude\") double longitude, @Param(\"distanceInKm\") int distanceInKm);", "protected Items getNameIdsNearTo(\n\t\t\tDouble latitude,\n\t\t\tDouble longitude,\n\t\t\tDouble distance,\n\t\t\tString unit,\n\t\t\tString xsl) {\n\n\t\tString message = \"/location/list/\" + latitude + \"/\" + longitude + \"/\" + distance + \"/\" + unit + \"/?xsl=\" + xsl;\n\t\tLOG.debug(message);\n\t\tSqlSession sqlSession = RazorServer.openSession();\n\t\ttry {\n\t\t\tif (latitude < -90.0 || latitude > 90.0) {throw new ServiceException(Error.position_latitude, \"Latitude \" + latitude);}\n\t\t\tif (longitude < -180.0 || longitude > 180.0) {throw new ServiceException(Error.position_longitude, \"Longitude \" + longitude);}\n\t\t\tArea action = new Area(latitude, longitude, distance, unit);\n\t\t\tCollection<NameId> item = sqlSession.getMapper(LocationMapper.class).nameidnearby(action);\n\t\t\tif (item == null) {throw new ServiceException(Error.position_nearby, action.toString());}\n\t\t\treturn new Items(null, null, null, null, item, xsl);\n\t\t}\n\t\tcatch (Throwable x) {\n\t\t\tsqlSession.rollback(); \n\t\t\tLOG.error(message + \"\\n\" + x.getMessage()); \n\t\t\treturn new Items(null, null, null, x.getMessage(), null, xsl);\n\t\t}\n\t\tfinally {sqlSession.close();}\n\t}", "@Override\n public Point nearest(double x, double y) {\n double distance = Double.POSITIVE_INFINITY;\n Point nearestPoint = new Point(0, 0);\n Point targetPoint = new Point(x, y);\n\n for (Point p : pointsList) {\n double tempdist = Point.distance(p, targetPoint);\n if (tempdist < distance) {\n distance = tempdist;\n nearestPoint = p;\n }\n }\n\n return nearestPoint;\n }", "public ArrayList getEqkRupturesNearSite() {\n\n //initializing the list for containing the EqkRuptures\n ArrayList probEqkList = new ArrayList();\n int numSources = eqkRupForecast.getNumSources();\n\n //Going over each and every source in the forecast\n for (int sourceIndex = 0; sourceIndex < numSources; ++sourceIndex) {\n // get the ith source\n ProbEqkSource source = eqkRupForecast.getSource(sourceIndex);\n int numRuptures = source.getNumRuptures();\n\n //going over all the ruptures in the source\n for (int rupIndex = 0; rupIndex < numRuptures; ++rupIndex) {\n ProbEqkRupture rupture = source.getRupture(rupIndex);\n\n AbstractEvenlyGriddedSurface rupSurface = new EvenlyGridCenteredSurface((EvenlyGriddedSurface)rupture.getRuptureSurface());\n\n\n //getting the iterator for all points on the rupture\n ListIterator it = rupSurface.getAllByRowsIterator();\n //looping over all the rupture pt locations and if any of those lies\n //within the provided distance range then include the rupture in the list.\n while (it.hasNext()) {\n Location ptLoc = (Location) it.next();\n if (region.contains(ptLoc)) {\n probEqkList.add(rupture.clone());\n break;\n }\n }\n }\n }\n return probEqkList;\n }", "public Point getClosest(){\n\t\t\tdouble distance;\n\t\t\tdouble distanceMax = 0.0;\n\t\t\tPoint centroid = centroid();\n\t\t\tPoint furthermost = new Point();\n\t\t\tfor(Point p : clusterPointsList){\n\t\t\t\tdistance = p.dist(centroid);\t\t\t\n\t\t\t\tif(distance > distanceMax){\n\t\t\t\t\tdistanceMax = distance;\n\t\t\t\t\tfurthermost = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn furthermost;\n\t\t}", "public List<Ray> BeamOfRay(double radius, int numOfSample){\n List<Ray> rayList = new LinkedList<>();\n rayList.add(this);\n if(Util.isZero(radius) | numOfSample<=1)\n return rayList;\n Vector x_axis = this._direction.getOrthogonal();\n Vector y_axis = this._direction.crossProduct(x_axis);\n int loopLength = (int)Math.sqrt(numOfSample);\n double factor = radius/loopLength;\n for (int i = 1; i <= loopLength; i++) {\n for (int j = 1; j <= loopLength; j++) {\n Vector current_x_axis = x_axis.scale(i*factor);\n Vector current_y_axis = y_axis.scale(j*factor);\n Vector currentVector = this._direction.add(current_x_axis).add(current_y_axis);\n rayList.add(new Ray(currentVector, this._tail));\n }\n }\n\n return rayList;\n }", "public ArrayList<Restaurant> nearbyRestaurants(){\r\n\t\tint closestlatindex = BinarySearch.indexOf(FindPath.rlist, lat);\r\n\t\treturn BinarySearch.getlist(lat, lng, closestlatindex);\t\t\r\n\t}", "@SuppressWarnings(\"unchecked\") \n public List<Item> getItemsByItemIDByRadius(String[] itemIDs, double fromLat,\n double toLat, double fromLong, double toLong){\n EntityManager em = emf.createEntityManager();\n List<Item> items = new ArrayList<Item>();\n StringBuffer sbItemIDs=new StringBuffer();\n if(itemIDs.length !=0) {\n for(int i=0;i<itemIDs.length;++i){\n sbItemIDs.append(\"'\");\n sbItemIDs.append(itemIDs[i]);\n sbItemIDs.append(\"',\");\n }\n // remove last comma\n String idString=sbItemIDs.toString();\n idString=idString.substring(0, idString.length() - 1);\n \n String queryString = \"SELECT i FROM Item i WHERE ((\" +\n \"i.itemID IN (\" +idString+\"))\";\n Query query = em.createQuery(queryString + \" AND \" +\n \" ((i.address.latitude BETWEEN :fromLatitude AND :toLatitude) AND \" +\n \"(i.address.longitude BETWEEN :fromLongitude AND :toLongitude ))) AND i.disabled = 0\" +\n \" ORDER BY i.name\");\n query.setParameter(\"fromLatitude\",fromLat);\n query.setParameter(\"toLatitude\",toLat);\n query.setParameter(\"fromLongitude\",fromLong);\n query.setParameter(\"toLongitude\",toLong);\n items = query.getResultList();\n }\n em.close();\n return items;\n }", "public Set<? extends Position> findNearest(\n\t\t\tPosition position, int k, double distance);", "public HashSet<Edge> rangeQuery(IGeoPoint p, double radius) {\r\n\t\tHashSet<Edge> result = new HashSet<Edge>();\r\n\t\tList<Integer> cands = null;\r\n\t\t// get mbr\r\n\t\tdouble d_radius = radius * Constants.D_PER_M; // radius in degree\r\n\t\tdouble minLat, minLng, maxLat, maxLng;\r\n\t\tminLng = p.getLng() - d_radius;\r\n\t\tmaxLng = p.getLng() + d_radius;\r\n\t\tminLat = p.getLat() - d_radius;\r\n\t\tmaxLat = p.getLat() + d_radius;\r\n\t\tMBR rect = new MBR(minLng, minLat, maxLng, maxLat);\r\n\t\tcands = getCells(rect);\r\n\t\tint cands_count = cands.size();\r\n\t\tfor (int i = 0; i < cands_count; i++) {\r\n\t\t\tList<Edge> edges = dict.get(cands.get(i));\r\n\t\t\tif (edges != null) {\r\n\t\t\t\tint count = edges.size();\r\n\t\t\t\tfor (int j = 0; j < count; j++) {\r\n\t\t\t\t\tif (edges.get(j).distFrom(p) <= radius) {\r\n\t\t\t\t\t\tresult.add(edges.get(j));\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public double[] getTargetDistanceFromCenter()\n\t{\n\t\t// watch for no valid target, in which case give no displacement\n\t\tdouble[] distance = new double[2];\n\t\tif (currentBestTarget != null)\n\t\t{\n\t\t\t// x increases to right, but y increased downwards, so invert y\n\t\t\tdistance[0] = (currentBestTarget.centerX - IMAGE_WIDTH/2.0 ) / (IMAGE_WIDTH/2);\n\t\t\tdistance[1] = -(currentBestTarget.centerY - IMAGE_HEIGHT/2.0) / (IMAGE_HEIGHT/2);\n\t\t}\n\t\treturn distance;\n\t}", "private GeoPoint getClosestPoint(List<GeoPoint> points) {\r\n\t\tGeoPoint closestPoint = null;\r\n\t\tdouble distance = Double.MAX_VALUE;\r\n\r\n\t\tPoint3D P0 = _scene.get_camera().get_p0();\r\n\r\n\t\tfor (GeoPoint i : points) {\r\n\t\t\tdouble tempDistance = i.point.distance(P0);\r\n\t\t\tif (tempDistance < distance) {\r\n\t\t\t\tclosestPoint = i;\r\n\t\t\t\tdistance = tempDistance;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn closestPoint;\r\n\r\n\t}", "private PanImageEntry findPanImageEntryClosestToCenter() {\n\t\tfindProjectedZs();\n\t\t\n\t\tPanImageEntry closestEntry = null;\n\t\tfor (int n=0; n<panImageList.length; n++) {\n\t\t\tPanImageEntry entry = panImageList[n];\n\t\t\tif (entry.draw) {\n\t\t\t\tif (closestEntry == null) {\n\t\t\t\t\tclosestEntry = entry;\n\t\t\t\t}\n\t\t\t\telse if (entry.projectedZ > closestEntry.projectedZ) {\n\t\t\t\t\tclosestEntry = entry;\n\t\t\t\t}\n\t\t\t\telse if (entry.projectedZ == closestEntry.projectedZ) {\n\t\t\t\t\tif (isSuperiorImageCat(entry.imageListEntry.getImageCategory(), closestEntry.imageListEntry.getImageCategory())) {\n\t\t\t\t\t\tclosestEntry = entry;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (selectedPanImageEntry != null) {\n\t\t\tdouble dAz = closestEntry.imageListEntry.getImageMetadataEntry().inst_az_rover - \n\t\t\tselectedPanImageEntry.imageListEntry.getImageMetadataEntry().inst_az_rover;\n\t\t\tdouble dEl = closestEntry.imageListEntry.getImageMetadataEntry().inst_el_rover - \n\t\t\tselectedPanImageEntry.imageListEntry.getImageMetadataEntry().inst_el_rover;\n\t\t\tif ((selectedPanImageEntry.imageListEntry.getImageMetadataEntry().inst_el_rover < -85.0 \n\t\t\t\t\t&& closestEntry.imageListEntry.getImageMetadataEntry().inst_el_rover < 85.0)\n\t\t\t\t\t|| (selectedPanImageEntry.imageListEntry.getImageMetadataEntry().inst_el_rover > 85\n\t\t\t\t\t\t&& closestEntry.imageListEntry.getImageMetadataEntry().inst_el_rover > 85)\t\n\t\t\t\t\t) {\n\t\t\t\t// this is a fix because the distance computation doesn't work right at high or low elevations...\n\t\t\t\t// in fact, the whole thing is pretty messed up\n\t\t\t\tclosestEntry = selectedPanImageEntry;\t\t\t\t\n\t\t\t}\n\t\t\telse if ((Math.abs(dAz) < selectTolerance) && (Math.abs(dEl) < selectTolerance)) {\n\t\t\t\tclosestEntry = selectedPanImageEntry;\n\t\t\t}\n\t\t}\n\t\treturn closestEntry;\n\t}", "@GET(\"/attractions\")\n Call<List<Attraction>> getAttractions(\n @Query(\"latitude\") double latitude,\n @Query(\"longitude\") double longitude,\n @Query(\"radius\") double radius\n );", "public static ArrayList<int[]> getBlocksInSphericalRange(World world, double radius, double x, double y, double z)\n {\n ArrayList<int[]> list = new ArrayList();\n if (radius <= 0) throw new IllegalArgumentException(\"Radius cannot be negative!\");\n\n double distance = radius + 1.5D;\n\n int[] coords;\n\n for (double y1 = -distance; y1 < distance; y1 += 0.5D)\n {\n for (double x1 = -distance; x1 < distance; x1 += 0.5D)\n {\n for (double z1 = -distance; z1 < distance; z1 += 0.5D)\n {\n if (MathHelper.sqrt_double(x1 * x1 + z1 * z1 + y1 * y1) < radius)\n {\n coords = new int[] {(int) ((int) x + x1), (int) ((int) y + y1), (int) ((int) z + z1)};\n\n if (!list.contains(coords))\n {\n list.add(coords);\n }\n }\n }\n }\n }\n\n return list;\n }", "private Worm getClosestWorm() {\n Worm closestEnemy = null;\n double closestDistance = 1000;\n\n for (Worm enemyWorms : opponent.worms) {\n if (enemyWorms.health > 0) {\n double distance = 0;\n\n for (Worm myWorm : player.worms) {\n if (myWorm.health > 0) {\n distance += euclideanDistance(currentWorm.position.x, currentWorm.position.y,\n enemyWorms.position.x, enemyWorms.position.y);\n }\n }\n\n if (distance < closestDistance) {\n closestDistance = distance;\n closestEnemy = enemyWorms;\n }\n }\n }\n\n return closestEnemy;\n }", "private List<Restaurant> getNearRestaurants() {\n\t\tLog.v(LOG_TAG, \"Getting near restaurants offline by the last known position \");\n\t\tList<Restaurant> restaurantsList = new ArrayList<Restaurant>();\n\t\tif (lastPositionKnown == null) {\n\t\t\tLog.e(LOG_TAG, \"Error trying to get the list of near restaurants when the user's position is null\");\n\t\t\treturn restaurantsList;\n\t\t}\n\t\t\n\t\tLog.v(LOG_TAG, \"My position is \" + lastPositionKnown.latitude + \" ,\" + lastPositionKnown.longitude);\n\n\t\tLocation myLocation = new Location(\"\");\n\t\tmyLocation.setLatitude(lastPositionKnown.latitude);\n\t\tmyLocation.setLongitude(lastPositionKnown.longitude);\n\n\t\tSet<String> ids = restaurants.keySet();\n\t\tfor (String id: ids) {\n\t\t\tRestaurant restaurant = restaurants.get(id);\n\t\t\tLatLng restaurantPosition = restaurant.getPosition();\n\t\t\tLocation restaurantLocation = new Location(\"\");\n\t\t\t\n\t\t\trestaurantLocation.setLatitude(restaurantPosition.latitude);\n\t\t\trestaurantLocation.setLongitude(restaurantPosition.longitude);\n\t\t\t\n\t\t\tint distance = (int)restaurantLocation.distanceTo(myLocation);\n\t\t\tLog.v(LOG_TAG, \"The distance to my location is \" + distance + \" \" + restaurant.getName());\n\t\t\tif (distance <= DEFAULT_RANGE ) {\n\t\t\t\trestaurantsList.add(restaurant);\n\t\t\t}\n\t\t}\n\n\t\treturn restaurantsList;\n\t}", "public List<String> trendsClosest() {\r\n\t\tList<String> twitterResponseList = new ArrayList<String>();\r\n\t\ttry {\r\n\t\t\tProperties properties = getProperties();\r\n\t\t\tString apiUrl = properties.getProperty(\"twitter.api.trends.closest\") + \"?lat=37.7749&long=122.4194\";\r\n\r\n\t\t\tHttpResponse apiResponse = executeHttpGet(apiUrl);\r\n\r\n\t\t\tif (200 == apiResponse.getStatusLine().getStatusCode()) {\r\n\t\t\t\tJSONArray jsonArray = new JSONArray(EntityUtils.toString(apiResponse.getEntity()));\r\n\t\t\t\tfor (int i = 0; i < jsonArray.length() && i < 10; i++) {\r\n\t\t\t\t\tJSONObject object = (JSONObject) jsonArray.get(i);\r\n\t\t\t\t\tString displayText = (String) object.get(\"country\") + \" : \" + (String) object.get(\"url\");\r\n\t\t\t\t\ttwitterResponseList.add(displayText);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn twitterResponseList;\r\n\t}", "public Collection<OsmPrimitive> getNearestCollection(Point p) {\n OsmPrimitive osm = getNearest(p);\n if (osm == null)\n return Collections.emptySet();\n return Collections.singleton(osm);\n }", "public List<Tile> findTargets() {\n List<Tile> targets = new ArrayList<>(); // our return value\n int fearDistance = 2; // Ideally we're 2 spots away from their head, increases when we can't do that.\n int foodDistance = 3; // We look at a distance 3 for food.\n\n // If fearDistance gets this big, then its just GG i guess\n while (targets.size() == 0 && fearDistance < 15) {\n // Get the tiles around the Enemy's head\n targets = this.gb.nearByTiles(this.enemy_head_x, this.enemy_head_y, fearDistance);\n fearDistance += 1;\n }\n\n // Get the food tiles near us\n for (int i=0; i < foodDistance; i++) {\n List<Tile> nearBy = this.gb.nearByTiles(this.us_head_x, this.us_head_y, i);\n for (Tile t : nearBy) {\n if (t.isFood() && !targets.contains(t)) targets.add(t);\n }\n }\n return targets;\n }", "private void getDistance() {\n\n float dist = 0;\n Location location = \n locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);\n while (location==null) { //If we don't know where we are right now\n Toast.makeText(this, \"No last known location. Aborting...\", \n Toast.LENGTH_LONG).show();\n location = \n locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);\n }\n\n createPositions();\n\n dist = location.distanceTo(mPositions.get(0).toLocation());\n distanceList.add(dist);\n\n dist = mPositions.get(0).toLocation().distanceTo(mPositions.get(1).toLocation());\n distanceList.add(dist);\n dist = mPositions.get(1).toLocation().distanceTo(mPositions.get(2).toLocation());\n distanceList.add(dist);\n dist = mPositions.get(2).toLocation().distanceTo(mPositions.get(3).toLocation());\n distanceList.add(dist);\n dist = mPositions.get(3).toLocation().distanceTo(mPositions.get(4).toLocation());\n distanceList.add(dist);\n \n }", "public static ArrayList<Block> getBlocksAround(Location center, int radius) {\n \tArrayList<Block> list = new ArrayList<>();\n\t\tfor (double x = center.getX() - radius; x <= center.getX() + radius; x++) {\n\t\t\tfor (double z = center.getZ() - radius; z <= center.getZ() + radius; z++) {\n\t\t\t\tLocation loc = new Location(center.getWorld(), x, center.getY(), z);\n\t\t\t\tif (loc.getBlock().getType().isSolid()) {\n\t\t\t\t\tlist.add(loc.getBlock());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tlist.remove(center.getBlock());\n\t\treturn list;\n\t}", "public WrapperEntity getEntityLookingAt(WrapperEntity entityLooking, float searchRadius){\r\n\t\tdouble smallestDistance = searchRadius*2;\r\n\t\tEntity foundEntity = null;\r\n\t\tEntity mcLooker = entityLooking.entity;\r\n\t\tVec3d mcLookerPos = mcLooker.getPositionVector();\r\n\t\tPoint3d lookerLos = entityLooking.getLineOfSight(searchRadius).add(entityLooking.getPosition());\r\n\t\tVec3d losVector = new Vec3d(lookerLos.x, lookerLos.y, lookerLos.z);\r\n\t\tfor(Entity entity : world.getEntitiesWithinAABBExcludingEntity(mcLooker, mcLooker.getEntityBoundingBox().grow(searchRadius))){\r\n\t\t\tif(!entity.equals(mcLooker.getRidingEntity()) && !(entity instanceof BuilderEntityRenderForwarder)){\r\n\t\t\t\tfloat distance = mcLooker.getDistance(entity);\r\n\t\t\t\tif(distance < smallestDistance){\r\n\t\t\t\t\tsmallestDistance = distance;\r\n\t\t\t\t\tRayTraceResult rayTrace = entity.getEntityBoundingBox().calculateIntercept(mcLookerPos, losVector);\r\n\t\t\t\t\tif(rayTrace != null){\r\n\t\t\t\t\t\tfoundEntity = entity;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn WrapperEntity.getWrapperFor(foundEntity);\r\n\t}", "public List getPoints(final double offsetDistance) {\n final List offsetPts = new ArrayList();\n final List lines = this.g.getGeometryComponents(LineString.class);\n for (final Iterator i = lines.iterator(); i.hasNext();) {\n final LineString line = (LineString)i.next();\n extractPoints(line, offsetDistance, offsetPts);\n }\n // System.out.println(toMultiPoint(offsetPts));\n return offsetPts;\n }", "long closest(double lon, double lat) {\n double closet = Double.MAX_VALUE;\n long vertex = 0;\n\n for (Long v : vertices()) {\n double nodeLon = getNode(v).Lon;\n double nodeLat = getNode(v).Lat;\n double lonDist = nodeLon - lon;\n double latDist = nodeLat - lat;\n double dist = Math.sqrt(lonDist * lonDist + latDist * latDist);\n if (dist < closet) {\n vertex = v;\n closet = dist;\n }\n }\n return vertex;\n }", "public static Robot[] nearbyAllies(int radiusSquared) {\n int i;\n switch (radiusSquared) {\n case 3: \n i = 0;\n break;\n case LC_RADIUS:\n i = 1;\n break;\n case Soldier.GL_RADIUS:\n i = 2;\n break;\n // We don't cache that radius\n default: return RC.senseNearbyGameObjects(Robot.class, radiusSquared, MY_TEAM);\n }\n \n if (nearby_allies[i] == null || nearby_allies_last_updated[i] < Clock.getRoundNum()) {\n nearby_allies[i] = RC.senseNearbyGameObjects(Robot.class, radiusSquared, MY_TEAM);\n nearby_allies_last_updated[i] = Clock.getRoundNum();\n }\n \n return nearby_allies[i];\n }", "private void computeDistances() {\n for (int i = 0; i < groundTruthInstant.size(); ++i)\n for (int j = 0; j < estimatedInstant.size(); ++j) {\n float currentDist = groundTruthInstant.get(i).getDistanceTo(estimatedInstant.get(j).getPos());\n if (currentDist < distToClosestEstimate[i][0]) {\n distToClosestEstimate[i][0] = currentDist;\n distToClosestEstimate[i][1] = j;\n }\n }\n }", "public ArrayList<Cell> getNeighbours(int radius) {\r\n return locateCell.getAdjacentCells(radius);\r\n }", "public abstract Proximity2DResult[] getNearestVertices(Geometry geom,\n\t\t\tPoint inputPoint, double searchRadius, int maxVertexCountToReturn);", "public static String rayCast(Level level, Player player, Vec3 searchRadius, double samplingRate) {\n Vec3 currentPos = player.getEyePosition();\n Vec3 lookAngle = player.getLookAngle();\n\n // Create a new AABB cube of side length 2*searchRadius around the player\n Vec3 startBox = new Vec3(currentPos.x - searchRadius.x, currentPos.y - searchRadius.y, currentPos.z - searchRadius.z);\n Vec3 endBox = new Vec3(currentPos.x + searchRadius.x, currentPos.y + searchRadius.y, currentPos.z + searchRadius.z);\n AABB searchBlocks = new AABB(startBox, endBox);\n\n // Search for entities in within this AABB (remove the player because we'll never want to jump to the player)\n List<Entity> entitiesFound = level.getEntities(null, searchBlocks);\n entitiesFound.remove(player);\n\n // Sample along the player's looking direction vector, with the given rate and radius\n // If we hit a block that is NOT air, then we stop sampling, as we cannot jump there anyway.\n double maxSearchRadius = Math.max(searchRadius.x, searchRadius.z);\n ArrayList<Vec3> samples = new ArrayList<>();\n for (double i = 0; i < maxSearchRadius; i += 1/samplingRate) {\n Vec3 sample = lookAngle.multiply(i,i,i).add(currentPos);\n BlockState blockFound = level.getBlockState(new BlockPos(sample));\n if (blockFound.getBlock().getRegistryName().toString().equals(\"minecraft:air\")) {\n samples.add(sample);\n } else {\n break;\n }\n }\n\n // Look at each sample point in the player's line of sight, checking if there is an entity at this point\n for (Vec3 sample : samples) {\n for (Entity e : entitiesFound) {\n AABB entityHitBox = e.getBoundingBox();\n if (entityHitBox.contains(sample)) {\n return e.getClass().getSimpleName();\n }\n }\n }\n return \"No entity found\";\n }", "public String getNearestStreet() {\n String nearestStreet = \"null\";\n CollisionResults results = new CollisionResults();\n float closestDistance = 101f;\n for(float xDir = -1; xDir <= 1; xDir += .1f) {\n for(float yDir = -1; yDir <= 1; yDir += .1f) {\n for(float zDir = -1; zDir <= 1; zDir += .1f) { \n Ray ray = new Ray(loc, new Vector3f(xDir, yDir, zDir));\n world.collideWith(ray, results);\n for (int i = 0; i < results.size(); i++) {\n float dist = results.getCollision(i).getDistance();\n String name = results.getCollision(i).getGeometry().getParent().getName();\n if (name.startsWith(\"R_\") && dist <= 100 && dist < closestDistance) {\n nearestStreet = name;\n closestDistance = dist;\n }\n }\n }\n }\n }\n\n return nearestStreet;\n \n }", "@Override\n public RealmResults<MainModelImp> getRealmResults(String lat, String lon) {\n return realm.where(MainModelImp.class)\n .equalTo(LATITUDE, lat)\n .equalTo(LONGITUDE, lon)\n .findAll();\n }", "private void dist2Pos2Beacons(){\n double dist = Math.sqrt(Math.pow(posReceiver[0][0] - posReceiver[1][0], 2) + Math.pow(posReceiver[0][1] - posReceiver[1][1], 2));\n //Wenn Distanz ist größer als summe der Radien, dann gibt es keine Überschneidungen\n if (dist > (radius[0] + radius[1])) {\n //Berechne mittlere Distanz zwischen den Empfängern, da sich Kreise nicht überschneiden\n xPos_func = (posReceiver[0][0] + posReceiver[1][0]) / 2;\n yPos_func = (posReceiver[0][1] + posReceiver[1][1]) / 2;\n }\n else {\n double[][] pos = circlepoints2(posReceiver[0][0], posReceiver[0][1], posReceiver[1][0], posReceiver[1][1], radius[0], radius[1]);\n //Schnittpunkte sind identisch, Beacon ist exakt zu lokalisieren\n if ((pos[0][0] == pos[1][0]) && (pos[0][1] == pos[1][1])) {\n xPos_func = pos[0][0];\n yPos_func = pos[0][1];\n }else {\n xPos_func = (pos[0][0] + pos[1][0]) / 2;\n yPos_func = (pos[0][1] + pos[1][1]) / 2;\n errRad_func = Math.abs(dist -(radius[0] + radius[1]));\n }\n }\n }", "private Point3D getRandomSolarPoint(final int radius)\n \t{\n \t\t// Might want to change the min/max values here\n \t\tPoint3D point = null;\n \t\twhile (point == null || isOccupied(point, radius)) {\n \t\t\tpoint = new Point3D(MathUtils.getRandomIntBetween(-500, 500), MathUtils.getRandomIntBetween(-500, 500),\n \t\t\t\t\tMathUtils.getRandomIntBetween(-500, 500));\n \t\t}\n \t\treturn point;\n \t}", "public double getDist(){\n double dist=0;\n double DA = 0;\n double minDist = this.getMotors()[0].getTargetPosition();\n for(int i =0;i<this.getMotors().length;i++) {\n double current = this.getMotors()[i].getCurrentPosition();\n double target = this.getMotors()[i].getTargetPosition();\n DA = Math.abs(target) - Math.abs(current);\n dist = target - current;\n if(Math.abs(DA)<Math.abs(minDist)){\n minDist = dist;\n }\n }\n return (minDist);\n }", "public Location randomSpawn(teamName team, Match m) {\r\n\t\tdouble distance = 0;\r\n\t\tint index = 0;\r\n\t\tboolean edited = false;\r\n\t\t\r\n\t\tfinal HashMap<String, teamName> players = new HashMap<String, teamName>(m.getPlayers());\r\n\t\tif (players.size()> 1){\r\n\t\t\tfor (Location spawn : spawnsList){\r\n\t\t\t\t\r\n\t\t\t\t//closest player to location\r\n\t\t\t\tdouble pDistance = 999;\r\n\t\t\t\tfor (String name : players.keySet()){\r\n\t\t\t\t\tif (players.get(name) != team || team.equals(teamName.ALONE)){\r\n\t\t\t\t\t\tif (Bukkit.getServer().getPlayer(name) != null){\r\n\t\t\t\t\t\t\tif (Bukkit.getServer().getPlayer(name).getLocation().getWorld().toString().equals(spawn.getWorld().toString())){\r\n\t\t\t\t\t\t\t\tif (Bukkit.getServer().getPlayer(name).getLocation().distance(spawn) < pDistance){\r\n\t\t\t\t\t\t\t\t\tpDistance = Bukkit.getServer().getPlayer(name).getLocation().distance(spawn);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (pDistance < 999 && pDistance > distance){\r\n\t\t\t\t\t//is edited? < 999, is not closer then 10 blocks?\r\n\t\t\t\t\t//the closest player is further away then the old distance\r\n\t\t\t\t\tdistance = pDistance;\r\n\t\t\t\t\tindex = spawnsList.indexOf(spawn);\r\n\t\t\t\t\tedited = true;\r\n\t\t\t\t}\r\n\t\t\t\t//TODO make it check for a location near teammates\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tindex = new Random().nextInt(spawnsList.size());\r\n\t\t}\r\n\t\t\r\n\t\tif (!edited){\r\n\t\t\t\r\n\t\t}\r\n\t\treturn spawnsList.get(index);\r\n\t}", "private void findNearByEvents() {\n LatLng latLng = mMapFragment.getCenterOfScreen();\n double longitude = latLng.longitude;\n double latitude = latLng.latitude;\n\n int spEventsPosition = mEventsSpinner.getSelectedItemPosition();\n int spTimesPosition = mTimesSpinner.getSelectedItemPosition();\n\n Log.e(\"MainAct\", \"Lat: \" + latitude + \" Lon: \" + longitude);\n mEventInteractor = new EventInteractor(this);\n EventSearchRequest eventSearchRequest = new EventSearchRequest();\n eventSearchRequest.setLat(String.valueOf(latitude));\n eventSearchRequest.setLon(String.valueOf(longitude));\n eventSearchRequest.setEventTime(spTimesPosition);\n eventSearchRequest.setEventType(spEventsPosition);\n mEventInteractor.eventSearch(eventSearchRequest, new EventSearchListener() {\n @Override\n public void onEventSearch(EventSearchResponse response) {\n mBottomSheetListFragment.refreshEvents(response.getEvents());\n mMapFragment.getEventsAndPin(response.getEvents());\n }\n\n @Override\n public void onError(String errorMessage) {\n showErrorMessage(errorMessage);\n }\n\n @Override\n public void onBeforeRequest() {\n showWaitingDialog();\n }\n\n @Override\n public void onAfterRequest() {\n dismissWaitingDialog();\n }\n });\n }", "static public PointGeo[] calcBoundingCoordinates(IPointGeo aPoint, double aDistance, double aSphereRadius) {\n\t\t\tif (aSphereRadius<=0 || aDistance<0) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\t\t\tPointGeo theRadPoint = deg2rad(aPoint);\n\t\t\t// angular distance in radians on a great circle\n\t\t\tdouble theRadDist = aDistance/aSphereRadius;\n\t\t\tdouble theMinLat = theRadPoint.getLatitude() -theRadDist;\n\t\t\tdouble theMaxLat = theRadPoint.getLatitude() +theRadDist;\n\t\t\tdouble theMinLng, theMaxLng;\n\t\t\tif (theMinLat>MIN_LATITUDE_RAD && theMaxLat<MAX_LATITUDE_RAD) {\n\t\t\t\tdouble theDeltaLng = Math.asin(Math.sin(theRadDist) / Math.cos(theRadPoint.getLatitude()));\n\t\t\t\ttheMinLng = theRadPoint.getLongitude() - theDeltaLng;\n\t\t\t\tif (theMinLng < MIN_LONGITUDE_RAD) {\n\t\t\t\t\ttheMinLng += 2d * Math.PI;\n\t\t\t\t}\n\t\t\t\ttheMaxLng = theRadPoint.getLongitude() + theDeltaLng;\n\t\t\t\tif (theMaxLng > MAX_LONGITUDE_RAD) {\n\t\t\t\t\ttheMaxLng -= 2d * Math.PI;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t//a pole is within the distance\n\t\t\t\ttheMinLat = Math.max(theMinLat, MIN_LATITUDE_RAD);\n\t\t\t\ttheMaxLat = Math.min(theMaxLat, MAX_LATITUDE_RAD);\n\t\t\t\ttheMinLng = MIN_LONGITUDE_RAD;\n\t\t\t\ttheMaxLng = MAX_LONGITUDE_RAD;\n\t\t\t}\n\n\t\t\treturn new PointGeo[] {\n\t\t\t\t\tnew PointGeo(Math.toDegrees(theMinLat),Math.toDegrees(theMinLng),aPoint.getAltitude()),\n\t\t\t\t\tnew PointGeo(Math.toDegrees(theMaxLat),Math.toDegrees(theMaxLng),aPoint.getAltitude()),\n\t\t\t\t};\n\t\t}", "double getDistanceInMiles();", "public Set<? extends Position> findNearest(Position position, int k);", "public Point getFurthermost(){\n\t\t\tdouble distance;\n\t\t\tdouble distanceMin = Double.MAX_VALUE;\n\t\t\tPoint centroid = centroid();\n\t\t\tPoint closest = new Point();\n\t\t\tfor(Point p : clusterPointsList){\n\t\t\t\tdistance = p.dist(centroid);\t\t\t\n\t\t\t\tif(distance < distanceMin){\n\t\t\t\t\tdistanceMin = distance;\n\t\t\t\t\tclosest = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn closest;\n\t\t}", "public static MovingObjectPosition getMOPFromEntity(Entity ent, double distance)\n {\n float f = 1.0F;\n float f1 = ent.prevRotationPitch + (ent.rotationPitch - ent.prevRotationPitch) * f;\n float f2 = ent.prevRotationYaw + (ent.rotationYaw - ent.prevRotationYaw) * f;\n double d0 = ent.prevPosX + (ent.posX - ent.prevPosX) * f;\n double d1 = ent.prevPosY + (ent.posY - ent.prevPosY) * f + (ent.getEyeHeight());\n double d2 = ent.prevPosZ + (ent.posZ - ent.prevPosZ) * f;\n Vec3 vec3 = Vec3.createVectorHelper(d0, d1, d2);\n float f3 = MathHelper.cos(-f2 * 0.017453292F - (float)Math.PI);\n float f4 = MathHelper.sin(-f2 * 0.017453292F - (float)Math.PI);\n float f5 = -MathHelper.cos(-f1 * 0.017453292F);\n float f6 = MathHelper.sin(-f1 * 0.017453292F);\n float f7 = f4 * f5;\n float f8 = f3 * f5;\n double d3 = distance;\n\n if (ent instanceof EntityPlayerMP)\n {\n d3 = ((EntityPlayerMP)ent).theItemInWorldManager.getBlockReachDistance() + (d3 - 4.0D);\n }\n Vec3 vec31 = vec3.addVector(f7 * d3, f6 * d3, f8 * d3);\n\n return ent.worldObj.func_147447_a(vec3, vec31, true, false, true);\n }", "public Iterable<Shop> findClosest(Double selectedLat, Double selectedLong) {\n return this.shopRepository.getClosestShop(selectedLat, selectedLong);\n }", "private Entity findClosestStructureOfPlayer(Coordinate coordinate) {\n // TODO: Optimize\n // Perhaps have a 'satisfying distance' ? ie, whenever it finds one within this distance, stop searching?\n // Do not loop over everything?\n // Move to EntityRepository?\n PredicateBuilder predicateBuilder = Predicate.builder().forPlayer(player).ofType(EntityType.STRUCTURE);\n EntitiesSet allStructuresForPlayer = entityRepository.filter(predicateBuilder.build());\n\n float closestDistanceFoundSoFar = 320000; // Get from Map!? (width * height) -> get rid of magic number\n Entity closestEntityFoundSoFar = null;\n\n for (Entity entity : allStructuresForPlayer) {\n float distance = entity.getCenteredCoordinate().distance(coordinate);\n if (distance < closestDistanceFoundSoFar) {\n closestEntityFoundSoFar = entity;\n closestDistanceFoundSoFar = distance;\n }\n }\n return closestEntityFoundSoFar;\n }", "public Coordinates closestPoint() {\n return closestPoint;\n }", "private GeoPoint getClosestPoint(List<GeoPoint> points, Ray ray) {\r\n\t\tGeoPoint close = points.get(0);\r\n\t\tdouble dist;\r\n\t\tfor (GeoPoint p : points) {\r\n\t\t\tdist = ray.get_p0().distance(p.point);\r\n\t\t\tif (dist < ray.get_p0().distance(close.point))\r\n\t\t\t\tclose = p;\r\n\t\t}\r\n\t\treturn close;\r\n\t}", "public List<Ray> generateBeam(Vector n, double radius, double distance, int numOfRays) {\n\t\tList<Ray> rays = new LinkedList<Ray>();\n\t\trays.add(this);// Includeing the main ray\n\t\tif (numOfRays == 1 || isZero(radius))// The component (glossy surface /diffuse glass) is turned off\n\t\t\treturn rays;\n\t\tVector nX = _dir.createNormal();\n\t\tVector nY = _dir.crossProduct(nX);\n\t\tPoint3D centerCircle = this.getPoint(distance);\n\t\tPoint3D randomPoint;\n\t\tdouble x, y, d;\n\t\tdouble nv = alignZero(n.dotProduct(_dir));\n\t\tfor (int i = 1; i < numOfRays; ++i) {\n\t\t\tx = getRandomNumber(-1, 1);\n\t\t\ty = Math.sqrt(1 - x * x);\n\t\t\td = getRandomNumber(-radius, radius);\n\t\t\tx = alignZero(x * d);\n\t\t\ty = alignZero(y * d);\n\t\t\trandomPoint = centerCircle;\n\t\t\tif (x != 0)\n\t\t\t\trandomPoint = randomPoint.add(nX.scale(x));\n\t\t\tif (y != 0)\n\t\t\t\trandomPoint = randomPoint.add(nY.scale(y));\n\t\t\tVector tPoint = randomPoint.subtract(_p0);\n\t\t\tdouble nt = alignZero(n.dotProduct(tPoint));\n\t\t\tif (nv * nt > 0) {\n\t\t\t\trays.add(new Ray(_p0, tPoint));\n\t\t\t}\n\t\t}\n\t\treturn rays;\n\t}", "private Map<Geometry, Point3D> getClosestPoint(Map<Geometry, List<Point3D>> intersectionPoints) {\n\n double distance = Double.MAX_VALUE;\n Map<Geometry, Point3D> closestPoint = new HashMap<Geometry, Point3D>();\n Point3D P0 = _scene.getCamera().getP0();\n Map.Entry<Geometry, List<Point3D>> entry;\n Iterator<Entry<Geometry, List<Point3D>>> it = intersectionPoints.entrySet().iterator();\n while (it.hasNext())\n {\n entry = it.next();\n for (Point3D point: intersectionPoints.get(entry.getKey())) {\n if (P0.distance(point) < distance) {\n closestPoint = new HashMap<Geometry, Point3D>();\n closestPoint.put(entry.getKey(), point);\n distance = P0.distance(point);\n }\n }\n }\n return closestPoint;\n }", "public Point[] nearestPair() {\n\t\t\tPoint[] Answer = new Point[2];\n\t\t\tif (this.size<2)\treturn null; //step 1\n\t\t\tif (this.size==2){\n\t\t\t\tAnswer[0]=this.minx.getData();\n\t\t\t\tAnswer[1]=this.maxx.getData();\n\t\t\t\treturn Answer;\t\t\t\n\t\t\t}\n\t\t\tdouble MinDistance=-1; // for sure it will be change in the next section, just for avoid warrning.\n\t\t\tdouble MinDistanceInStrip=-1;\n\t\t\tPoint[] MinPointsLeft = new Point[2];\n\t\t\tPoint[] MinPointsRight = new Point[2];\n\t\t\tPoint[] MinPointsInStrip = new Point[2]; // around the median\n\t\t\tboolean LargestAxis = getLargestAxis(); //step 2\n\t\t\tContainer median = getMedian(LargestAxis); //step 3\n\t\t\tif (LargestAxis){// step 4 - calling the recursive function nearestPairRec\n\t\t\t\tMinPointsLeft = nearestPairRec(getPointsInRangeRegAxis(this.minx.getData().getX(), median.getData().getX(),LargestAxis), LargestAxis);\n\t\t\t\tMinPointsRight =nearestPairRec(getPointsInRangeRegAxis(median.getNextX().getData().getX(), this.maxx.getData().getX(),LargestAxis), LargestAxis);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tMinPointsLeft = nearestPairRec(getPointsInRangeRegAxis(this.miny.getData().getY(), median.getData().getY(),LargestAxis), LargestAxis);\n\t\t\t\tMinPointsRight =nearestPairRec(getPointsInRangeRegAxis(median.getNextY().getData().getY(), this.maxy.getData().getY(),LargestAxis), LargestAxis);\n\t\t\t}\n\t\t\t//step 5\n\t\t\tif (MinPointsLeft!=null && MinPointsRight!=null){\n\t\t\t\tif (Distance(MinPointsLeft[0], MinPointsLeft[1]) > Distance(MinPointsRight[0], MinPointsRight[1])){\n\t\t\t\t\tMinDistance = Distance(MinPointsRight[0], MinPointsRight[1]);\n\t\t\t\t\tAnswer = MinPointsRight;\n\t\t\t\t}else{\n\t\t\t\t\tMinDistance = Distance(MinPointsLeft[0], MinPointsLeft[1]);\n\t\t\t\t\tAnswer = MinPointsLeft;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (MinPointsLeft!=null) {\n\t\t\t\tMinDistance = Distance(MinPointsLeft[0], MinPointsLeft[1]);\n\t\t\t\tAnswer = MinPointsLeft;\n\t\t\t}\n\t\t\telse if (MinPointsRight!=null){\n\t\t\t\tMinDistance = Distance(MinPointsRight[0], MinPointsRight[1]);\n\t\t\t\tAnswer = MinPointsRight;\n\t\t\t}\n\t\t\t//step 6 - nearest point around the median\n\t\t\tif (MinDistance==-1) MinDistance=0;\n\t\t\tMinPointsInStrip = nearestPairInStrip(median, MinDistance*2, LargestAxis);\n\t\t\tif (MinPointsInStrip != null){\n\t\t\t\tMinDistanceInStrip = Distance(MinPointsInStrip[0], MinPointsInStrip[1]);\n\t\t\t\tif (MinDistanceInStrip < MinDistance) return MinPointsInStrip;\n\t\t\t}\n\t\t\treturn Answer;\n\t\t}", "private Exemplar nearestExemplar(Instance inst){\n\n if (m_Exemplars == null)\n return null;\n Exemplar cur = m_Exemplars, nearest = m_Exemplars;\n double dist, smallestDist = cur.squaredDistance(inst);\n while (cur.next != null){\n cur = cur.next;\n dist = cur.squaredDistance(inst);\n if (dist < smallestDist){\n\tsmallestDist = dist;\n\tnearest = cur;\n }\n }\n return nearest;\n }", "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n // Logic to handle location object\n longitude = location.getLongitude();\n latitude = location.getLatitude();\n\n float[] results = new float[1];\n for (int i = 0; i < entities_list.size(); i++){\n Location.distanceBetween(longitude, latitude, entities_list.get(i).getLongitude(), entities_list.get(i).getLatitude(),results);\n entities_list.get(i).setDistance(Math.round(results[0] / 10.0) / 100.0); //meters to kms and rounded two decimals\n }\n\n //Sort the entities list by distance\n ArrayList<EntityModel> entities_list_sorted = new ArrayList<>();\n int size = entities_list.size();\n for(int i = 0; i < size; i++){\n double min = Double.MAX_VALUE;\n int s = 0;\n for(int j = 0; j < entities_list.size(); j++){\n if(entities_list.get(j).getDistance() < min){\n s = j;\n min = entities_list.get(j).getDistance();\n }\n }\n entities_list_sorted.add(entities_list.get(s));\n entities_list.remove(s);\n }\n entities_list = null;\n\n //Set up the recycler view\n recyclerView.setHasFixedSize(true);\n\n recyclerView.setLayoutManager(new LinearLayoutManager(activity.getBaseContext()));\n rv_adapter = new RVAEntities(activity.getBaseContext(), entities_list_sorted);\n rv_adapter.setClickListener(new RVAEntities.ItemClickListener() {\n @Override\n public void onItemClick(View view, int position) {\n //Toast.makeText(this, \"You clicked \" + rv_adapter.getItem(position) + \" on row number \" + position, Toast.LENGTH_SHORT).show();\n Intent intent = new Intent(getApplicationContext(), EntityActivity.class);\n intent.putExtra(Constants.ENTITY_NAME, rv_adapter.getItem(position).getEntity_name());\n intent.putExtra(Constants.ENTITY_DESCRIPTION, rv_adapter.getItem(position).getEntity_description());\n intent.putExtra(Constants.ENTITY_ADDRESS, rv_adapter.getItem(position).getAddress());\n intent.putExtra(Constants.ENTITY_PHONE, rv_adapter.getItem(position).getPhone_number());\n intent.putExtra(Constants.ENTITY_POSITION, rv_adapter.getItem(position).getLongitude() + \",\" + rv_adapter.getItem(position).getLatitude());\n intent.putExtra(Constants.ENTITY_LINK, rv_adapter.getItem(position).getLink());\n intent.putExtra(Constants.ENTITY_EMAIL, rv_adapter.getItem(position).getEmail());\n startActivity(intent);\n }\n });\n recyclerView.setAdapter(rv_adapter);\n\n RecyclerView.ItemDecoration divider = new DividerItemDecoration(activity.getBaseContext(), DividerItemDecoration.VERTICAL);\n recyclerView.addItemDecoration(divider);\n\n //tv_lat.setText(String.valueOf(location.getLatitude()));\n //tv_long.setText(String.valueOf(location.getLongitude()));\n } else {\n finish();\n //tv_lat.setText(\"Latitude not available\");\n //tv_long.setText(\"Longitude not available\");\n }\n }", "Entity getClosestEnemy(Collection<Entity> attackable, Entity entity, ServerGameModel model) {\n return attackable.stream().min((e1, e2) ->\n Double.compare(util.Util.dist(e1.getX(), e1.getY(), entity.getX(), entity.getY()),\n util.Util.dist(e2.getX(), e2.getY(), entity.getX(), entity.getY()))).get();\n }", "public static int closest( List<Camera.Size> sizes , int width , int height ) {\n\t\tint best = -1;\n\t\tint bestScore = Integer.MAX_VALUE;\n\n\t\tfor( int i = 0; i < sizes.size(); i++ ) {\n\t\t\tCamera.Size s = sizes.get(i);\n\n\t\t\tint dx = s.width-width;\n\t\t\tint dy = s.height-height;\n\n\t\t\tint score = dx*dx + dy*dy;\n\t\t\tif( score < bestScore ) {\n\t\t\t\tbest = i;\n\t\t\t\tbestScore = score;\n\t\t\t}\n\t\t}\n\n\t\treturn best;\n\t}", "@Override\n\tpublic List<BoundingSphere> getBoundingSpheres() {\n\t\tLinkedList<BoundingSphere> res = new LinkedList<BoundingSphere>();\n\t\tBoundingSphere s1 = new BoundingSphere(0.9, new Point(0,0,0));\n\t\ts1.setSphereColore3d(0,0,0);\n\t\tres.add(s1);\n\t\tBoundingSphere temp = this.carFront.getBoundingSpheres().get(0);\n\t\tres.add(temp);\n\t\ttemp = this.carCenter.getBoundingSpheres().get(0);\n\t\tres.add(temp);\n\t\ttemp = this.carBack.getBoundingSpheres().get(0);\n\t\tres.add(temp);\n\n\t\treturn res;\n\n\n\t}", "public static <T> void getClosest(List<T> items, float x, float y, _GetFloat_T<T> getX, _GetFloat_T<T> getY, BestMatch bestMatch) {\n\n for (T t : items) {\n\n float dist = distSq(x, y, getX.val(t), getY.val(t));\n\n if (dist < bestMatch.val) {\n bestMatch.val = dist;\n bestMatch.item = t;\n if (dist == 0) return;\n }\n }\n }", "@Override\n\tpublic double getDistance(ArrayList<Point> r, ArrayList<Point> s) {\n\t\tArrayList<Point> r_clone = DistanceService.clonePointsList(r);\n\t\tArrayList<Point> s_clone = DistanceService.clonePointsList(s);\n\t\t\n\t\t// Time range (parameters - given)\n\t\tlong t1 = getTimeIni(r_clone, s_clone);\n\t\tlong tn = getTimeEnd(r_clone, s_clone);\n\n\t\treturn getDISSIM(r_clone, s_clone, t1, tn);\n\t}", "public void filterLocations(double rad, double centerlat, double centerlng) {\n Location center = new Location(\"Center\");\n center.setLatitude(centerlat);\n center.setLongitude(centerlng);\n Location point = new Location(\"Point\");\n\n // New arraylist of filter things.\n filtered = new ArrayList<DiscoverTile>();\n\n // For loop calculate straight line distance between each tile object in database and center.\n for (int i = 0; i < Test.size(); i++) {\n //Log.d(TAG, \"onMapDialogFragmentInteraction: Rad is \" + rad);\n point.setLatitude(Test.get(i).getLat());\n point.setLongitude(Test.get(i).getLng());\n float distance = center.distanceTo(point);\n //Log.d(TAG, \"onMapDialogFragmentInteraction: distance is \" + distance);\n if (distance <= rad) {\n // Test.get(i) is in the radius. Show selection.\n filtered.add(Test.get(i));\n }\n }\n\n // Create a new tile fragment (separate from disoverTileFragment) called filteredTileFragment,\n // which contains the filtered tiles.\n filteredTileFragment = new DiscoverTileFragment();\n TFmode = useFTF;\n\n Bundle bundle = new Bundle();\n bundle.putParcelableArrayList(\"KEY\", filtered);\n\n filteredTileFragment.setArguments(bundle);\n FragmentManager fragmentManager = getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragmentTransaction.replace(R.id.discover_tilefragment, filteredTileFragment);\n //fragmentTransaction.addToBackStack(null);\n fragmentTransaction.commit();\n\n\n }", "public Optional<List<Point>> collectionPointsTowards(final Direction direction, final int distance) {\n final Optional<Point> displace = displace(direction.xDelta(distance), direction.yDelta(distance));\n if (displace.isPresent()) {\n final ImmutableList.Builder<Point> b = ImmutableList.builder();\n b.add(this);\n for (int i = 1; i < distance; i++) {\n b.add(displace(direction.xDelta(i), direction.yDelta(i)).get());\n }\n return Optional.of(b.add(displace.get()).build());\n } else {\n return Optional.empty();\n }\n }", "public double getClosestDistance(){\n\t\t\tdouble distance;\n\t\t\tdouble distanceMin = Double.MAX_VALUE;\n\t\t\tPoint centroid = centroid();\n\t\t\tfor(Point p : clusterPointsList){\n\t\t\t\tdistance = p.dist(centroid);\t\t\t\n\t\t\t\tif(distance < distanceMin){\n\t\t\t\t\tdistanceMin = distance;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn distanceMin;\n\t\t}", "List<Media> search(double latitude, double longitude);", "@NotNull\n\tjava.util.List<@NotNull Location> getSpawnLocations();", "public Point2D nearest(Point2D p) {\n \n if (p == null)\n throw new IllegalArgumentException(\"Got null object in nearest()\");\n \n double rmin = 2.;\n Point2D pmin = null;\n \n for (Point2D q : point2DSET) {\n \n double r = q.distanceTo(p);\n if (r < rmin) {\n \n rmin = r;\n pmin = q;\n }\n }\n return pmin;\n }", "public Coordinate getClosestCoordinateAround(Coordinate centeredCoordinate) {\n Set<Coordinate> allCellsAsCoordinates = getAllSurroundingCellsAsCoordinates();\n Coordinate closest = allCellsAsCoordinates\n .stream()\n .min((c1, c2) ->\n Float.compare(c1.distance(centeredCoordinate), c2.distance(centeredCoordinate))\n )\n .get();\n return closest;\n }" ]
[ "0.63579136", "0.62562865", "0.61065435", "0.59636164", "0.57166344", "0.5604976", "0.5466958", "0.545025", "0.54162794", "0.53709334", "0.5336195", "0.53240657", "0.5317134", "0.53003323", "0.5296232", "0.529264", "0.52439237", "0.5225231", "0.5214983", "0.5212078", "0.51781595", "0.516553", "0.51301926", "0.5104763", "0.50987554", "0.50635314", "0.5040384", "0.50302553", "0.50274086", "0.5023361", "0.50185317", "0.49953383", "0.4994423", "0.49937457", "0.49851322", "0.4974374", "0.49310642", "0.49130267", "0.49082178", "0.49052483", "0.4899943", "0.488877", "0.48876163", "0.4884989", "0.48823568", "0.4870518", "0.4858471", "0.48367146", "0.4824248", "0.48151922", "0.47826228", "0.47715276", "0.47522196", "0.47501314", "0.47339162", "0.4723497", "0.47195712", "0.47159606", "0.47091037", "0.47073403", "0.4705331", "0.4702699", "0.4695371", "0.46935737", "0.46875086", "0.46824917", "0.46700403", "0.466845", "0.46636662", "0.46531382", "0.4641977", "0.46400154", "0.46389303", "0.4628963", "0.46187264", "0.4612314", "0.45991597", "0.45981774", "0.45978847", "0.45954987", "0.45951775", "0.45939553", "0.45877585", "0.4583068", "0.45759043", "0.4568329", "0.45678785", "0.4563612", "0.45552614", "0.45503035", "0.45481884", "0.4534923", "0.45333588", "0.45328426", "0.45307428", "0.45291963", "0.4527844", "0.4521925", "0.4520353", "0.4516213" ]
0.6623429
0
Returns whether the target is in the seeker's field of view based on relative position
public static final boolean isTargetInFrontOf(Entity seeker, Entity target, float fov) { // thanks again to Battlegear2 for the following code snippet double dx = target.posX - seeker.posX; double dz; for (dz = target.posZ - seeker.posZ; dx * dx + dz * dz < 1.0E-4D; dz = (Math.random() - Math.random()) * 0.01D) { dx = (Math.random() - Math.random()) * 0.01D; } while (seeker.rotationYaw > 360) { seeker.rotationYaw -= 360; } while (seeker.rotationYaw < -360) { seeker.rotationYaw += 360; } float yaw = (float)(Math.atan2(dz, dx) * 180.0D / Math.PI) - seeker.rotationYaw; yaw = yaw - 90; while (yaw < -180) { yaw += 360; } while (yaw >= 180) { yaw -= 360; } return yaw < fov && yaw > -fov; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasTargetPos();", "private static final boolean isTargetInSight(Vec3d vec3, EntityLivingBase seeker, Entity target) \r\n\t{\r\n\t\treturn seeker.canEntityBeSeen(target) && isTargetInFrontOf(seeker, target, 60);\r\n\t}", "public boolean isViewing() { RMShape p = getParent(); return p!=null && p.isViewing(); }", "private boolean reachX(Position target) {\n return position.x == target.x;\n }", "public boolean isTargetVisible() {\n return getDouble(\"tv\") == 1;\n }", "public boolean targetPositionReached(){\n\t\t\n\t\tif(orientation==ORIENTATION.UP&&targetY>=lastY){\n\n\t\t\treturn true;\n\t\t}\n\t\telse if(orientation==ORIENTATION.DOWN&&targetY<=lastY){\n\t\t\treturn true;\n\t\t}\n\t\telse if(orientation==ORIENTATION.LEFT&&targetX>=lastX){\n\n\t\t\treturn true;\n\t\t}\n\t\telse if(orientation==ORIENTATION.RIGHT&&targetX<=lastX){\n\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "public synchronized boolean isInPosition(){\r\n\t\tSystem.out.println(\"wheel: \" + flywheel.isFlywheelAtSpeed() + \r\n\t\t\t\t\" hood: \" + hood.isInPosition() + \r\n\t\t\t\t\" turret: \" + turret.isInPosition() + \r\n\t\t\t\t\" kicker: \" + kicker.isInPosition());\r\n\t\treturn flywheel.isFlywheelAtSpeed() && \r\n\t\t\t\thood.isInPosition() && \r\n\t\t\t\tturret.isInPosition() && \r\n\t\t\t\tkicker.isInPosition();\r\n\t}", "boolean hasPosition();", "boolean hasPosition();", "boolean hasPosition();", "boolean hasPosition();", "public boolean inGoalRegion() {\n return position >= GOAL_POSITION;\n }", "public boolean hasTargetPos() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "boolean isInview();", "public boolean hitTarget(MouseEvent e) {\n\t\treturn (e.getX() > coord.x && e.getX() < endCoord.x && e.getY() > coord.y && e.getY() < endCoord.y);\n\t}", "public boolean hasTargetPos() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public static final boolean isTargetInSight(EntityLivingBase seeker, Entity target) \r\n\t{\r\n\t\treturn isTargetInSight(seeker.getLookVec(), seeker, target);\r\n\t}", "public boolean hasLocation()\n {\n return targetLocation != null;\n }", "boolean isPlaced();", "public synchronized boolean isOnTarget()\n {\n final String funcName = \"isOnTarget\";\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API);\n }\n\n boolean onTarget = false;\n\n if (noOscillation)\n {\n //\n // Don't allow oscillation, so if we are within tolerance or we pass target, just quit.\n // If setPointSign is positive, it means the target is \"forward\". So if currError <= tolerance,\n // it means we are either within tolerance or have passed the target.\n // If setPointSign is negative, it means the target is \"backward\". So if -currError <= tolerance,\n // it means we are either within tolerance or have passed the target.\n //\n if (currError * setPointSign <= tolerance)\n {\n onTarget = true;\n }\n }\n else if (Math.abs(currError) > tolerance)\n {\n settlingStartTime = TrcUtil.getCurrentTime();\n }\n else if (TrcUtil.getCurrentTime() >= settlingStartTime + settlingTime)\n {\n onTarget = true;\n }\n\n if (debugEnabled)\n {\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API, \"=%s\", Boolean.toString(onTarget));\n }\n\n return onTarget;\n }", "boolean hasDistanceView();", "boolean hasStartPosition();", "boolean hasStartPosition();", "public boolean isInCorrectPosition() {\n return originalPos == currentPos;\n }", "public boolean isAt(Point punto) {\r\n Point inner = toInnerPoint(punto);\r\n for (Point block : innerPiece.getPoints())\r\n \tif (block.X() == inner.X() && block.Y() == inner.Y())\r\n \t\treturn true;\r\n return false;\r\n }", "public boolean getIsTargetFound() {\n NetworkTableEntry tv = m_table.getEntry(\"tv\");\n double v = tv.getDouble(0);\n if (v == 0.0f){\n return false;\n }else {\n return true;\n }\n }", "public abstract boolean isTarget();", "public static boolean hasTarget() {\n return NetworkTableInstance.getDefault().getTable(\"limelight\").getEntry(\"tv\").getDouble(0) == 0 ? false : true;\n }", "public boolean hasTarget() { \n if (isReal) {\n return get(\"tv\") == 1; // cleaned return statement up\n } else {\n return hasTargetSim.getBoolean(false);\n }\n }", "public boolean touchingSprite(Sprite target) {\n if (!visible || !target.visible) return false;\n boolean touchingX, touchingY;\n PVector testVector;\n touchingX=false; \n touchingY=false;\n testVector=new PVector(target.pos.x, pos.y);\n if (pos.dist(testVector) < ((target.costumes.get(target.costumeNumber).width*(target.size/100))/2)+(costumes.get(costumeNumber).width*(size/100))/2) {\n touchingX = true;\n }\n testVector=new PVector(pos.x, target.pos.y);\n if (pos.dist(testVector) < ((target.costumes.get(target.costumeNumber).height*(target.size/100))/2)+(costumes.get(costumeNumber).height*(size/100))/2) {\n touchingY = true;\n }\n if (touchingX & touchingY) return true;\n else return false;\n }", "public boolean wander() {\n\t\tMapLocation target = sensor.findTargetLocation();\n\t\treturn(nav.moveToLocation(target));\n\t}", "public boolean turretAngleOnTarget() {\n return this.turretPIDController.atSetpoint();\n }", "public boolean isInViewport(ObjectWithPosition obj){\n Point viewPoint = convertToViewCoordinates(obj.xCoordinate,obj.yCoordinate);\n if(viewPoint.getX() > 0 && viewPoint.getX() < 1024){\n if(viewPoint.getY() > 0 && viewPoint.getY() < 528){\n return true;\n }\n else return false;\n }\n else return false;\n }", "boolean isInsideScreen() {\n if (_hitbox.length == 1) {\n float r = _hitbox[0].x;\n PVector c = _getCenter();\n return 0 <= c.x + r && c.x - r < width && 0 <= c.y + r && c.y - r < height;\n }\n \n PVector[] points = this._getPoints();\n for(PVector p : points) {\n if(0 <= p.x && p.x < width && 0 <= p.y && p.y < height) {\n return true;\n }\n }\n return false;\n }", "@Override\n\tpublic boolean isVisible(float t) \n\t{\n\t\treturn !_buttonHit && _tbeg <= t && t <= _tend;\n\t}", "public boolean isLookingAtObject(GLSelectableObject cube) {\r\n float[] initVec = { 0, 0, 0, 1.0f };\r\n float[] objPositionVec = new float[4];\r\n\r\n // Convert object space to camera space. Use the headView from\r\n // onNewFrame.\r\n Matrix.multiplyMM(modelView, 0, headView, 0, cube.getModel(), 0);\r\n Matrix.multiplyMV(objPositionVec, 0, modelView, 0, initVec, 0);\r\n\r\n float pitch = (float) Math.atan2(objPositionVec[1], -objPositionVec[2]);\r\n float yaw = (float) Math.atan2(objPositionVec[0], -objPositionVec[2]);\r\n\r\n return Math.abs(pitch) < PITCH_LIMIT && Math.abs(yaw) < YAW_LIMIT;\r\n }", "public boolean isTouchOnTargetView(MotionEvent event) {\n return this.mTargetTouchable && this.mTarget.getBounds().contains((int) event.getX(), (int) event.getY());\n }", "public boolean inRange(){\n //System.out.println(\"inRange\");\n return Math.abs(GameView.instance.player.position.x - creationPoint.x) < GameView.instance.cameraSize * attackRange;\n }", "public boolean standsOnOpenStartPosition(float x, float y)\r\n/* 410: */ {\r\n/* 411:485 */ ArrayList<StartPositionModel> models = getOpenAlienStartPositions();\r\n/* 412:487 */ for (StartPositionModel model : models) {\r\n/* 413:489 */ if ((model.getX() == x) && (model.getY() == y)) {\r\n/* 414:491 */ return true;\r\n/* 415: */ }\r\n/* 416: */ }\r\n/* 417:494 */ return false;\r\n/* 418: */ }", "private boolean isRockTouchingGround(RockView targetRock) {\n\n boolean isTouching = false;\n\n if ((targetRock.getCenter().y) > horizon) {\n isTouching = true;\n }\n\n return isTouching;\n }", "public boolean isIntersectingWithViewport(ObjectWithPosition obj){\n if(this.bounds.intersect(obj.getBounds()))\n return true;\n else return false;\n }", "private boolean isRockTouchingCity(RockView targetRock) {\n\n boolean isTouching = false;\n\n for (int i = 0; i < cityCount; ++i) {\n double distance = targetRock.calcDistance(cityLocations[i]);\n\n if (distance <= citySize * 1.5) {\n isTouching = true;\n }\n }\n\n return isTouching;\n }", "protected boolean findTarget(){\n\t\t// shoot units\n\t\tfloat tmpDist = -1;\n\t\tUnit tmpUnit = null;\n\t\tfor(Unit u:Game.map.get(tileId).unitMap){ // loop through units on\n\t\t\t\t\t\t\t\t\t\t\t\t\t// maptile\n\t\t\tif(this.id == u.id)\n\t\t\t\tcontinue;\n\t\t\tif(this.ownerId == u.ownerId)\n\t\t\t\tcontinue;\n\t\t\tif(u.dead)\n\t\t\t\tcontinue;\n\t\t\tVector3f tmp = Vector3f.sub(this.modelPos, u.modelPos, null);\n\t\t\tif(tmpDist == -1 || tmp.length() < tmpDist){\n\t\t\t\ttmpUnit = u;\n\t\t\t\ttmpDist = tmp.length();\n\t\t\t}else\n\t\t\t\tcontinue;\n\t\t}\n\t\tif(tmpDist != -1 && tmpDist <= range && tmpUnit != null){\n\t\t\tthis.hostile = tmpUnit;\n\t\t\tthis.target = this.hostile.modelPos;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "boolean hasOrigin();", "boolean hasOrigin();", "boolean isSetAnchorOffset();", "public boolean isInsideFermer(TuioCursor cursor){\n\t\treturn fermer.getGlobalBounds().contains(cursor.getX()*Systeme.screen.x, cursor.getY()*Systeme.screen.y);\n\n\t}", "public GLSelectableObject isLookingAtObject() {\r\n for (GLSelectableObject cube : cubes) {\r\n if (isLookingAtObject(cube)) {\r\n return cube;\r\n }\r\n }\r\n return null;\r\n }", "public boolean destinationReached() {\n boolean xCheck = cDestination.getX() <= cPosition.getX() + cFishSizeX\n && cDestination.getX() >= cPosition.getX();\n\n boolean yCheck = cDestination.getY() <= cPosition.getY() + cFishSizeY\n && cDestination.getY() >= cPosition.getY();\n return xCheck && yCheck;\n }", "boolean hasLocationView();", "private boolean isNearToEndPosition() {\n switch (direction) {\n case UP:\n return posY <= endPosition;\n case DOWN:\n return posY >= endPosition;\n case LEFT:\n return posX <= endPosition;\n case RIGHT:\n return posX >= endPosition;\n }\n throw new RuntimeException(\"Unknown position\");\n }", "public boolean lineOfSight(PathAgentModel viewer, PathAgentModel target)\r\n/* 293: */ {\r\n/* 294: */ float ty;\r\n/* 295: */ float tx;\r\n/* 296: */ float ty;\r\n/* 297:336 */ if (target.hasTarget())\r\n/* 298: */ {\r\n/* 299:338 */ float tx = target.getTargetX();\r\n/* 300:339 */ ty = target.getTargetY();\r\n/* 301: */ }\r\n/* 302: */ else\r\n/* 303: */ {\r\n/* 304:343 */ tx = target.getX();\r\n/* 305:344 */ ty = target.getY();\r\n/* 306: */ }\r\n/* 307:348 */ if (viewer.fov(tx, ty)) {\r\n/* 308:350 */ if (line(viewer.getX(), viewer.getY(), tx, ty)) {\r\n/* 309:352 */ return true;\r\n/* 310: */ }\r\n/* 311: */ }\r\n/* 312:355 */ return false;\r\n/* 313: */ }", "private boolean foundFlower() {\n\t\t// get the grid location of this Bee\n\t\tGridPoint myPoint = grid.getLocation(this);\n\t\tGridPoint theirPoint;\n\t\t\n\t\t// if the bee is within range of a flower's size, target that flower\n\t\tfor(int i=0; i<flowers.size(); i++){\n\t\t\ttheirPoint = grid.getLocation(flowers.get(i));\n\t\t\tif(grid.getDistance(myPoint, theirPoint) < (flowers.get(i).size/100.0)){\n\t\t\t\ttargetFlower = flowers.get(i);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "boolean isSetControlPosition();", "public boolean hasPositionCall() {\n if (_left.hasPositionCall()) return true;\n if (_right.hasPositionCall()) return true;\n return false;\n }", "public boolean isInBoundaries() {\n\t return Referee.playfield.isInBoundaries(this);\n }", "boolean reachedEdge() {\n\t\treturn this.x > parent.width - 30;// screen width including the size of\n\t\t\t\t\t\t\t\t\t\t\t// the image\n\t}", "private boolean visible() {\r\n return NOT(GO() && CATS(Cc,Cn,Co,Cs,Zl,Zp)) && POINT();\r\n }", "boolean hasDirection();", "public boolean isPlaceable() {\n\t\tlong now = Calendar.getInstance().getTimeInMillis();\t\t\n\t\treturn now - createTime >= placeableThreshold && \n\t\t\t\tnow - focusTime >= placeableThreshold;\n\t}", "int getTargetPos();", "boolean hasGeoTargets();", "boolean hasAuvLoc();", "public abstract boolean pointerInside(int iPosX, int iPosY);", "boolean isTargetStatistic();", "protected boolean isEntVisible( ModelBatch modelBatch ) {\r\n\t\tif ( isColCubic )\r\n\t\t\treturn modelBatch.getCamera().frustum.sphereInFrustum(box.getCenter(GR.temp4), colRadius);\r\n\t\telse\r\n\t\t\treturn modelBatch.getCamera().frustum.boundsInFrustum(box);\r\n\t}", "public boolean onPosition(Point p)\n {\n for(Point pellet : pellets) // iterate over all the pellets\n {\n if (pellet.equals(p))\n return true;\n }\n return false;\n }", "public boolean hasReachedLEDTarget() {\n\t\tif (closestWhiteLED != null) {\n\t\t\tif (sens.isCloseTo(closestWhiteLED.getTargetX(), closestWhiteLED.getTargetY(), 2)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean foundGoal() \r\n\t{\r\n\t\t// Write the method that determines if the walker has found a way out of the maze.\r\n\t\treturn ( currentCol < 0 || currentRow < 0 || \r\n\t\t\t\t currentCol >= size || currentRow >= size );\r\n\t}", "private boolean isAtLeastOneMemberNotToFarAwayFromSpawnPoint(final LinkedList<Fightable> kis) {\n\t\t\n\t\tfor (Fightable ki : kis) {\n\t\t\tif (Points.distBetweenTwoPoints(ki.getCoord(), ki.getSpawnPoint()) \n\t\t\t\t\t< ki.getAttributeValue(Attribute.viewRange) * VIEWRANGE_FACTOR) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean isInView(WebElement element) {\n return (Boolean) ((JavascriptExecutor) getDriver()).executeScript(\n \"var element = arguments[0], \" +\n \" box = element.getBoundingClientRect(), \" +\n \" centerX = box.left + box.width / 2, \" +\n \" centerY = box.top + box.height / 2, \" +\n \" e = document.elementFromPoint(centerX, centerY); \" +\n \"for (; e; e = e.parentElement) { \" +\n \" if (e === element) \" +\n \" return true; \" +\n \"} \" +\n \"return false; \"\n , element);\n }", "public boolean onGround() {\n return getLocation().getY() <= 0 || (interactingWithY != null && interactingWithY.getLocation().getY() + interactingWithY.size.height <= getLocation().getY());\n }", "private boolean didPlayerWin() {\r\n for (int i = 0; i < targets.length; i++) {\r\n if (targets[i].getHitPoints() != 0) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "private boolean isAnExaminedPosition() {\n\t\treturn this\n\t\t\t\t.getFindedThreats()\n\t\t\t\t.stream()\n\t\t\t\t.anyMatch(\n\t\t\t\t\t\tthreat -> threat.getPosition().equals(\n\t\t\t\t\t\t\t\tthis.getCurrentPosition().getCoordinate()));\n\t}", "public boolean percolates(){\n\t\treturn unionFind.connected(virtualBottom, virtualTop);\n\t}", "boolean isSetTarget();", "public boolean isPressed() {\r\n List<Entity> entities = dungeon.getEntities();\r\n for (Entity e: entities) {\r\n if (e != null && e.getY() == getY() && e.getX() == getX()) {\r\n if (\"Boulder\".equals(e.getClass().getSimpleName()))\r\n return true;\r\n }\r\n }\r\n return false;\r\n }", "boolean hasGroupPlacementView();", "public int IsSourceToFluidBlockAtFacing( World world, int i, int j, int k, int iFacing );", "public boolean hasPosition() {\n return fieldSetFlags()[7];\n }", "private boolean isTargetTerritoryOneBlockAway() {\n for(Territory territory:getCurrentPlayerTerritories()) {\n if(Math.abs(territory.getID()-selectedTerritoryByPlayer.getID()) == 1) {\n int minID = Math.min(territory.getID(),selectedTerritoryByPlayer.getID());\n int maxID = Math.max(territory.getID(),selectedTerritoryByPlayer.getID());\n if(maxID % gameDescriptor.getColumns() == 0)\n return true;\n if((minID % gameDescriptor.getColumns() != 0 )\n && (minID / gameDescriptor.getColumns() == maxID / gameDescriptor.getColumns())) {\n return true;\n }\n }\n else if(Math.abs(territory.getID()-selectedTerritoryByPlayer.getID()) == gameDescriptor.getColumns())\n return true;\n }\n return false;\n }", "private static boolean m87320a(View view, float f, float f2) {\n float x = view.getX();\n float y = view.getY();\n return f >= x && f2 >= y && f < ((float) view.getWidth()) + x && f2 < ((float) view.getHeight()) + y;\n }", "public final boolean insideRadarRange(Target target)\n{\n\tif (_rules.getRadarRange() == 0)\n\t\treturn false;\n\n\tboolean inside = false;\n\tdouble newrange = _rules.getRadarRange() * (1 / 60.0) * (Math.PI / 180);\n\tfor (double lon = target.getLongitude() - 2*Math.PI; lon <= target.getLongitude() + 2*Math.PI; lon += 2*Math.PI)\n\t{\n\t\tdouble dLon = lon - _base.getLongitude();\n\t\tdouble dLat = target.getLatitude() - _base.getLatitude();\n\t\tinside = inside || (dLon * dLon + dLat * dLat <= newrange * newrange);\n\t}\n return inside;\n}", "private boolean checkIfHighlighted() {\n int i = 0;\n for (Node node : routeList) {\n if (node.getXPixels() != getHighlightGroup().getChildren().get(i).getTranslateX() ||\n node.getYPixels() != getHighlightGroup().getChildren().get(i).getTranslateY()) {\n return false;\n }\n i++;\n }\n return true;\n }", "public boolean borderAhead () {\r\n if ( myDirection == NORTH ) {\r\n return getY() == 0;\r\n } else if ( myDirection == EAST ) {\r\n return getX() == getWorld().getWidth() - 1;\r\n } else if ( myDirection == SOUTH ) {\r\n return getY() == getWorld().getHeight() - 1;\r\n } else { // if ( myDirection == WEST ) {\r\n return getX() == 0;\r\n }\r\n }", "@Override\n public boolean isInView(Vector3d point, double radius)\n {\n if (myLeftClip.isInFront(point, radius) && myRightClip.isInFront(point, radius) && myTopClip.isInFront(point, radius)\n && myBottomClip.isInFront(point, radius))\n {\n Plane earthBisector = new Plane(Vector3d.ORIGIN, myPosition.getLocation());\n if (earthBisector.isInFront(point, radius))\n {\n return true;\n }\n }\n return false;\n }", "public boolean atPosition(float x, float y) {\n return (Math.abs(y-this.y) <= 0.25 || Math.abs(x-this.x) <= 0.25);\n }", "public boolean isVisible() {\r\n return !((x + width) < ocean.getXmin() || x > ocean.getXmax() || (y + height) < ocean.getYmin()\r\n || y > ocean.getYmax());\r\n }", "boolean isOffset();", "boolean isOffset();", "private boolean seeNextFloorX(Position target) {\n if (target.x == position.x) {\n return false;\n }\n if (target.x > position.x) {\n\n return world[position.x + 1][position.y].equals(Tileset.FLOOR);\n }\n if (target.x < position.x) {\n return world[position.x - 1][position.y].equals(Tileset.FLOOR);\n }\n return false;\n }", "public boolean hasTarget() {\n return target != null;\n }", "@Override\r\n public boolean canMove() {\r\n Grid<Actor> gr = getGrid();\r\n int dirs[] = {\r\n Location.AHEAD, Location.HALF_CIRCLE, Location.LEFT,\r\n Location.RIGHT };\r\n // 当终点在周围时,不能移动且isEnd应当为true\r\n for (int i = 0; i < dirs.length; i++) {\r\n Location tarLoc = getLocation().getAdjacentLocation(dirs[i]);\r\n if (gr.isValid(tarLoc) && gr.get(tarLoc) != null) {\r\n // Color直接用==计算竟然不可行(真是哔了dog...\r\n if (gr.get(tarLoc) instanceof Rock\r\n && gr.get(tarLoc).getColor().equals(Color.RED)) {\r\n isEnd = true;\r\n return false;\r\n }\r\n }\r\n }\r\n ArrayList<Location> nextLocs = getValid(getLocation());\r\n // 当附近没有可以移动的位置时,不能移动\r\n if (nextLocs.size() == 0) {\r\n return false;\r\n }\r\n // 当可以移动的位置>1时,说明存在一个节点,这个节点应当被新建一个arraylist入栈\r\n if (nextLocs.size() > 1) {\r\n ArrayList<Location> newStackElem = new ArrayList<Location>();\r\n newStackElem.add(getLocation());\r\n crossLocation.push(newStackElem);\r\n }\r\n // 有可以移动的位置时,向概率最高的方向移动\r\n int maxProbLoc = 0;\r\n // 由于nextLocs不一定有4个location,所以只好循环判断取最大值\r\n for (int i = 0; i < nextLocs.size(); i++) {\r\n Location loc = nextLocs.get(i);\r\n int dirNum = getLocation().getDirectionToward(loc) / 90;\r\n if (probablyDir[dirNum] > probablyDir[maxProbLoc]) {\r\n maxProbLoc = i;\r\n }\r\n }\r\n next = nextLocs.get(maxProbLoc);\r\n return true;\r\n }", "boolean hasPositionX();", "boolean hasPositionX();", "boolean hasPositionX();", "boolean hasDetailPlacementView();", "public boolean isOnscreen( )\r\n {\r\n if ( this.transform.tx( ) + this.width( ) < 0.0f ) return false;\r\n if ( this.transform.tx( ) > SkyDiver.WindowWidth ) return false;\r\n if ( this.transform.ty( ) + this.height( ) < 0.0f ) return false;\r\n if ( this.transform.ty( ) > SkyDiver.WindowHeight ) return false;\r\n\r\n return true;\r\n }", "public boolean appears(T target) {\r\n int index = getIndex(target);\r\n return index != -1;\r\n }", "private static boolean moveCloserToTarget() {\n Direction f = forward;\n int startingDistance = target.distanceSquaredTo(S.rc.getLocation());\n forward = S.rc.getLocation().directionTo(target);\n forward = forward.rotateLeft();\n for (int i = 0; i < 8; i++) {\n if (target.distanceSquaredTo(S.rc.getLocation().add(forward)) < startingDistance)\n if (moveForwardStrict())\n return true;\n forward = forward.rotateRight();\n }\n forward = f;\n return false;\n }" ]
[ "0.77786183", "0.6749169", "0.6705451", "0.6664464", "0.6615498", "0.65702546", "0.6532807", "0.64766407", "0.64766407", "0.64766407", "0.64766407", "0.64524025", "0.63569856", "0.6348485", "0.6288077", "0.62806404", "0.6271393", "0.616369", "0.61525875", "0.61006975", "0.6067521", "0.606391", "0.606391", "0.60264117", "0.6025363", "0.6010314", "0.6002692", "0.5997216", "0.5995733", "0.5972122", "0.5966557", "0.5965235", "0.59596044", "0.595168", "0.5947038", "0.5939886", "0.5938238", "0.5936528", "0.5924302", "0.5916711", "0.5915753", "0.59124476", "0.5911398", "0.5908196", "0.5908196", "0.59033716", "0.58991873", "0.586324", "0.58501875", "0.5829434", "0.58181095", "0.58144754", "0.5810925", "0.5808376", "0.5806573", "0.5787296", "0.5785969", "0.5773896", "0.57562387", "0.5749767", "0.57396317", "0.5737801", "0.573723", "0.5735376", "0.57344115", "0.5733887", "0.573006", "0.5725793", "0.5722842", "0.5722666", "0.57167554", "0.57079566", "0.57058346", "0.5705397", "0.56967795", "0.56874263", "0.5685712", "0.5684633", "0.56803745", "0.56793404", "0.5678513", "0.5676198", "0.56677854", "0.5662751", "0.5651779", "0.5635913", "0.56330824", "0.5633068", "0.5629859", "0.5629859", "0.56297946", "0.562721", "0.56240606", "0.5621964", "0.5621964", "0.5621964", "0.56196845", "0.5617367", "0.5614967", "0.5610388" ]
0.71257323
1
Returns true if the target's position is within the area that the seeker is facing and the target can be seen
public static final boolean isTargetInSight(EntityLivingBase seeker, Entity target) { return isTargetInSight(seeker.getLookVec(), seeker, target); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final boolean isTargetInFrontOf(Entity seeker, Entity target, float fov) \r\n\t{\r\n\t\t// thanks again to Battlegear2 for the following code snippet\r\n\t\tdouble dx = target.posX - seeker.posX;\r\n\t\tdouble dz;\r\n\r\n\t\tfor (dz = target.posZ - seeker.posZ; dx * dx + dz * dz < 1.0E-4D; dz = (Math.random() - Math.random()) * 0.01D) \r\n\t\t{\r\n\t\t\tdx = (Math.random() - Math.random()) * 0.01D;\r\n\t\t}\r\n\r\n\t\twhile (seeker.rotationYaw > 360) { seeker.rotationYaw -= 360; }\r\n\t\twhile (seeker.rotationYaw < -360) { seeker.rotationYaw += 360; }\r\n\r\n\t\tfloat yaw = (float)(Math.atan2(dz, dx) * 180.0D / Math.PI) - seeker.rotationYaw;\r\n\t\tyaw = yaw - 90;\r\n\r\n\t\twhile (yaw < -180) { yaw += 360; }\r\n\t\twhile (yaw >= 180) { yaw -= 360; }\r\n\r\n\t\treturn yaw < fov && yaw > -fov;\r\n\t}", "boolean hasTargetPos();", "private static final boolean isTargetInSight(Vec3d vec3, EntityLivingBase seeker, Entity target) \r\n\t{\r\n\t\treturn seeker.canEntityBeSeen(target) && isTargetInFrontOf(seeker, target, 60);\r\n\t}", "public boolean canAttack(Figure target) {\n return true;\n }", "public boolean targetPositionReached(){\n\t\t\n\t\tif(orientation==ORIENTATION.UP&&targetY>=lastY){\n\n\t\t\treturn true;\n\t\t}\n\t\telse if(orientation==ORIENTATION.DOWN&&targetY<=lastY){\n\t\t\treturn true;\n\t\t}\n\t\telse if(orientation==ORIENTATION.LEFT&&targetX>=lastX){\n\n\t\t\treturn true;\n\t\t}\n\t\telse if(orientation==ORIENTATION.RIGHT&&targetX<=lastX){\n\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "public boolean touchingSprite(Sprite target) {\n if (!visible || !target.visible) return false;\n boolean touchingX, touchingY;\n PVector testVector;\n touchingX=false; \n touchingY=false;\n testVector=new PVector(target.pos.x, pos.y);\n if (pos.dist(testVector) < ((target.costumes.get(target.costumeNumber).width*(target.size/100))/2)+(costumes.get(costumeNumber).width*(size/100))/2) {\n touchingX = true;\n }\n testVector=new PVector(pos.x, target.pos.y);\n if (pos.dist(testVector) < ((target.costumes.get(target.costumeNumber).height*(target.size/100))/2)+(costumes.get(costumeNumber).height*(size/100))/2) {\n touchingY = true;\n }\n if (touchingX & touchingY) return true;\n else return false;\n }", "public boolean hitTarget(MouseEvent e) {\n\t\treturn (e.getX() > coord.x && e.getX() < endCoord.x && e.getY() > coord.y && e.getY() < endCoord.y);\n\t}", "public boolean inRange(){\n //System.out.println(\"inRange\");\n return Math.abs(GameView.instance.player.position.x - creationPoint.x) < GameView.instance.cameraSize * attackRange;\n }", "public synchronized boolean isOnTarget()\n {\n final String funcName = \"isOnTarget\";\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API);\n }\n\n boolean onTarget = false;\n\n if (noOscillation)\n {\n //\n // Don't allow oscillation, so if we are within tolerance or we pass target, just quit.\n // If setPointSign is positive, it means the target is \"forward\". So if currError <= tolerance,\n // it means we are either within tolerance or have passed the target.\n // If setPointSign is negative, it means the target is \"backward\". So if -currError <= tolerance,\n // it means we are either within tolerance or have passed the target.\n //\n if (currError * setPointSign <= tolerance)\n {\n onTarget = true;\n }\n }\n else if (Math.abs(currError) > tolerance)\n {\n settlingStartTime = TrcUtil.getCurrentTime();\n }\n else if (TrcUtil.getCurrentTime() >= settlingStartTime + settlingTime)\n {\n onTarget = true;\n }\n\n if (debugEnabled)\n {\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API, \"=%s\", Boolean.toString(onTarget));\n }\n\n return onTarget;\n }", "private boolean isTargetTerritoryOneBlockAway() {\n for(Territory territory:getCurrentPlayerTerritories()) {\n if(Math.abs(territory.getID()-selectedTerritoryByPlayer.getID()) == 1) {\n int minID = Math.min(territory.getID(),selectedTerritoryByPlayer.getID());\n int maxID = Math.max(territory.getID(),selectedTerritoryByPlayer.getID());\n if(maxID % gameDescriptor.getColumns() == 0)\n return true;\n if((minID % gameDescriptor.getColumns() != 0 )\n && (minID / gameDescriptor.getColumns() == maxID / gameDescriptor.getColumns())) {\n return true;\n }\n }\n else if(Math.abs(territory.getID()-selectedTerritoryByPlayer.getID()) == gameDescriptor.getColumns())\n return true;\n }\n return false;\n }", "public boolean turretAngleOnTarget() {\n return this.turretPIDController.atSetpoint();\n }", "public boolean inGoalRegion() {\n return position >= GOAL_POSITION;\n }", "private boolean reachX(Position target) {\n return position.x == target.x;\n }", "protected boolean findTarget(){\n\t\t// shoot units\n\t\tfloat tmpDist = -1;\n\t\tUnit tmpUnit = null;\n\t\tfor(Unit u:Game.map.get(tileId).unitMap){ // loop through units on\n\t\t\t\t\t\t\t\t\t\t\t\t\t// maptile\n\t\t\tif(this.id == u.id)\n\t\t\t\tcontinue;\n\t\t\tif(this.ownerId == u.ownerId)\n\t\t\t\tcontinue;\n\t\t\tif(u.dead)\n\t\t\t\tcontinue;\n\t\t\tVector3f tmp = Vector3f.sub(this.modelPos, u.modelPos, null);\n\t\t\tif(tmpDist == -1 || tmp.length() < tmpDist){\n\t\t\t\ttmpUnit = u;\n\t\t\t\ttmpDist = tmp.length();\n\t\t\t}else\n\t\t\t\tcontinue;\n\t\t}\n\t\tif(tmpDist != -1 && tmpDist <= range && tmpUnit != null){\n\t\t\tthis.hostile = tmpUnit;\n\t\t\tthis.target = this.hostile.modelPos;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public synchronized boolean isInPosition(){\r\n\t\tSystem.out.println(\"wheel: \" + flywheel.isFlywheelAtSpeed() + \r\n\t\t\t\t\" hood: \" + hood.isInPosition() + \r\n\t\t\t\t\" turret: \" + turret.isInPosition() + \r\n\t\t\t\t\" kicker: \" + kicker.isInPosition());\r\n\t\treturn flywheel.isFlywheelAtSpeed() && \r\n\t\t\t\thood.isInPosition() && \r\n\t\t\t\tturret.isInPosition() && \r\n\t\t\t\tkicker.isInPosition();\r\n\t}", "public boolean canEat(Cell target) {\n return (target.resident instanceof OmniEdible);\n }", "public final boolean insideRadarRange(Target target)\n{\n\tif (_rules.getRadarRange() == 0)\n\t\treturn false;\n\n\tboolean inside = false;\n\tdouble newrange = _rules.getRadarRange() * (1 / 60.0) * (Math.PI / 180);\n\tfor (double lon = target.getLongitude() - 2*Math.PI; lon <= target.getLongitude() + 2*Math.PI; lon += 2*Math.PI)\n\t{\n\t\tdouble dLon = lon - _base.getLongitude();\n\t\tdouble dLat = target.getLatitude() - _base.getLatitude();\n\t\tinside = inside || (dLon * dLon + dLat * dLat <= newrange * newrange);\n\t}\n return inside;\n}", "public boolean canMove() {\n return (Math.abs(getDist())>=50);\n }", "private boolean isRockTouchingCity(RockView targetRock) {\n\n boolean isTouching = false;\n\n for (int i = 0; i < cityCount; ++i) {\n double distance = targetRock.calcDistance(cityLocations[i]);\n\n if (distance <= citySize * 1.5) {\n isTouching = true;\n }\n }\n\n return isTouching;\n }", "private boolean didPlayerWin() {\r\n for (int i = 0; i < targets.length; i++) {\r\n if (targets[i].getHitPoints() != 0) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "public boolean goalReached() {\n return (Math.abs(mTargetAngle - mCurrentAngle) < mTargetTolerance);\n }", "public boolean wander() {\n\t\tMapLocation target = sensor.findTargetLocation();\n\t\treturn(nav.moveToLocation(target));\n\t}", "public static boolean isBehind(L2Character target, L2Character attacker)\n\t{\n\t\tif (target == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tif (attacker.calcStat(Stats.IS_BEHIND, 0, attacker, null) > 0)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\n\t\tdouble angleChar, angleTarget, angleDiff;\n\t\tangleChar = Util.calculateAngleFrom(attacker, target);\n\t\tangleTarget = Util.convertHeadingToDegree(target.getHeading());\n\t\tangleDiff = angleChar - angleTarget;\n\t\tif (angleDiff <= -360 + BACK_MAX_ANGLE)\n\t\t{\n\t\t\tangleDiff += 360;\n\t\t}\n\t\tif (angleDiff >= 360 - BACK_MAX_ANGLE)\n\t\t{\n\t\t\tangleDiff -= 360;\n\t\t}\n\t\treturn Math.abs(angleDiff) <= BACK_MAX_ANGLE;\n\t}", "public boolean destinationReached() {\n boolean xCheck = cDestination.getX() <= cPosition.getX() + cFishSizeX\n && cDestination.getX() >= cPosition.getX();\n\n boolean yCheck = cDestination.getY() <= cPosition.getY() + cFishSizeY\n && cDestination.getY() >= cPosition.getY();\n return xCheck && yCheck;\n }", "@Override\r\n public boolean canMove() {\r\n Grid<Actor> gr = getGrid();\r\n int dirs[] = {\r\n Location.AHEAD, Location.HALF_CIRCLE, Location.LEFT,\r\n Location.RIGHT };\r\n // 当终点在周围时,不能移动且isEnd应当为true\r\n for (int i = 0; i < dirs.length; i++) {\r\n Location tarLoc = getLocation().getAdjacentLocation(dirs[i]);\r\n if (gr.isValid(tarLoc) && gr.get(tarLoc) != null) {\r\n // Color直接用==计算竟然不可行(真是哔了dog...\r\n if (gr.get(tarLoc) instanceof Rock\r\n && gr.get(tarLoc).getColor().equals(Color.RED)) {\r\n isEnd = true;\r\n return false;\r\n }\r\n }\r\n }\r\n ArrayList<Location> nextLocs = getValid(getLocation());\r\n // 当附近没有可以移动的位置时,不能移动\r\n if (nextLocs.size() == 0) {\r\n return false;\r\n }\r\n // 当可以移动的位置>1时,说明存在一个节点,这个节点应当被新建一个arraylist入栈\r\n if (nextLocs.size() > 1) {\r\n ArrayList<Location> newStackElem = new ArrayList<Location>();\r\n newStackElem.add(getLocation());\r\n crossLocation.push(newStackElem);\r\n }\r\n // 有可以移动的位置时,向概率最高的方向移动\r\n int maxProbLoc = 0;\r\n // 由于nextLocs不一定有4个location,所以只好循环判断取最大值\r\n for (int i = 0; i < nextLocs.size(); i++) {\r\n Location loc = nextLocs.get(i);\r\n int dirNum = getLocation().getDirectionToward(loc) / 90;\r\n if (probablyDir[dirNum] > probablyDir[maxProbLoc]) {\r\n maxProbLoc = i;\r\n }\r\n }\r\n next = nextLocs.get(maxProbLoc);\r\n return true;\r\n }", "private boolean shouldAttackPlayer(EntityPlayer player) {\n ItemStack itemStack = player.inventory.armorInventory[3];\n if (itemStack != null && itemStack.getItem() == Item.getItemFromBlock(Blocks.pumpkin))\n return false;\n Vec3 lookVec = player.getLook(1.0F).normalize();\n Vec3 posVec = Vec3.createVectorHelper(this.posX - player.posX, this.boundingBox.minY + this.height / 2.0 - player.posY - player.getEyeHeight(), this.posZ - player.posZ);\n double distance = posVec.lengthVector();\n posVec = posVec.normalize();\n double dotProduct = lookVec.dotProduct(posVec);\n return dotProduct > 1.0 - 0.025 / distance ? player.canEntityBeSeen(this) : false;\n }", "private boolean isRockTouchingGround(RockView targetRock) {\n\n boolean isTouching = false;\n\n if ((targetRock.getCenter().y) > horizon) {\n isTouching = true;\n }\n\n return isTouching;\n }", "public boolean isTargetVisible() {\n return getDouble(\"tv\") == 1;\n }", "private boolean checkM(){\n if(currentLocation.x == previousLocation.x && currentLocation.y == previousLocation.y) {\n return false;\n }\n // Is outside the border\n if(currentLocation.x < size || currentLocation.y < size || currentLocation.x > map.numRows - size || currentLocation.y > map.numCols - size) {\n return false;\n }\n // Is on the land\n double angle2 = 0;\n while (angle2 < 6.3) {\n if (map.getTerrainGrid()[currentLocation.x + (int) (size/2 * cos(angle2))][currentLocation.y + (int) (size/2 * sin(angle2))] == Colors.OCEAN) {\n return false;\n }\n angle2 += 0.3;\n }\n return true;\n }", "public static boolean isInFrontOf(L2Character target, L2Character attacker)\n\t{\n\t\tif (target == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tif (attacker.calcStat(Stats.IS_BEHIND, 0, attacker, null) > 0)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tdouble angleChar, angleTarget, angleDiff;\n\t\tangleTarget = Util.calculateAngleFrom(target, attacker);\n\t\tangleChar = Util.convertHeadingToDegree(target.getHeading());\n\t\tangleDiff = angleChar - angleTarget;\n\t\tif (angleDiff <= -360 + FRONT_MAX_ANGLE)\n\t\t{\n\t\t\tangleDiff += 360;\n\t\t}\n\t\tif (angleDiff >= 360 - FRONT_MAX_ANGLE)\n\t\t{\n\t\t\tangleDiff -= 360;\n\t\t}\n\t\treturn Math.abs(angleDiff) <= FRONT_MAX_ANGLE;\n\t}", "public boolean touched(Agent agent)\n {\n if(pick)\n return false;\n double distance = Math.sqrt(Math.pow(agent.x-x,2)+Math.pow(agent.y-y,2));\n return distance<=size/(agentIsSized?1:2);\n }", "private boolean hitSides() {\n if (b.numY + 60 >= BOX_HEIGHT || (b.numY - 60 <= 0)) {\n return true;\n } else {\n return false;\n }\n }", "private boolean canReach(Point positionEnemy, Point towerPosition) {\n return towerPosition.distance(positionEnemy) / Tile.TILE_WIDTH <= tower.getFireRange();\n }", "public boolean foundGoal() \r\n\t{\r\n\t\t// Write the method that determines if the walker has found a way out of the maze.\r\n\t\treturn ( currentCol < 0 || currentRow < 0 || \r\n\t\t\t\t currentCol >= size || currentRow >= size );\r\n\t}", "public boolean withinBounds(int target_row, int target_col) {\n\r\n if (target_row < 0 || target_row > size - 1 || target_col < 0 || target_col > size - 1) {\r\n return false;\r\n }\r\n return isOpen(target_row, target_col) || isFull(target_row, target_col);\r\n }", "@Override\n public boolean isFinished() {\n double[] positions = drivetrain.getPositions();\n\n return Math.abs(positions[0] - targetDistance) <= allowedError && Math.abs(positions[1] - targetDistance) <= allowedError;\n }", "private boolean needToTurn() {\n\t\tdouble curDir = sens.getDirection();\n\t\tdouble desDirPlusAmount = desiredDirection + TURNSPEED;\n\t\tdouble desDirMinusAmount = desiredDirection - TURNSPEED;\n\n\t\t// if desired direction is <||> +_ x degrees\n\t\tif (curDir < desDirMinusAmount || curDir > desDirPlusAmount) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "private boolean isAtLeastOneMemberNotToFarAwayFromSpawnPoint(final LinkedList<Fightable> kis) {\n\t\t\n\t\tfor (Fightable ki : kis) {\n\t\t\tif (Points.distBetweenTwoPoints(ki.getCoord(), ki.getSpawnPoint()) \n\t\t\t\t\t< ki.getAttributeValue(Attribute.viewRange) * VIEWRANGE_FACTOR) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean onGround() {\n return getLocation().getY() <= 0 || (interactingWithY != null && interactingWithY.getLocation().getY() + interactingWithY.size.height <= getLocation().getY());\n }", "boolean isFacingOut(float[] a, float[] b, float[] c, float[] d) {\n // the vector to center of face! genius!\n return a[2] + b[2] + c[2] + d[2] > 0;\n }", "private boolean hitMyPaddle() {\n if (b.numX - 60 <= 0) {\n if ((b.numY <= (this.touchedY + 260)) && (b.numY >= (this.touchedY - 260))) {\n } else {\n this.wentOffWall();\n }\n return true;\n } else {\n return false;\n }\n }", "public boolean isTargetTerritoryValid() {\n return isTargetTerritoryOneBlockAway();\n }", "boolean isInsideScreen() {\n if (_hitbox.length == 1) {\n float r = _hitbox[0].x;\n PVector c = _getCenter();\n return 0 <= c.x + r && c.x - r < width && 0 <= c.y + r && c.y - r < height;\n }\n \n PVector[] points = this._getPoints();\n for(PVector p : points) {\n if(0 <= p.x && p.x < width && 0 <= p.y && p.y < height) {\n return true;\n }\n }\n return false;\n }", "private static boolean moveCloserToTarget() {\n Direction f = forward;\n int startingDistance = target.distanceSquaredTo(S.rc.getLocation());\n forward = S.rc.getLocation().directionTo(target);\n forward = forward.rotateLeft();\n for (int i = 0; i < 8; i++) {\n if (target.distanceSquaredTo(S.rc.getLocation().add(forward)) < startingDistance)\n if (moveForwardStrict())\n return true;\n forward = forward.rotateRight();\n }\n forward = f;\n return false;\n }", "public boolean isInDanger(Coordinate dest) {\n\t\tint team = field.at(dest).team;\n\t\tArrayList<Coordinate> traversal = field.noNullsTraverse();\n\t\tfor(Coordinate start: traversal) {\n\t\t\tPiece attacker = field.at(start);\n\t\t\tif(attacker.team == team) { continue; }\n\t\t\tif(!attacker.canMove(start, dest, field)) { continue; }\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "@Override\n\t\tprotected boolean condition() {\n\t\t\tWhichSide whichSide = VisionUtil.getPositionOfGearTarget();\n\t\t\tSystem.err.println(\"Position of gear target: \"+whichSide);\n\t\t\tif (whichSide == WhichSide.RIGHT)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}", "public boolean isGoal() {\r\n\t\tint n = this.dimension();\r\n\t\tint k = 1;\r\n\t\tfor (int i = 0; i < n; i++) {\r\n\t\t\tfor (int j = 0; j < n; j++) {\r\n\t\t\t\tif (this.blocks[i][j] != k) {\r\n\t\t\t\t\tif (!(i == n - 1 && j == n - 1 && this.blocks[i][j] == 0)) {\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tk++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "public abstract boolean isTarget();", "private boolean quickVerify(Location loc)\n {\n //quickly check if 2 blocks above this is clear\n Block oneAbove = loc.getBlock();\n Block twoAbove = oneAbove.getRelative(BlockFace.UP, 1);\n return oneAbove.getType().equals(Material.AIR) && twoAbove.getType().equals(Material.AIR);\n }", "public boolean canWalk() {\n\t\treturn rangeBottomLeft != null && !rangeBottomLeft.equals(location)\n\t\t\t\t&& rangeTopRight != null && !rangeTopRight.equals(location);\n\t}", "public boolean isLookingAtObject(GLSelectableObject cube) {\r\n float[] initVec = { 0, 0, 0, 1.0f };\r\n float[] objPositionVec = new float[4];\r\n\r\n // Convert object space to camera space. Use the headView from\r\n // onNewFrame.\r\n Matrix.multiplyMM(modelView, 0, headView, 0, cube.getModel(), 0);\r\n Matrix.multiplyMV(objPositionVec, 0, modelView, 0, initVec, 0);\r\n\r\n float pitch = (float) Math.atan2(objPositionVec[1], -objPositionVec[2]);\r\n float yaw = (float) Math.atan2(objPositionVec[0], -objPositionVec[2]);\r\n\r\n return Math.abs(pitch) < PITCH_LIMIT && Math.abs(yaw) < YAW_LIMIT;\r\n }", "boolean isAllOnDestination(){\n\n if(player.getCurrentX()-player.getDestinationX()!=0 || player.getCurrentY()-player.getDestinationY()!=0)\n return false;\n\n for(int i = 0; i < boxes.size(); i++){\n Box item = boxes.get(i);\n if(item.getCurrentX()-item.getDestinationX()!=0 || item.getCurrentY()-item.getDestinationY()!=0)\n return false;\n }\n return true;\n }", "public boolean hasLocation()\n {\n return targetLocation != null;\n }", "@Override\n protected boolean isFinished() {\n return (Math.abs(hpIntake.getWristPosition()) - HatchPanelIntake.positions[position.ordinal()] < Math.PI/12);\n }", "public boolean hasReachedLEDTarget() {\n\t\tif (closestWhiteLED != null) {\n\t\t\tif (sens.isCloseTo(closestWhiteLED.getTargetX(), closestWhiteLED.getTargetY(), 2)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean canMove2() {\n\t\tGrid<Actor> gr = getGrid(); \n\t\tif (gr == null) {\n\t\t\treturn false; \n\t\t}\n\t\t\n\t\tLocation loc = getLocation(); \n\t\tLocation next = loc.getAdjacentLocation(getDirection());\n\t\tLocation next2 = next.getAdjacentLocation(getDirection());\n\t\tif (!gr.isValid(next)) {\n\t\t\treturn false;\n\t\t}\n\t\tif (!gr.isValid(next2)) {\n\t\t\treturn false;\n\t\t}\n\t\tActor neighbor = gr.get(next2); \n\t\treturn (neighbor == null) || (neighbor instanceof Flower); \n\t}", "boolean canMoveTo(Vector2d position);", "public boolean checkTrades(Player owner, Player targetPlayer, ArrayList<Tile> targetTiles, ArrayList<Tile> offeredTiles) {\n for(int i = 0; i < offeredTiles.size(); i++)\n if (!owner.containsTile(offeredTiles.get(i)))\n return false;\n\n for(int k = 0; k < targetTiles.size(); k++)\n if (!targetPlayer.containsTile(targetTiles.get(k)))\n return false;\n return true; // Some other things may be added\n }", "public boolean collisionDetected() {\r\n\t\tfor (GameElement target : getTargets()) {\r\n\t\t\tif (myInitiator.intersects(target) && checkTargetMatch(target)) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean isGoal() {\n \tfor (int row = 0; row < this.dimension(); row++) {\n \t\tfor (int column = 0; column < this.dimension(); column++) {\n \t\t\tif (blocks[row][column] != getGoalValueForBlock(row, column)) {\n \t\t\t\treturn false;\n \t\t\t}\n \t\t}\n \t}\n \t\n \treturn true;\n }", "public static boolean inArea(Location targetLoc, Location area1, Location area2) {\n if ((area1.getWorld() == area2.getWorld()) && (targetLoc.getWorld() == area1.getWorld())) {\n if ((targetLoc.getX() >= area1.getX() && targetLoc.getX() <= area2.getX())\n || (targetLoc.getX() <= area1.getX() && targetLoc.getX() >= area2.getX())) {\n if ((targetLoc.getY() >= area1.getY() && targetLoc.getY() <= area2.getY())\n || (targetLoc.getY() <= area1.getY() && targetLoc.getY() >= area2.getY())) {\n return (targetLoc.getZ() >= area1.getZ() && targetLoc.getZ() <= area2.getZ())\n || (targetLoc.getZ() <= area1.getZ() && targetLoc.getZ() >= area2.getZ());\n }\n }\n }\n return false;\n }", "public boolean isValidMove(int targetX, int targetY){\n\t\t/*check boundary condition*/\n\t\tif(outBoundary(targetX, targetY)){\n\t\t\treturn false;\n\t\t}\n\t\tint xDiff = Math.abs(getPosition().getFirst()-targetX);\n\t\tint yDiff = Math.abs(getPosition().getSecond()-targetY);\n\t\treturn ((xDiff ==2 && yDiff ==1) ||(xDiff ==1 && yDiff ==2));\n\t}", "@GuardedBy(\"sfg\")\n\tpublic boolean canGoTo(StateVertex source, StateVertex target) {\n\t\tsynchronized (sfg) {\n\t\t\treturn sfg.containsEdge(source, target) || sfg.containsEdge(target, source);\n\t\t}\n\t}", "public static boolean isSomethingToAttackDefined() {\n\t\treturn _attackTargetUnit != null && !_attackTargetUnit.getType().isOnGeyser();\n\t}", "public boolean shouldExecute() {\n LivingEntity livingentity = ShulkerEntity.this.getAttackTarget();\n if (livingentity != null && livingentity.isAlive()) {\n return ShulkerEntity.this.world.getDifficulty() != Difficulty.PEACEFUL;\n } else {\n return false;\n }\n }", "@Override\n\tpublic boolean onTarget() {\n\t\treturn super.onTarget(mAngleTolerance);\n\t}", "public boolean destinationPermitted(Position p) {\n\n return (p.getX() >= 0 && p.getX() < x_length + 1 && p.getY() >= 0 &&\n p.getY() < y_length + 1 && !isOccupied(p));\n }", "@Override\n\tpublic boolean onValidSurface()\n\t{\n\t\tif (!this.worldObj.getCollidingBoundingBoxes(this, this.getEntityBoundingBox()).isEmpty())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint i = Math.max(1, this.blocksToTakeUp());\n\t\t\tint j = Math.max(1, this.blocksToTakeUp());\n\t\t\tBlockPos blockpos = this.hangingPosition.offset(this.facingDirection.getOpposite());\n\t\t\tEnumFacing enumfacing = this.facingDirection.rotateYCCW();\n\n\t\t\tfor (int k = -i / 2 + 1; k < i / 2 + 1; ++k)\n\t\t\t{\n\t\t\t\tfor (int l = -j / 2 + 1; l < j / 2 + 1; ++l)\n\t\t\t\t{\n\t\t\t\t\tBlockPos blockpos1 = blockpos.offset(enumfacing, k).up(l);\n\t\t\t\t\tBlock block = this.worldObj.getBlockState(blockpos1).getBlock();\n\n\t\t\t\t\tif (block.isSideSolid(this.worldObj, blockpos1, this.facingDirection))\n\t\t\t\t\t\tcontinue;\n\n\t\t\t\t\tif (!block.getMaterial().isSolid() && !BlockRedstoneDiode.isRedstoneRepeaterBlockID(block))\n\t\t\t\t\t{\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (Entity entity : this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.getEntityBoundingBox()))\n\t\t\t{\n\t\t\t\tif (entity instanceof EntityHanging)\n\t\t\t\t{\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\t}", "public boolean hitSide()\n {\n if(accel.getAcceleration(ADXL345_I2C.Axes.kX)>0)\n return true;\n else\n return false;\n }", "boolean canRobPlayer(HexLocation location, int victimIndex);", "public boolean isGoal(){\n\t\tboolean ok = true;\n\t\tfor (int i = 0; i < getRows() && ok; i++) {\n\t\t\tfor (int j = 0; j < getColumns() && ok; j++) {\n\t\t\t\tif (cells[i][j].getSand() != getK()) \n\t\t\t\t\tok = false;\n\t\t\t}\n\t\t} \n\t\treturn ok;\n\t}", "public boolean hasTarget() { \n if (isReal) {\n return get(\"tv\") == 1; // cleaned return statement up\n } else {\n return hasTargetSim.getBoolean(false);\n }\n }", "public boolean canReach(Tile dest) {\n if(dest == null || dest.isBlocked())\n return false; \n \n ArrayList<Tile> path = tileRoute(loc, dest);\n \n if(path == null)\n return false;\n \n return path.size() <= moveDistance;\n }", "@Override\n\tpublic boolean shouldExecute() {\n\t\tif (!theEntityTameable.isTamed())\n\t\t\treturn false;\n\t\telse {\n\t\t\tfinal EntityLivingBase var1 = theEntityTameable.getOwner();\n\n\t\t\tif (var1 == null)\n\t\t\t\treturn false;\n\t\t\telse {\n\t\t\t\ttheTarget = var1.getLastAttacker();\n\t\t\t\tfinal int var2 = var1.getLastAttackerTime();\n\t\t\t\treturn var2 != field_142050_e\n\t\t\t\t\t\t&& isSuitableTarget(theTarget, false)\n\t\t\t\t\t\t&& theEntityTameable.func_142018_a(theTarget, var1);\n\t\t\t}\n\t\t}\n\t}", "public int IsSourceToFluidBlockAtFacing( World world, int i, int j, int k, int iFacing );", "public boolean isPressed() {\r\n List<Entity> entities = dungeon.getEntities();\r\n for (Entity e: entities) {\r\n if (e != null && e.getY() == getY() && e.getX() == getX()) {\r\n if (\"Boulder\".equals(e.getClass().getSimpleName()))\r\n return true;\r\n }\r\n }\r\n return false;\r\n }", "private boolean isEnemyNotToFarAwayFromSpawnPoint(final LinkedList<Fightable> kis, final NonStatic enemy) {\n\t\tfor (Fightable ki : kis) {\n\t\t\tif (Points.distBetweenTwoPoints(enemy.getCoord(), ki.getSpawnPoint()) \n\t\t\t\t\t< ki.getAttributeValue(Attribute.viewRange) * VIEWRANGE_FACTOR) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "protected boolean isFinished ()\n\t{\n\n\t\tif (Subsystems.goalVision.getProportionalGoalX() >= X_OFFSET\n\t\t - DEADBAND\n\t\t && Subsystems.goalVision\n\t\t .getProportionalGoalX() <= X_OFFSET + DEADBAND)\n\t\t//The goal is centered.\n\t\t{\n\t\t\t//We are aligned.\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}", "public abstract boolean canMoveTo(Case Location);", "public boolean hasTargetPos() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "private boolean canMove() {\n\t\tif (System.currentTimeMillis() - lastTrunTime < 300) {// move time is\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 300ms before\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// last move\n\t\t\treturn false;\n\t\t}\n\t\tboolean status = false;\n\t\tif(stage == 1){\n\t\t\tmap = GameView.map;\n\t\t}else if(stage == 2){\n\t\t\tmap = GameViewStage2.map;\n\t\t}else {\n\t\t\tmap = GameViewStage3.map;\n\t\t}\n\t\tif (direction == UP) {// when tank moves up\n\t\t\tif (centerPoint.getY() - speed >= 0) {\n\t\t\t\tif (map[(centerPoint.getY() - speed) / UNIT][centerPoint\n\t\t\t\t\t\t.getX() / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() - speed) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + UNIT) / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() - speed) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + 2 * UNIT) / UNIT] == 0) {\n\t\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (direction == DOWN) {\n\t\t\tif (centerPoint.getY() + tankBmp.getHeight() + speed < screenHeight) {\n\t\t\t\tif (map[(centerPoint.getY() + 2 * UNIT + speed) / UNIT][centerPoint\n\t\t\t\t\t\t.getX() / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT][(centerPoint.getX() + UNIT) / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT][(centerPoint.getX() + 2 * UNIT) / UNIT] == 0) {\n\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (direction == LEFT) {\n\n\t\t\tif (centerPoint.getX() - speed >= 0) {\n\t\t\t\tif (map[centerPoint.getY() / UNIT][(centerPoint.getX() - speed)\n\t\t\t\t\t\t/ UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() - speed) / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() - speed) / UNIT] == 0) {\n\t\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (direction == RIGHT) {\n\t\t\tif (centerPoint.getX() + tankBmp.getWidth() + speed < screenWidth) {\n\t\t\t\tif (map[centerPoint.getY() / UNIT][(centerPoint.getX()\n\t\t\t\t\t\t+ 2 * UNIT + speed)\n\t\t\t\t\t\t/ UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT] == 0) {\n\t\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (status)\n\t\t\tlastTrunTime = System.currentTimeMillis();\n\t\treturn status;\n\t}", "private boolean canMove() {\n return !(bestMove[0].getX() == bestMove[1].getX() && bestMove[0].getY() == bestMove[1].getY());\n }", "public boolean hasPassed()\n {\n if (y<=450.0f)\n return false;\n else\n return true;\n }", "private boolean checkSpaceAvailability(Point targetLocation, ICityFragment element) {\r\n //basic constraint:no other things here\r\n\r\n if (city.isAnythingHere(targetLocation, element.getBoundary().width, element.getBoundary().height, element)) {\r\n return false;\r\n }\r\n\r\n //crossroads:at least one road can connected\r\n if (element instanceof Crossroads) {\r\n var crossroad = (Crossroads) element;\r\n\r\n var accessibleRoad = findAccessibleRoads(crossroad, targetLocation);\r\n\r\n if (accessibleRoad == null || accessibleRoad.size() <= 1) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "public boolean canSee ( Player player ) {\n\t\treturn extract ( handle -> handle.canSee ( player ) );\n\t}", "public boolean isInversable() {\r\n try {\r\n return !(this.getDeterminant() == 0);\r\n } catch (InvalidMoveException e) {\r\n return false;\r\n }\r\n }", "private boolean foundFlower() {\n\t\t// get the grid location of this Bee\n\t\tGridPoint myPoint = grid.getLocation(this);\n\t\tGridPoint theirPoint;\n\t\t\n\t\t// if the bee is within range of a flower's size, target that flower\n\t\tfor(int i=0; i<flowers.size(); i++){\n\t\t\ttheirPoint = grid.getLocation(flowers.get(i));\n\t\t\tif(grid.getDistance(myPoint, theirPoint) < (flowers.get(i).size/100.0)){\n\t\t\t\ttargetFlower = flowers.get(i);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean lineOfSight(PathAgentModel viewer, PathAgentModel target)\r\n/* 293: */ {\r\n/* 294: */ float ty;\r\n/* 295: */ float tx;\r\n/* 296: */ float ty;\r\n/* 297:336 */ if (target.hasTarget())\r\n/* 298: */ {\r\n/* 299:338 */ float tx = target.getTargetX();\r\n/* 300:339 */ ty = target.getTargetY();\r\n/* 301: */ }\r\n/* 302: */ else\r\n/* 303: */ {\r\n/* 304:343 */ tx = target.getX();\r\n/* 305:344 */ ty = target.getY();\r\n/* 306: */ }\r\n/* 307:348 */ if (viewer.fov(tx, ty)) {\r\n/* 308:350 */ if (line(viewer.getX(), viewer.getY(), tx, ty)) {\r\n/* 309:352 */ return true;\r\n/* 310: */ }\r\n/* 311: */ }\r\n/* 312:355 */ return false;\r\n/* 313: */ }", "public boolean canHit() {\n\t\treturn this.hand.countValue().first() < 17;\n\t}", "protected boolean IsPlayerStaringAtMe( EntityPlayer player )\r\n {\r\n ItemStack headStack = player.inventory.armorInventory[3];\r\n\r\n if ( headStack == null || headStack.itemID != \r\n \tFCBetterThanWolves.fcItemEnderSpectacles.itemID )\r\n {\r\n Vec3 vLook = player.getLook( 1F ).normalize();\r\n \r\n Vec3 vDelta = worldObj.getWorldVec3Pool().getVecFromPool( posX - player.posX, \r\n \tboundingBox.minY + ( height / 2F ) - ( player.posY + player.getEyeHeight() ), \r\n \tposZ - player.posZ );\r\n \r\n double dDist = vDelta.lengthVector();\r\n \r\n vDelta = vDelta.normalize();\r\n \r\n double dotDelta = vLook.dotProduct( vDelta );\r\n \r\n if ( dotDelta > 1D - 0.025D / dDist )\r\n {\r\n \treturn player.canEntityBeSeen( this );\r\n }\r\n }\r\n \r\n return false;\r\n }", "public boolean finishedTurning(double targetDegrees){\n\t\tboolean done = false;\n\t\tdouble rotation_Rad = targetDegrees * Math.PI / 180;\n\t\tdouble rotation_Arc = (rotation_Rad * RobotMap.DIAGONAL_ROBOT_RADIUS / RobotMap.MECANUM_ROTATION_RATIO) / 2.25;\n\n\t\tif(bLEncPosition() <= (rotation_Arc * -1.0) && bREncPosition() >= rotation_Arc && fLEncPosition() <= (rotation_Arc * -1.0) && fREncPosition() >= rotation_Arc) {\n\t \tdone = true;\n\t\t}\n\t\telse{\n\t\t\tdone = false;\n\t\t}\n\t\treturn done;\n\t}", "public void attack(Creature target) {\r\n\t\t//Check if attacker is within 1 tile\r\n\t\tint destx = (int) (target.getXlocation()/Tile.TILEWIDTH);\r\n\t\tint desty = (int) (target.getYlocation()/Tile.TILEHEIGHT);\r\n\t\tVector2i start = new Vector2i((int) (creature.getXlocation() / Tile.TILEWIDTH), (int) (creature.getYlocation()/ Tile.TILEHEIGHT));\r\n\t\t//FIND SHORTEST DISTANCE\r\n\t\tVector2i destination = null; \t\t\r\n\t\tdouble shortest = 100000; \t\t\t\t\t\t\t\t\t\t //Set huge\r\n\t\tbyte Direction = 2;\t\t\t\t\t\t\t\t\t\t\t\t //default Look DOWN\r\n\t\tdouble temp = getDistance(start, new Vector2i(destx+1, desty)); //Check first\r\n\t\tif (shortest > temp && !handler.getWorld().getTile(destx+1, desty).isSolid() && !checkCollision(destx+1, desty)) {\r\n\t\t\tshortest = temp;\r\n\t\t\tdestination = new Vector2i(destx+1, desty);\r\n\t\t\tDirection = 1;\t\t\t\t\t\t\t\t\t\t\t\t //Look LEFT\r\n\t\t}\r\n\t\ttemp = getDistance(start, new Vector2i(destx-1, desty)); \t\t //Check second\r\n\t\tif (shortest > temp && !handler.getWorld().getTile(destx-1, desty).isSolid() && !checkCollision(destx-1, desty)) {\r\n\t\t\tshortest = temp;\r\n\t\t\tdestination = new Vector2i(destx-1, desty);\r\n\t\t\tDirection = 3;\t\t\t\t\t\t\t\t\t\t\t\t //Look RIGHT\r\n\t\t}\r\n\t\ttemp = getDistance(start, new Vector2i(destx, desty+1)); \t\t //Check third\r\n\t\tif (shortest > temp && !handler.getWorld().getTile(destx, desty+1).isSolid() && !checkCollision(destx, desty+1)) {\r\n\t\t\tshortest = temp;\r\n\t\t\tdestination = new Vector2i(destx, desty+1);\r\n\t\t\tDirection = 0;\t\t\t\t\t\t\t\t\t\t\t\t //Look UP\r\n\t\t}\r\n\t\ttemp = getDistance(start, new Vector2i(destx, desty-1)); \t\t //Check fourth\r\n\t\tif (shortest > temp && !handler.getWorld().getTile(destx, desty-1).isSolid() && !checkCollision(destx, desty-1)) {\r\n\t\t\tshortest = temp;\r\n\t\t\tdestination = new Vector2i(destx, desty-1);\r\n\t\t\tDirection = 2;\t\t\t\t\t\t\t\t\t\t\t\t //Look DOWN\r\n\t\t}\r\n\t\t//SET PATH FOR SHORTEST DISTANCE\r\n\t\tList<Node> path = pf.findPath(start, destination);\r\n\t\t//FOLLOW SHORTEST DISTANCE PATH\r\n\t\tfollowPath(path);\r\n\t\t//IF ATTACKER HAS ARRIVED\r\n\t\tif (creature.getxMove() == 0 && creature.getyMove() == 0) {\r\n\t\t\t//face target -> \r\n\t\t\tcreature.setLastDirection(Direction);\r\n\t\t\t//attack\r\n\t\t\tcreature.setAttacking(true);\r\n\t\t} else {\r\n\t\t\tcreature.setAttacking(false);\r\n\t\t}\r\n\t}", "public boolean finishedStrafing(double targetDegrees){\n\t\tboolean done = false;\n\t\tdouble targetInches = targetDegrees * (Math.PI/180) * RobotMap.DIAGONAL_ROBOT_RADIUS;\n\t\t\n\t\tif(bLEncPosition() <= (targetInches * -1.0) && bREncPosition() >= targetInches && fLEncPosition() >= targetInches && fREncPosition() <= (targetInches * -1.0)) {\n\t \tdone = true;\n\t\t}\n\t\telse{\n\t\t\tdone = false;\n\t\t}\n\t\treturn done;\n\t}", "private boolean isGoalReached(Transform currentRobotPose, Transform goal) {\n return currentRobotPose.planarDistanceToSquared(goal) < mDistanceCloseToGoalSquared;\n }", "public abstract boolean isAllowableMovement(int[] location, double[] direction);", "boolean testCoords(Tester t) {\n return t.checkExpect(this.p3.xCoord(), 50) && t.checkExpect(this.p4.yCoord(), 600);\n }", "public boolean inBounds(Actor a)\n {\n boolean inX = Math.abs(a.getXPos()) < levelWidth/2;\n boolean inY = Math.abs(a.getYPos()) < levelHeight/2;\n return inX && inY;\n }", "public boolean isGoal() {\n if (blocks[dimension()-1][dimension()-1] != 0) return false;\n return hamming() == 0;\n }", "private boolean checkNearbyVillagers() {\n\t\tIterator<Integer> it = sprites.keySet().iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tSprite as = sprites.get(it.next());\n\t\t\tif (as instanceof Villager) {\n\t\t\t\tVillager v = (Villager) as;\n\t\t\t\tif (v.checkTalkable(player.pos, player.direction)) {\n\t\t\t\t\treturn executeTalkableVillager(v);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "protected boolean isFinished() {\n \tif(Math.abs(Robot.driveTrain.getHeading() - targetDirection) < 2) {\n \t\treturn true;\n \t} else {\n \t\treturn false;\n \t}\n }" ]
[ "0.736361", "0.71095324", "0.7008368", "0.68007624", "0.6775042", "0.64821905", "0.6457847", "0.6408375", "0.63966554", "0.6277684", "0.626793", "0.6261445", "0.6253618", "0.623983", "0.6226547", "0.6225245", "0.6189884", "0.61896336", "0.6188065", "0.6179231", "0.6140413", "0.6130688", "0.60859835", "0.60571456", "0.6052919", "0.604506", "0.6043916", "0.60331726", "0.6030983", "0.6023131", "0.60153407", "0.599697", "0.5995356", "0.5983362", "0.5961759", "0.5960324", "0.59530145", "0.5943891", "0.59345037", "0.59274226", "0.59015936", "0.589578", "0.58816487", "0.58684516", "0.5868038", "0.5852886", "0.58518493", "0.5832293", "0.58269835", "0.5826842", "0.5821763", "0.5814573", "0.581386", "0.5804159", "0.5789068", "0.57876545", "0.5780518", "0.5779718", "0.57768095", "0.577614", "0.5769374", "0.5769262", "0.57553416", "0.57518774", "0.5750424", "0.57497275", "0.5742078", "0.5734505", "0.573356", "0.573057", "0.5730523", "0.57278544", "0.5722746", "0.57209295", "0.5715644", "0.5710681", "0.57084566", "0.57035905", "0.5699029", "0.56945205", "0.56937486", "0.5689522", "0.5685798", "0.56709963", "0.5663757", "0.56602377", "0.5659757", "0.5656094", "0.56527156", "0.5651955", "0.56471735", "0.56429124", "0.5640801", "0.56401104", "0.5637395", "0.56372577", "0.56284064", "0.5627693", "0.5627113", "0.56241536" ]
0.6557176
5
Returns true if the target's position is within the area that the seeker is facing and the target can be seen
private static final boolean isTargetInSight(Vec3d vec3, EntityLivingBase seeker, Entity target) { return seeker.canEntityBeSeen(target) && isTargetInFrontOf(seeker, target, 60); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final boolean isTargetInFrontOf(Entity seeker, Entity target, float fov) \r\n\t{\r\n\t\t// thanks again to Battlegear2 for the following code snippet\r\n\t\tdouble dx = target.posX - seeker.posX;\r\n\t\tdouble dz;\r\n\r\n\t\tfor (dz = target.posZ - seeker.posZ; dx * dx + dz * dz < 1.0E-4D; dz = (Math.random() - Math.random()) * 0.01D) \r\n\t\t{\r\n\t\t\tdx = (Math.random() - Math.random()) * 0.01D;\r\n\t\t}\r\n\r\n\t\twhile (seeker.rotationYaw > 360) { seeker.rotationYaw -= 360; }\r\n\t\twhile (seeker.rotationYaw < -360) { seeker.rotationYaw += 360; }\r\n\r\n\t\tfloat yaw = (float)(Math.atan2(dz, dx) * 180.0D / Math.PI) - seeker.rotationYaw;\r\n\t\tyaw = yaw - 90;\r\n\r\n\t\twhile (yaw < -180) { yaw += 360; }\r\n\t\twhile (yaw >= 180) { yaw -= 360; }\r\n\r\n\t\treturn yaw < fov && yaw > -fov;\r\n\t}", "boolean hasTargetPos();", "public boolean canAttack(Figure target) {\n return true;\n }", "public boolean targetPositionReached(){\n\t\t\n\t\tif(orientation==ORIENTATION.UP&&targetY>=lastY){\n\n\t\t\treturn true;\n\t\t}\n\t\telse if(orientation==ORIENTATION.DOWN&&targetY<=lastY){\n\t\t\treturn true;\n\t\t}\n\t\telse if(orientation==ORIENTATION.LEFT&&targetX>=lastX){\n\n\t\t\treturn true;\n\t\t}\n\t\telse if(orientation==ORIENTATION.RIGHT&&targetX<=lastX){\n\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "public static final boolean isTargetInSight(EntityLivingBase seeker, Entity target) \r\n\t{\r\n\t\treturn isTargetInSight(seeker.getLookVec(), seeker, target);\r\n\t}", "public boolean touchingSprite(Sprite target) {\n if (!visible || !target.visible) return false;\n boolean touchingX, touchingY;\n PVector testVector;\n touchingX=false; \n touchingY=false;\n testVector=new PVector(target.pos.x, pos.y);\n if (pos.dist(testVector) < ((target.costumes.get(target.costumeNumber).width*(target.size/100))/2)+(costumes.get(costumeNumber).width*(size/100))/2) {\n touchingX = true;\n }\n testVector=new PVector(pos.x, target.pos.y);\n if (pos.dist(testVector) < ((target.costumes.get(target.costumeNumber).height*(target.size/100))/2)+(costumes.get(costumeNumber).height*(size/100))/2) {\n touchingY = true;\n }\n if (touchingX & touchingY) return true;\n else return false;\n }", "public boolean hitTarget(MouseEvent e) {\n\t\treturn (e.getX() > coord.x && e.getX() < endCoord.x && e.getY() > coord.y && e.getY() < endCoord.y);\n\t}", "public boolean inRange(){\n //System.out.println(\"inRange\");\n return Math.abs(GameView.instance.player.position.x - creationPoint.x) < GameView.instance.cameraSize * attackRange;\n }", "public synchronized boolean isOnTarget()\n {\n final String funcName = \"isOnTarget\";\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API);\n }\n\n boolean onTarget = false;\n\n if (noOscillation)\n {\n //\n // Don't allow oscillation, so if we are within tolerance or we pass target, just quit.\n // If setPointSign is positive, it means the target is \"forward\". So if currError <= tolerance,\n // it means we are either within tolerance or have passed the target.\n // If setPointSign is negative, it means the target is \"backward\". So if -currError <= tolerance,\n // it means we are either within tolerance or have passed the target.\n //\n if (currError * setPointSign <= tolerance)\n {\n onTarget = true;\n }\n }\n else if (Math.abs(currError) > tolerance)\n {\n settlingStartTime = TrcUtil.getCurrentTime();\n }\n else if (TrcUtil.getCurrentTime() >= settlingStartTime + settlingTime)\n {\n onTarget = true;\n }\n\n if (debugEnabled)\n {\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API, \"=%s\", Boolean.toString(onTarget));\n }\n\n return onTarget;\n }", "private boolean isTargetTerritoryOneBlockAway() {\n for(Territory territory:getCurrentPlayerTerritories()) {\n if(Math.abs(territory.getID()-selectedTerritoryByPlayer.getID()) == 1) {\n int minID = Math.min(territory.getID(),selectedTerritoryByPlayer.getID());\n int maxID = Math.max(territory.getID(),selectedTerritoryByPlayer.getID());\n if(maxID % gameDescriptor.getColumns() == 0)\n return true;\n if((minID % gameDescriptor.getColumns() != 0 )\n && (minID / gameDescriptor.getColumns() == maxID / gameDescriptor.getColumns())) {\n return true;\n }\n }\n else if(Math.abs(territory.getID()-selectedTerritoryByPlayer.getID()) == gameDescriptor.getColumns())\n return true;\n }\n return false;\n }", "public boolean turretAngleOnTarget() {\n return this.turretPIDController.atSetpoint();\n }", "public boolean inGoalRegion() {\n return position >= GOAL_POSITION;\n }", "private boolean reachX(Position target) {\n return position.x == target.x;\n }", "protected boolean findTarget(){\n\t\t// shoot units\n\t\tfloat tmpDist = -1;\n\t\tUnit tmpUnit = null;\n\t\tfor(Unit u:Game.map.get(tileId).unitMap){ // loop through units on\n\t\t\t\t\t\t\t\t\t\t\t\t\t// maptile\n\t\t\tif(this.id == u.id)\n\t\t\t\tcontinue;\n\t\t\tif(this.ownerId == u.ownerId)\n\t\t\t\tcontinue;\n\t\t\tif(u.dead)\n\t\t\t\tcontinue;\n\t\t\tVector3f tmp = Vector3f.sub(this.modelPos, u.modelPos, null);\n\t\t\tif(tmpDist == -1 || tmp.length() < tmpDist){\n\t\t\t\ttmpUnit = u;\n\t\t\t\ttmpDist = tmp.length();\n\t\t\t}else\n\t\t\t\tcontinue;\n\t\t}\n\t\tif(tmpDist != -1 && tmpDist <= range && tmpUnit != null){\n\t\t\tthis.hostile = tmpUnit;\n\t\t\tthis.target = this.hostile.modelPos;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public synchronized boolean isInPosition(){\r\n\t\tSystem.out.println(\"wheel: \" + flywheel.isFlywheelAtSpeed() + \r\n\t\t\t\t\" hood: \" + hood.isInPosition() + \r\n\t\t\t\t\" turret: \" + turret.isInPosition() + \r\n\t\t\t\t\" kicker: \" + kicker.isInPosition());\r\n\t\treturn flywheel.isFlywheelAtSpeed() && \r\n\t\t\t\thood.isInPosition() && \r\n\t\t\t\tturret.isInPosition() && \r\n\t\t\t\tkicker.isInPosition();\r\n\t}", "public boolean canEat(Cell target) {\n return (target.resident instanceof OmniEdible);\n }", "public final boolean insideRadarRange(Target target)\n{\n\tif (_rules.getRadarRange() == 0)\n\t\treturn false;\n\n\tboolean inside = false;\n\tdouble newrange = _rules.getRadarRange() * (1 / 60.0) * (Math.PI / 180);\n\tfor (double lon = target.getLongitude() - 2*Math.PI; lon <= target.getLongitude() + 2*Math.PI; lon += 2*Math.PI)\n\t{\n\t\tdouble dLon = lon - _base.getLongitude();\n\t\tdouble dLat = target.getLatitude() - _base.getLatitude();\n\t\tinside = inside || (dLon * dLon + dLat * dLat <= newrange * newrange);\n\t}\n return inside;\n}", "public boolean canMove() {\n return (Math.abs(getDist())>=50);\n }", "private boolean isRockTouchingCity(RockView targetRock) {\n\n boolean isTouching = false;\n\n for (int i = 0; i < cityCount; ++i) {\n double distance = targetRock.calcDistance(cityLocations[i]);\n\n if (distance <= citySize * 1.5) {\n isTouching = true;\n }\n }\n\n return isTouching;\n }", "private boolean didPlayerWin() {\r\n for (int i = 0; i < targets.length; i++) {\r\n if (targets[i].getHitPoints() != 0) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "public boolean goalReached() {\n return (Math.abs(mTargetAngle - mCurrentAngle) < mTargetTolerance);\n }", "public boolean wander() {\n\t\tMapLocation target = sensor.findTargetLocation();\n\t\treturn(nav.moveToLocation(target));\n\t}", "public static boolean isBehind(L2Character target, L2Character attacker)\n\t{\n\t\tif (target == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tif (attacker.calcStat(Stats.IS_BEHIND, 0, attacker, null) > 0)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\n\t\tdouble angleChar, angleTarget, angleDiff;\n\t\tangleChar = Util.calculateAngleFrom(attacker, target);\n\t\tangleTarget = Util.convertHeadingToDegree(target.getHeading());\n\t\tangleDiff = angleChar - angleTarget;\n\t\tif (angleDiff <= -360 + BACK_MAX_ANGLE)\n\t\t{\n\t\t\tangleDiff += 360;\n\t\t}\n\t\tif (angleDiff >= 360 - BACK_MAX_ANGLE)\n\t\t{\n\t\t\tangleDiff -= 360;\n\t\t}\n\t\treturn Math.abs(angleDiff) <= BACK_MAX_ANGLE;\n\t}", "public boolean destinationReached() {\n boolean xCheck = cDestination.getX() <= cPosition.getX() + cFishSizeX\n && cDestination.getX() >= cPosition.getX();\n\n boolean yCheck = cDestination.getY() <= cPosition.getY() + cFishSizeY\n && cDestination.getY() >= cPosition.getY();\n return xCheck && yCheck;\n }", "@Override\r\n public boolean canMove() {\r\n Grid<Actor> gr = getGrid();\r\n int dirs[] = {\r\n Location.AHEAD, Location.HALF_CIRCLE, Location.LEFT,\r\n Location.RIGHT };\r\n // 当终点在周围时,不能移动且isEnd应当为true\r\n for (int i = 0; i < dirs.length; i++) {\r\n Location tarLoc = getLocation().getAdjacentLocation(dirs[i]);\r\n if (gr.isValid(tarLoc) && gr.get(tarLoc) != null) {\r\n // Color直接用==计算竟然不可行(真是哔了dog...\r\n if (gr.get(tarLoc) instanceof Rock\r\n && gr.get(tarLoc).getColor().equals(Color.RED)) {\r\n isEnd = true;\r\n return false;\r\n }\r\n }\r\n }\r\n ArrayList<Location> nextLocs = getValid(getLocation());\r\n // 当附近没有可以移动的位置时,不能移动\r\n if (nextLocs.size() == 0) {\r\n return false;\r\n }\r\n // 当可以移动的位置>1时,说明存在一个节点,这个节点应当被新建一个arraylist入栈\r\n if (nextLocs.size() > 1) {\r\n ArrayList<Location> newStackElem = new ArrayList<Location>();\r\n newStackElem.add(getLocation());\r\n crossLocation.push(newStackElem);\r\n }\r\n // 有可以移动的位置时,向概率最高的方向移动\r\n int maxProbLoc = 0;\r\n // 由于nextLocs不一定有4个location,所以只好循环判断取最大值\r\n for (int i = 0; i < nextLocs.size(); i++) {\r\n Location loc = nextLocs.get(i);\r\n int dirNum = getLocation().getDirectionToward(loc) / 90;\r\n if (probablyDir[dirNum] > probablyDir[maxProbLoc]) {\r\n maxProbLoc = i;\r\n }\r\n }\r\n next = nextLocs.get(maxProbLoc);\r\n return true;\r\n }", "private boolean shouldAttackPlayer(EntityPlayer player) {\n ItemStack itemStack = player.inventory.armorInventory[3];\n if (itemStack != null && itemStack.getItem() == Item.getItemFromBlock(Blocks.pumpkin))\n return false;\n Vec3 lookVec = player.getLook(1.0F).normalize();\n Vec3 posVec = Vec3.createVectorHelper(this.posX - player.posX, this.boundingBox.minY + this.height / 2.0 - player.posY - player.getEyeHeight(), this.posZ - player.posZ);\n double distance = posVec.lengthVector();\n posVec = posVec.normalize();\n double dotProduct = lookVec.dotProduct(posVec);\n return dotProduct > 1.0 - 0.025 / distance ? player.canEntityBeSeen(this) : false;\n }", "private boolean isRockTouchingGround(RockView targetRock) {\n\n boolean isTouching = false;\n\n if ((targetRock.getCenter().y) > horizon) {\n isTouching = true;\n }\n\n return isTouching;\n }", "public boolean isTargetVisible() {\n return getDouble(\"tv\") == 1;\n }", "private boolean checkM(){\n if(currentLocation.x == previousLocation.x && currentLocation.y == previousLocation.y) {\n return false;\n }\n // Is outside the border\n if(currentLocation.x < size || currentLocation.y < size || currentLocation.x > map.numRows - size || currentLocation.y > map.numCols - size) {\n return false;\n }\n // Is on the land\n double angle2 = 0;\n while (angle2 < 6.3) {\n if (map.getTerrainGrid()[currentLocation.x + (int) (size/2 * cos(angle2))][currentLocation.y + (int) (size/2 * sin(angle2))] == Colors.OCEAN) {\n return false;\n }\n angle2 += 0.3;\n }\n return true;\n }", "public static boolean isInFrontOf(L2Character target, L2Character attacker)\n\t{\n\t\tif (target == null)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tif (attacker.calcStat(Stats.IS_BEHIND, 0, attacker, null) > 0)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tdouble angleChar, angleTarget, angleDiff;\n\t\tangleTarget = Util.calculateAngleFrom(target, attacker);\n\t\tangleChar = Util.convertHeadingToDegree(target.getHeading());\n\t\tangleDiff = angleChar - angleTarget;\n\t\tif (angleDiff <= -360 + FRONT_MAX_ANGLE)\n\t\t{\n\t\t\tangleDiff += 360;\n\t\t}\n\t\tif (angleDiff >= 360 - FRONT_MAX_ANGLE)\n\t\t{\n\t\t\tangleDiff -= 360;\n\t\t}\n\t\treturn Math.abs(angleDiff) <= FRONT_MAX_ANGLE;\n\t}", "public boolean touched(Agent agent)\n {\n if(pick)\n return false;\n double distance = Math.sqrt(Math.pow(agent.x-x,2)+Math.pow(agent.y-y,2));\n return distance<=size/(agentIsSized?1:2);\n }", "private boolean hitSides() {\n if (b.numY + 60 >= BOX_HEIGHT || (b.numY - 60 <= 0)) {\n return true;\n } else {\n return false;\n }\n }", "private boolean canReach(Point positionEnemy, Point towerPosition) {\n return towerPosition.distance(positionEnemy) / Tile.TILE_WIDTH <= tower.getFireRange();\n }", "public boolean foundGoal() \r\n\t{\r\n\t\t// Write the method that determines if the walker has found a way out of the maze.\r\n\t\treturn ( currentCol < 0 || currentRow < 0 || \r\n\t\t\t\t currentCol >= size || currentRow >= size );\r\n\t}", "public boolean withinBounds(int target_row, int target_col) {\n\r\n if (target_row < 0 || target_row > size - 1 || target_col < 0 || target_col > size - 1) {\r\n return false;\r\n }\r\n return isOpen(target_row, target_col) || isFull(target_row, target_col);\r\n }", "@Override\n public boolean isFinished() {\n double[] positions = drivetrain.getPositions();\n\n return Math.abs(positions[0] - targetDistance) <= allowedError && Math.abs(positions[1] - targetDistance) <= allowedError;\n }", "private boolean needToTurn() {\n\t\tdouble curDir = sens.getDirection();\n\t\tdouble desDirPlusAmount = desiredDirection + TURNSPEED;\n\t\tdouble desDirMinusAmount = desiredDirection - TURNSPEED;\n\n\t\t// if desired direction is <||> +_ x degrees\n\t\tif (curDir < desDirMinusAmount || curDir > desDirPlusAmount) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "private boolean isAtLeastOneMemberNotToFarAwayFromSpawnPoint(final LinkedList<Fightable> kis) {\n\t\t\n\t\tfor (Fightable ki : kis) {\n\t\t\tif (Points.distBetweenTwoPoints(ki.getCoord(), ki.getSpawnPoint()) \n\t\t\t\t\t< ki.getAttributeValue(Attribute.viewRange) * VIEWRANGE_FACTOR) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean onGround() {\n return getLocation().getY() <= 0 || (interactingWithY != null && interactingWithY.getLocation().getY() + interactingWithY.size.height <= getLocation().getY());\n }", "boolean isFacingOut(float[] a, float[] b, float[] c, float[] d) {\n // the vector to center of face! genius!\n return a[2] + b[2] + c[2] + d[2] > 0;\n }", "private boolean hitMyPaddle() {\n if (b.numX - 60 <= 0) {\n if ((b.numY <= (this.touchedY + 260)) && (b.numY >= (this.touchedY - 260))) {\n } else {\n this.wentOffWall();\n }\n return true;\n } else {\n return false;\n }\n }", "public boolean isTargetTerritoryValid() {\n return isTargetTerritoryOneBlockAway();\n }", "boolean isInsideScreen() {\n if (_hitbox.length == 1) {\n float r = _hitbox[0].x;\n PVector c = _getCenter();\n return 0 <= c.x + r && c.x - r < width && 0 <= c.y + r && c.y - r < height;\n }\n \n PVector[] points = this._getPoints();\n for(PVector p : points) {\n if(0 <= p.x && p.x < width && 0 <= p.y && p.y < height) {\n return true;\n }\n }\n return false;\n }", "private static boolean moveCloserToTarget() {\n Direction f = forward;\n int startingDistance = target.distanceSquaredTo(S.rc.getLocation());\n forward = S.rc.getLocation().directionTo(target);\n forward = forward.rotateLeft();\n for (int i = 0; i < 8; i++) {\n if (target.distanceSquaredTo(S.rc.getLocation().add(forward)) < startingDistance)\n if (moveForwardStrict())\n return true;\n forward = forward.rotateRight();\n }\n forward = f;\n return false;\n }", "public boolean isInDanger(Coordinate dest) {\n\t\tint team = field.at(dest).team;\n\t\tArrayList<Coordinate> traversal = field.noNullsTraverse();\n\t\tfor(Coordinate start: traversal) {\n\t\t\tPiece attacker = field.at(start);\n\t\t\tif(attacker.team == team) { continue; }\n\t\t\tif(!attacker.canMove(start, dest, field)) { continue; }\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "@Override\n\t\tprotected boolean condition() {\n\t\t\tWhichSide whichSide = VisionUtil.getPositionOfGearTarget();\n\t\t\tSystem.err.println(\"Position of gear target: \"+whichSide);\n\t\t\tif (whichSide == WhichSide.RIGHT)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}", "public boolean isGoal() {\r\n\t\tint n = this.dimension();\r\n\t\tint k = 1;\r\n\t\tfor (int i = 0; i < n; i++) {\r\n\t\t\tfor (int j = 0; j < n; j++) {\r\n\t\t\t\tif (this.blocks[i][j] != k) {\r\n\t\t\t\t\tif (!(i == n - 1 && j == n - 1 && this.blocks[i][j] == 0)) {\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tk++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "public abstract boolean isTarget();", "private boolean quickVerify(Location loc)\n {\n //quickly check if 2 blocks above this is clear\n Block oneAbove = loc.getBlock();\n Block twoAbove = oneAbove.getRelative(BlockFace.UP, 1);\n return oneAbove.getType().equals(Material.AIR) && twoAbove.getType().equals(Material.AIR);\n }", "public boolean canWalk() {\n\t\treturn rangeBottomLeft != null && !rangeBottomLeft.equals(location)\n\t\t\t\t&& rangeTopRight != null && !rangeTopRight.equals(location);\n\t}", "public boolean isLookingAtObject(GLSelectableObject cube) {\r\n float[] initVec = { 0, 0, 0, 1.0f };\r\n float[] objPositionVec = new float[4];\r\n\r\n // Convert object space to camera space. Use the headView from\r\n // onNewFrame.\r\n Matrix.multiplyMM(modelView, 0, headView, 0, cube.getModel(), 0);\r\n Matrix.multiplyMV(objPositionVec, 0, modelView, 0, initVec, 0);\r\n\r\n float pitch = (float) Math.atan2(objPositionVec[1], -objPositionVec[2]);\r\n float yaw = (float) Math.atan2(objPositionVec[0], -objPositionVec[2]);\r\n\r\n return Math.abs(pitch) < PITCH_LIMIT && Math.abs(yaw) < YAW_LIMIT;\r\n }", "boolean isAllOnDestination(){\n\n if(player.getCurrentX()-player.getDestinationX()!=0 || player.getCurrentY()-player.getDestinationY()!=0)\n return false;\n\n for(int i = 0; i < boxes.size(); i++){\n Box item = boxes.get(i);\n if(item.getCurrentX()-item.getDestinationX()!=0 || item.getCurrentY()-item.getDestinationY()!=0)\n return false;\n }\n return true;\n }", "public boolean hasLocation()\n {\n return targetLocation != null;\n }", "@Override\n protected boolean isFinished() {\n return (Math.abs(hpIntake.getWristPosition()) - HatchPanelIntake.positions[position.ordinal()] < Math.PI/12);\n }", "public boolean hasReachedLEDTarget() {\n\t\tif (closestWhiteLED != null) {\n\t\t\tif (sens.isCloseTo(closestWhiteLED.getTargetX(), closestWhiteLED.getTargetY(), 2)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean canMove2() {\n\t\tGrid<Actor> gr = getGrid(); \n\t\tif (gr == null) {\n\t\t\treturn false; \n\t\t}\n\t\t\n\t\tLocation loc = getLocation(); \n\t\tLocation next = loc.getAdjacentLocation(getDirection());\n\t\tLocation next2 = next.getAdjacentLocation(getDirection());\n\t\tif (!gr.isValid(next)) {\n\t\t\treturn false;\n\t\t}\n\t\tif (!gr.isValid(next2)) {\n\t\t\treturn false;\n\t\t}\n\t\tActor neighbor = gr.get(next2); \n\t\treturn (neighbor == null) || (neighbor instanceof Flower); \n\t}", "boolean canMoveTo(Vector2d position);", "public boolean checkTrades(Player owner, Player targetPlayer, ArrayList<Tile> targetTiles, ArrayList<Tile> offeredTiles) {\n for(int i = 0; i < offeredTiles.size(); i++)\n if (!owner.containsTile(offeredTiles.get(i)))\n return false;\n\n for(int k = 0; k < targetTiles.size(); k++)\n if (!targetPlayer.containsTile(targetTiles.get(k)))\n return false;\n return true; // Some other things may be added\n }", "public boolean collisionDetected() {\r\n\t\tfor (GameElement target : getTargets()) {\r\n\t\t\tif (myInitiator.intersects(target) && checkTargetMatch(target)) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean isGoal() {\n \tfor (int row = 0; row < this.dimension(); row++) {\n \t\tfor (int column = 0; column < this.dimension(); column++) {\n \t\t\tif (blocks[row][column] != getGoalValueForBlock(row, column)) {\n \t\t\t\treturn false;\n \t\t\t}\n \t\t}\n \t}\n \t\n \treturn true;\n }", "public static boolean inArea(Location targetLoc, Location area1, Location area2) {\n if ((area1.getWorld() == area2.getWorld()) && (targetLoc.getWorld() == area1.getWorld())) {\n if ((targetLoc.getX() >= area1.getX() && targetLoc.getX() <= area2.getX())\n || (targetLoc.getX() <= area1.getX() && targetLoc.getX() >= area2.getX())) {\n if ((targetLoc.getY() >= area1.getY() && targetLoc.getY() <= area2.getY())\n || (targetLoc.getY() <= area1.getY() && targetLoc.getY() >= area2.getY())) {\n return (targetLoc.getZ() >= area1.getZ() && targetLoc.getZ() <= area2.getZ())\n || (targetLoc.getZ() <= area1.getZ() && targetLoc.getZ() >= area2.getZ());\n }\n }\n }\n return false;\n }", "public boolean isValidMove(int targetX, int targetY){\n\t\t/*check boundary condition*/\n\t\tif(outBoundary(targetX, targetY)){\n\t\t\treturn false;\n\t\t}\n\t\tint xDiff = Math.abs(getPosition().getFirst()-targetX);\n\t\tint yDiff = Math.abs(getPosition().getSecond()-targetY);\n\t\treturn ((xDiff ==2 && yDiff ==1) ||(xDiff ==1 && yDiff ==2));\n\t}", "@GuardedBy(\"sfg\")\n\tpublic boolean canGoTo(StateVertex source, StateVertex target) {\n\t\tsynchronized (sfg) {\n\t\t\treturn sfg.containsEdge(source, target) || sfg.containsEdge(target, source);\n\t\t}\n\t}", "public static boolean isSomethingToAttackDefined() {\n\t\treturn _attackTargetUnit != null && !_attackTargetUnit.getType().isOnGeyser();\n\t}", "public boolean shouldExecute() {\n LivingEntity livingentity = ShulkerEntity.this.getAttackTarget();\n if (livingentity != null && livingentity.isAlive()) {\n return ShulkerEntity.this.world.getDifficulty() != Difficulty.PEACEFUL;\n } else {\n return false;\n }\n }", "@Override\n\tpublic boolean onTarget() {\n\t\treturn super.onTarget(mAngleTolerance);\n\t}", "public boolean destinationPermitted(Position p) {\n\n return (p.getX() >= 0 && p.getX() < x_length + 1 && p.getY() >= 0 &&\n p.getY() < y_length + 1 && !isOccupied(p));\n }", "@Override\n\tpublic boolean onValidSurface()\n\t{\n\t\tif (!this.worldObj.getCollidingBoundingBoxes(this, this.getEntityBoundingBox()).isEmpty())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint i = Math.max(1, this.blocksToTakeUp());\n\t\t\tint j = Math.max(1, this.blocksToTakeUp());\n\t\t\tBlockPos blockpos = this.hangingPosition.offset(this.facingDirection.getOpposite());\n\t\t\tEnumFacing enumfacing = this.facingDirection.rotateYCCW();\n\n\t\t\tfor (int k = -i / 2 + 1; k < i / 2 + 1; ++k)\n\t\t\t{\n\t\t\t\tfor (int l = -j / 2 + 1; l < j / 2 + 1; ++l)\n\t\t\t\t{\n\t\t\t\t\tBlockPos blockpos1 = blockpos.offset(enumfacing, k).up(l);\n\t\t\t\t\tBlock block = this.worldObj.getBlockState(blockpos1).getBlock();\n\n\t\t\t\t\tif (block.isSideSolid(this.worldObj, blockpos1, this.facingDirection))\n\t\t\t\t\t\tcontinue;\n\n\t\t\t\t\tif (!block.getMaterial().isSolid() && !BlockRedstoneDiode.isRedstoneRepeaterBlockID(block))\n\t\t\t\t\t{\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (Entity entity : this.worldObj.getEntitiesWithinAABBExcludingEntity(this, this.getEntityBoundingBox()))\n\t\t\t{\n\t\t\t\tif (entity instanceof EntityHanging)\n\t\t\t\t{\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\t}", "public boolean hitSide()\n {\n if(accel.getAcceleration(ADXL345_I2C.Axes.kX)>0)\n return true;\n else\n return false;\n }", "boolean canRobPlayer(HexLocation location, int victimIndex);", "public boolean isGoal(){\n\t\tboolean ok = true;\n\t\tfor (int i = 0; i < getRows() && ok; i++) {\n\t\t\tfor (int j = 0; j < getColumns() && ok; j++) {\n\t\t\t\tif (cells[i][j].getSand() != getK()) \n\t\t\t\t\tok = false;\n\t\t\t}\n\t\t} \n\t\treturn ok;\n\t}", "public boolean hasTarget() { \n if (isReal) {\n return get(\"tv\") == 1; // cleaned return statement up\n } else {\n return hasTargetSim.getBoolean(false);\n }\n }", "public boolean canReach(Tile dest) {\n if(dest == null || dest.isBlocked())\n return false; \n \n ArrayList<Tile> path = tileRoute(loc, dest);\n \n if(path == null)\n return false;\n \n return path.size() <= moveDistance;\n }", "@Override\n\tpublic boolean shouldExecute() {\n\t\tif (!theEntityTameable.isTamed())\n\t\t\treturn false;\n\t\telse {\n\t\t\tfinal EntityLivingBase var1 = theEntityTameable.getOwner();\n\n\t\t\tif (var1 == null)\n\t\t\t\treturn false;\n\t\t\telse {\n\t\t\t\ttheTarget = var1.getLastAttacker();\n\t\t\t\tfinal int var2 = var1.getLastAttackerTime();\n\t\t\t\treturn var2 != field_142050_e\n\t\t\t\t\t\t&& isSuitableTarget(theTarget, false)\n\t\t\t\t\t\t&& theEntityTameable.func_142018_a(theTarget, var1);\n\t\t\t}\n\t\t}\n\t}", "public int IsSourceToFluidBlockAtFacing( World world, int i, int j, int k, int iFacing );", "public boolean isPressed() {\r\n List<Entity> entities = dungeon.getEntities();\r\n for (Entity e: entities) {\r\n if (e != null && e.getY() == getY() && e.getX() == getX()) {\r\n if (\"Boulder\".equals(e.getClass().getSimpleName()))\r\n return true;\r\n }\r\n }\r\n return false;\r\n }", "private boolean isEnemyNotToFarAwayFromSpawnPoint(final LinkedList<Fightable> kis, final NonStatic enemy) {\n\t\tfor (Fightable ki : kis) {\n\t\t\tif (Points.distBetweenTwoPoints(enemy.getCoord(), ki.getSpawnPoint()) \n\t\t\t\t\t< ki.getAttributeValue(Attribute.viewRange) * VIEWRANGE_FACTOR) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "protected boolean isFinished ()\n\t{\n\n\t\tif (Subsystems.goalVision.getProportionalGoalX() >= X_OFFSET\n\t\t - DEADBAND\n\t\t && Subsystems.goalVision\n\t\t .getProportionalGoalX() <= X_OFFSET + DEADBAND)\n\t\t//The goal is centered.\n\t\t{\n\t\t\t//We are aligned.\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}", "public abstract boolean canMoveTo(Case Location);", "public boolean hasTargetPos() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "private boolean canMove() {\n\t\tif (System.currentTimeMillis() - lastTrunTime < 300) {// move time is\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 300ms before\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// last move\n\t\t\treturn false;\n\t\t}\n\t\tboolean status = false;\n\t\tif(stage == 1){\n\t\t\tmap = GameView.map;\n\t\t}else if(stage == 2){\n\t\t\tmap = GameViewStage2.map;\n\t\t}else {\n\t\t\tmap = GameViewStage3.map;\n\t\t}\n\t\tif (direction == UP) {// when tank moves up\n\t\t\tif (centerPoint.getY() - speed >= 0) {\n\t\t\t\tif (map[(centerPoint.getY() - speed) / UNIT][centerPoint\n\t\t\t\t\t\t.getX() / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() - speed) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + UNIT) / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() - speed) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + 2 * UNIT) / UNIT] == 0) {\n\t\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (direction == DOWN) {\n\t\t\tif (centerPoint.getY() + tankBmp.getHeight() + speed < screenHeight) {\n\t\t\t\tif (map[(centerPoint.getY() + 2 * UNIT + speed) / UNIT][centerPoint\n\t\t\t\t\t\t.getX() / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT][(centerPoint.getX() + UNIT) / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT][(centerPoint.getX() + 2 * UNIT) / UNIT] == 0) {\n\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (direction == LEFT) {\n\n\t\t\tif (centerPoint.getX() - speed >= 0) {\n\t\t\t\tif (map[centerPoint.getY() / UNIT][(centerPoint.getX() - speed)\n\t\t\t\t\t\t/ UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() - speed) / UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() - speed) / UNIT] == 0) {\n\t\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (direction == RIGHT) {\n\t\t\tif (centerPoint.getX() + tankBmp.getWidth() + speed < screenWidth) {\n\t\t\t\tif (map[centerPoint.getY() / UNIT][(centerPoint.getX()\n\t\t\t\t\t\t+ 2 * UNIT + speed)\n\t\t\t\t\t\t/ UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT] == 0\n\t\t\t\t\t\t&& map[(centerPoint.getY() + 2 * UNIT) / UNIT][(centerPoint\n\t\t\t\t\t\t\t\t.getX() + 2 * UNIT + speed)\n\t\t\t\t\t\t\t\t/ UNIT] == 0) {\n\t\t\t\t\tstatus = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (status)\n\t\t\tlastTrunTime = System.currentTimeMillis();\n\t\treturn status;\n\t}", "private boolean canMove() {\n return !(bestMove[0].getX() == bestMove[1].getX() && bestMove[0].getY() == bestMove[1].getY());\n }", "public boolean hasPassed()\n {\n if (y<=450.0f)\n return false;\n else\n return true;\n }", "private boolean checkSpaceAvailability(Point targetLocation, ICityFragment element) {\r\n //basic constraint:no other things here\r\n\r\n if (city.isAnythingHere(targetLocation, element.getBoundary().width, element.getBoundary().height, element)) {\r\n return false;\r\n }\r\n\r\n //crossroads:at least one road can connected\r\n if (element instanceof Crossroads) {\r\n var crossroad = (Crossroads) element;\r\n\r\n var accessibleRoad = findAccessibleRoads(crossroad, targetLocation);\r\n\r\n if (accessibleRoad == null || accessibleRoad.size() <= 1) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "public boolean canSee ( Player player ) {\n\t\treturn extract ( handle -> handle.canSee ( player ) );\n\t}", "public boolean isInversable() {\r\n try {\r\n return !(this.getDeterminant() == 0);\r\n } catch (InvalidMoveException e) {\r\n return false;\r\n }\r\n }", "private boolean foundFlower() {\n\t\t// get the grid location of this Bee\n\t\tGridPoint myPoint = grid.getLocation(this);\n\t\tGridPoint theirPoint;\n\t\t\n\t\t// if the bee is within range of a flower's size, target that flower\n\t\tfor(int i=0; i<flowers.size(); i++){\n\t\t\ttheirPoint = grid.getLocation(flowers.get(i));\n\t\t\tif(grid.getDistance(myPoint, theirPoint) < (flowers.get(i).size/100.0)){\n\t\t\t\ttargetFlower = flowers.get(i);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean lineOfSight(PathAgentModel viewer, PathAgentModel target)\r\n/* 293: */ {\r\n/* 294: */ float ty;\r\n/* 295: */ float tx;\r\n/* 296: */ float ty;\r\n/* 297:336 */ if (target.hasTarget())\r\n/* 298: */ {\r\n/* 299:338 */ float tx = target.getTargetX();\r\n/* 300:339 */ ty = target.getTargetY();\r\n/* 301: */ }\r\n/* 302: */ else\r\n/* 303: */ {\r\n/* 304:343 */ tx = target.getX();\r\n/* 305:344 */ ty = target.getY();\r\n/* 306: */ }\r\n/* 307:348 */ if (viewer.fov(tx, ty)) {\r\n/* 308:350 */ if (line(viewer.getX(), viewer.getY(), tx, ty)) {\r\n/* 309:352 */ return true;\r\n/* 310: */ }\r\n/* 311: */ }\r\n/* 312:355 */ return false;\r\n/* 313: */ }", "public boolean canHit() {\n\t\treturn this.hand.countValue().first() < 17;\n\t}", "protected boolean IsPlayerStaringAtMe( EntityPlayer player )\r\n {\r\n ItemStack headStack = player.inventory.armorInventory[3];\r\n\r\n if ( headStack == null || headStack.itemID != \r\n \tFCBetterThanWolves.fcItemEnderSpectacles.itemID )\r\n {\r\n Vec3 vLook = player.getLook( 1F ).normalize();\r\n \r\n Vec3 vDelta = worldObj.getWorldVec3Pool().getVecFromPool( posX - player.posX, \r\n \tboundingBox.minY + ( height / 2F ) - ( player.posY + player.getEyeHeight() ), \r\n \tposZ - player.posZ );\r\n \r\n double dDist = vDelta.lengthVector();\r\n \r\n vDelta = vDelta.normalize();\r\n \r\n double dotDelta = vLook.dotProduct( vDelta );\r\n \r\n if ( dotDelta > 1D - 0.025D / dDist )\r\n {\r\n \treturn player.canEntityBeSeen( this );\r\n }\r\n }\r\n \r\n return false;\r\n }", "public boolean finishedTurning(double targetDegrees){\n\t\tboolean done = false;\n\t\tdouble rotation_Rad = targetDegrees * Math.PI / 180;\n\t\tdouble rotation_Arc = (rotation_Rad * RobotMap.DIAGONAL_ROBOT_RADIUS / RobotMap.MECANUM_ROTATION_RATIO) / 2.25;\n\n\t\tif(bLEncPosition() <= (rotation_Arc * -1.0) && bREncPosition() >= rotation_Arc && fLEncPosition() <= (rotation_Arc * -1.0) && fREncPosition() >= rotation_Arc) {\n\t \tdone = true;\n\t\t}\n\t\telse{\n\t\t\tdone = false;\n\t\t}\n\t\treturn done;\n\t}", "public void attack(Creature target) {\r\n\t\t//Check if attacker is within 1 tile\r\n\t\tint destx = (int) (target.getXlocation()/Tile.TILEWIDTH);\r\n\t\tint desty = (int) (target.getYlocation()/Tile.TILEHEIGHT);\r\n\t\tVector2i start = new Vector2i((int) (creature.getXlocation() / Tile.TILEWIDTH), (int) (creature.getYlocation()/ Tile.TILEHEIGHT));\r\n\t\t//FIND SHORTEST DISTANCE\r\n\t\tVector2i destination = null; \t\t\r\n\t\tdouble shortest = 100000; \t\t\t\t\t\t\t\t\t\t //Set huge\r\n\t\tbyte Direction = 2;\t\t\t\t\t\t\t\t\t\t\t\t //default Look DOWN\r\n\t\tdouble temp = getDistance(start, new Vector2i(destx+1, desty)); //Check first\r\n\t\tif (shortest > temp && !handler.getWorld().getTile(destx+1, desty).isSolid() && !checkCollision(destx+1, desty)) {\r\n\t\t\tshortest = temp;\r\n\t\t\tdestination = new Vector2i(destx+1, desty);\r\n\t\t\tDirection = 1;\t\t\t\t\t\t\t\t\t\t\t\t //Look LEFT\r\n\t\t}\r\n\t\ttemp = getDistance(start, new Vector2i(destx-1, desty)); \t\t //Check second\r\n\t\tif (shortest > temp && !handler.getWorld().getTile(destx-1, desty).isSolid() && !checkCollision(destx-1, desty)) {\r\n\t\t\tshortest = temp;\r\n\t\t\tdestination = new Vector2i(destx-1, desty);\r\n\t\t\tDirection = 3;\t\t\t\t\t\t\t\t\t\t\t\t //Look RIGHT\r\n\t\t}\r\n\t\ttemp = getDistance(start, new Vector2i(destx, desty+1)); \t\t //Check third\r\n\t\tif (shortest > temp && !handler.getWorld().getTile(destx, desty+1).isSolid() && !checkCollision(destx, desty+1)) {\r\n\t\t\tshortest = temp;\r\n\t\t\tdestination = new Vector2i(destx, desty+1);\r\n\t\t\tDirection = 0;\t\t\t\t\t\t\t\t\t\t\t\t //Look UP\r\n\t\t}\r\n\t\ttemp = getDistance(start, new Vector2i(destx, desty-1)); \t\t //Check fourth\r\n\t\tif (shortest > temp && !handler.getWorld().getTile(destx, desty-1).isSolid() && !checkCollision(destx, desty-1)) {\r\n\t\t\tshortest = temp;\r\n\t\t\tdestination = new Vector2i(destx, desty-1);\r\n\t\t\tDirection = 2;\t\t\t\t\t\t\t\t\t\t\t\t //Look DOWN\r\n\t\t}\r\n\t\t//SET PATH FOR SHORTEST DISTANCE\r\n\t\tList<Node> path = pf.findPath(start, destination);\r\n\t\t//FOLLOW SHORTEST DISTANCE PATH\r\n\t\tfollowPath(path);\r\n\t\t//IF ATTACKER HAS ARRIVED\r\n\t\tif (creature.getxMove() == 0 && creature.getyMove() == 0) {\r\n\t\t\t//face target -> \r\n\t\t\tcreature.setLastDirection(Direction);\r\n\t\t\t//attack\r\n\t\t\tcreature.setAttacking(true);\r\n\t\t} else {\r\n\t\t\tcreature.setAttacking(false);\r\n\t\t}\r\n\t}", "public boolean finishedStrafing(double targetDegrees){\n\t\tboolean done = false;\n\t\tdouble targetInches = targetDegrees * (Math.PI/180) * RobotMap.DIAGONAL_ROBOT_RADIUS;\n\t\t\n\t\tif(bLEncPosition() <= (targetInches * -1.0) && bREncPosition() >= targetInches && fLEncPosition() >= targetInches && fREncPosition() <= (targetInches * -1.0)) {\n\t \tdone = true;\n\t\t}\n\t\telse{\n\t\t\tdone = false;\n\t\t}\n\t\treturn done;\n\t}", "private boolean isGoalReached(Transform currentRobotPose, Transform goal) {\n return currentRobotPose.planarDistanceToSquared(goal) < mDistanceCloseToGoalSquared;\n }", "public abstract boolean isAllowableMovement(int[] location, double[] direction);", "boolean testCoords(Tester t) {\n return t.checkExpect(this.p3.xCoord(), 50) && t.checkExpect(this.p4.yCoord(), 600);\n }", "public boolean inBounds(Actor a)\n {\n boolean inX = Math.abs(a.getXPos()) < levelWidth/2;\n boolean inY = Math.abs(a.getYPos()) < levelHeight/2;\n return inX && inY;\n }", "public boolean isGoal() {\n if (blocks[dimension()-1][dimension()-1] != 0) return false;\n return hamming() == 0;\n }", "private boolean checkNearbyVillagers() {\n\t\tIterator<Integer> it = sprites.keySet().iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tSprite as = sprites.get(it.next());\n\t\t\tif (as instanceof Villager) {\n\t\t\t\tVillager v = (Villager) as;\n\t\t\t\tif (v.checkTalkable(player.pos, player.direction)) {\n\t\t\t\t\treturn executeTalkableVillager(v);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "protected boolean isFinished() {\n \tif(Math.abs(Robot.driveTrain.getHeading() - targetDirection) < 2) {\n \t\treturn true;\n \t} else {\n \t\treturn false;\n \t}\n }" ]
[ "0.736361", "0.71095324", "0.68007624", "0.6775042", "0.6557176", "0.64821905", "0.6457847", "0.6408375", "0.63966554", "0.6277684", "0.626793", "0.6261445", "0.6253618", "0.623983", "0.6226547", "0.6225245", "0.6189884", "0.61896336", "0.6188065", "0.6179231", "0.6140413", "0.6130688", "0.60859835", "0.60571456", "0.6052919", "0.604506", "0.6043916", "0.60331726", "0.6030983", "0.6023131", "0.60153407", "0.599697", "0.5995356", "0.5983362", "0.5961759", "0.5960324", "0.59530145", "0.5943891", "0.59345037", "0.59274226", "0.59015936", "0.589578", "0.58816487", "0.58684516", "0.5868038", "0.5852886", "0.58518493", "0.5832293", "0.58269835", "0.5826842", "0.5821763", "0.5814573", "0.581386", "0.5804159", "0.5789068", "0.57876545", "0.5780518", "0.5779718", "0.57768095", "0.577614", "0.5769374", "0.5769262", "0.57553416", "0.57518774", "0.5750424", "0.57497275", "0.5742078", "0.5734505", "0.573356", "0.573057", "0.5730523", "0.57278544", "0.5722746", "0.57209295", "0.5715644", "0.5710681", "0.57084566", "0.57035905", "0.5699029", "0.56945205", "0.56937486", "0.5689522", "0.5685798", "0.56709963", "0.5663757", "0.56602377", "0.5659757", "0.5656094", "0.56527156", "0.5651955", "0.56471735", "0.56429124", "0.5640801", "0.56401104", "0.5637395", "0.56372577", "0.56284064", "0.5627693", "0.5627113", "0.56241536" ]
0.7008368
2
/ other placing element1 element2 index element direction index element direction static EAT one copy element2 copy EATEN one move element1 copy PUSH both copy element1 copy copy element2 copy NEUTRAL both copy element1 copy copy element2 copy dynamic EAT one move element2 copy EATEN one move element1 copy PUSH both copy element1 copy copy element2 copy NEUTRAL both copy element1 copy copy element2 copy
@Override public final Field.PlacingAfterCollision determinePlacing( final ElementCollisionData element1, final ElementCollisionData element2 ) { assert element1.isColliding(); final ElementCollision other = element2.getCollision(); if ((other == Push.INSTANCE) || (other == Neutral.INSTANCE)) { return new Field.PlacingBoth( element1.getIndex(), element1.getElement(), element1.getDirection(), element2.getIndex(), element2.getElement(), element2.getDirection() ); } else if (other == Eat.INSTANCE) { return new Field.PlacingOne( element2.isColliding() ? Field.calculateIndex(element2.getIndex(), element2.getDirection()) : element2.getIndex(), element2.getElement(), element2.getDirection() ); } else if (other == Eaten.INSTANCE) { return new Field.PlacingOne( Field.calculateIndex(element1.getIndex(), element1.getDirection()), element1.getElement(), element1.getDirection() ); } else { throw new UnsupportedOperationException(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private synchronized void swapElements(Object newParam, int index1,\n\t\t\tint index2) {\n\n\t\t// the two elements to be swapped\n\t\tLinearElement firstElement = root.getVector().get(index1);\n\t\tLinearElement secondElement = root.getVector().get(index2);\n\n\t\t// the two elements after each of the elements to be swapped\n\t\tLinearElement secondElementNext;\n\t\tLinearElement firstElementNext;\n\t\t/*\n\t\t * There is a corner case where secondElement.previousChild is\n\t\t * firstElement\n\t\t */\n\n\t\t// the first element's previous child before it is reassigned\n\t\tLinearElement tempPrevChild = firstElement.getPreviousChild();\n\n\t\tif (index2 != index1 + 1) {// the elements are not adjacent\n\n\t\t\t// set previous elements for the two nodes\n\t\t\tfirstElement.setPreviousChild(secondElement.getPreviousChild());\n\t\t\tsecondElement.setPreviousChild(tempPrevChild);\n\n\t\t\t// set previous elements for the nodes referencing the swapped nodes\n\t\t\tif (index1 + 1 < root.getVector().size()) {\n\t\t\t\tfirstElementNext = root.getVector().get(index1 + 1);\n\t\t\t\tfirstElementNext.setPreviousChild(secondElement);\n\t\t\t}\n\t\t\tif (index2 + 1 < root.getVector().size()) {\n\t\t\t\tsecondElementNext = root.getVector().get(index2 + 1);\n\t\t\t\tsecondElementNext.setPreviousChild(firstElement);\n\t\t\t}\n\n\t\t} else { // the elements are adjacent\n\t\t\tfirstElement.setPreviousChild(secondElement);\n\t\t\tsecondElement.setPreviousChild(tempPrevChild);\n\n\t\t\t// set previous elements for the nodes referencing the second node\n\t\t\tif (index2 + 1 < root.getVector().size()) {\n\t\t\t\tsecondElementNext = root.getVector().get(index2 + 1);\n\t\t\t\tsecondElementNext.setPreviousChild(firstElement);\n\t\t\t}\n\t\t}\n\n\t\t// swap the elements in root\n\t\troot.getVector().swap(index1, index2);\n\n\t\troot.focusPosition();\n\t}", "void moveElement(int elementId, double xCoordinate, double yCoordinate);", "private static void tetherCopiedElements(ArrayList<DiagramElement> elements) throws IOException\r\n {\n Iterator<DiagramElement> elIt = elements.iterator();\r\n ArrayList<Relationship> relationships = new ArrayList<>();\r\n while(elIt.hasNext())\r\n {\r\n DiagramElement e = elIt.next();\r\n if(e.isRelationship())\r\n relationships.add((Relationship)e);\r\n }\r\n \r\n // Tether relationships if needed\r\n Iterator<Relationship> relIt = relationships.iterator();\r\n while(relIt.hasNext())\r\n {\r\n Relationship r = relIt.next();\r\n int srcUid = r.getSourceClassUid();\r\n int destUid = r.getDestinationClassUid();\r\n if((srcUid > 0) || (destUid > 0))\r\n {\r\n elIt = elements.iterator();\r\n while(elIt.hasNext())\r\n {\r\n DiagramElement e = elIt.next();\r\n if((e.getElementType().equals(\"Class\")) && \r\n (e.getUniqueId() == srcUid))\r\n {\r\n r.tetherSourceToClass((ClassElement)e);\r\n }\r\n if((e.getElementType().equals(\"Class\")) && \r\n (e.getUniqueId() == destUid))\r\n {\r\n r.tetherDestinationToClass((ClassElement)e);\r\n }\r\n }\r\n }\r\n }\r\n }", "private void shiftElements() {\n RadarContent[] tempArr = new RadarContent[length - 1];\n for (int i = 0; i < length - 1; i++) {\n tempArr[i] = arrProfiles[i + 1];\n }\n arrProfiles = tempArr;\n length--;\n }", "int placeElement(String elementName, Point2D startCoordinates);", "public List<MovePath> getNextMoves(boolean backward, boolean forward) {\n final ArrayList<MovePath> result = new ArrayList<MovePath>();\n final MoveStep last = getLastStep();\n// if (isJumping()) {\n// final MovePath left = clone();\n// final MovePath right = clone();\n//\n// // From here, we can move F, LF, RF, LLF, RRF, and RRRF.\n// result.add(clone().addStep(MovePath.MoveStepType.FORWARDS));\n// for (int turn = 0; turn < 2; turn++) {\n// left.addStep(MovePath.MoveStepType.TURN_LEFT);\n// right.addStep(MovePath.MoveStepType.TURN_RIGHT);\n// result.add(left.clone().addStep(MovePath.MoveStepType.FORWARDS));\n// result.add(right.clone().addStep(MovePath.MoveStepType.FORWARDS));\n// }\n// right.addStep(MovePath.MoveStepType.TURN_RIGHT);\n// result.add(right.addStep(MovePath.MoveStepType.FORWARDS));\n//\n// // We've got all our next steps.\n// return result;\n// }\n\n // need to do a separate section here for Aeros.\n // just like jumping for now, but I could add some other stuff\n // here later\n if (getEntity() instanceof Aero) {\n MovePath left = clone();\n MovePath right = clone();\n\n // From here, we can move F, LF, RF, LLF, RRF, and RRRF.\n result.add((clone()).addStep(MovePath.MoveStepType.FORWARDS));\n for (int turn = 0; turn < 2; turn++) {\n left.addStep(MovePath.MoveStepType.TURN_LEFT);\n right.addStep(MovePath.MoveStepType.TURN_RIGHT);\n result.add(left.clone().addStep(MovePath.MoveStepType.FORWARDS));\n result.add(right.clone().addStep(MovePath.MoveStepType.FORWARDS));\n }\n right.addStep(MovePath.MoveStepType.TURN_RIGHT);\n result.add(right.addStep(MovePath.MoveStepType.FORWARDS));\n\n // We've got all our next steps.\n return result;\n }\n\n // If the unit is prone or hull-down it limits movement options, unless\n // it's a tank; tanks can just drive out of hull-down and they cannot\n // be prone.\n if (getFinalProne() || (getFinalHullDown() && !(getEntity() instanceof Tank))) {\n if ((last != null) && (last.getType() != MoveStepType.TURN_RIGHT)) {\n result.add(clone().addStep(MovePath.MoveStepType.TURN_LEFT));\n }\n if ((last != null) && (last.getType() != MoveStepType.TURN_LEFT)) {\n result.add(clone().addStep(MovePath.MoveStepType.TURN_RIGHT));\n }\n\n if (getEntity().isCarefulStand()) {\n result.add(clone().addStep(MovePath.MoveStepType.CAREFUL_STAND));\n } else {\n result.add(clone().addStep(MovePath.MoveStepType.GET_UP));\n }\n return result;\n }\n if (canShift()) {\n if (forward && (!backward || ((last == null) || (last.getType() != MovePath.MoveStepType.LATERAL_LEFT)))) {\n result.add(clone().addStep(MoveStepType.LATERAL_RIGHT));\n }\n if (forward && (!backward || ((last == null) || (last.getType() != MovePath.MoveStepType.LATERAL_RIGHT)))) {\n result.add(clone().addStep(MovePath.MoveStepType.LATERAL_LEFT));\n }\n if (backward\n && (!forward || ((last == null) || (last.getType() != MovePath.MoveStepType.LATERAL_LEFT_BACKWARDS)))) {\n result.add(clone().addStep(MovePath.MoveStepType.LATERAL_RIGHT_BACKWARDS));\n }\n if (backward\n && (!forward || ((last == null) || (last.getType() != MovePath.MoveStepType.LATERAL_RIGHT_BACKWARDS)))) {\n result.add(clone().addStep(MovePath.MoveStepType.LATERAL_LEFT_BACKWARDS));\n }\n }\n if (forward && (!backward || ((last == null) || (last.getType() != MovePath.MoveStepType.BACKWARDS)))) {\n result.add(clone().addStep(MovePath.MoveStepType.FORWARDS));\n }\n if ((last == null) || (last.getType() != MovePath.MoveStepType.TURN_LEFT)) {\n result.add(clone().addStep(MovePath.MoveStepType.TURN_RIGHT));\n }\n if ((last == null) || (last.getType() != MovePath.MoveStepType.TURN_RIGHT)) {\n result.add(clone().addStep(MovePath.MoveStepType.TURN_LEFT));\n }\n if (backward && (!forward || ((last == null) || (last.getType() != MovePath.MoveStepType.FORWARDS)))) {\n result.add(clone().addStep(MovePath.MoveStepType.BACKWARDS));\n }\n return result;\n }", "private void setElement(int index, E element) {\n// if (getElement(index) != null) {\n// setContents.remove(getElement(index));\n// }\n while (index >= contents.size()) {\n contents.add(null);\n }\n contents.set(index, element);\n// contents.put(index, element);\n backwards.put(element, index);\n\n// if (element != null) {\n// setContents.add(getElement(index));\n// }\n }", "private void moveAnts() {\n IntStream.range(currentIndex, numberOfCities - 1)\n .forEach(i -> {\n ants.forEach(ant -> ant.visitCity(currentIndex, selectNextCity(ant)));\n currentIndex++;\n });\n }", "private void exchange(int i, int j){\n\t\tnode_data t = _a[i];\n\t\t_a[i] = _a[j];\n\t\t_a[j] = t;\n\t}", "private void nextMovement()\n\t{\n\t\tif(SEQUENCE.length <= 1)\n\t\t\tSEQUENCE = null;\n\t\telse\n\t\t{\n\t\t\tint[] temp = new int[SEQUENCE.length - 1];\n\t\t\tfor(int i = 1; i < SEQUENCE.length; i++)\n\t\t\t{\n\t\t\t\ttemp[i-1] = SEQUENCE[i];\n\t\t\t}\n\t\t\tSEQUENCE = temp;\n\t\t}\n\t}", "private void swap(int index1, int index2) {\n E element1 = getElement(index1);\n E element2 = getElement(index2);\n setElement(index2, element1);\n setElement(index1, element2);\n }", "Activity getMoveElementActivity();", "public void movR(){\r\n\t\t\r\n\t\tint aux1[][]= new int [3][1];\r\n\t\tint aux2[][]= new int [3][1];\r\n\t\tint aux3[][]= new int [3][1];\r\n\t\tint aux4[][]= new int [3][1];\r\n\t\t\r\n\t\tint aux5[][]= new int [3][1];\r\n\t\t\r\n\t\tint aux6[][]= new int [3][1];\r\n\t\t\r\n\t\tint aux7[][]= new int [3][1];\r\n\t\t\r\n\t\taux1=cloneC(5,2);\r\n\t\taux2=cloneC(1,2);\r\n\t\taux3=cloneC(4,2);\r\n\t\taux4=cloneC(3,0);\r\n\t\t\r\n\t\taux5=cloneF(2,0);\r\n\t\taux6=cloneF(2,1);\r\n\t\taux7=cloneF(2,2);\r\n\t\t\r\n\t\t\r\n\t\tthis.copiaEnColumnaUnaColumna(aux1, 1, 2);\r\n\t\tthis.copiaEnColumnaUnaColumna(aux2, 4, 2);\r\n\t\tthis.copiaEnColumnaUnaColumnaReves(aux3, 3, 0);\r\n\t\tthis.copiaEnColumnaUnaColumnaReves(aux4, 5, 2);\r\n\t\t\r\n\t\tthis.copiaEnColumnaUnaFila(aux5, 2, 2);\r\n\t\tthis.copiaEnColumnaUnaFila(aux6, 2, 1);\r\n\t\tthis.copiaEnColumnaUnaFila(aux7, 2, 0);\r\n\t\t\r\n\t}", "abstract public int[] makeMove();", "void move_couple() {\n\t\tfor(int i = 0; i < d; i++){\n\t\t\tif(dancers[i].soulmate == -1) continue;\n\t\t\tPoint curr = this.last_positions[i];\n\t\t\tPoint des = this.dancers[i].des_pos;\n\t\t\tthis.dancers[i].next_pos = findNextPosition(curr, des);\n\t\t}\n\t}", "private static int encodeMove(int p_x, int p_y, int to_x, int to_y, int a_x, int a_y) {\n\t\treturn p_x + (p_y << 4) + (to_x << 8) + (to_y << 12) + (a_x << 16) + (a_y << 20);\n\t}", "void copyOffsetPosition (DVector3 pos);", "private void generateMovementVector() {\r\n\r\n\t\t// load the cell's old targeting vector and target location\r\n\t\tCellMovementVector oldTargetingVector = me.getTargetingVector();\r\n\t\tnewTargetX = me.getTargetX();\r\n\t\tnewTargetY = me.getTargetY();\r\n\r\n\t\tString oldBehaviorType = me.getCurrBehavior(); // the behavior the cell had on the previous update\r\n\t\tString newBehaviorType = sourceBehavior.getBehaviorType(); // the behavior which this order will apply\r\n\r\n\t\t// depending on the movement-type behavior; calculate the new target coordinates\r\n\t\t// and vector\r\n\r\n\t\tif (newBehaviorType.equals(\"pursue\")) { // pursuit: move along a straight line to the target cell\r\n\r\n\t\t\t// for pursuit, simply set the target coordinates to the location of the target\r\n\t\t\t// cell\r\n\t\t\t// movement vector scalar remains at default (1)\r\n\t\t\tnewTargetX = target.getX();\r\n\t\t\tnewTargetY = target.getY();\r\n\r\n\t\t} else if (newBehaviorType.equals(\"wander\")) { // wander: generate a random vector using the current position\r\n\r\n\t\t\t// if we just started wandering or as we are approaching our last wander target,\r\n\t\t\t// choose a new random target location\r\n\t\t\t// also has a 15% chance to choose a new target location regardless, to prevent getting stuck\r\n\t\t\tif (!oldBehaviorType.equals(\"wander\") || oldTargetingVector.getMagnitude() < 5 || me.getRNG().nextInt(100) < 14) {\r\n\t\t\t\tnewTargetX = me.getX() + (me.getRNG().nextDouble() - 0.5) * 200;\r\n\t\t\t\tnewTargetY = me.getY() + (me.getRNG().nextDouble() - 0.5) * 200;\r\n\r\n\t\t\t} else if (oldBehaviorType.equals(\"wander\")) { // if we're already wandering, shuffle our destination\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// slightly\r\n\t\t\t\tnewTargetX = me.getTargetX() + (me.getRNG().nextDouble() - 0.5) * 6;\r\n\t\t\t\tnewTargetY = me.getTargetY() + (me.getRNG().nextDouble() - 0.5) * 6;\r\n\t\t\t}\r\n\r\n\t\t} else if (newBehaviorType.equals(\"evade\")) { // evasion: like pursuit, but in the opposite direction\r\n\r\n\t\t\t// target a point in the opposite direction of the threat\r\n\t\t\t// movement vector scalar default at 1\r\n\t\t\tnewTargetX = 2 * me.getX() - target.getX();\r\n\t\t\tnewTargetY = 2 * me.getY() - target.getY();\r\n\r\n\t\t} else if (newBehaviorType.equals(\"hunt\")) { // hunt: like pursuit, but with an extra large vector\r\n\r\n\t\t\t// target our victim, like with pursuit\r\n\t\t\tnewTargetX = target.getX();\r\n\t\t\tnewTargetY = target.getY();\r\n\t\t\t// but we can expend a burst of energy to chase them down\r\n\t\t\tvectorScalar = 3;\r\n\r\n\t\t} else if (newBehaviorType.equals(\"sleep\")) { // sleep: do nothing\r\n\t\t\t\r\n\t\t\tvectorScalar = 0;\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"WARNING: Unrecognized behavior: \" + newBehaviorType + \".\");\r\n\t\t}\r\n\r\n\t\t// correct the vector to avoid pointing out of the petri dish (leads to cell\r\n\t\t// stuck on wall)\r\n\t\tif (newTargetX < 15) {\r\n\t\t\tnewTargetX = 15;\r\n\t\t} else if (newTargetX > me.getPetri().getSimulationWidth() - 15) {\r\n\t\t\tnewTargetX = me.getPetri().getSimulationWidth() - 15;\r\n\t\t}\r\n\t\tif (newTargetY < 15) {\r\n\t\t\tnewTargetY = 15;\r\n\t\t} else if (newTargetY > me.getPetri().getSimulationHeight() - 15) {\r\n\t\t\tnewTargetY = me.getPetri().getSimulationHeight() - 15;\r\n\t\t}\r\n\r\n\t\tnewTargetingVector = me.getVectorToTarget(newTargetX, newTargetY); // if no changes were made to the targetX and\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Y, the cell will continue moving along\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the old path (based on old target coords)\r\n\t}", "private static void moveCity2(ArrayList<City> routine, int from, int to, int num) {\n int i = 0;\n ArrayList<City> tempCity = new ArrayList<>();\n while(i < num){\n City temp = routine.get(from);\n routine.remove(from);\n tempCity.add(temp);\n i++;\n }\n i = 0;\n while(i < num){\n routine.add(to + i,tempCity.get(i));\n i++;\n }\n }", "private void mouseDraggedElement(MouseEvent evt) {\n\t\tif (draggable) {\n\t\t\t// if the element is rope holder or umlenkrolle wich is not standing\n\t\t\t// alone. then it could not be dragged -> return without doing anything\n\t\t\tif (this instanceof Seilaufhaenger) {\n\t\t\t\treturn;\n\t\t\t} else if (this instanceof Umlenkrolle) {\n\t\t\t\tUmlenkrolle umlenkrolle = (Umlenkrolle) this;\n\t\t\t\tif (umlenkrolle.isFree())\n\t\t\t\t\treturn;\n\t\t\t} else if (this instanceof DoppelUmlenkrolle) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!dragging) {\n\t\t\t\taufzugschacht.eraseCircRect();\n\t\t\t\tdragging = true;\n\t\t\t}\n\t\t\tint mx = evt.getX();\n\t\t\tint my = evt.getY();\n\t\t\tif (firstMove) {\n\t\t\t\t// at first move the old-mx and -my are set to the actual mx and my\n\t\t\t\tomx = mx;\n\t\t\t\tomy = my;\n\t\t\t\tfirstMove = false;\n\t\t\t}\n\t\t\t// the difference between old and new mouse coordinates\n\t\t\tint dx = mx - omx;\n\t\t\tint dy = my - omy;\n\n\t\t\t// the old coordintes of the element\n\t\t\tint ox = getX();\n\t\t\tint oy = getY();\n\n\t\t\t// getting the new coordinates of the element\n\t\t\tPoint xy;\n\t\t\tif (this instanceof Seilaufhaenger)\n\t\t\t\txy = getDraggingXYAufhaenger(ox, oy, dx, dy);\n\t\t\telse\n\t\t\t\txy = getDraggingXY(ox, oy, dx, dy);\n\t\t\tint x = (int) xy.getX();\n\t\t\tint y = (int) xy.getY();\n\n\t\t\t// move only if new coordinates are not on existing element\n\t\t\tint cy = y;\n\t\t\tint ch = getHeight();\n\t\t\t// if the element has a umlenkrolle or rope holder, than make the\n\t\t\t// searching area bigger\n\t\t\tif (this instanceof EndElement) {\n\t\t\t\tEndElement endElement = (EndElement) this;\n\t\t\t\tif (endElement.getUmlenkrolle() != null) {\n\t\t\t\t\tcy = cy - endElement.getUmlenkrolle().getHeight();\n\t\t\t\t\tch = ch + endElement.getUmlenkrolle().getHeight();\n\t\t\t\t}\n\t\t\t\tif (endElement.getDoppelUmlenkrolle() != null) {\n\t\t\t\t\tcy = cy - endElement.getDoppelUmlenkrolle().getHeight();\n\t\t\t\t\tch = ch + endElement.getDoppelUmlenkrolle().getHeight();\n\t\t\t\t}\n\t\t\t\tif (endElement.getSeilaufhaenger() != null) {\n\t\t\t\t\tcy = cy - endElement.getSeilaufhaenger().getHeight();\n\t\t\t\t\tch = ch + endElement.getSeilaufhaenger().getHeight();\n\t\t\t\t}\n\t\t\t}\n\t\t\tVector<Element> elementVector = aufzugschacht.getElementAt(x, cy, getWidth(), ch);\n\t\t\tboolean onlyElement = true;\n\t\t\tfor (int i = 0; i < elementVector.size(); i++) {\n\t\t\t\tif (!elementVector.elementAt(i).equals(this))\n\t\t\t\t\tif (this instanceof EndElement) {\n\t\t\t\t\t\t// the own clipped elements does not interfere the own move\n\t\t\t\t\t\tEndElement endElement = (EndElement) this;\n\t\t\t\t\t\tif (!elementVector.elementAt(i).equals(endElement.getSeilaufhaenger())\n\t\t\t\t\t\t\t\t&& !elementVector.elementAt(i).equals(endElement.getUmlenkrolle())\n\t\t\t\t\t\t\t\t&& !elementVector.get(i).equals(endElement.getDoppelUmlenkrolle()))\n\t\t\t\t\t\t\tonlyElement = false;\n\t\t\t\t\t} else\n\t\t\t\t\t\tonlyElement = false;\n\t\t\t}\n\t\t\tif (onlyElement) {\n\t\t\t\t// if the new location is not reserved by another element, the\n\t\t\t\t// element\n\t\t\t\t// is moved there and the rope is repainted\n\t\t\t\tsetLocation(x, y);\n\t\t\t\txRel = (int) ((double) x / xscale);\n\t\t\t\tyRel = (int) ((double) y / yscale);\n\t\t\t\tomx = mx - dx;\n\t\t\t\tomy = my - dy;\n\t\t\t\tif (aufzugschacht.getSeil() != null) {\n\t\t\t\t\taufzugschacht.getSeil().refreshSeil();\n\t\t\t\t\taufzugschacht.getSeil().repaint();\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tdragging = true;\n\t\t}\n\t}", "private static void exchange( Comparable[] datos, int i, int j)\n\t{\n\t\t// TODO implementar\n\t\tComparable copia=datos[j];\n\t\tdatos[j]=datos[i];\n\t\tdatos[i]=copia; \n\t}", "private void computeMovingElement(MouseEvent event) {\n\t\tElement clickedElement = findElementUnder(HIT_SELECTION, clickedMousePoint);\n\n\t\tif ( clickedElement == null && clickedInteraction != null ) {\n\t\t\tclickedElement = clickedInteraction.getElement();\n\t\t}\n\t\t\n\t\tif ( clickedElement != null ) {\n\t\t\tfinal boolean keepPreviousSelection = (event.stateMask & SWT.MOD1) != 0;\n\t\t\tfinal boolean containsClicked = selectedElements.contains(clickedElement);\n\t\t\tif ( keepPreviousSelection || containsClicked ) {\n\t\t\t\tmovingElements.addAll(selectedElements);\n\t\t\t}\n\t\t\tif ( !containsClicked )\tmovingElements.add(0, clickedElement);\n\t\t}\n\t}", "private Vector2d generateNewPositionForChild()\n {\n\n Random generator = new Random();\n List<Vector2d> freePositions = new LinkedList<>(); //tutaj przechowywane sa wolne pozycje wokol\n Vector2d position;\n Directions directionToAdd;\n\n for(int i = 0; i<8; i++)\n {\n directionToAdd = new Directions(i); //wykorzystujemy klase directions do generowania pozycji wokol\n position = this.position.add(directionToAdd.move());\n if(map.animalsAt(position).isEmpty())\n {\n freePositions.add(position);\n }\n }\n\n if(freePositions.isEmpty()) //jezeli nie ma wolnych pozycji\n {\n //jesli nie ma wolnych pozycji\n int x = generator.nextInt(8);\n directionToAdd = new Directions(x);\n return this.position.add(directionToAdd.move());\n }\n\n //jezeli mamy wolne pozycje to generujemy dowolna z listy\n int x = generator.nextInt(freePositions.size());\n Vector2d newPosition = freePositions.get(x);\n\n return newPosition;\n }", "private void aretes_aO(){\n\t\tthis.cube[40] = this.cube[7]; \n\t\tthis.cube[7] = this.cube[25];\n\t\tthis.cube[25] = this.cube[46];\n\t\tthis.cube[46] = this.cube[34];\n\t\tthis.cube[34] = this.cube[40];\n\t}", "private void getKingJumpPos(Point kingPoint, Orientation or, Movement m, JumpPosition jumpPosit,Color c, boolean b) throws CloneNotSupportedException {\n Point foo = jumpPosit.jumpPosition.get(jumpPosit.jumpPosition.size()-1).to;\n Color oposite = c==Color.black?Color.red:Color.black;\n \n Point soldierPoint , nextPoint;\n for(OrientationMove orM:orientationMoveCombs){\n Point currentPoint = foo;\n for(int i=0;i<8;i++){\n if(i!=0) currentPoint = getXandYgivenOrientation(currentPoint, orM.or,orM.m);\n if( !isValidSquare(currentPoint.x, currentPoint.y)) \n break;\n if( !isEmpty(new Soldier(currentPoint.x, currentPoint.y, Color.white), gamePieces)) \n break;\n //soldierPoint = getXandYgivenOrientation(currentPoint, or,m);\n\n soldierPoint = getXandYgivenOrientation(currentPoint, orM.or,orM.m);\n nextPoint = getXandYgivenOrientation(soldierPoint, orM.or,orM.m);\n Soldier foe = new Soldier(soldierPoint.x, soldierPoint.y, oposite);\n if(isJumpable(soldierPoint, orM.or, orM.m, c , jumpPosit))\n addAllRelevantSquares(jumpPosit, foo, nextPoint, soldierPoint, orM.or, orM.m ,oposite );\n\n\n nextPoint = getXandYgivenOrientation(soldierPoint, or,m);\n if(!isEmpty(soldierPoint, gamePieces, jumpPosit.jumpPosition)\n &&!isEmpty(nextPoint, gamePieces, jumpPosit.jumpPosition)) break; \n }\n }\n \n \n \n //If it is, add it to the movement path\n// if(isJumpable(soldierPoint, or, m, c , jumpPositions)){ \n// addOnlyToTempJumpPositions(foo, getXandYgivenOrientation(soldierPoint, or,m) , soldierPoint ,jumpPosit , or, m);\n// }\n \n }", "void makeMove(char c0, char r0, char c1, char r1, Move next) {\n makeMove(Move.move(c0, r0, c1, r1, next));\n }", "protected void moveToDestination(){\n\t\tqueue.clear();\n\t\twhile (destination[0] < 0){\n\t\t\tqueue.add(\"MOVE S\");\n\t\t\tdestination[0] += 1;\n\t\t}\n\t\twhile (destination[0] > 0){\n\t\t\tqueue.add(\"MOVE N\");\n\t\t\tdestination[0] -= 1;\n\t\t}\n\t\twhile (destination[1] < 0){\n\t\t\tqueue.add(\"MOVE E\");\n\t\t\tdestination[1] += 1;\n\t\t}\n\t\twhile (destination[1] > 0){\n\t\t\tqueue.add(\"MOVE W\");\n\t\t\tdestination[1] -= 1;\n\t\t}\n\t\tdestination = null;\n\t}", "private void smoothAdjacentCollapsibles(TECarpentersBlock TE, int src_quadrant)\n \t{\n \t\tTECarpentersBlock TE_XN = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord) : null;\n \t\tTECarpentersBlock TE_XP = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord) : null;\n \t\tTECarpentersBlock TE_ZN = TE.worldObj.getBlockId(TE.xCoord, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_ZP = TE.worldObj.getBlockId(TE.xCoord, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord, TE.yCoord, TE.zCoord + 1) : null;\n \t\tTECarpentersBlock TE_XZNN = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_XZNP = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord + 1) : null;\n \t\tTECarpentersBlock TE_XZPN = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_XZPP = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord + 1) : null;\n \t\t\n \t\tint height = Collapsible.getQuadHeight(TE, src_quadrant);\n \t\t\n \t\tswitch (src_quadrant)\n \t\t{\n \t\tcase Collapsible.QUAD_XZNN:\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZN, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tif (TE_XZNN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZNN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XN, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZNP:\n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tif (TE_XZNP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZNP, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZPN:\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tif (TE_XZPN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZPN, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZPP:\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZP, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tif (TE_XZPP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZPP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XP, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}", "private void addAnotherElement() {\n\t\t SnakeSquare ss = sSquare.get(sSquare.size() - 1);\n\t\t double velX = ss.getDX();\n\t\t double velY = ss.getDY();\n\t\t \n\t\t double x = ss.getX();\n\t\t double y = ss.getY();\n\t\t double len = ss.getLength();\n\t\t Color c = ss.getColor();\n//\t\t double snakeSize = 10.0f;\n\t\t \n\t\t if(velX == 0 && velY == 0){sSquare.add(new SnakeSquare(x, y + snakeSize, c, len));}\n\t\t if(velX == 0 && velY == 1){sSquare.add(new SnakeSquare(x, y - snakeSize, c, len));}//move down;\n\t\t if(velX == 0 && velY == -1){sSquare.add(new SnakeSquare(x, y + snakeSize, c, len));}//move up;\n\t\t if(velX == 1 && velY == 0){sSquare.add(new SnakeSquare(x+ snakeSize, y, c, len));}//move right;\n\t\t if(velX == -1 && velY == 0){sSquare.add(new SnakeSquare(x - snakeSize, y, c, len));}// move left;\n\t\t\n\t}", "void makeMove(char c0, char r0, char c1, char r1) {\n makeMove(Move.move(c0, r0, c1, r1, null));\n }", "public void swapAdjacentElements(int[] values)\n {\n // your work here\n\n\n\n\n }", "@Test\n public void testCasesVidePlacement() {\n System.out.println(\"=============================================\");\n System.out.println(\"Test casesVidePlacement ====================>\\n\");\n\n HexaPoint orig = new HexaPoint(0, 0, 0);\n Plateau instance = new Plateau();\n JoueurHumain j1 = new JoueurHumain(instance, true, NumJoueur.JOUEUR1);\n JoueurHumain j2 = new JoueurHumain(instance, true, NumJoueur.JOUEUR1);\n Reine reinej1 = j1.getReine(j1.getPions());\n Reine reinej2 = j2.getReine(j2.getPions());\n\n ArrayList<HexaPoint> expectedj1;\n ArrayList<HexaPoint> expectedj2;\n ArrayList<HexaPoint> resj1;\n ArrayList<HexaPoint> resj2;\n\n System.out.println(\"test sur une ruche venant d'être créé :\");\n expectedj1 = new ArrayList<>();\n expectedj1.add(orig);\n expectedj2 = new ArrayList<>();\n expectedj2.add(orig);\n resj1 = instance.casesVidePlacement(j1);\n resj2 = instance.casesVidePlacement(j2);\n\n arrayCorrespondsp(resj1, expectedj1);\n arrayCorrespondsp(resj2, expectedj2);\n\n System.out.println(\"\\u001B[32m\" + \"\\t Passed ✔ \\n\");\n\n System.out.println(\"test sur avec l'insecte de j1 à l'origine :\");\n instance.ajoutInsecte(reinej1, orig);\n expectedj1 = new ArrayList<>();\n expectedj1.addAll(orig.coordonneesVoisins());\n expectedj2 = new ArrayList<>();\n expectedj2.addAll(orig.coordonneesVoisins());\n resj1 = instance.casesVidePlacement(j1);\n resj2 = instance.casesVidePlacement(j2);\n\n arrayCorrespondsp(resj1, expectedj1);\n arrayCorrespondsp(resj2, expectedj2);\n\n System.out.println(\"\\u001B[32m\" + \"\\t Passed ✔ \\n\");\n \n System.out.println(\"test sur avec l'insecte de j1 à l'origine et j2 en bas:\");\n instance.ajoutInsecte(reinej2, orig.voisinBas());\n expectedj1 = new ArrayList<>();\n expectedj1.add(orig.voisinDroiteHaut());\n expectedj1.add(orig.voisinGaucheHaut());\n expectedj1.add(orig.voisinHaut());\n expectedj2 = new ArrayList<>();\n expectedj2.add(orig.voisinBas().voisinBas());\n expectedj2.add(orig.voisinBas().voisinDroiteBas());\n expectedj2.add(orig.voisinBas().voisinGaucheBas());;\n resj1 = instance.casesVidePlacement(j1);\n resj2 = instance.casesVidePlacement(j2);\n\n //arrayCorrespondsp(resj1, expectedj1);\n //arrayCorrespondsp(resj2, expectedj2);\n\n System.out.println(\"\\u001B[32m\" + \"\\t Passed ✔ \\n\");\n\n System.out.println(\"\");\n }", "private static int insertOrdered(char[] paramArrayOfChar, int paramInt1, int paramInt2, int paramInt3, char paramChar1, char paramChar2, int paramInt4)\n/* */ {\n/* 656 */ int n = paramInt4;\n/* */ \n/* 658 */ if ((paramInt1 < paramInt2) && (paramInt4 != 0)) {\n/* */ int i;\n/* 660 */ int j = i = paramInt2;\n/* 661 */ PrevArgs localPrevArgs = new PrevArgs(null);\n/* 662 */ localPrevArgs.current = paramInt2;\n/* 663 */ localPrevArgs.start = paramInt1;\n/* 664 */ localPrevArgs.src = paramArrayOfChar;\n/* */ \n/* 666 */ int m = getPrevCC(localPrevArgs);\n/* 667 */ j = localPrevArgs.current;\n/* */ \n/* 669 */ if (paramInt4 < m)\n/* */ {\n/* 671 */ n = m;\n/* 672 */ i = j;\n/* 673 */ while (paramInt1 < j) {\n/* 674 */ m = getPrevCC(localPrevArgs);\n/* 675 */ j = localPrevArgs.current;\n/* 676 */ if (paramInt4 >= m) {\n/* */ break;\n/* */ }\n/* 679 */ i = j;\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 690 */ int k = paramInt3;\n/* */ do {\n/* 692 */ paramArrayOfChar[(--k)] = paramArrayOfChar[(--paramInt2)];\n/* 693 */ } while (i != paramInt2);\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* 698 */ paramArrayOfChar[paramInt2] = paramChar1;\n/* 699 */ if (paramChar2 != 0) {\n/* 700 */ paramArrayOfChar[(paramInt2 + 1)] = paramChar2;\n/* */ }\n/* */ \n/* */ \n/* 704 */ return n;\n/* */ }", "public void sequenceSwaps(int[] tempItem1, int[] tempItem2, Vector<int[]> cyclePosition, int distTotal, Vector<int[]> sequence, int mut_rate){\n boolean b;\n int[] cycles2 = new int[cyclePosition.size()];\n int nrSwaps = 0;\n Arrays.fill(cycles2,-1);\n sequence.clear();\n while(true){\n int j = r.nextInt(cyclePosition.size());\n\n b = false;\n for(int i = 0; i < cycles2.length; i++)\n if(cycles2[i] == -1){\n b = true;\n break;\n }\n if(!b){\n break;\n }\n while(cycles2[j] != -1)\n j = r.nextInt(cyclePosition.size());\n cycles2[j] = 1;\n int[] indexSwap = cyclePosition.elementAt(j).clone();\n int dist = indexSwap.length; //+1;//ps1.getDistance(tempDist1,tempDist2);\n\n //\n int rInt = r.nextInt(indexSwap.length);\n int indexI, indexII;\n \n //tempR.clear();\n for(int i = 0; i < dist-1; i++){\n indexI = tempItem1[indexSwap[rInt]];\n //find indexI in temp2\n indexII = -1;\n for(int k = 0; k < indexSwap.length; k++)\n if(tempItem2[indexSwap[k]] == indexI){\n indexII = indexSwap[k];\n break;\n }\n \n int[] tempInt = new int[2];\n tempInt[0] = indexII;\n tempInt[1] = indexSwap[rInt];\n\n sequence.add(tempInt);\n\n //swaps the two positions\n int temp = tempItem1[indexSwap[rInt]];\n tempItem1[indexSwap[rInt]]=tempItem1[indexII];\n tempItem1[indexII]=temp;\n\n nrSwaps++;\n if(nrSwaps >= mut_rate-1)\n break;\n\n }\n if(nrSwaps >= mut_rate-1)\n break;\n }\n }", "public ArcherElement(Side side) {\n super(1.2, Speed.MEDIUM, Target.AIR_AND_GROUND, 5, false, 125, 33,side);\n this.movingArea = MovingArea.GROUND;\n Animations animations = Animations.getInstance();\n if (side == Side.PLAYER){\n move1 = animations.ArcherPlayerSideMove1;\n move2 = animations.ArcherPlayerSideMove2;\n attack1 = animations.ArcherPlayerSideAttack1;\n attack2 = animations.ArcherPlayerSideAttack2;\n } else if (side == Side.BOT){\n move1 = animations.ArcherBotSideMove1;\n move2 = animations.ArcherBotSideMove2;\n attack1 = animations.ArcherBotSideAttack1;\n attack2 = animations.ArcherBotSideAttack2;\n }\n }", "public void moveElemetnt1ToElement2Position(AndroidDriver<WebElement> androidDriver, WebElement fromElement1, WebElement toElement2){\r\n\t\tTouchAction touchAction = new TouchAction(androidDriver);\r\n\t\ttouchAction.longPress(fromElement1).moveTo(toElement2).release().perform();\r\n\t}", "public interface ConnectElment<IN extends Element, OUT extends Element> {\n default boolean connect(IN in, OUT out, double x, double y, boolean depenc){\n ConnectPoint cpIn = in.getConnectPoint(x, y),\n cpOut = out.getConnectPoint(x, y);\n if(cpIn == null || cpOut == null) return false;\n if(depenc){\n cpIn.getX().bindBidirectional(cpOut.getX());\n cpIn.getY().bindBidirectional(cpOut.getY());\n } else {\n cpIn.getX().bind(cpOut.getX());\n cpIn.getY().bind(cpOut.getY());\n }\n return true;\n }\n\n default boolean disconnect(IN in, OUT out, double x, double y, boolean depenc){\n ConnectPoint cpIn = in.getConnectPoint(x, y),\n cpOut = out.getConnectPoint(x, y);\n if(cpIn == null || cpOut == null) return false;\n if(depenc){\n cpIn.getX().unbindBidirectional(cpOut.getX());\n cpIn.getY().unbindBidirectional(cpOut.getY());\n } else {\n cpIn.getX().unbind();\n cpIn.getY().unbind();\n }\n return true;\n }\n}", "@Override\n public ArrayList<ArrayList<String>> getNeighborhood(ArrayList<String> point, double argument1, double argument2) {\n ArrayList<ArrayList<String>> neighborhood = new ArrayList<>();\n String[] moves = {\"U\", \"D\", \"L\", \"R\"};\n if(point.size() == 0){\n point.add(moves[(int)(Math.random()*4)]);\n }\n\n //kazde rozwiązanie powstaje przez wstawienie każdego ruchu w środku ścieżki\n for(int i = 0; i<point.size(); i++){\n for(String move : moves){\n ArrayList<String> newPath = arrayListDeepCopy(point);\n newPath.add(i, move);\n newPath = cleanUpPath(newPath);\n if(testFunction.check(newPath)) neighborhood.add(newPath);\n }\n for(String move : moves){\n ArrayList<String> newPath = arrayListDeepCopy(point);\n newPath.add(i, move);\n newPath.add(i, move);\n newPath = cleanUpPath(newPath);\n if(testFunction.check(newPath)) neighborhood.add(newPath);\n }\n }\n\n //kazde rozwiązanie powstaje przez usunięcie jednego elementu\n for(int i=0; i<point.size(); i++){\n ArrayList<String> newPath = arrayListDeepCopy(point);\n newPath.remove(i);\n newPath = cleanUpPath(newPath);\n if(testFunction.check(newPath)) neighborhood.add(newPath);\n }\n\n //kazde rozwiązanie powstaje przez swapowanie wszystkich z losowym\n int random = (int)(Math.random()*point.size());\n for(int i=0; i<point.size(); i++){\n ArrayList<String> newPath = arrayListDeepCopy(point);\n newPath.set(i, point.get(random));\n newPath.set(random, point.get(i));\n newPath = cleanUpPath(newPath);\n if(testFunction.check(newPath)) neighborhood.add(newPath);\n }\n\n //System.out.println(neighborhood.size());\n\n ArrayList<ArrayList<String>> newNeighborhood = new ArrayList<>();\n for (int i = 0; i < neighborhood.size(); i++) {\n newNeighborhood.add(shortenPath(neighborhood.get(i)));\n }\n\n return newNeighborhood;\n }", "public void move() {\n for (int i = 0; i < Vampiro.getNumVamp(); i++) {\n\n lista[i].move();\n }\n }", "public void getLastMove(Element lastmove){\n\n}", "public Vector createRandomMoves(int number, boolean onlyALLOWED, boolean xorALLOWED, boolean andALLOWED){\n Vector wordsONLY_copy = (Vector)wordsONLY.clone();\n Vector wordsAND_copy = (Vector)wordsAND.clone();\n Vector wordsXOR_copy= (Vector)wordsXOR.clone();\n\n Vector createdMoves = new Vector();\n\n while (createdMoves.size()<number){\n System.err.println(\"...\"+wordsONLY_copy.size()+\"-----\"+wordsXOR_copy.size()+\"----\"+wordsAND_copy.size());\n int mveType= r.nextInt(3);\n if(mveType==0&&onlyALLOWED&&wordsONLY_copy.size()>0){\n int rChoiceOfWord = r.nextInt(wordsONLY_copy.size());\n String wrd = (String)wordsONLY_copy.elementAt(rChoiceOfWord);\n int recipient = r.nextInt(2);\n if(recipient==0){\n Move mve = new MoveONLY(a,wrd);\n createdMoves.addElement(mve);\n }\n else{\n Move mve = new MoveONLY(b,wrd);\n createdMoves.addElement(mve);\n }\n wordsONLY_copy.remove(wrd);\n }\n else if (mveType==1&&xorALLOWED&&wordsXOR_copy.size()>0){\n int rChoiceOfWord = r.nextInt(wordsXOR_copy.size());\n String wrd = (String)wordsXOR_copy.elementAt(rChoiceOfWord);\n Move mve = new MoveXOR(wrd);\n createdMoves.addElement(mve);\n wordsXOR_copy.removeElement(wrd);\n }\n else if (mveType==2&&andALLOWED&&wordsAND_copy.size()>0){\n int rChoiceOfWord = r.nextInt(wordsAND_copy.size());\n String wrd = (String)wordsAND_copy.elementAt(rChoiceOfWord);\n Move mve = new MoveAND(a,b,wrd);\n createdMoves.addElement(mve);\n wordsAND_copy.removeElement(wrd);\n }\n }\n return sortMoves(createdMoves);\n }", "@Test\n\t/*\n\t * Checking Stalemate by \n\t * deleteing all pieces of Player 2 except 1 pawn but keeping it trapped.\n\t * Moving the King of Player 2 to such a positon that it can make more than 1 movements.\n\t * here we are using the Queen of Player 1 to achieve that situation.\n\t * In this case its not a stalemate as the king can move.\n\t */\n\tvoid testCheckStalemateWhenKingCanMove() {\n\t\tm_oBoard.getPositionAgent(\"a8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"b8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"c8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"d8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"j8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"k8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"l8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"a7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"c7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"d7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"i7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"j7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"k7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"l7\").getPiece().setPosition(null);\n\n\t\tm_oBoard.getPositionAgent(\"a8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"b8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"c8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"d8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"j8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"k8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"l8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"a7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"c7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"d7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"i7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"j7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"k7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"l7\").setPiece(null);\n\t\t\t\t\n\t\t// Setting Player 1 Pawn from b2 to b4\n\t\tIPositionAgent oSourcePositionOfPawnWhite = m_oBoard.getPositionAgent(\"b2\");\n\t\tIPositionAgent oDestinationPositionOfPawnWhite = m_oBoard.getPositionAgent(\"b4\");\n\t\t\n\t\tIRuleAgent oRulepawnWhite= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRulepawnWhite.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRulepawnWhite.getRuleData().setDirection(Direction.EDGE);\n\t\toRulepawnWhite.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRulepawnWhite.getRuleData().setFile(File.SAME);\n\t\toRulepawnWhite.getRuleData().setRank(Rank.FORWARD);\n\t\toRulepawnWhite.getRuleData().setFamily(Family.IGNORE);\n\t\toRulepawnWhite.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRulepawnWhite.getRuleData().setName(\"MOVE\");\n\t\toRulepawnWhite.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidatePawnWhite = new MoveCandidate(oRulepawnWhite, oSourcePositionOfPawnWhite.getPiece(), oSourcePositionOfPawnWhite, oDestinationPositionOfPawnWhite);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidatePawnWhite);\n\t\t\n\t\t// Setting Player 2 Pawn from b7 to b5\n\t\tIPositionAgent oSourcePositionOfPawnBlack = m_oBoard.getPositionAgent(\"b7\");\n\t\tIPositionAgent oDestinationPositionOfPawnBlack = m_oBoard.getPositionAgent(\"b5\");\n\t\t\n\t\tIRuleAgent oRulepawnBlack= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRulepawnBlack.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRulepawnBlack.getRuleData().setDirection(Direction.EDGE);\n\t\toRulepawnBlack.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRulepawnBlack.getRuleData().setFile(File.SAME);\n\t\toRulepawnBlack.getRuleData().setRank(Rank.FORWARD);\n\t\toRulepawnBlack.getRuleData().setFamily(Family.IGNORE);\n\t\toRulepawnBlack.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRulepawnBlack.getRuleData().setName(\"MOVE\");\n\t\toRulepawnBlack.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidatePawnBlack = new MoveCandidate(oRulepawnWhite, oSourcePositionOfPawnBlack.getPiece(), oSourcePositionOfPawnBlack, oDestinationPositionOfPawnBlack);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidatePawnBlack);\n\t\t\t\t\n\t\t// Setting Player 2 king from i8 to l8\n\t\tIPositionAgent oSourcePositionOfKing = m_oBoard.getPositionAgent(\"i8\");\n\t\tIPositionAgent oDestinationPositionOfKing = m_oBoard.getPositionAgent(\"l8\");\n\t\t\n\t\tIRuleAgent oRuleKing= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRuleKing.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRuleKing.getRuleData().setDirection(Direction.EDGE);\n\t\toRuleKing.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRuleKing.getRuleData().setFile(File.SAME);\n\t\toRuleKing.getRuleData().setRank(Rank.FORWARD);\n\t\toRuleKing.getRuleData().setFamily(Family.IGNORE);\n\t\toRuleKing.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRuleKing.getRuleData().setName(\"MOVE\");\n\t\toRuleKing.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidateKing = new MoveCandidate(oRuleKing, oSourcePositionOfKing.getPiece(), oSourcePositionOfKing, oDestinationPositionOfKing);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidateKing);\n\t\t\n\t\t// Setting Player 1 queen from d1 to k5\n\t\tIPositionAgent oSourcePositionOfQueen = m_oBoard.getPositionAgent(\"d1\");\n\t\tIPositionAgent oDestinationPositionOfQueen = m_oBoard.getPositionAgent(\"k5\");\n\t\t\n\t\tIRuleAgent oRuleQueen= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRuleQueen.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRuleQueen.getRuleData().setDirection(Direction.VERTEX);\n\t\toRuleQueen.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRuleQueen.getRuleData().setFile(File.SAME);\n\t\toRuleQueen.getRuleData().setRank(Rank.FORWARD);\n\t\toRuleQueen.getRuleData().setFamily(Family.IGNORE);\n\t\toRuleQueen.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRuleQueen.getRuleData().setName(\"MOVE\");\n\t\toRuleQueen.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidateQueen = new MoveCandidate(oRuleQueen, oSourcePositionOfQueen.getPiece(), oSourcePositionOfQueen, oDestinationPositionOfQueen);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidateQueen);\n\t\t\n\t\tBoolean bExpected = false;\n\t\tBoolean bActual = m_oRuleProcessor.checkStalemate(m_oBoard, oDestinationPositionOfKing.getPiece().getPlayer());\n\n\t\tassertEquals(bExpected, bActual);\n\t\t\n\t}", "@Test\n\tpublic void forwardCopy_test2() {\n\t\tSystem.out.println(\"copy前:\" + Arrays.toString(intArr));\t\n\t\tint index = 1;\n//\t\tArrayUtil.forwardCopy(intArr, index, 2);\n//\t\t//[2, 8, 3, 6, 0, 0, 0, 0]\n//\t\tSystem.out.println(\"copy后(前移):\" + Arrays.toString(intArr));\n//\t\tint len = intArr.length;\n//\t\tfor(int i = index; i< intArr.length - 1; i++){\n//\t\t\tintArr[i] = intArr[i+1];\n//\t\t}\n//\t\t//[2, 4, 3, 6, 0, 0, 0, 0]\n\t\tSystem.out.println(\"copy后(前移):\" + Arrays.toString(intArr));\t\n\t}", "public void insertFixup(ArvoreRB A,Node z){ \r\n \r\n while ( z.pai.cor == \"vermelho\"){ \r\n if (z.pai == z.pai.pai.esq) {\r\n Node y = z.pai.pai.dir; \r\n if (y.cor== \"vermelho\") {\r\n z.pai.cor = \"preto\";\r\n y.cor = \"preto\";\r\n z.pai.pai.cor = \"vermelho\";\r\n z = z.pai.pai;\r\n } else {\r\n if (z == z.pai.dir) {\r\n z = z.pai;\r\n rotacaoEsq(A,z);\r\n }\r\n z.pai.cor = \"preto\";\r\n z.pai.pai.cor = \"vermelho\";\r\n rotacaoDir(A,z.pai.pai);\r\n }\r\n }else {\r\n if (z.pai == z.pai.pai.dir) { \r\n Node y = z.pai.pai.esq;\r\n if (y.cor == \"vermelho\") {\r\n z.pai.cor = \"preto\";\r\n y.cor = \"preto\";\r\n z.pai.pai.cor = \"vermelho\";\r\n z = z.pai.pai; \r\n }\r\n else{\r\n if (z == z.pai.esq) {\r\n z = z.pai;\r\n rotacaoDir(A,z); \r\n }\r\n z.pai.cor = \"preto\";\r\n z.pai.pai.cor = \"vermelho\";\r\n rotacaoEsq(A,z.pai.pai);\r\n } \r\n \r\n } \r\n A.raiz.cor = \"preto\";\r\n } \r\n }\r\n }", "private void aretes_aW(){\n\t\tthis.cube[4] = this.cube[16]; \n\t\tthis.cube[16] = this.cube[23];\n\t\tthis.cube[23] = this.cube[37];\n\t\tthis.cube[37] = this.cube[30];\n\t\tthis.cube[30] = this.cube[4];\n\t}", "void copyPosition (DVector3 pos);", "public ActionForward copyElements(\n\t\t\tActionMapping mapping,\n\t\t\tActionForm form,\n\t\t\tHttpServletRequest request,\n\t\t\tHttpServletResponse response)\n\t\t\tthrows Exception {\n\t\t\t\tActionMessages messages=new ActionMessages();\n\t\t\t\tUserMstr userBean = (UserMstr)request.getSession().getAttribute(\"USER_INFO\");\n\t\t\t\tKmMoveElementFormBean formBean = (KmMoveElementFormBean)form;\n\t\t\t\tKmElementMstrService kmElementService = new KmElementMstrServiceImpl();\n\t\t\t\tlogger.info(userBean.getUserLoginId() + \" entered copyElement method\");\n\t\t\t\tString parentId=formBean.getParentId();\n\t\t\t\tString levelId=formBean.getElementLevel();\n\t\t\t\tString oldLevelId=formBean.getOldElementLevel();\n\t\t\t\t//int levelDiff=Integer.parseInt(levelId)-Integer.parseInt(oldLevelId);\n\t\t\t\tlogger.info(\"Parent Id: \"+parentId+\" Level Id: \"+levelId);\n\t\t\t\tString[] movedElementList=formBean.getMoveElementList();\n\t\t\t\tString oldPath= formBean.getOldPath();\n\t\t\t\tString newPath =formBean.getElementPath();\t\n\t\t\t\t//logger.info(\"New Path : \"+newPath);\n\t\t\t\t//KmUserMstrService userService=new KmUserMstrServiceImpl();\t\n\t\t\t\t//KmDocumentService documentService=new KmDocumentServiceImpl();\t\t\n\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\tlogger.info(\"parentId \"+parentId);\n\t\t\t\t\tlogger.info(\"levelId \"+levelId);\n\t\t\t\t\tlogger.info(\"oldLevelId \"+oldLevelId);\n\t\t\t\t\tlogger.info(\"oldPath \"+oldPath);\n\t\t\t\t\tlogger.info(\"newPath \"+newPath);\n\t\t\t\t\t\n\t\t\t\t\tfor(int i=0;i<movedElementList.length;i++)\n\t\t\t\t\t{\n\t\t\t\t\t\tlogger.info(\"movedElementList \"+movedElementList[i]);\n\t\t\t\t\t\tkmElementService.copyElement(movedElementList[0], parentId,userBean.getUserId());\n\t\t\t\t\t}\n\t\t\t\t\t\tmessages.add(\"msg\",new ActionMessage(\"copyElement.success\"));\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}catch (LMSException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tlogger.error(\"Exception occurs in copyElements: \"+ e.getMessage());\n\t\t\t\t\tformBean.setButtonType(\"list\");\n\t\t\t\t\tformBean.setInitStatus(\"true\");\n\t\t\t\t\tformBean.setMoveElementList(null);\n\t\t\t\t\tlogger.info(\"Exception in coping document \"+e.getMessage());\n\t\t\t\t\tmessages.add(\"msg1\",new ActionMessage(\"moveElement.databaseFailure\"));\n\t\t\t\t\tkmElementService.moveElementsInFS(movedElementList, newPath, oldPath);\n\t\t\t\t}\n\t\t\t\tsaveMessages(request,messages);\n\t\t\t\tlogger.info(userBean.getUserLoginId() + \" exited copyElement method\");\n\t\t\t\treturn initMove(mapping, formBean, request, response);\n\t\t}", "private void move() {\n\n for (int z = snakeLength; z > 0; z--) {\n xLength[z] = xLength[(z - 1)];\n yLength[z] = yLength[(z - 1)];\n }\n\n if (left) {\n xLength[0] -= elementSize;\n }\n\n if (right) {\n xLength[0] += elementSize;\n }\n\n if (up) {\n yLength[0] -= elementSize;\n }\n\n if (down) {\n yLength[0] += elementSize;\n }\n }", "public abstract Object makeMove(Clue clue, Bipartite bipartite);", "public abstract void move(int p_index) ;", "private void expand() { \n\t\tComparable[] temp = new Comparable[ _data.length * 2 ];\n\t\tfor( int i = 0; i < _data.length; i++ )\n\t \ttemp[i] = _data[i];\n\t\t_data = temp;\n }", "public void align() {\n // get min values\n int x = Integer.MAX_VALUE;\n int y = x;\n for (int i = 0; i < nodeCount; i++) {\n if (xs[i] < x)\n x = xs[i];\n if (ys[i] < y)\n y = ys[i];\n }\n for (int i = 0; i < buildingCount; i++) {\n if (buildingXs[i] < x)\n x = buildingXs[i];\n if (buildingYs[i] < y)\n y = buildingYs[i];\n for (int j = 0; j < buildingApi[i].length; j++) {\n if (buildingApi[i][j][0] < x)\n x = buildingApi[i][j][0];\n if (buildingApi[i][j][1] < y)\n y = buildingApi[i][j][1];\n }\n }\n // now alter them all\n int dx = x - 1;\n int dy = y - 1;\n System.out.println(\"Shifting by (\" + (-dx) + \",\" + (-dy) + \").\");\n for (int i = 0; i < nodeCount; i++) {\n xs[i] -= dx;\n ys[i] -= dy;\n }\n for (int i = 0; i < buildingCount; i++) {\n buildingXs[i] -= dx;\n buildingYs[i] -= dy;\n for (int j = 0; j < buildingApi[i].length; j++) {\n buildingApi[i][j][0] -= dx;\n buildingApi[i][j][1] -= dy;\n }\n }\n }", "private void bubbleUp(int index) {\n // TODO: YOUR CODE HERE\n E elem = getElement(index);\n E parent = getElement(getParentOf(index));\n int curr = index;\n while (parent != null && elem.compareTo(parent) < 0) {\n swap(curr, getParentOf(curr));\n curr = getParentOf(curr);\n if (curr == 1) {\n return;\n }\n parent = getElement(getParentOf(curr));\n }\n }", "private void aumentaCapacidade(){\n\t\tif(this.tamanho == this.elementos.length){\n\t\t\tObject[] elementosNovos = new Object[this.elementos.length*2];\n\t\t\tfor(int i =0; i<this.elementos.length;i++){\n\t\t\t\telementosNovos[i]=this.elementos[i];\n\t\t\t}\n\t\t\tthis.elementos=elementosNovos;\n\t\t}\n\t}", "static void hanoi(int n, int[] A, int[] B, int[] C){\n count++;\n /*\n * a_n = 2*a_n-1 + 1\n * 1. move n-1 disks to B\n * 2. move 1 last disk to C\n * 3. move n-1 disks to C\n */\n int va = end_value(A), la = end_of_array(A);\n int vb = end_value(B), lb = end_of_array(B);\n int vc = end_value(C), lc = end_of_array(C);\n\n if ( n!= 1 ) {\n moveto = 3 - moveto;\n hanoi(n-1,A,B,C);\n } else {\n if ( from == 0 ) {\n\n if(moveto == 2) {\n C[lc] = va;\n A[la-1] = 0;\n }\n else if(moveto == 1){\n B[lb] = va;\n A[la-1] = 0;\n }\n\n } else if ( from == 1 ) {\n\n if(moveto == 0) {\n A[la] = vb;\n B[lb-1] = 0;\n }\n else if(moveto == 2){\n C[lc] = vb;\n B[lb-1] = 0;\n }\n\n } else {\n\n if(moveto == 0) {\n A[la] = vc;\n C[lc-1] = 0;\n }\n else if(moveto == 1){\n B[lb] = vc;\n C[lc-1] = 0;\n }\n\n }\n visualization(A,B,C);\n return ;\n }\n\n moveto = 3 - moveto;\n hanoi(n-1,A,B,C);\n\n if(moveto == 2) {\n C[lc] = A[la];\n A[la] = 0;\n }\n else if(moveto == 1){\n B[lb] = A[la];\n A[la] = 0;\n }\n visualization(A,B,C);\n\n\n }", "public static void changePosition() {\n int direction;\n int speed;\n int newTopX;\n int newTopY;\n\n for (int i = 0; i < numShapes; ++i) {\n direction = moveDirection[i];\n speed = moveSpeed[i];\n newTopX = xTopLeft[i];\n newTopY = yTopLeft[i];\n\n //the switch uses the direction the speed should be applied to in order to find the new positions\n switch (direction) {\n case 0 -> {\n newTopX = newTopX - (speed);\n xTopLeft[i] = newTopX;\n }\n //upper left 135 degrees\n case 1 -> {\n newTopX = newTopX - (speed);\n xTopLeft[i] = newTopX;\n newTopY = newTopY - (speed);\n yTopLeft[i] = newTopY;\n }\n case 2 -> {\n newTopY = newTopY - (speed);\n yTopLeft[i] = newTopY;\n }\n //upper right 45 degrees\n case 3 -> {\n newTopX = newTopX + (speed);\n xTopLeft[i] = newTopX;\n newTopY = newTopY - (speed);\n yTopLeft[i] = newTopY;\n }\n case 4 -> {\n newTopX = newTopX + (speed);\n xTopLeft[i] = newTopX;\n }\n //bottom right 315 degrees\n case 5 -> {\n newTopX = newTopX + (speed);\n xTopLeft[i] = newTopX;\n newTopY = newTopY + (speed);\n yTopLeft[i] = newTopY;\n }\n case 6 -> {\n newTopY = newTopY + (speed);\n yTopLeft[i] = newTopY;\n }\n //bottom left 225 degrees\n case 7 -> {\n newTopX = newTopX - (speed);\n xTopLeft[i] = newTopX;\n newTopY = newTopY + (speed);\n yTopLeft[i] = newTopY;\n }\n }\n }\n }", "private void bubbleDown(int index) {\n // TODO: YOUR CODE HERE\n E elem = getElement(index);\n E leftChild;// = getElement(getLeftOf(index));\n E rightChild;// = getElement(getRightOf(index));\n int curr = index;\n boolean swapping = true;\n while (swapping) {\n leftChild = getElement(getLeftOf(curr));\n rightChild = getElement(getRightOf(curr));\n if (rightChild == null && leftChild == null) {\n swapping = false;\n }\n else if (rightChild == null && leftChild != null) {\n if (elem.compareTo(leftChild) > 0) {\n swap(curr, getLeftOf(curr));\n curr = getLeftOf(curr);\n } else {\n swapping = false;\n }\n }\n else if (rightChild != null && leftChild == null) {\n if (elem.compareTo(rightChild) > 0) {\n swap(curr, getRightOf(curr));\n curr = getRightOf(curr);\n } else {\n swapping = false;\n }\n }\n else {\n int compareRight = elem.compareTo(rightChild);\n int compareLeft = elem.compareTo(leftChild);\n if (compareRight > 0 && compareLeft > 0) {\n if (rightChild.compareTo(leftChild) < 0 ) {\n swap(curr, getRightOf(curr));\n curr = getRightOf(curr);\n } else {\n swap(curr, getLeftOf(curr));\n curr = getLeftOf(curr);\n }\n } else if (compareRight > 0) {\n swap(curr, getRightOf(curr));\n curr = getRightOf(curr);\n } else if (compareLeft > 0) {\n swap(curr, getLeftOf(curr));\n curr = getLeftOf(curr);\n } else {\n swapping = false;\n }\n\n }\n\n }\n }", "public void movB(){\r\n\t\tint aux1[][]= new int [3][1];\r\n\t\tint aux2[][]= new int [3][1];\r\n\t\tint aux3[][]= new int [3][1];\r\n\t\tint aux4[][]= new int [3][1];\r\n\t\t\r\n\t\taux1=this.cloneF(5, 2);//copiamos el del bloque 5 la fila 3\r\n\t\taux2=this.cloneC(2, 2);\r\n\t\taux3=this.cloneF(4, 0);\r\n\t\taux4=this.cloneC(0, 0);\r\n\t\t\r\n\t\tthis.copiaEnFilaUnaColumna(aux4, 5, 2);\r\n\t\tthis.copiaEnColumnaUnaFila(aux1, 2, 2);\r\n\t\tthis.copiaEnFilaUnaColumna(aux2, 4, 0);\r\n\t\tthis.copiaEnColumnaUnaFila(aux3, 0, 0);\r\n\t\t\r\n\t\t\r\n\t}", "private MoveAction moveInDirection(Direction direction) {\n\t\tposition.x += direction.x();\n\t\tposition.y += direction.y();\n\t\tmoveAllLists();\n\t\treturn new MoveAction(direction.moveCode());\n\t}", "public void moveConstructor() {\n this.loopAndAddMoves(1, 1);\n this.loopAndAddMoves(-1, 1);\n this.loopAndAddMoves(1, -1);\n this.loopAndAddMoves(-1, -1);\n this.loopAndAddMoves(0, 1);\n this.loopAndAddMoves(0, -1);\n this.loopAndAddMoves(1, 0);\n this.loopAndAddMoves(-1, 0);\n }", "public boolean moveForward(){\n \n int[] last = (int[]) this.snake.elementAt(this.snake.size() -1);\n int[] sLast = (int[]) this.snake.elementAt(this.snake.size() -2);\n int[] diff = new int[2];\n int[] diff2 = new int[2];\n \n diff[0] = last[0] - sLast[0];\n diff[1] = last[1] - sLast[1];\n \n //left\n if( direction == 1){\n diff2[0]--;\n if(diff2[0] == -1*diff[0] &&diff2[1] == -1*diff[1]){\n diff = new int[]{0,0}; \n }else{\n diff = diff2; \n }\n \n //down\n }else if(direction == 2){\n \n diff2[1]++;\n if(diff2[0] == -1*diff[0] &&diff2[1] == -1*diff[1]){\n diff = new int[]{0,0}; \n }else{\n diff=diff2; \n //System.out.println(\"first one: \" + diff[0] + \", \" + diff[1]);\n }\n \n //right\n }else if(direction == 3){\n diff2[0]++;\n if(diff2[0] == -1*diff[0] &&diff2[1] == -1*diff[1]){\n diff = new int[]{0,0}; \n }else{\n diff=diff2; \n }\n \n //up\n }else if(direction == 4){\n \n diff2[1]--;\n //System.out.println(\"\" + diff[0] + \", \" + diff[1]);\n if(diff2[0] == -1*diff[0] &&diff2[1] == -1*diff[1]){\n diff = new int[]{0,0}; \n }else{\n diff=diff2; \n }\n }else{ \n diff[0] = last[0] - sLast[0];\n diff[1] = last[1] - sLast[1];\n }\n \n int[] newPoint = new int[2];\n newPoint[0] = last[0] + diff[0];\n newPoint[1] = last[1] + diff[1];\n \n //if it hits the snake itself\n boolean hits = false;\n Enumeration enu = this.snake.elements();\n int[] temp = new int[2];\n while(enu.hasMoreElements()){\n temp = (int[]) enu.nextElement();\n if(temp[0] == newPoint[0] && temp[1] == newPoint[1]){\n hits = true; \n }\n }\n if(hits){\n return false; \n }\n //if it hits the wall\n if( newPoint[0] >50 || newPoint[0] <0 || newPoint[1] >50 || newPoint[1] <0){\n return false; \n }else{\n if(newPoint [0] == this.apple[0] && newPoint[1] == this.apple[1]){\n this.snake.add(newPoint);\n this.ateApple();\n }else{\n this.snake.add(newPoint);\n this.snake.remove(0);\n \n \n }\n return true;\n }\n }", "private ArrayList<AbstractCard> sortOffsets(ArrayList<AbstractCard> deck) {\n for (int i = 0; deck.size() > i; i++) {\n // Checks if card needs to be moved\n if (deck.get(i).getOffset() > 0) {\n // Gets new possition in the deck the card should be get a copy of the card and\n // removes card from the deck\n int newPos = deck.get(i).getOffset() + i;\n AbstractCard cardToMove = deck.get(i);\n cardToMove.setOffset(0);\n deck.remove(i);\n\n // If the new position of the card is past the end of the deck then just add it to\n // the end of the deck otherwise add it to the new position\n if (newPos >= deck.size()) {\n deck.add(cardToMove);\n } else {\n // Checks if card is being placed in the middle of a multi card event, if it is try puting it\n // a card later\n while(newPos < deck.size() - 1 && deck.get(newPos - 1).getEvent() == deck.get(newPos).getEvent()) {\n newPos++;\n }\n deck.add(newPos, cardToMove);\n }\n }\n }\n return deck;\n }", "private void expand() {\n\n intElements = copyIntArray(intElements, intElements.length * 2);\n doubleElements = copyDoubleArray(doubleElements, doubleElements.length * 2);\n stringElements = copyStringArray(stringElements, stringElements.length * 2);\n typeOfElements = copyIntArray(typeOfElements, typeOfElements.length * 2);\n }", "public void moveAll()\n\t{\n\t\tmoveOutput = \"\";\n\t\tfor (int i = 0; i < 20; i++)\n\t\t{\n\t\t\tif (river[i] != null)\n\t\t\t{\n\t\t\t\triver[i].move(i);\n\t\t\t}\n\t\t}\n\t}", "public void insertByRightShift(Object elem, int pos){\n if(size==cir.length){\n resizeStartUnchanged(cir.length+3);\n }\n int nshift=size-pos;\n int from=(start+size-1)%cir.length;\n int to=(from+1)%cir.length;\n for(int i=0;i<nshift;i++){\n cir[to]=cir[from];\n to=from;\n from--;\n if(from==-1){\n from=cir.length-1;\n }\n }\n int index=(start+pos)%cir.length;\n cir[index]=elem;\n size++;\n }", "@Override\n\tpublic ArrayList<Edge> makeMove(Graph graph, int iteration) {\n\t\t// Create a value associated with each position\n\t\tIterator<Edge> edges = graph.edges();\n\t\twhile (edges.hasNext()) {\n\t\t\tEdge edge = edges.next();\n\t\t\tVertex v1 = edge.getFromVertex();\n\t\t\tVertex v2 = edge.getToVertex();\n\t\t\t// We favor free spots\n\t\t\tif (edge.getProperty().equals(Property.FREE)) {\n\t\t\t\t// We dislike being close to opposing settlements\n\t\t\t\tif (v1.getProperty().equals(Property.FREE) && v2.getProperty().equals(Property.FREE)) {\n\t\t\t\t\tthis.discount(edge);\n\t\t\t\t}\n\t\t\t\t// We favor areas close by\n\t\t\t\tif (v1.getProperty().equals(super.getProperty())) {\n\t\t\t\t\tthis.discount(edge);\n\t\t\t\t}\n\t\t\t\t// Early in the game we want roads and settlements\n\t\t\t\tif (iteration < Constants.INFLECTION_ROUND) {\n\t\t\t\t\tif (v1.getResources().contains(Resource.BRICK) || v1.getResources().contains(Resource.LUMBER)) {\n\t\t\t\t\t\tthis.discount(edge);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// Towards the end of the game we want cities\n\t\t\t\tif (iteration >= Constants.INFLECTION_ROUND) {\n\t\t\t\t\tif (v1.getResources().contains(Resource.ORE) || v1.getResources().contains(Resource.GRAIN)) {\n\t\t\t\t\t\tthis.discount(edge);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// We favor hexes with high probability rolls\n\t\t\t\tif (v1.getRolls().contains(5) || v1.getRolls().contains(6) || v1.getRolls().contains(8)) {\n\t\t\t\t\tthis.discount(edge);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tKruskalAlgo kruskal = new KruskalAlgo(graph);\n\t\treturn kruskal.getMinSpanForest(graph);\n\t}", "@Override\n protected void swap(int i, int j)\n {\n E temp = this.elements[i];\n this.elements[i] = this.elements[j];\n \tthis.elementsToArrayIndex.put(elements[i], i);\n this.elements[j] = temp;\n \tthis.elementsToArrayIndex.put(elements[j], j);\n }", "public void enemymoveAri(){\n\t\tint YEari = 0;\n\t\tint XEari = 0;\n\t\tfor(int i = 0 ; i < this.Ari.length;i++){\n\t\t\tfor(int p = 0; p < this.Ari.length;p++){\n\t\t\t\tif(this.Ari[i][p] == 1){\n\t\t\t\t\tYEari = i;\n\t\t\t\t\tXEari = p;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tint move = fate.nextInt(4);// 0 is left, 1 is right , 2 is up , 3 is down\n\t\tswitch(move){//first block is up and down second block is left and right\n\t\t\tcase 0:\n\t\t\t\tif(this.area[YEari][XEari-1] != \"[ ]\"){\n\t\t\t\t\tthis.Ari[YEari][XEari-1] = 1;//to turn left\n\t\t\t\t\tthis.Ari[YEari][XEari] = 0;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tif(this.area[YEari][XEari+1] != \"[ ]\"){\n\t\t\t\t\tthis.Ari[YEari][XEari+1] = 1;//to turn right\n\t\t\t\t\tthis.Ari[YEari][XEari] = 0;\n\t\t\t\t}\n\t\t\t\tbreak; \n\t\t\tcase 2:\n\t\t\t\tif(this.area[YEari-1][XEari] != \"[ ]\"){\n\t\t\t\t\tthis.Ari[YEari-1][XEari] = 1;//to turn up\n\t\t\t\t\tthis.Ari[YEari][XEari] = 0;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tif(this.area[YEari+1][XEari] != \"[ ]\"){\n\t\t\t\t\tthis.Ari[YEari +1][XEari] = 1;//to turn down\n\t\t\t\t\tthis.Ari[YEari][XEari] = 0;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}//end of switch\n\t}", "public synchronized void elementSwapped(Object source, int index1,\n\t\t\tObject other, int index2) {\n\n\t}", "private void swapElement ( int p1, int p2 )\n\t{\n\t}", "public void ClonarProducto(Metodos a, WebDriver driver, Rimac_ClonarProductoBean rimacClonarProductoBean,\n String nombreAutomatizacion, int i, String folderName, int screen1, int screen2, int screen3){\n\n try {\n JavascriptExecutor jse = (JavascriptExecutor)driver;\n WebElement producto, aux, txtNombre;\n Actions action = new Actions(driver);\n\n for(int j=1; j<500;j++){\n producto = driver.findElement(By.xpath(\"html/body/div[1]/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div/div/div/ul/li/ul/li[\"+j+\"]/div/a/span\"));\n if (producto.getText().equals(rimacClonarProductoBean.getNombreProducto())){\n j+=17;\n aux = driver.findElement(By.xpath(\"html/body/div[1]/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div/div/div/ul/li/ul/li[\"+j+\"]/div/a/span\"));\n //System.out.println(\"Encontre el producto\");\n action.moveToElement(aux).perform();\n Thread.sleep(500);\n producto.click();\n break;\n }\n }\n //pantallazo\n a.ScreenShotPool(driver,i,\"screen\"+screen1,nombreAutomatizacion,folderName);\n Thread.sleep(800);\n //Menu migracion\n\n WebElement menu1 = driver.findElement(By.xpath(\"html/body/div[1]/div/div/div/div/div/table[1]/tbody/tr/td[1]/div/div/div/div/table/tbody/tr/td/table/tbody/tr/td[2]/em/button\"));//Migracion\n Thread.sleep(1000);\n action.moveToElement(menu1).build().perform();\n Thread.sleep(700);\n menu1.click();\n Thread.sleep(500);\n WebElement menu2 = driver.findElement(By.xpath(\"html/body/div[5]/ul/li[11]\"));//clonar\n Thread.sleep(1000);\n action.moveToElement(menu2).build().perform();\n Thread.sleep(700);\n a.ScreenShotPool(driver, i, \"screen\" + screen2, nombreAutomatizacion, folderName);\n Thread.sleep(1000);\n menu2.click();\n\n //Ingreso del nombre del producto clonado\n Thread.sleep(1500);\n txtNombre = driver.findElement(By.xpath(\"html/body/div[9]/div[2]/div[1]/div/div/div/div/div/div/div/div/div[1]/form/div/div[1]/input\"));\n txtNombre.sendKeys(rimacClonarProductoBean.getNombreProductoClonado());\n Thread.sleep(1000);\n a.ScreenShotPool(driver,i,\"screen\"+screen3,nombreAutomatizacion,folderName);\n Thread.sleep(800);\n\n }catch (Exception e){\n e.printStackTrace();\n }\n }", "@Test\n public void testMove() {\n System.out.println(\"move\");\n int[] number = {0, 0, 0, 1, 2, 3, 4, 5, 6, 7};\n int pos = -2;\n AbstractMethod instance = new AbstractMethodImpl();\n int[] expResult = {0, 1, 2, 3, 4, 5, 6, 7, 0, 0};\n int[] result = instance.move(number, pos);\n assertArrayEquals(expResult, result);\n\n }", "static Posn translate ( Posn p, double dx, double dy ) {\n\t// return .... ;\n\t// Take stock\n\t// return ... p ... dx ... dy ; // <- We know this from Posn p\n\t// return new Posn ( ... p.x ... p.y ... dx ... dy ); // <- We know this from Posn translate\n\t// return new Posn ( ... p.x ... p.y ... dx ... dy, ... p.x ... p.y ... dx ... dy );\t\n\treturn new Posn ( p.x + dx, p.y + dy );\t\n }", "public void makeMove() {\n ArrayList<Field> myFields = new ArrayList<>();\n for (Field[] fieldsRow : fields) {\n for (Field field : fieldsRow) {\n if(field != null && this.equals(field.getPlayer())) {\n myFields.add(field);\n }\n }\n }\n bestMove[0] = myFields.get(0);\n bestMove[1] = myFields.get(0);\n\n Random rand = new Random();\n for(Field destination : destinationFields) {\n if(canMove()) break;\n destinationField = destination;\n for (Field origin : myFields) {\n for(int i = 0; i < origin.getNeighbours().length; ++i) {\n Field neighbour = origin.getNeighbours()[i];\n if(neighbour != null) {\n if(neighbour.getPlayer() == null) {\n if(valueOfMove(origin, neighbour) > valueOfMove(bestMove[0], bestMove[1])) {\n bestMove[0] = origin;\n bestMove[1] = neighbour;\n } else if(valueOfMove(origin, neighbour) == valueOfMove(bestMove[0], bestMove[1])) {\n if(rand.nextBoolean()) {\n bestMove[0] = origin;\n bestMove[1] = neighbour;\n }\n }\n } else {\n Field nextField = neighbour.getNeighbours()[i];\n if(nextField != null) {\n correctJumpPaths(origin,null, origin);\n }\n }\n }\n }\n }\n }\n }", "public static void addSample() {\n System.out.println(\"==test for add(value) to tail\");\n Node ll1_5 = new Node(1, new Node(2, new Node(3, new Node(4, new Node(5, null)))));\n Node ll1 = new Node(1, null);\n Node lln = new Node();\n\n ll1_5 = ll1_5.add(6);\n ll1_5.printList();\n ll1_5 = ll1_5.add(7);\n ll1_5.printList();\n\n ll1 = ll1.add(2);\n ll1.printList();\n\n lln = lln.add(10);\n lln.printList();\n\n System.out.println(\"==test for add(value,pos) to delicated position\");\n Node ll1_5a = new Node(1, new Node(2, new Node(3, new Node(4, new Node(5, null)))));\n Node ll1_5b = new Node(1, new Node(2, new Node(3, new Node(4, new Node(5, null)))));\n Node ll1_5c = new Node(1, new Node(2, new Node(3, new Node(4, new Node(5, null)))));\n Node ll1_5d = new Node(1, new Node(2, new Node(3, new Node(4, new Node(5, null)))));\n Node ll1_5e = new Node(1, new Node(2, new Node(3, new Node(4, new Node(5, null)))));\n Node ll1_5f = new Node(1, new Node(2, new Node(3, new Node(4, new Node(5, null)))));\n\n Node ll1_2 = new Node(1, null);\n Node lln_2 = new Node();\n\n Node ll0p = ll1_5a.add(-1, 0);\n ll0p.printList();\n Node ll1p = ll1_5b.add(-2, 1);\n ll1p.printList();\n Node ll2p = ll1_5c.add(-3, 2);\n ll2p.printList();\n Node ll3p = ll1_5d.add(-4, 3);\n ll3p.printList();\n Node ll4p = ll1_5e.add(-5, 4);\n ll4p.printList();\n Node ll5p = ll1_5f.add(-6, 5);\n ll5p.printList();\n\n ll1_2 = ll1_2.add(2, 1);\n ll1_2.printList();\n\n lln_2 = lln_2.add(10, 1);\n lln_2.printList();\n }", "public void build(Cell[][] map, Action[][][] actions, int[] position ) {\n int[] destination=new int[2];\n TypeBlock typeBlock=null;\n for (int i = Math.max(0, position[0] - 1); (i <= Math.min(4, position[0] + 1)); i++) {\n for (int j = Math.max(0, position[1] - 1); j <= Math.min(4, position[1] + 1); j++) {\n if (!map[i][j].getBlock(map[i][j].getSize() - 1).getTypeBlock().equals(TypeBlock.WORKER)\n && !map[i][j].getBlock(map[i][j].getSize() - 1).getTypeBlock().equals(TypeBlock.DOME)) {\n switch (map[i][j].getBlock(map[i][j].getSize() - 1).getTypeBlock()) {\n case LEVEL1:\n typeBlock = TypeBlock.LEVEL2;\n destination[0] = i;\n destination[1] = j;\n ((Build) actions[i][j][1]).set(true, typeBlock, destination);\n break;\n case LEVEL2:\n typeBlock = TypeBlock.LEVEL3;\n destination[0] = i;\n destination[1] = j;\n ((Build) actions[i][j][1]).set(true, typeBlock, destination);\n break;\n case LEVEL3:\n typeBlock = TypeBlock.DOME;\n destination[0] = i;\n destination[1] = j;\n ((Build) actions[i][j][2]).set(true, typeBlock, destination);\n break;\n default:\n typeBlock = TypeBlock.LEVEL1;\n destination[0] = i;\n destination[1] = j;\n ((Build) actions[i][j][1]).set(true, typeBlock, destination);\n }\n }\n }\n\n }\n }", "private void goZhuSuOrder(int position){\n\t}", "@Test\n\t/*\n\t * Checking Stalemate by \n\t * deleteing all pieces of Player 2 except 1 pawn, here pawn has movement and is not trapped.\n\t * Moving the King of Player 2 to such a positon that it cannot make a movement.\n\t * here we are using the Queen of Player 1 to achieve that situation.\n\t * In this case its not a stalemate as the pawn can move.\n\t */\n\tvoid testCheckStalemateWhenKingCantMove() {\n\t\tm_oBoard.getPositionAgent(\"a8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"b8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"c8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"d8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"j8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"k8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"l8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"a7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"c7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"d7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"i7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"j7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"k7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"l7\").getPiece().setPosition(null);\n\n\t\tm_oBoard.getPositionAgent(\"a8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"b8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"c8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"d8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"j8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"k8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"l8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"a7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"c7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"d7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"i7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"j7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"k7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"l7\").setPiece(null);\n\t\t\t\t\n\t\t// Setting Player 1 Pawn from b2 to b4\n\t\tIPositionAgent oSourcePositionOfPawnWhite = m_oBoard.getPositionAgent(\"b2\");\n\t\tIPositionAgent oDestinationPositionOfPawnWhite = m_oBoard.getPositionAgent(\"b4\");\n\t\t\n\t\tIRuleAgent oRulepawnWhite= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRulepawnWhite.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRulepawnWhite.getRuleData().setDirection(Direction.EDGE);\n\t\toRulepawnWhite.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRulepawnWhite.getRuleData().setFile(File.SAME);\n\t\toRulepawnWhite.getRuleData().setRank(Rank.FORWARD);\n\t\toRulepawnWhite.getRuleData().setFamily(Family.IGNORE);\n\t\toRulepawnWhite.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRulepawnWhite.getRuleData().setName(\"MOVE\");\n\t\toRulepawnWhite.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidatePawnWhite = new MoveCandidate(oRulepawnWhite, oSourcePositionOfPawnWhite.getPiece(), oSourcePositionOfPawnWhite, oDestinationPositionOfPawnWhite);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidatePawnWhite);\n\t\t\n\t\t// Setting Player 2 Pawn from b7 to b5\n\t\tIPositionAgent oSourcePositionOfPawnBlack = m_oBoard.getPositionAgent(\"b7\");\n\t\tIPositionAgent oDestinationPositionOfPawnBlack = m_oBoard.getPositionAgent(\"b4\");\n\t\t\n\t\tIRuleAgent oRulepawnBlack= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRulepawnBlack.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRulepawnBlack.getRuleData().setDirection(Direction.EDGE);\n\t\toRulepawnBlack.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRulepawnBlack.getRuleData().setFile(File.SAME);\n\t\toRulepawnBlack.getRuleData().setRank(Rank.FORWARD);\n\t\toRulepawnBlack.getRuleData().setFamily(Family.IGNORE);\n\t\toRulepawnBlack.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRulepawnBlack.getRuleData().setName(\"MOVE\");\n\t\toRulepawnBlack.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidatePawnBlack = new MoveCandidate(oRulepawnWhite, oSourcePositionOfPawnBlack.getPiece(), oSourcePositionOfPawnBlack, oDestinationPositionOfPawnBlack);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidatePawnBlack);\n\t\t\t\t\n\t\t// Setting Player 2 king from i8 to l8\n\t\tIPositionAgent oSourcePositionOfKing = m_oBoard.getPositionAgent(\"i8\");\n\t\tIPositionAgent oDestinationPositionOfKing = m_oBoard.getPositionAgent(\"l8\");\n\t\t\n\t\tIRuleAgent oRuleKing= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRuleKing.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRuleKing.getRuleData().setDirection(Direction.EDGE);\n\t\toRuleKing.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRuleKing.getRuleData().setFile(File.SAME);\n\t\toRuleKing.getRuleData().setRank(Rank.FORWARD);\n\t\toRuleKing.getRuleData().setFamily(Family.IGNORE);\n\t\toRuleKing.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRuleKing.getRuleData().setName(\"MOVE\");\n\t\toRuleKing.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidateKing = new MoveCandidate(oRuleKing, oSourcePositionOfKing.getPiece(), oSourcePositionOfKing, oDestinationPositionOfKing);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidateKing);\n\t\t\n\t\t// Setting Player 1 queen from d1 to j7\n\t\tIPositionAgent oSourcePositionOfQueen = m_oBoard.getPositionAgent(\"d1\");\n\t\tIPositionAgent oDestinationPositionOfQueen = m_oBoard.getPositionAgent(\"j7\");\n\t\t\n\t\tIRuleAgent oRuleQueen= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRuleQueen.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRuleQueen.getRuleData().setDirection(Direction.VERTEX);\n\t\toRuleQueen.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRuleQueen.getRuleData().setFile(File.SAME);\n\t\toRuleQueen.getRuleData().setRank(Rank.FORWARD);\n\t\toRuleQueen.getRuleData().setFamily(Family.IGNORE);\n\t\toRuleQueen.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRuleQueen.getRuleData().setName(\"MOVE\");\n\t\toRuleQueen.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidateQueen = new MoveCandidate(oRuleQueen, oSourcePositionOfQueen.getPiece(), oSourcePositionOfQueen, oDestinationPositionOfQueen);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidateQueen);\n\t\t\n\t\tBoolean bExpected = false;\n\t\tBoolean bActual = m_oRuleProcessor.checkStalemate(m_oBoard, oDestinationPositionOfKing.getPiece().getPlayer());\n\n\t\tassertEquals(bExpected, bActual);\n\t\t\n\t}", "private <T> void shiftArrayElements(T[] orderedArray, int i) {\n\t\tfor (int j = orderedArray.length - 1; i < j; j--) {\r\n\t\t\torderedArray[j] = orderedArray[j - 1];\r\n\t\t}\r\n\t}", "public void insert(Object element1, Object element2, Object element3);", "public void updatePossibleMovesOther(){\n\t\tif( hasMoved){\n\t\t\tpossibleMovesOther = null;\n\t\t\treturn;\n\t\t}\n\t\t// Get left castle updateMoves first\n\t\tchar[] temp = AlgebraicNotationHelper.getAlgebraicNotationLeftOf( startingFile, startingRank);\n\t\ttemp = AlgebraicNotationHelper.getAlgebraicNotationLeftOf( temp[0], temp[1]);\n\t\ttemp = AlgebraicNotationHelper.getAlgebraicNotationLeftOf( temp[0], temp[1]);\n\t\t// Should be b1 for light color King (or b8 for dark color King)\n\t\tAlgebraicNotation tempAN = new AlgebraicNotation( temp[0], temp[1]);\n\t\tpossibleMovesOther.add( tempAN);\n\t\t// Get right castle updateMoves next\n\t\ttemp = AlgebraicNotationHelper.getAlgebraicNotationRightOf( startingFile, startingRank);\n\t\ttemp = AlgebraicNotationHelper.getAlgebraicNotationRightOf( temp[0], temp[1]);\n\t\t// Should be g1 for light color King (or g8 for dark color King)\n\t\ttempAN = new AlgebraicNotation( temp[0], temp[1]);\n\t\tpossibleMovesOther.add( tempAN);\t\n\t}", "@Override\n\tpublic void execute() throws PGenException {\n\n\t\tif ( parent != null ){\n\t\t\tif ( oldElements != null ) {\t\n\t\t\t\tfor ( AbstractDrawableComponent ade : oldElements ) {\n\t\t\t\t\tparent.removeElement( ade );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( newElements != null ) {\n\t\t\t\tparent.add( newElements );\t\t\t\n\t\t\t}\t\t\t\t\n\t\t}\t\n\t\telse if ( oldElements.size() == newElements.size() ){\n\t\t\tfor ( int ii = 0; ii < oldElements.size(); ii++ ) {\n\t\t\t\tAbstractDrawableComponent ade = oldElements.get(ii);\n\t\t\t\tif ( ade.getParent() != null && ade.getParent() instanceof DECollection ){\n\t\t\t\t\tDECollection dec = (DECollection) ade.getParent();\n\t\t\t\t\tdec.removeElement( ade );\n\t\t\t\t\tdec.add( newElements.get( ii ));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "Move(int r, int c, int dr, int dc)\n\t{\n\t\tpieceRow = r;\n\t\tpieceCol = c;\n\t\tdestRow = dr;\n\t\tdestCol = dc;\n\t}", "public static void main(String[] args) {\n//\t\tcrearNodos(cantNodos);\n//\t\tlista.extractFront();\n//\t\tlista.extractLast();\n//\t\tlista.insertLast(33);\n//\t\tlista.imprimir();\n//\t\t//System.out.print(lista.get(0));\n//\t\t\n//\t\tIterator<Integer> it1 = lista.iterator();\n//\t\t\twhile(it1.hasNext()) {\n//\t\t\t\tint valor = it1.next();\n//\t\t\t\tSystem.out.println(valor);\n//\t\t\t}\n//\t\tMyIterator<Integer> it2 = lista.iteratorReverse();\n//\t\t\twhile(it2.hasNext()) {\n//\t\t\t\tint valor = it2.back();\n//\t\t\t\tSystem.out.println(valor);\n//\t\t\t}\n\n\t\tlistaDeso1.insertFront(4);\n\t\tlistaDeso1.insertFront(2);\n\t\tlistaDeso1.insertFront(13);\n\t\tlistaDeso1.insertFront(7);\n\t\tlistaDeso1.insertFront(6);\n\n\t\tlistaDeso2.insertFront(9);\n\t\tlistaDeso2.insertFront(4);\n\t\tlistaDeso2.insertFront(6);\n\t\tlistaDeso2.insertFront(5);\n\t\tlistaDeso2.insertFront(13);\n\n//\t\tlistaOrde1.insertFront(2);\n//\t\tlistaOrde1.insertFront(4);\n//\t\tlistaOrde1.insertFront(6);\n//\t\tlistaOrde1.insertFront(8);\n//\t\tlistaOrde1.insertFront(11);\n//\t\t\n//\t\tlistaOrde2.insertFront(1);\n//\t\tlistaOrde2.insertFront(4);\n//\t\tlistaOrde2.insertFront(9);\n//\t\tlistaOrde2.insertFront(11);\n//\t\tlistaOrde2.insertFront(15);\n\t\t\n\t\tEje6<Integer> ord = new Eje6<Integer>();\n\t\t\n\t\tlista=ord.ambasDeso(listaDeso1, listaDeso2);\n\t}", "private void fillTrans() {\n for (int objIndex=0;objIndex<numObjects;objIndex++){\n // 1) Find first non-null translation of objIndex <code>objIndex</code>\n int start;\n for (start=0;start<keyframes.size();start++){\n if (((PointInTime)keyframes.get(start)).usedTrans.get(objIndex)) break;\n }\n if (start==keyframes.size()){ // if they are all null then fill with identity\n for (int i=0;i<keyframes.size();i++)\n ((PointInTime)keyframes.get(i)).look[objIndex].setTranslation(0,0,0);\n continue; // we're done so lets break\n }\n \n if (start!=0){ // if there -are- null elements at the begining, then fill with first non-null\n ((PointInTime)keyframes.get(start)).look[objIndex].getTranslation(unSyncbeginPos);\n for (int i=0;i<start;i++)\n ((PointInTime)keyframes.get(i)).look[objIndex].setTranslation(unSyncbeginPos);\n }\n int lastgood=start;\n for (int i=start+1;i<keyframes.size();i++){\n if (((PointInTime)keyframes.get(i)).usedTrans.get(objIndex)){\n fillVecs(objIndex,lastgood,i); // fills gaps\n lastgood=i;\n }\n }\n if (lastgood!=keyframes.size()-1){ // Make last ones equal to last good\n ((PointInTime)keyframes.get(keyframes.size()-1)).look[objIndex].setTranslation(\n ((PointInTime)keyframes.get(lastgood)).look[objIndex].getTranslation(null)\n );\n }\n ((PointInTime)keyframes.get(lastgood)).look[objIndex].getTranslation(unSyncbeginPos);\n \n for (int i=lastgood+1;i<keyframes.size();i++){\n ((PointInTime)keyframes.get(i)).look[objIndex].setTranslation(unSyncbeginPos);\n }\n }\n }", "@SuppressWarnings(\"ConstantConditions\")\n private void moveToNest() throws AntArtException {\n AntArea.Cell forward = getCellInDirection(directionVector);\n AntArea.Cell left = getCellInDirection(AntDirections.moveCounterClockwise(directionVector));\n AntArea.Cell right = getCellInDirection(AntDirections.moveClockWise(directionVector));\n\n //Try to move to a nest cell\n List<AntArea.Cell> cellList = Arrays.asList(forward, left, right);\n if (moveToNestCell(cellList)) {\n return;\n }\n\n //Sort according to home pheremone levels\n cellList.sort((o1, o2) -> {\n float hp1 = o1.getHomePheromone();\n float hp2 = o2.getHomePheromone();\n if (hp1 == hp2) {\n return 0;\n }\n return hp1 > hp2 ? -1 : 1;\n });\n //Do a random action based on a probability\n if (random.nextInt(Configuration.ANT_SELECTION_SEED) == 0) {\n Collections.shuffle(cellList);\n }\n //Try to move to a cell\n for (AntArea.Cell cell : cellList) {\n if (moveTo(cell)) {\n break;\n }\n }\n }", "@Test\n\t/*\n\t * Checking Stalemate by \n\t * deleteing all pieces of Player 2 except 1 pawn but keeping it trapped.\n\t * Moving the King of Player 2 to such a positon that its not a check but cannot move.\n\t * here we are using the Queen of Player 1 to achieve that situation.\n\t */\n\tvoid testCheckStalemate() {\n\t\tm_oBoard.getPositionAgent(\"a8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"b8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"c8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"d8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"j8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"k8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"l8\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"a7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"c7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"d7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"i7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"j7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"k7\").getPiece().setPosition(null);\n\t\tm_oBoard.getPositionAgent(\"l7\").getPiece().setPosition(null);\n\n\t\tm_oBoard.getPositionAgent(\"a8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"b8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"c8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"d8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"j8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"k8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"l8\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"a7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"c7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"d7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"i7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"j7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"k7\").setPiece(null);\n\t\tm_oBoard.getPositionAgent(\"l7\").setPiece(null);\n\t\t\t\t\n\t\t// Setting Player 1 Pawn from b2 to b4\n\t\tIPositionAgent oSourcePositionOfPawnWhite = m_oBoard.getPositionAgent(\"b2\");\n\t\tIPositionAgent oDestinationPositionOfPawnWhite = m_oBoard.getPositionAgent(\"b4\");\n\t\t\n\t\tIRuleAgent oRulepawnWhite= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRulepawnWhite.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRulepawnWhite.getRuleData().setDirection(Direction.EDGE);\n\t\toRulepawnWhite.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRulepawnWhite.getRuleData().setFile(File.SAME);\n\t\toRulepawnWhite.getRuleData().setRank(Rank.FORWARD);\n\t\toRulepawnWhite.getRuleData().setFamily(Family.IGNORE);\n\t\toRulepawnWhite.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRulepawnWhite.getRuleData().setName(\"MOVE\");\n\t\toRulepawnWhite.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidatePawnWhite = new MoveCandidate(oRulepawnWhite, oSourcePositionOfPawnWhite.getPiece(), oSourcePositionOfPawnWhite, oDestinationPositionOfPawnWhite);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidatePawnWhite);\n\t\t\n\t\t// Setting Player 2 Pawn from b7 to b5\n\t\tIPositionAgent oSourcePositionOfPawnBlack = m_oBoard.getPositionAgent(\"b7\");\n\t\tIPositionAgent oDestinationPositionOfPawnBlack = m_oBoard.getPositionAgent(\"b5\");\n\t\t\n\t\tIRuleAgent oRulepawnBlack= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRulepawnBlack.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRulepawnBlack.getRuleData().setDirection(Direction.EDGE);\n\t\toRulepawnBlack.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRulepawnBlack.getRuleData().setFile(File.SAME);\n\t\toRulepawnBlack.getRuleData().setRank(Rank.FORWARD);\n\t\toRulepawnBlack.getRuleData().setFamily(Family.IGNORE);\n\t\toRulepawnBlack.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRulepawnBlack.getRuleData().setName(\"MOVE\");\n\t\toRulepawnBlack.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidatePawnBlack = new MoveCandidate(oRulepawnWhite, oSourcePositionOfPawnBlack.getPiece(), oSourcePositionOfPawnBlack, oDestinationPositionOfPawnBlack);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidatePawnBlack);\n\t\t\t\t\n\t\t// Setting Player 2 king from i8 to l8\n\t\tIPositionAgent oSourcePositionOfKing = m_oBoard.getPositionAgent(\"i8\");\n\t\tIPositionAgent oDestinationPositionOfKing = m_oBoard.getPositionAgent(\"l8\");\n\t\t\n\t\tIRuleAgent oRuleKing= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRuleKing.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRuleKing.getRuleData().setDirection(Direction.EDGE);\n\t\toRuleKing.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRuleKing.getRuleData().setFile(File.SAME);\n\t\toRuleKing.getRuleData().setRank(Rank.FORWARD);\n\t\toRuleKing.getRuleData().setFamily(Family.IGNORE);\n\t\toRuleKing.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRuleKing.getRuleData().setName(\"MOVE\");\n\t\toRuleKing.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidateKing = new MoveCandidate(oRuleKing, oSourcePositionOfKing.getPiece(), oSourcePositionOfKing, oDestinationPositionOfKing);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidateKing);\n\t\t\n\t\t// Setting Player 1 queen from d1 to j7\n\t\tIPositionAgent oSourcePositionOfQueen = m_oBoard.getPositionAgent(\"d1\");\n\t\tIPositionAgent oDestinationPositionOfQueen = m_oBoard.getPositionAgent(\"j7\");\n\t\t\n\t\tIRuleAgent oRuleQueen= (IRuleAgent)m_oBoardFactory.createRule();\t\t\n\t\toRuleQueen.getRuleData().setRuleType(RuleType.MOVE);\n\t\toRuleQueen.getRuleData().setDirection(Direction.VERTEX);\n\t\toRuleQueen.getRuleData().setMaxRecurrenceCount(Integer.MAX_VALUE);\n\t\toRuleQueen.getRuleData().setFile(File.SAME);\n\t\toRuleQueen.getRuleData().setRank(Rank.FORWARD);\n\t\toRuleQueen.getRuleData().setFamily(Family.IGNORE);\n\t\toRuleQueen.getRuleData().setManoeuvreStrategy(Manoeuvre.FILE_AND_RANK);\n\t\toRuleQueen.getRuleData().setName(\"MOVE\");\n\t\toRuleQueen.getRuleData().setCustomName(\"\");\n\t\t\n\t\tIMoveCandidate oMoveCandidateQueen = new MoveCandidate(oRuleQueen, oSourcePositionOfQueen.getPiece(), oSourcePositionOfQueen, oDestinationPositionOfQueen);\n\t\tm_oRuleEngine.tryExecuteRule(m_oBoard, oMoveCandidateQueen);\n\t\t\n\t\tBoolean bExpected = true;\n\t\tBoolean bActual = m_oRuleProcessor.checkStalemate(m_oBoard, oDestinationPositionOfKing.getPiece().getPlayer());\n\n\t\tassertEquals(bExpected, bActual);\n\t\t\n\t}", "public static void pushUndoVectors(Icon firstImage, Icon secondImage, pieces firstPiece, pieces secondPiece){\n\t\tundoMoveClass.oldPieces.push(firstPiece);\n\t\tundoMoveClass.newPieces.push(secondPiece);\n\t\tundoMoveClass.oldIcons.push(firstImage);\n\t\tundoMoveClass.newIcons.push(secondImage); \n\t\tundoMoveClass.oldButtons.push(firstButton);\n\t\tundoMoveClass.newButtons.push(secondButton);\n\t}", "public void add_node(int pos, Type new_element) {\n \t \n \t //if pos_ is greater than len_ then show exception\n \t if (pos > len) {\n \t\t \n \t\t //then throw the exception\n \t\t throw new IndexOutOfBoundsException(\"your index has reached bounds\");\n \t }\n \t \n \t //now we need to go at i_th position and change the node their\n \t //give i_th node to next element of new node and for i - 1 node give next as new node\n \t else {\n \t\t \n \t\t //just create new_node with new_element as initiator\n\t\t\t //make new node\n\t\t\t node<Type> new_node = new node<>(new_element);\n \t\t \n \t\t //if i = 1 will have to change head\n \t\t if(pos == 0) {\n \t\t\t \n \t\t\t //if len is zero need to do something\n \t\t\t if (len ==0) {\n \t\t\t\t \n \t\t\t\t//just update the tail\n \t\t\t\t tail.change_element(new_element);\n \t\t\t\t \n \t\t\t\t \n \t\t\t\t //just keep tail to head\n \t\t\t\t head = new_node;\n \t\t\t\t \n \t\t\t\t //and keep tail as next of head\n \t\t\t\t head.change_next(tail);\n \t\t\t\t \n \t\t\t\t //change prev of tail to head\n \t\t\t\t tail.change_prev(head);\n \t\t\t\t\t\t \n \t\t\t }\n \t\t\t //if n = 1 the case is different\n \t\t\t else if (len ==1) {\n\n \t\t\t\t //and keep tail as next of head\n \t\t\t\t new_node.change_next(tail);\n \t\t\t\t \n \t\t\t\t //change prev of tail to head\n \t\t\t\t tail.change_prev(new_node);\n \t\t\t\t \n \t\t\t\t //change head to new_node\n head = new_node;\n \t\t\t }\n \t\t\t \n \t\t\t //else\n \t\t\t else {\n \t\t\t \n \t\t\t //just need to change next node to head\n \t\t\t new_node.change_next(head);\n \t\t\t \n \t\t\t //need to change prev of head to new_node\n \t\t\t head.change_prev(new_node);\n \t\t\t \n \t\t\t //now change head to new_node\n \t\t\t head = new_node;\n\n \t\t\t }}\n \t\t \n \t\t //now if we have pos==len then\n \t\t else if(pos == len) { \n \t\t\t \n \t\t\t //just change the tail\n \t\t\t tail.change_next(new_node);\n \t\t\t \n \t\t\t //change prev of new_node as\n \t\t\t new_node.change_prev(tail);\n \t\t\t \n \t\t\t //now change tail\n \t\t\t tail = new_node;\n \t\t\t \n \t\t }\n \t\t \n \t\t//need to go at i_th position\n \t\telse {\n \t\t\t\n \t\t\t//define curent_node as head\n \t\t\tnode<Type> current_node = head;\n \t\t\t\n \t\t\t\n \t\t\t//now run for loop from i = 0 to i = i_th pos_\n \t\t\tfor (int i = 1 ; i <= pos; i++) {\n \t\t\t\t\n \t\t\t\t//now just change value of current node to its next element\n \t\t\t\tcurrent_node = current_node.show_next();\n \t\t\t}\n \t\t\t//for next of new_node add current node\n \t\t\tnew_node.change_next(current_node);\n \t\t\t\n \t\t\t//also change prev of current_node\n \t\t\tcurrent_node.change_prev(new_node);\n \t\t\t\n \t\t\t//now set the next of pre_node to be new node\n \t\t\tcurrent_node.show_prev().change_next(new_node);\n \t\t\t\n \t\t\t//change prev of new_node\n \t\t\tnew_node.change_prev(current_node.show_prev());\n \t\t }\n \t\t//change the len_ by one\n \t\t\tlen++;\n \t }\n }", "public final PropagationStrategy struct(DSLEngine pe) throws RecognitionException {\n PropagationStrategy item = null;\n\n\n ISchedulable[] element = null;\n\n PropagationStrategy c = null;\n\n CombinedAttribute ca = null;\n\n\n ArrayList<ISchedulable> elements = new ArrayList<ISchedulable>();\n\n try {\n // parser/flatzinc/FlatzincFullExtWalker.g:249:5: ( ^( STRUC1 (element= elt[pe] )+ c= coll[elements, ca] ) | ^( STRUC2 (element= elt[pe] )+ ca= comb_attr c= coll[elements, ca] ) )\n int alt17 = 2;\n switch (input.LA(1)) {\n case STRUC1: {\n alt17 = 1;\n }\n break;\n case STRUC2: {\n alt17 = 2;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 17, 0, input);\n\n throw nvae;\n\n }\n\n switch (alt17) {\n case 1:\n // parser/flatzinc/FlatzincFullExtWalker.g:249:7: ^( STRUC1 (element= elt[pe] )+ c= coll[elements, ca] )\n {\n match(input, STRUC1, FOLLOW_STRUC1_in_struct649);\n\n match(input, Token.DOWN, null);\n // parser/flatzinc/FlatzincFullExtWalker.g:249:16: (element= elt[pe] )+\n int cnt15 = 0;\n loop15:\n do {\n int alt15 = 2;\n switch (input.LA(1)) {\n case IDENTIFIER:\n case STREG:\n case STRUC1:\n case STRUC2: {\n alt15 = 1;\n }\n break;\n\n }\n\n switch (alt15) {\n case 1:\n // parser/flatzinc/FlatzincFullExtWalker.g:249:17: element= elt[pe]\n {\n pushFollow(FOLLOW_elt_in_struct656);\n element = elt(pe);\n\n state._fsp--;\n\n\n elements.addAll(Arrays.asList(element));\n\n }\n break;\n\n default:\n if (cnt15 >= 1) break loop15;\n EarlyExitException eee =\n new EarlyExitException(15, input);\n throw eee;\n }\n cnt15++;\n } while (true);\n\n\n pushFollow(FOLLOW_coll_in_struct664);\n c = coll(elements, ca);\n\n state._fsp--;\n\n\n match(input, Token.UP, null);\n\n\n }\n break;\n case 2:\n // parser/flatzinc/FlatzincFullExtWalker.g:250:6: ^( STRUC2 (element= elt[pe] )+ ca= comb_attr c= coll[elements, ca] )\n {\n match(input, STRUC2, FOLLOW_STRUC2_in_struct674);\n\n match(input, Token.DOWN, null);\n // parser/flatzinc/FlatzincFullExtWalker.g:250:15: (element= elt[pe] )+\n int cnt16 = 0;\n loop16:\n do {\n int alt16 = 2;\n switch (input.LA(1)) {\n case IDENTIFIER:\n case STREG:\n case STRUC1:\n case STRUC2: {\n alt16 = 1;\n }\n break;\n\n }\n\n switch (alt16) {\n case 1:\n // parser/flatzinc/FlatzincFullExtWalker.g:250:16: element= elt[pe]\n {\n pushFollow(FOLLOW_elt_in_struct681);\n element = elt(pe);\n\n state._fsp--;\n\n\n elements.addAll(Arrays.asList(element));\n\n }\n break;\n\n default:\n if (cnt16 >= 1) break loop16;\n EarlyExitException eee =\n new EarlyExitException(16, input);\n throw eee;\n }\n cnt16++;\n } while (true);\n\n\n pushFollow(FOLLOW_comb_attr_in_struct689);\n ca = comb_attr();\n\n state._fsp--;\n\n\n pushFollow(FOLLOW_coll_in_struct693);\n c = coll(elements, ca);\n\n state._fsp--;\n\n\n match(input, Token.UP, null);\n\n\n }\n break;\n\n }\n\n item = c;\n\n } catch (RecognitionException re) {\n reportError(re);\n recover(input, re);\n } finally {\n // do for sure before leaving\n }\n return item;\n }", "public DetonationPdu(edu.nps.moves.jaxb.dis.DetonationPdu x)\n {\n super(x); // Call superclass constructor\n\n\n edu.nps.moves.dis.EntityID foo_0;\n if(x.getMunitionID() == null)\n foo_0 = new edu.nps.moves.dis.EntityID();\n else\n foo_0 = new edu.nps.moves.dis.EntityID(x.getMunitionID() );\n this.setMunitionID(foo_0);\n\n\n edu.nps.moves.dis.EventID foo_1;\n if(x.getEventID() == null)\n foo_1 = new edu.nps.moves.dis.EventID();\n else\n foo_1 = new edu.nps.moves.dis.EventID(x.getEventID() );\n this.setEventID(foo_1);\n\n\n edu.nps.moves.dis.Vector3Float foo_2;\n if(x.getVelocity() == null)\n foo_2 = new edu.nps.moves.dis.Vector3Float();\n else\n foo_2 = new edu.nps.moves.dis.Vector3Float(x.getVelocity() );\n this.setVelocity(foo_2);\n\n\n edu.nps.moves.dis.Vector3Double foo_3;\n if(x.getLocationInWorldCoordinates() == null)\n foo_3 = new edu.nps.moves.dis.Vector3Double();\n else\n foo_3 = new edu.nps.moves.dis.Vector3Double(x.getLocationInWorldCoordinates() );\n this.setLocationInWorldCoordinates(foo_3);\n\n\n edu.nps.moves.dis.BurstDescriptor foo_4;\n if(x.getBurstDescriptor() == null)\n foo_4 = new edu.nps.moves.dis.BurstDescriptor();\n else\n foo_4 = new edu.nps.moves.dis.BurstDescriptor(x.getBurstDescriptor() );\n this.setBurstDescriptor(foo_4);\n\n this.detonationResult = x.getDetonationResult();\n this.numberOfArticulationParameters = x.getNumberOfArticulationParameters();\n this.pad = x.getPad();\n this.articulationParameters = new ArrayList();\n for(int idx = 0; idx < x.getArticulationParameters().size(); idx++)\n {\n this.articulationParameters.add( new edu.nps.moves.dis.ArticulationParameter((edu.nps.moves.jaxb.dis.ArticulationParameter) x.getArticulationParameters().get(idx)));\n }\n }", "void method0() {\nprivate static final String ELEMENT_N = \"element_n\";\nprivate static final String ELEMENT_R = \"element_r\";\nprivate static final String ATTRIBUTE_N = \"attribute_n\";\nprivate static final String ATTRIBUTE_R = \"attribute_r\";\nprivate static int ATTIDX_COUNT = 0;\npublic static final int ATTIDX_ABSTRACT = ATTIDX_COUNT++;\npublic static final int ATTIDX_AFORMDEFAULT = ATTIDX_COUNT++;\npublic static final int ATTIDX_BASE = ATTIDX_COUNT++;\npublic static final int ATTIDX_BLOCK = ATTIDX_COUNT++;\npublic static final int ATTIDX_BLOCKDEFAULT = ATTIDX_COUNT++;\npublic static final int ATTIDX_DEFAULT = ATTIDX_COUNT++;\npublic static final int ATTIDX_EFORMDEFAULT = ATTIDX_COUNT++;\npublic static final int ATTIDX_FINAL = ATTIDX_COUNT++;\npublic static final int ATTIDX_FINALDEFAULT = ATTIDX_COUNT++;\npublic static final int ATTIDX_FIXED = ATTIDX_COUNT++;\npublic static final int ATTIDX_FORM = ATTIDX_COUNT++;\npublic static final int ATTIDX_ID = ATTIDX_COUNT++;\npublic static final int ATTIDX_ITEMTYPE = ATTIDX_COUNT++;\npublic static final int ATTIDX_MAXOCCURS = ATTIDX_COUNT++;\npublic static final int ATTIDX_MEMBERTYPES = ATTIDX_COUNT++;\npublic static final int ATTIDX_MINOCCURS = ATTIDX_COUNT++;\npublic static final int ATTIDX_MIXED = ATTIDX_COUNT++;\npublic static final int ATTIDX_NAME = ATTIDX_COUNT++;\npublic static final int ATTIDX_NAMESPACE = ATTIDX_COUNT++;\npublic static final int ATTIDX_NAMESPACE_LIST = ATTIDX_COUNT++;\npublic static final int ATTIDX_NILLABLE = ATTIDX_COUNT++;\npublic static final int ATTIDX_NONSCHEMA = ATTIDX_COUNT++;\npublic static final int ATTIDX_PROCESSCONTENTS = ATTIDX_COUNT++;\npublic static final int ATTIDX_PUBLIC = ATTIDX_COUNT++;\npublic static final int ATTIDX_REF = ATTIDX_COUNT++;\npublic static final int ATTIDX_REFER = ATTIDX_COUNT++;\npublic static final int ATTIDX_SCHEMALOCATION = ATTIDX_COUNT++;\npublic static final int ATTIDX_SOURCE = ATTIDX_COUNT++;\npublic static final int ATTIDX_SUBSGROUP = ATTIDX_COUNT++;\npublic static final int ATTIDX_SYSTEM = ATTIDX_COUNT++;\npublic static final int ATTIDX_TARGETNAMESPACE = ATTIDX_COUNT++;\npublic static final int ATTIDX_TYPE = ATTIDX_COUNT++;\npublic static final int ATTIDX_USE = ATTIDX_COUNT++;\npublic static final int ATTIDX_VALUE = ATTIDX_COUNT++;\npublic static final int ATTIDX_ENUMNSDECLS = ATTIDX_COUNT++;\npublic static final int ATTIDX_VERSION = ATTIDX_COUNT++;\npublic static final int ATTIDX_XML_LANG = ATTIDX_COUNT++;\npublic static final int ATTIDX_XPATH = ATTIDX_COUNT++;\npublic static final int ATTIDX_FROMDEFAULT = ATTIDX_COUNT++;\n//public static final int ATTIDX_OTHERVALUES = ATTIDX_COUNT++; \npublic static final int ATTIDX_ISRETURNED = ATTIDX_COUNT++;\nprivate static final XIntPool fXIntPool = new XIntPool();\n// constants to return \nprivate static final XInt INT_QUALIFIED = fXIntPool.getXInt(SchemaSymbols.FORM_QUALIFIED);\nprivate static final XInt INT_UNQUALIFIED = fXIntPool.getXInt(SchemaSymbols.FORM_UNQUALIFIED);\nprivate static final XInt INT_EMPTY_SET = fXIntPool.getXInt(XSConstants.DERIVATION_NONE);\nprivate static final XInt INT_ANY_STRICT = fXIntPool.getXInt(XSWildcardDecl.PC_STRICT);\nprivate static final XInt INT_ANY_LAX = fXIntPool.getXInt(XSWildcardDecl.PC_LAX);\nprivate static final XInt INT_ANY_SKIP = fXIntPool.getXInt(XSWildcardDecl.PC_SKIP);\nprivate static final XInt INT_ANY_ANY = fXIntPool.getXInt(XSWildcardDecl.NSCONSTRAINT_ANY);\nprivate static final XInt INT_ANY_LIST = fXIntPool.getXInt(XSWildcardDecl.NSCONSTRAINT_LIST);\nprivate static final XInt INT_ANY_NOT = fXIntPool.getXInt(XSWildcardDecl.NSCONSTRAINT_NOT);\nprivate static final XInt INT_USE_OPTIONAL = fXIntPool.getXInt(SchemaSymbols.USE_OPTIONAL);\nprivate static final XInt INT_USE_REQUIRED = fXIntPool.getXInt(SchemaSymbols.USE_REQUIRED);\nprivate static final XInt INT_USE_PROHIBITED = fXIntPool.getXInt(SchemaSymbols.USE_PROHIBITED);\nprivate static final XInt INT_WS_PRESERVE = fXIntPool.getXInt(XSSimpleType.WS_PRESERVE);\nprivate static final XInt INT_WS_REPLACE = fXIntPool.getXInt(XSSimpleType.WS_REPLACE);\nprivate static final XInt INT_WS_COLLAPSE = fXIntPool.getXInt(XSSimpleType.WS_COLLAPSE);\nprivate static final XInt INT_UNBOUNDED = fXIntPool.getXInt(SchemaSymbols.OCCURRENCE_UNBOUNDED);\n// used to store the map from element name to attribute list \n// for 14 global elements \nprivate static final Hashtable fEleAttrsMapG = new Hashtable(29);\n// for 39 local elememnts \nprivate static final Hashtable fEleAttrsMapL = new Hashtable(79);\n// used to initialize fEleAttrsMap \n// step 1: all possible data types \n// DT_??? >= 0 : validate using a validator, which is initialized staticly \n// DT_??? < 0 : validate directly, which is done in \"validate()\" \nprotected static final int DT_ANYURI = 0;\nprotected static final int DT_ID = 1;\nprotected static final int DT_QNAME = 2;\nprotected static final int DT_STRING = 3;\nprotected static final int DT_TOKEN = 4;\nprotected static final int DT_NCNAME = 5;\nprotected static final int DT_XPATH = 6;\nprotected static final int DT_XPATH1 = 7;\nprotected static final int DT_LANGUAGE = 8;\n// used to store extra datatype validators \nprotected static final int DT_COUNT = DT_LANGUAGE + 1;\nprivate static final XSSimpleType[] fExtraDVs = new XSSimpleType[DT_COUNT];\nprotected static final int DT_BLOCK = -1;\nprotected static final int DT_BLOCK1 = -2;\nprotected static final int DT_FINAL = -3;\nprotected static final int DT_FINAL1 = -4;\nprotected static final int DT_FINAL2 = -5;\nprotected static final int DT_FORM = -6;\nprotected static final int DT_MAXOCCURS = -7;\nprotected static final int DT_MAXOCCURS1 = -8;\nprotected static final int DT_MEMBERTYPES = -9;\nprotected static final int DT_MINOCCURS1 = -10;\nprotected static final int DT_NAMESPACE = -11;\nprotected static final int DT_PROCESSCONTENTS = -12;\nprotected static final int DT_USE = -13;\nprotected static final int DT_WHITESPACE = -14;\nprotected static final int DT_BOOLEAN = -15;\nprotected static final int DT_NONNEGINT = -16;\nprotected static final int DT_POSINT = -17;\n// used to resolver namespace prefixes \nprotected XSDHandler fSchemaHandler = null;\n// used to store symbols. \nprotected SymbolTable fSymbolTable = null;\n// used to store the mapping from processed element to attributes \nprotected Hashtable fNonSchemaAttrs = new Hashtable();\n// temprory vector, used to hold the namespace list \nprotected Vector fNamespaceList = new Vector();\n// whether this attribute appeared in the current element \nprotected boolean[] fSeen = new boolean[ATTIDX_COUNT];\nprivate static boolean[] fSeenTemp = new boolean[ATTIDX_COUNT];\n// the following part implements an attribute-value-array pool. \n// when checkAttribute is called, it calls getAvailableArray to get \n// an array from the pool; when the caller is done with the array, \n// it calls returnAttrArray to return that array to the pool. \n// initial size of the array pool. 10 is big enough \nstatic final int INIT_POOL_SIZE = 10;\n// the incremental size of the array pool \nstatic final int INC_POOL_SIZE = 10;\n// the array pool \nObject[][] fArrayPool = new Object[INIT_POOL_SIZE][ATTIDX_COUNT];\n// used to clear the returned array \n// I think System.arrayCopy is more efficient than setting 35 fields to null \nprivate static Object[] fTempArray = new Object[ATTIDX_COUNT];\n// current position of the array pool (# of arrays not returned) \nint fPoolPos = 0;\n}", "private Point[] generateInstructions(){\n\t\tPoint[] movement = new Point[d];\n\t\tfor(int i = 0; i < d; i++){\n\t\t\tmovement[i] = new Point(dancers[i].next_pos.x-this.last_positions[i].x,dancers[i].next_pos.y-this.last_positions[i].y);\n\t\t\tif(movement[i].x * movement[i].x + movement[i].y * movement[i].y > 4){\n\t\t\t\tSystem.out.println(\"dancer \" + i + \" move too far\");\n\t\t\t\tSystem.out.println(\"soulmate: \" + dancers[i].soulmate);\n\t\t\t\tSystem.out.println(\"connected? \" + this.connected);\n\t\t\t\tmovement[i] = new Point(0,0);\n\t\t\t}\n\t\t}\n\t\treturn movement;\n\t}", "@Override\n public void runMovingTest() {\n long now;\n int count, search;\n elapsedTime.clear();\n expandedCells.clear();\n GraphPath<Integer,DefaultWeightedEdge> agentPath=null;\n GraphPath<Integer,DefaultWeightedEdge> targetPath=null;\n //Integer agentNode, targetNode;\n List<Integer> pathToFollow = null;\n for(Point[] p : points){\n pathfinder = new LazyMovingTargetAdaptiveAStarShortestPath<Integer, DefaultWeightedEdge>(map);\n count=0;\n search=0;\n agentNode = p[0].toNode();\n targetNode = p[1].toNode();\n LinkedList<Integer> movingExpCell = new LinkedList<>();\n LinkedList<Long> movingElapsTime = new LinkedList<>();\n targetThread r = new targetThread();\n evadeThread = new Thread(r);\n evadeThread.start();\n while(!agentNode.equals(targetNode)){\n if(pathToFollow==null || !agentPath.getEndVertex().equals(targetNode)) {\n agentPath = pathfinder.getShortestPath(agentNode, targetNode, new OctileDistance());\n if(pathfinder.getElapsedTime() > Long.valueOf(1900))\n continue;\n movingElapsTime.add(pathfinder.getElapsedTime());\n movingExpCell.add(pathfinder.getNumberOfExpandedNodes());\n search++;\n }\n Integer targetNext = null;\n Integer agentNext = null;\n if(count%2==0) {\n /*targetPath = new Trailmax<Integer,DefaultWeightedEdge>(map).getShortestPath(agentNode,targetNode,null);\n pathToFollow = Graphs.getPathVertexList(targetPath);\n if (!pathToFollow.isEmpty()) targetNext = pathToFollow.remove(0);\n if (targetNext.equals(targetNode) && !pathToFollow.isEmpty()) targetNext = pathToFollow.remove(0);\n targetNode = targetNext;*/\n synchronized(moveTarget) {\n moveTarget = new Boolean(true);\n }\n\n try {\n Thread.sleep(12);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n pathToFollow=Graphs.getPathVertexList(agentPath);\n if(!pathToFollow.isEmpty()){\n int i = pathToFollow.lastIndexOf(agentNode);\n agentNext=pathToFollow.remove(i+1);\n }\n agentNode = agentNext;\n count++;\n //System.out.println(agentNode+\",\"+targetNode);\n\n }\n\n r.terminate();\n try {\n evadeThread.join();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n pathToFollow=null;\n movingElapsedTime.put(p, movingElapsTime);\n movingExpandedCells.put(p, movingExpCell);\n movesMap.put(p, count);\n searchesMap.put(p, search);\n if(verbose) {\n Long totElaps = Long.valueOf(0);\n Integer totExp = 0;\n for (Long l : movingElapsTime) totElaps += l;\n for (Integer i : movingExpCell) totExp += i;\n System.out.println(\"total elapsed: \" + totElaps + \" total expanded \" + totExp);\n }\n }\n }", "ArrayList<Move> legalMoves() {\n ArrayList<Move> result = new ArrayList<Move>();\n int f, b;\n Move m;\n for (int i = 1; i < 8; i++) {\n for (int j = 1; j < 8; j++) {\n if (get(i,j).side() == _turn) {\n f = forward(j, i);\n b = backward(j, i);\n c = _col[j];\n r = _row[i];\n m = Move.create(j, i, j - b, i - b);\n addMove(result, m);\n m = Move.create(j, i, j + b, i + b);\n addMove(result, m);\n m = Move.create(j, i, j + f, i - f);\n addMove(result, m);\n m = Move.create(j, i, j - f, i + f);\n addMove(result, m);\n m = Move.create(j, i, j + c, i);\n addMove(result, m);\n m = Move.create(j, i, j - c, i);\n addMove(result, m);\n m = Move.create(j, i, j, i + r);\n addMove(result, m);\n m = Move.create(j, i, j, i - r);\n addMove(result, m);\n } else {\n continue;\n }\n }\n }\n return result;\n }", "public void move(){\n\t\tint y, z;\n\t\t\n\t\tif(queueArrayGetValue(1) == null && (queueArrayGetValue(2) == null || queueArrayGetValue(3) == null)){\n\t\t\tif(queueArrayGetValue(2) == null && queueArrayGetValue(3) != null){\n\t\t\t\tqueueArraySetKeyValue(1, queueArrayGetKey(3), queueArrayGetValue(3));\n\t\t\t\tqueueArraySetKeyValue(3, null, null);\n\t\t\t}else if(queueArrayGetValue(2) != null && queueArrayGetValue(3) == null){\n\t\t\t\tqueueArraySetKeyValue(1, queueArrayGetKey(2), queueArrayGetValue(2));\n\t\t\t\tqueueArraySetKeyValue(2, null, null);\n\t\t\t}\n\t\t}else{\n\t\t\touterloop:\n\t\t\tfor(int i = 1; i < queueArrayLength(); i++){\n\t\t\t\tif(queueArrayGetValue(i) == null){\n\t\t\t\t\ty = i * 2;\n\t\t\t\t\tz = i * 2 + 1;\n\t\t\t\t\tif(y >= queueArrayLength()){\n\t\t\t\t\t\tbreak outerloop;\n\t\t\t\t\t}else if(z >= queueArrayLength()){\n\t\t\t\t\t\tqueueArraySetKeyValue(i, queueArrayGetKey(y), queueArrayGetValue(y));\n\t\t\t\t\t\tqueueArraySetKeyValue(y, null, null);\n\t\t\t\t\t\tbreak outerloop;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tif(lessThan(y,z)){\n\t\t\t\t\t\t\tqueueArraySetKeyValue(i, queueArrayGetKey(y), queueArrayGetValue(y));\n\t\t\t\t\t\t\tqueueArraySetKeyValue(y, null, null);\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tqueueArraySetKeyValue(i, queueArrayGetKey(z), queueArrayGetValue(z));\n\t\t\t\t\t\t\tqueueArraySetKeyValue(z, null, null);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private static void addMovesWithOffset(int pieceType, long moves, LinkedList<Move> moveList,\n\t\t\tboolean enPassant, boolean promotion, byte castling, int offset) {\n\t\twhile (moves != 0) {\n\t\t\tint to = BitBoard.bitScanForward(moves);\n\t\t\tint from = (to - offset) % 64;\n\t\t\tif (from < 0) {\n\t\t\t\tfrom = 64 + from;\n\t\t\t}\n\t\t\tMove move = new Move(pieceType, from, to);\n\t\t\tmove.setCastling(castling);\n\t\t\tmove.setPromotion(promotion);\n\t\t\tmove.setEnPassant(enPassant);\n\t\t\tmoveList.add(move);\n\t\t\tmoves &= moves - 1;\n\t\t}\n\t}", "private void resizeAndTransfer() {\r\n Node<K, V>[] newData = new Node[data.length * 2];\r\n\r\n for (int i = 0; i < data.length; i++) {\r\n if (data[i] != null) {\r\n addExistingElement(new Node(data[i].key, data[i].value), newData);\r\n Node currentElement = data[i];\r\n while (currentElement.next != null) {\r\n currentElement = currentElement.next;\r\n addExistingElement(new Node(currentElement.key, currentElement.value), newData);\r\n }\r\n }\r\n }\r\n data = newData;\r\n }", "public void preyMovement(WallBuilding wb, int x1, int x2, int y1, int y2){\r\n int b1 = wb.block.get(wb.block.stx(x1), wb.block.sty(y1));//one away\r\n int b2 = wb.block.get(wb.block.stx(x2), wb.block.sty(y2));//two away\r\n if(b1 == 0){//if there are no blocks, we can move normally\r\n if(wb.food.getObjectsAtLocation(x1, y1) == null){//if there is no food in that space\r\n wb.prey.setObjectLocation(this, wb.prey.stx(x1),wb.prey.sty(y1));\r\n }\r\n }else if(b1 == 1){//if there is one block\r\n if(b2 == 0){//if the space after is empty, we can move too!\r\n if(wb.food.getObjectsAtLocation(x2, y2) == null){//if there is no food in that space\r\n wb.block.set(wb.block.stx(x2), wb.block.sty(y2), b2+1);\r\n wb.block.set(wb.block.stx(x1), wb.block.sty(y1), b1-1);\r\n wb.prey.setObjectLocation(this, wb.prey.stx(x1),wb.prey.sty(y1));\r\n }\r\n }else if(b2 < 3){//there is space to move the block\r\n wb.block.set(wb.block.stx(x2), wb.block.sty(y2), b2+1);\r\n wb.block.set(wb.block.stx(x1), wb.block.sty(y1), b1-1);\r\n }\r\n }else{//if there are 2 or 3 blocks\r\n if(b2 < 3){//there is space to move the block\r\n if(wb.food.getObjectsAtLocation(x2, y2) == null){//if there is no food in that space\r\n wb.block.set(wb.block.stx(x2), wb.block.sty(y2), b2+1);\r\n wb.block.set(wb.block.stx(x1), wb.block.sty(y1), b1-1);\r\n }\r\n }\r\n }\r\n }", "public abstract void buildMoveData(HexagonalBoard board);", "private int[] mutationPairwiseExchange(int[] mutant) {\n\t\tint pairPoint1 = rand.nextInt(mutant.length);\n\t\tint pairPoint2 = pairPoint1;\n\t\twhile (mutant[pairPoint2] == mutant[pairPoint1]) {\n\t\t\tpairPoint2 = rand.nextInt(mutant.length); //find element in different bucket\n\t\t}\n\t\tint temp = mutant[pairPoint1];\n\t\tmutant[pairPoint1] = mutant[pairPoint2];\n\t\tmutant[pairPoint2] = temp;\n\t\treturn mutant;\n\t}" ]
[ "0.5313562", "0.5154424", "0.5083576", "0.50397193", "0.50394315", "0.5014194", "0.49796942", "0.49525046", "0.4942861", "0.49322793", "0.49297985", "0.49275398", "0.4926359", "0.49255228", "0.49228188", "0.49005225", "0.48841977", "0.48749307", "0.48557472", "0.4844847", "0.48308712", "0.48278606", "0.48250782", "0.48250368", "0.4804886", "0.4797017", "0.47625303", "0.4760927", "0.47588772", "0.4757374", "0.47478974", "0.47473323", "0.47438985", "0.47435862", "0.47425747", "0.47338516", "0.47299373", "0.47294772", "0.47276157", "0.47272408", "0.4721998", "0.47207084", "0.47178754", "0.471408", "0.47095424", "0.47052118", "0.47035903", "0.4698753", "0.46980762", "0.46970996", "0.46925795", "0.46899825", "0.46861804", "0.46847522", "0.46823543", "0.46809888", "0.46725637", "0.46695107", "0.4667122", "0.46592715", "0.46575773", "0.46439564", "0.46345034", "0.462729", "0.46257144", "0.46153986", "0.46147346", "0.4614262", "0.46093667", "0.46048528", "0.46045232", "0.46023065", "0.45956576", "0.45948878", "0.4594014", "0.45919663", "0.45878872", "0.45844263", "0.4570915", "0.45695344", "0.45687318", "0.45678723", "0.45661265", "0.45660138", "0.4563725", "0.4563182", "0.45626995", "0.45605233", "0.45564348", "0.45556155", "0.45555165", "0.45522648", "0.45456034", "0.45448166", "0.45437327", "0.45357785", "0.45329174", "0.4532888", "0.45323932", "0.45308852", "0.45286533" ]
0.0
-1
/ assumes correct representation of a long value for specified radix in scanner buffer from start to end
private long parseLong(int start, int end, int radix) { long result = 0; long digit; for (int i = start; i < end; i++) { digit = Character.digit(yycharat(i),radix); result*= radix; result+= digit; } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static long rl(long a, String b) {\r\n long res = a;\r\n for (int c = 0; c < b.length() - 2; c += 3) {\r\n char dChar = b.charAt(c + 2);\r\n long dInt = dChar >= 'a' ? (int) dChar - 87 : Long.valueOf(String.valueOf(dChar));\r\n char char2 = b.charAt(c + 1);\r\n long dInt2 = char2 == '+' ? res >>> dInt : res << dInt;\r\n res = b.charAt(c) == '+' ? res + dInt2 & 4294967295l : res ^ dInt2;\r\n }\r\n return res;\r\n }", "private long getNumberBufAsLong(ByteOrder byteOrder, int nrReadBytes,\n int firstBytePos) {\n\n long result = 0L;\n long bytePortion = 0L;\n for (int i = 0; i < nrReadBytes; i++) {\n bytePortion = 0xFF & (byteBuffer.get(firstBytePos++));\n\n if (byteOrder == ByteOrder.LittleEndian)\n // reshift bytes\n result = result | bytePortion << (i << 3);\n else\n result = bytePortion << ((nrReadBytes - i - 1) << 3) | result;\n }\n\n return result;\n }", "public abstract int read_long();", "long decodeLong();", "@Override\n\tpublic int decode(byte[] buffer, int offset) throws IOException {\n\t\tlong value = NeuronReader.readRawInt64(buffer, offset);\n\t\tunionCache.setLong(fieldIndex, value);\n\n\t\treturn NeuronReader.LONG_SIZE;\n\t}", "public int read(long[] l, int start, int len) throws IOException {\n\n\t\tint i = start;\n\t\ttry {\n\t\t\tfor (; i < start + len; i += 1) {\n\t\t\t\tif (count - pos < 8) {\n\t\t\t\t\tfillBuf(8);\n\t\t\t\t}\n\t\t\t\tint i1 = buf[pos] << 24 | (buf[pos + 1] & 0xFF) << 16\n\t\t\t\t\t\t| (buf[pos + 2] & 0xFF) << 8 | (buf[pos + 3] & 0xFF);\n\t\t\t\tint i2 = buf[pos + 4] << 24 | (buf[pos + 5] & 0xFF) << 16\n\t\t\t\t\t\t| (buf[pos + 6] & 0xFF) << 8 | (buf[pos + 7] & 0xFF);\n\t\t\t\tl[i] = ((long) i1) << 32 | ((long) i2 & 0x00000000FFFFFFFFL);\n\t\t\t\tpos += 8;\n\t\t\t}\n\n\t\t} catch (EOFException e) {\n\t\t\treturn eofCheck(e, i, start, 8);\n\t\t}\n\t\treturn 8 * len;\n\t}", "@Test\n public void testFromLong() throws Exception {\n assertEquals(\"1 a\", undertest2.fromLong(0));\n // 0b100 => 0b10->1->\"2\", 0b0->0->\"a\"\n assertEquals(\"2 a\", undertest2.fromLong(1));\n // 0b010 => 0b01->2->\"3\", 0b0->0->\"a\"\n assertEquals(\"3 a\", undertest2.fromLong(2));\n // 0b110 => 0b11->3->\"4\", 0b0->0->\"a\"\n assertEquals(\"4 a\", undertest2.fromLong(3));\n // 0b001 => 0b00->0->\"1\", 0b1->1->\"b\"\n assertEquals(\"1 b\", undertest2.fromLong(4));\n // 0b101 => 0b10->1->\"2\", 0b1->1->\"b\"\n assertEquals(\"2 b\", undertest2.fromLong(5));\n // 0b011 => 0b01->2->\"3\", 0b1->1->\"b\"\n assertEquals(\"3 b\", undertest2.fromLong(6));\n // 0b111 => 0b11->3->\"4\", 0b1->1->\"b\"\n assertEquals(\"4 b\", undertest2.fromLong(7));\n // 255l->0b11111111->0b111 => 0b11->3->\"4\", 0b1->1->\"b\"\n assertEquals(\"4 b\", undertest2.fromLong(255));\n }", "private long read_long(MappedByteBuffer buff) throws IOException {\n long number = 0;\n for (int i = 0; i < 8; ++i) {\n number += ((long) (buff.get() & 0xFF)) << (8 * i);\n }\n return number;\n }", "long readLong();", "private long getNumber(String num, int l, int r) {\n if (num.charAt(l) == '0' && r > l)\n return -1;\n int i = l;\n long sum = 0;\n while (i <= r) {\n sum = sum * 10 + num.charAt(i) - '0';\n i++;\n }\n return sum;\n }", "public abstract void read_long_array(int[] value, int offset, int\nlength);", "long readLong() throws IOException;", "private String getLongInstruction(int nextVal) throws java.io.IOException {\n\t\treadUntilEndOfLine(nextVal);\n\t\treturn next;\n\t}", "public static long parseLong(CharSequence seq) {\n long result = 0;\n int max = seq.length() - 1;\n long position = 1;\n boolean negative = false;\n for (int i = max; i >= 0; i--) {\n char c = seq.charAt(i);\n switch (c) {\n case '-':\n if (i == 0) {\n negative = true;\n continue;\n }\n throw new NumberFormatException(\"- encountered not at start of '\" + seq + \"'\");\n case '0':\n case '1':\n case '2':\n case '3':\n case '4':\n case '5':\n case '6':\n case '7':\n case '8':\n case '9':\n long prev = result;\n result += position * (c - '0');\n if (prev > result) {\n throw new NumberFormatException(\"Number too large for long: '\" + seq + \"' - \"\n + \" \" + prev + \" + \" + (position * (c - '0')) + \" = \" + result);\n }\n position *= 10;\n continue;\n default:\n throw new NumberFormatException(\"Illegal character '\" + c + \"' in number '\" + seq + \"'\");\n }\n }\n return negative ? -result : result;\n }", "public static long parseHexLong(CharSequence seq) {\n long result = 0;\n int last = seq.length() - 1;\n if (last > 15) {\n throw new NumberFormatException(\"Too many characters (> 16) for a \"\n + \"long in '\" + seq + \"'\");\n }\n if (Strings.startsWith(seq, \"0x\")) {\n seq = seq.subSequence(2, seq.length());\n }\n for (int i = last, j = 0; i >= 0; i--, j += 4) {\n long val = charToNybbl(seq.charAt(i));\n val <<= j;\n result |= val;\n }\n return result;\n }", "private static long getRightShiftedNumberBufAsLong(long numberBuf,\n long bitPos, int nrBits, ByteOrder byteOrder) throws BitBufferException {\n\n // number of bits integer buffer needs to be shifted to the right in\n // order to reach the last bit in last byte\n long shiftBits;\n if (byteOrder == ByteOrder.BigEndian)\n shiftBits = 7 - ((nrBits + bitPos + 7) % 8);\n else\n shiftBits = bitPos % 8;\n\n return numberBuf >> shiftBits;\n }", "long readS64LE()\n throws IOException, EOFException;", "public abstract void read_longlong_array(long[] value, int offset, int\nlength);", "private long getResultAsLong(long bitPos, int nrBits, ByteOrder byteOrder,\n int maxNrBitsRead) {\n\n // check if input params are correct otherwise throw BitBufferException\n validateInputParams(bitPos, nrBits, maxNrBitsRead);\n\n // min number of bytes covering specified bits\n int nrReadBytes = getNrNecessaryBytes(bitPos, nrBits);\n\n // buffer containing specified bits\n long numberBuf = getNumberBufAsLong(byteOrder, nrReadBytes,\n (int) (bitPos >> 3));\n\n // mask leaving only specified bits\n long mask = getMaskAsLong(nrBits);\n\n // apply the mask for to the right shifted number buffer with the\n // specific bits to the most right\n long result = mask\n & getRightShiftedNumberBufAsLong(numberBuf, bitPos, nrBits,\n byteOrder);\n\n // increase bit pointer position by the number of read bits\n this.bitPos = bitPos + nrBits;\n\n return result;\n }", "@Test\n\tpublic void testTooLargeValueBinaryReaderStreamPosition() throws IOException {\n\n\t\tbyte[] bytes =\n\t\t\tbytes(0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x02, 0x1, 0x2);\n\t\tInputStream is = is(bytes);\n\n\t\ttry {\n\t\t\tlong value = LEB128.read(is, false);\n\t\t\tAssert.fail(\n\t\t\t\t\"Should not be able to read a LEB128 that is larger than what can fit in java 64bit long int: \" +\n\t\t\t\t\tLong.toUnsignedString(value));\n\t\t}\n\t\tcatch (IOException ioe) {\n\t\t\t// good\n\t\t}\n\n\t\tAssert.assertEquals(bytes.length - 10, is.available());\n\t}", "public static long parseAsLong(java.lang.String r7, long r8) {\n /*\n r1 = 1;\n r0 = 0;\n if (r7 != 0) goto L_0x0005;\n L_0x0004:\n return r8;\n L_0x0005:\n r3 = r7.trim();\n r2 = r3.length();\n if (r2 == 0) goto L_0x0004;\n L_0x000f:\n if (r0 >= r2) goto L_0x0049;\n L_0x0011:\n r4 = r3.charAt(r0);\n r5 = 43;\n if (r4 != r5) goto L_0x0035;\n L_0x0019:\n r2 = r3.substring(r1);\n r1 = r2.length();\n L_0x0021:\n if (r0 >= r1) goto L_0x0040;\n L_0x0023:\n r3 = r2.charAt(r0);\n r4 = 57;\n if (r3 > r4) goto L_0x002f;\n L_0x002b:\n r4 = 48;\n if (r3 >= r4) goto L_0x003d;\n L_0x002f:\n r0 = parseDouble(r2);\t Catch:{ NumberFormatException -> 0x0045 }\n r8 = (long) r0;\n goto L_0x0004;\n L_0x0035:\n r5 = 45;\n if (r4 != r5) goto L_0x0049;\n L_0x0039:\n r0 = r1;\n r1 = r2;\n r2 = r3;\n goto L_0x0021;\n L_0x003d:\n r0 = r0 + 1;\n goto L_0x0021;\n L_0x0040:\n r8 = java.lang.Long.parseLong(r2);\t Catch:{ NumberFormatException -> 0x0047 }\n goto L_0x0004;\n L_0x0045:\n r0 = move-exception;\n goto L_0x0004;\n L_0x0047:\n r0 = move-exception;\n goto L_0x0004;\n L_0x0049:\n r1 = r2;\n r2 = r3;\n goto L_0x0021;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.fasterxml.jackson.core.io.NumberInput.parseAsLong(java.lang.String, long):long\");\n }", "public static long readLong(byte[] source, int position) {\n return makeLong(source[position], source[position + 1], source[position + 2], source[position + 3],\n source[position + 4], source[position + 5], source[position + 6], source[position + 7]);\n }", "public long readLong() throws IOException;", "public abstract long read_longlong();", "private boolean isLong(int nextVal) {\n\t\treturn Character.isLetter(nextVal);\n\t}", "private long parseOctal(final byte[] buffer, final int offset, final int length) {\n long result = 0;\n int end = offset + length;\n int start = offset;\n if (length < 2) {\n throw new IllegalArgumentException(\"Length \" + length + \" must be at least 2\");\n }\n if (buffer[start] == 0) {\n return 0L;\n }\n while (start < end) {\n if (buffer[start] == ' ') {\n start++;\n } else {\n break;\n }\n }\n byte trailer;\n trailer = buffer[end - 1];\n if (trailer == 0 || trailer == ' ') {\n end--;\n } else {\n throw new IllegalArgumentException(exceptionMessage(buffer, offset, length, end - 1, trailer));\n }\n trailer = buffer[end - 1];\n if (trailer == 0 || trailer == ' ') {\n end--;\n }\n for (; start < end; start++) {\n final byte currentByte = buffer[start];\n if (currentByte < '0' || currentByte > '7') {\n throw new IllegalArgumentException(\n exceptionMessage(buffer, offset, length, start, currentByte));\n }\n result = (result << 3) + (currentByte - '0'); // convert from ASCII\n }\n\n return result;\n }", "String longRead();", "private long parseOctalOrBinary(final byte[] buffer, final int offset, final int length) {\n if ((buffer[offset] & 0x80) == 0) {\n return parseOctal(buffer, offset, length);\n }\n final boolean negative = buffer[offset] == (byte) 0xff;\n if (length < 9) {\n return parseBinaryLong(buffer, offset, length, negative);\n }\n return parseBinaryBigInteger(buffer, offset, length, negative);\n }", "public abstract void read_ulonglong_array(long[] value, int offset, int\nlength);", "private long read_long(RandomAccessFile file) throws IOException {\n long number = 0;\n for (int i = 0; i < 8; ++i) {\n number += ((long) (file.readByte() & 0xFF)) << (8 * i);\n }\n return number;\n }", "long readS64BE()\n throws IOException, EOFException;", "public void testValueOfLong()\n {\n // let's test that creating a EthernetAddress from an zero long\n // gives a null EthernetAddress (definition of a null EthernetAddress)\n EthernetAddress ethernet_address =\n EthernetAddress.valueOf(0x0000000000000000L);\n assertEquals(\n \"EthernetAddress.valueOf did not create expected EthernetAddress\",\n NULL_ETHERNET_ADDRESS_LONG,\n ethernet_address.toLong());\n \n // let's test creating an array from a good long\n ethernet_address =\n EthernetAddress.valueOf(VALID_ETHERNET_ADDRESS_LONG);\n assertEquals(\n \"EthernetAddress.valueOf did not create expected EthernetAddress\",\n VALID_ETHERNET_ADDRESS_LONG,\n ethernet_address.toLong());\n }", "public abstract long read_ulonglong();", "public long nextLong()\r\n\t{\r\n\t\tif(st == null || !st.hasMoreTokens())\r\n\t\t\tnewst();\r\n\t\treturn Long.parseLong(st.nextToken());\r\n\t}", "private static long parseValue(String param2String) throws IllegalArgumentException {\n/* 591 */ long l = Long.parseLong(param2String);\n/* 592 */ if (l < 0L) {\n/* 593 */ throw new IllegalArgumentException(\"negative limit: \" + param2String);\n/* */ }\n/* 595 */ return l;\n/* */ }", "private static long parseValue(String param2String) throws IllegalArgumentException {\n/* 593 */ long l = Long.parseLong(param2String);\n/* 594 */ if (l < 0L) {\n/* 595 */ throw new IllegalArgumentException(\"negative limit: \" + param2String);\n/* */ }\n/* 597 */ return l;\n/* */ }", "public void testLong() throws Exception {\n String string = reverse(\"The quick brown fox jumps over the lazy dog.\");\n CharIndex idx = CharIndex.getInstance(string);\n\n long[] map = PatternBitmap.map(string, idx, new long[idx.size()]);\n\n /* Spot check some */\n long e = Long.parseLong(\"00100000000000000000000000001000010000000000\", 2);\n /* ............ The quick brown fox jumps over the lazy dog. */\n\n assertEquals(e, map[idx.lookup('e')]);\n\n long o = Long.parseLong(\"00000000000010000100000000100000000000000100\", 2);\n /* ............ The quick brown fox jumps over the lazy dog. */\n assertEquals(o, map[idx.lookup('o')]);\n\n /* Check all others for zero/non-zero */\n for (int i = 0; i < 0xffff; i++) {\n char c = (char)i;\n int where = string.indexOf(c);\n if (where >= 0) {\n assertTrue(\"Map for pattern character '\" + c + \"' should be non-zero\",\n (map[idx.lookup(c)] & (1L << where)) != 0);\n } else {\n assertEquals(\"Map for unused character '\" + c + \"' should be zero\",\n 0, map[idx.lookup(c)]);\n }\n }\n }", "public static long readLong(String prompt) throws IOException {\r\n\t\tlong value = 0;\r\n\t\twhile (true) {\r\n\t\t\ttry {\r\n\t\t\t\tSystem.out.print(prompt + \" _>\");\r\n\t\t\t\tvalue = Long.valueOf(reader.readLine()).longValue();\r\n\t\t\t\tbreak;\r\n\t\t\t} catch (IOException ex) {\r\n\t\t\t\tSystem.err.println(ex.getLocalizedMessage());\r\n\t\t\t\tthrow ex;\r\n\t\t\t} catch (NumberFormatException ex) {\r\n\t\t\t\tSystem.err.println(\"Conversion Error: \" + ex.getLocalizedMessage());\r\n\t\t\t\treturn readLong(\"Try again: \" + prompt);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn value;\r\n\t}", "@Test\n public void testToLong() throws Exception {\n assertEquals(0, undertest2.toLong(\"1 a\"));\n // \"2\"->1->0b10, \"a\"->0->0b0 => 0b100->1l\n assertEquals(1, undertest2.toLong(\"2 a\"));\n // \"3\"->2->0b01, \"a\"->0->0b0 => 0b010->2l\n assertEquals(2, undertest2.toLong(\"3 a\"));\n // \"4\"->3->0b11, \"a\"->0->0b0 => 0b110->3l\n assertEquals(3, undertest2.toLong(\"4 a\"));\n // \"1\"->0->0b00, \"b\"->1->0b1 => 0b001->4l\n assertEquals(4, undertest2.toLong(\"1 b\"));\n // \"2\"->1->0b10, \"b\"->1->0b1 => 0b101->5l\n assertEquals(5, undertest2.toLong(\"2 b\"));\n // \"3\"->2->0b01, \"b\"->1->0b1 => 0b011->6l\n assertEquals(6, undertest2.toLong(\"3 b\"));\n // \"4\"->3->0b11, \"b\"->1->0b1 => 0b111->7l\n assertEquals(7, undertest2.toLong(\"4 b\"));\n }", "public long getLong() throws NoSuchElementException,\n\t NumberFormatException\n {\n\tString s = tokenizer.nextToken();\n\treturn Long.parseLong(s);\n }", "public static long convertToLong(byte[] longBuffer)\r\n {\r\n if (longBuffer.length >= 8)\r\n {\r\n return (((long) longBuffer[0] << 56)\r\n + ((long) (longBuffer[1] & 255) << 48)\r\n + ((long) (longBuffer[2] & 255) << 40)\r\n + ((long) (longBuffer[3] & 255) << 32)\r\n + ((long) (longBuffer[4] & 255) << 24)\r\n + ((longBuffer[5] & 255) << 16)\r\n + ((longBuffer[6] & 255) << 8) + ((longBuffer[7] & 255) << 0));\r\n }\r\n return 0;\r\n }", "public static int decodeLowBits(long l) {\n\n return (int) l;\n\n }", "@Test(expected = IOException.class)\n\tpublic void testToolargeUnsigned() throws IOException {\n\t\tInputStream is = is(0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x02);\n\n\t\tlong value = LEB128.read(is, false);\n\t\tAssert.fail(\n\t\t\t\"Should not be able to read a LEB128 that is larger than what can fit in java 64bit long int: \" +\n\t\t\t\tvalue);\n\t}", "public static long parseLong(String val) {\n\t\tval = val.toUpperCase();\n\t\tint indx = val.indexOf(\"M\");\n\n\t\tint plus = 10000;\n\t\tif (indx < 0) {\n\t\t\tindx = val.indexOf(\"K\");\n\t\t\tplus = 1000;\n\t\t}\n\t\tif (indx > 0) {\n\t\t\tString longVal = val.substring(0, indx);\n\n\t\t\tlong theVale = Long.parseLong(longVal) * plus;\n\t\t\tString remain = val.substring(indx + 1);\n\t\t\tif (remain.length() > 0) {\n\t\t\t\ttheVale += Integer.parseInt(remain);\n\t\t\t}\n\t\t\treturn theVale;\n\t\t} else {\n\t\t\treturn Long.parseLong(val);\n\t\t}\n\n\t}", "public static long toInt64(byte[] value, int startIndex) {\r\n\t\treturn ByteBuffer.wrap(value, startIndex, 8).order(ByteOrder.LITTLE_ENDIAN).getLong();\r\n\t}", "private static int getBytes(long r23) {\n /*\n java.lang.ThreadLocal<byte[]> r0 = TEMP_NUMBER_BUFFER\n java.lang.Object r0 = r0.get()\n byte[] r0 = (byte[]) r0\n r1 = 20\n if (r0 != 0) goto L_0x0013\n byte[] r0 = new byte[r1]\n java.lang.ThreadLocal<byte[]> r2 = TEMP_NUMBER_BUFFER\n r2.set(r0)\n L_0x0013:\n r2 = -9223372036854775808\n r4 = 54\n r5 = 57\n r6 = 45\n r7 = 53\n r8 = 56\n r9 = 55\n r10 = 51\n r11 = 50\n r12 = 0\n r13 = 48\n r14 = 1\n int r15 = (r23 > r2 ? 1 : (r23 == r2 ? 0 : -1))\n if (r15 != 0) goto L_0x0076\n r0[r12] = r6\n r0[r14] = r5\n r2 = 2\n r0[r2] = r11\n r2 = 3\n r0[r2] = r11\n r2 = 4\n r0[r2] = r10\n r2 = 5\n r0[r2] = r10\n r2 = 6\n r0[r2] = r9\n r2 = 7\n r0[r2] = r11\n r2 = 8\n r0[r2] = r13\n r2 = 9\n r0[r2] = r10\n r2 = 10\n r0[r2] = r4\n r2 = 11\n r0[r2] = r8\n r2 = 12\n r0[r2] = r7\n r2 = 13\n r3 = 52\n r0[r2] = r3\n r2 = 14\n r0[r2] = r9\n r2 = 15\n r0[r2] = r9\n r2 = 16\n r0[r2] = r7\n r2 = 17\n r0[r2] = r8\n r2 = 18\n r0[r2] = r13\n r2 = 19\n r0[r2] = r8\n return r1\n L_0x0076:\n r1 = 0\n int r3 = (r23 > r1 ? 1 : (r23 == r1 ? 0 : -1))\n if (r3 != 0) goto L_0x007f\n r0[r12] = r13\n return r14\n L_0x007f:\n if (r3 >= 0) goto L_0x0088\n r0[r12] = r6\n long r15 = java.lang.Math.abs(r23)\n goto L_0x008b\n L_0x0088:\n r14 = 0\n r15 = r23\n L_0x008b:\n r17 = 9\n r19 = 10\n r21 = 1\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x0099\n r17 = r21\n goto L_0x017e\n L_0x0099:\n r17 = 99\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x00a3\n r17 = r19\n goto L_0x017e\n L_0x00a3:\n r17 = 999(0x3e7, double:4.936E-321)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x00ad\n r17 = 100\n goto L_0x017e\n L_0x00ad:\n r17 = 9999(0x270f, double:4.94E-320)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x00b7\n r17 = 1000(0x3e8, double:4.94E-321)\n goto L_0x017e\n L_0x00b7:\n r17 = 99999(0x1869f, double:4.9406E-319)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x00c2\n r17 = 10000(0x2710, double:4.9407E-320)\n goto L_0x017e\n L_0x00c2:\n r17 = 999999(0xf423f, double:4.94065E-318)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x00ce\n r17 = 100000(0x186a0, double:4.94066E-319)\n goto L_0x017e\n L_0x00ce:\n r17 = 9999999(0x98967f, double:4.940656E-317)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x00da\n r17 = 1000000(0xf4240, double:4.940656E-318)\n goto L_0x017e\n L_0x00da:\n r17 = 99999999(0x5f5e0ff, double:4.9406564E-316)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x00e6\n r17 = 10000000(0x989680, double:4.9406565E-317)\n goto L_0x017e\n L_0x00e6:\n r17 = 999999999(0x3b9ac9ff, double:4.940656453E-315)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x00f2\n r17 = 100000000(0x5f5e100, double:4.94065646E-316)\n goto L_0x017e\n L_0x00f2:\n r17 = 9999999999(0x2540be3ff, double:4.940656458E-314)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x0100\n r17 = 1000000000(0x3b9aca00, double:4.94065646E-315)\n goto L_0x017e\n L_0x0100:\n r17 = 99999999999(0x174876e7ff, double:4.94065645836E-313)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x0110\n r17 = 10000000000(0x2540be400, double:4.9406564584E-314)\n goto L_0x017e\n L_0x0110:\n r17 = 999999999999(0xe8d4a50fff, double:4.940656458408E-312)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x011f\n r17 = 100000000000(0x174876e800, double:4.9406564584E-313)\n goto L_0x017e\n L_0x011f:\n r17 = 9999999999999(0x9184e729fff, double:4.940656458412E-311)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x012e\n r17 = 1000000000000(0xe8d4a51000, double:4.94065645841E-312)\n goto L_0x017e\n L_0x012e:\n r17 = 99999999999999(0x5af3107a3fff, double:4.9406564584124E-310)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x013d\n r17 = 10000000000000(0x9184e72a000, double:4.9406564584125E-311)\n goto L_0x017e\n L_0x013d:\n r17 = 999999999999999(0x38d7ea4c67fff, double:4.94065645841246E-309)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x014c\n r17 = 100000000000000(0x5af3107a4000, double:4.94065645841247E-310)\n goto L_0x017e\n L_0x014c:\n r17 = 9999999999999999(0x2386f26fc0ffff, double:5.431165199810527E-308)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x015b\n r17 = 1000000000000000(0x38d7ea4c68000, double:4.940656458412465E-309)\n goto L_0x017e\n L_0x015b:\n r17 = 99999999999999999(0x16345785d89ffff, double:5.620395787888204E-302)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x016a\n r17 = 10000000000000000(0x2386f26fc10000, double:5.431165199810528E-308)\n goto L_0x017e\n L_0x016a:\n r17 = 999999999999999999(0xde0b6b3a763ffff, double:7.832953389245684E-242)\n int r3 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))\n if (r3 > 0) goto L_0x0179\n r17 = 100000000000000000(0x16345785d8a0000, double:5.620395787888205E-302)\n goto L_0x017e\n L_0x0179:\n r17 = 1000000000000000000(0xde0b6b3a7640000, double:7.832953389245686E-242)\n L_0x017e:\n long r1 = r15 / r17\n int r3 = (int) r1\n switch(r3) {\n case 0: goto L_0x01b6;\n case 1: goto L_0x01af;\n case 2: goto L_0x01aa;\n case 3: goto L_0x01a5;\n case 4: goto L_0x019e;\n case 5: goto L_0x0199;\n case 6: goto L_0x0194;\n case 7: goto L_0x018f;\n case 8: goto L_0x018a;\n case 9: goto L_0x0185;\n default: goto L_0x0184;\n }\n L_0x0184:\n goto L_0x01bb\n L_0x0185:\n int r3 = r14 + 1\n r0[r14] = r5\n goto L_0x01ba\n L_0x018a:\n int r3 = r14 + 1\n r0[r14] = r8\n goto L_0x01ba\n L_0x018f:\n int r3 = r14 + 1\n r0[r14] = r9\n goto L_0x01ba\n L_0x0194:\n int r3 = r14 + 1\n r0[r14] = r4\n goto L_0x01ba\n L_0x0199:\n int r3 = r14 + 1\n r0[r14] = r7\n goto L_0x01ba\n L_0x019e:\n int r3 = r14 + 1\n r6 = 52\n r0[r14] = r6\n goto L_0x01ba\n L_0x01a5:\n int r3 = r14 + 1\n r0[r14] = r10\n goto L_0x01ba\n L_0x01aa:\n int r3 = r14 + 1\n r0[r14] = r11\n goto L_0x01ba\n L_0x01af:\n int r3 = r14 + 1\n r6 = 49\n r0[r14] = r6\n goto L_0x01ba\n L_0x01b6:\n int r3 = r14 + 1\n r0[r14] = r13\n L_0x01ba:\n r14 = r3\n L_0x01bb:\n int r3 = (r17 > r21 ? 1 : (r17 == r21 ? 0 : -1))\n if (r3 != 0) goto L_0x01c0\n goto L_0x01d8\n L_0x01c0:\n java.lang.Long.signum(r17)\n long r1 = r1 * r17\n long r15 = r15 - r1\n r1 = 0\n int r3 = (r15 > r1 ? 1 : (r15 == r1 ? 0 : -1))\n if (r3 != 0) goto L_0x01d9\n L_0x01cc:\n int r1 = (r17 > r21 ? 1 : (r17 == r21 ? 0 : -1))\n if (r1 <= 0) goto L_0x01d8\n int r1 = r14 + 1\n r0[r14] = r13\n long r17 = r17 / r19\n r14 = r1\n goto L_0x01cc\n L_0x01d8:\n return r14\n L_0x01d9:\n long r17 = r17 / r19\n goto L_0x017e\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.unboundid.util.ByteStringBuffer.getBytes(long):int\");\n }", "public static long getLong(final byte[] buffer, final int index, final int len) {\n switch (len) {\n case 0: return 0xFFFFFFFF_FFFFFFFFL;\n case 1: return 0xFFFFFFFF_FFFFFF00L | _getByte(buffer, index, 1);\n case 2: return 0xFFFFFFFF_FFFF0000L | _getShort(buffer, index, 2);\n case 3: return 0xFFFFFFFF_FF000000L | _getInt(buffer, index, 3);\n case 4: return 0xFFFFFFFF_00000000L | _getInt(buffer, index, 4);\n case 5: return 0xFFFFFF00_00000000L | _getLong(buffer, index, 5);\n case 6: return 0xFFFF0000_00000000L | _getLong(buffer, index, 6);\n case 7: return 0xFF000000_00000000L | _getLong(buffer, index, 7);\n case 8: return _getLong(buffer, index, 8);\n default: throw new IllegalArgumentException(\"len is out of range: \" + len);\n }\n }", "public static long readlong()\n\t{\n\t\treturn sc.nextLong();\n\t}", "public long readRawVarint64() throws java.io.IOException {\n /*\n r9 = this;\n int r0 = r9.bufferPos\n int r1 = r9.bufferSize\n if (r1 != r0) goto L_0x0008\n goto L_0x00b8\n L_0x0008:\n byte[] r2 = r9.buffer\n int r3 = r0 + 1\n byte r0 = r2[r0]\n if (r0 < 0) goto L_0x0014\n r9.bufferPos = r3\n long r0 = (long) r0\n return r0\n L_0x0014:\n int r1 = r1 - r3\n r4 = 9\n if (r1 >= r4) goto L_0x001b\n goto L_0x00b8\n L_0x001b:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 7\n r0 = r0 ^ r3\n long r3 = (long) r0\n r5 = 0\n int r0 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r0 >= 0) goto L_0x002f\n r5 = -128(0xffffffffffffff80, double:NaN)\n L_0x002b:\n long r2 = r3 ^ r5\n goto L_0x00bf\n L_0x002f:\n int r0 = r1 + 1\n byte r1 = r2[r1]\n int r1 = r1 << 14\n long r7 = (long) r1\n long r3 = r3 ^ r7\n int r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r1 < 0) goto L_0x0042\n r1 = 16256(0x3f80, double:8.0315E-320)\n L_0x003d:\n long r2 = r3 ^ r1\n r1 = r0\n goto L_0x00bf\n L_0x0042:\n int r1 = r0 + 1\n byte r0 = r2[r0]\n int r0 = r0 << 21\n long r7 = (long) r0\n long r3 = r3 ^ r7\n int r0 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r0 >= 0) goto L_0x0052\n r5 = -2080896(0xffffffffffe03f80, double:NaN)\n goto L_0x002b\n L_0x0052:\n int r0 = r1 + 1\n byte r1 = r2[r1]\n long r7 = (long) r1\n r1 = 28\n long r7 = r7 << r1\n long r3 = r3 ^ r7\n int r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r1 < 0) goto L_0x0063\n r1 = 266354560(0xfe03f80, double:1.315966377E-315)\n goto L_0x003d\n L_0x0063:\n int r1 = r0 + 1\n byte r0 = r2[r0]\n long r7 = (long) r0\n r0 = 35\n long r7 = r7 << r0\n long r3 = r3 ^ r7\n int r0 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r0 >= 0) goto L_0x0076\n r5 = -34093383808(0xfffffff80fe03f80, double:NaN)\n goto L_0x002b\n L_0x0076:\n int r0 = r1 + 1\n byte r1 = r2[r1]\n long r7 = (long) r1\n r1 = 42\n long r7 = r7 << r1\n long r3 = r3 ^ r7\n int r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r1 < 0) goto L_0x0089\n r1 = 4363953127296(0x3f80fe03f80, double:2.1560793202584E-311)\n goto L_0x003d\n L_0x0089:\n int r1 = r0 + 1\n byte r0 = r2[r0]\n long r7 = (long) r0\n r0 = 49\n long r7 = r7 << r0\n long r3 = r3 ^ r7\n int r0 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r0 >= 0) goto L_0x009c\n r5 = -558586000294016(0xfffe03f80fe03f80, double:NaN)\n goto L_0x002b\n L_0x009c:\n int r0 = r1 + 1\n byte r1 = r2[r1]\n long r7 = (long) r1\n r1 = 56\n long r7 = r7 << r1\n long r3 = r3 ^ r7\n r7 = 71499008037633920(0xfe03f80fe03f80, double:6.838959413692434E-304)\n long r3 = r3 ^ r7\n int r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r1 >= 0) goto L_0x00bd\n int r1 = r0 + 1\n byte r0 = r2[r0]\n long r7 = (long) r0\n int r0 = (r7 > r5 ? 1 : (r7 == r5 ? 0 : -1))\n if (r0 >= 0) goto L_0x00be\n L_0x00b8:\n long r0 = r9.readRawVarint64SlowPath()\n return r0\n L_0x00bd:\n r1 = r0\n L_0x00be:\n r2 = r3\n L_0x00bf:\n r9.bufferPos = r1\n return r2\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlin.reflect.jvm.internal.impl.protobuf.CodedInputStream.readRawVarint64():long\");\n }", "private int[] strToLongs(String s) { // convert string to array of longs, each containing 4 chars\n // note chars must be within ISO-8859-1 (with Unicode code-point < 256) to fit 4/long\n int length = s.length() / 4;\n int left = s.length() % 4;\n if (left > 0) {\n length++;\n }\n int[] longs = new int[length];\n int maxIndex = length;\n if (left > 0) {\n maxIndex--;\n }\n for (int i = 0; i < maxIndex; i++) {\n // note little-endian encoding - endianness is irrelevant as long as\n // it is the same in longsToStr()\n longs[i] = (int) s.charAt(i * 4) + ((int) s.charAt(i * 4 + 1) << 8) + ((int) s.charAt(i * 4 + 2) << 16)\n + ((int) s.charAt(i * 4 + 3) << 24);\n }\n if (left > 0) {\n // flag is ture,to process the left chars\n for (int j = 0; j < left; j++) {\n longs[maxIndex] += (int) (s.charAt(maxIndex * 4 + j) << (j * 8));\n }\n }\n\n return longs; // note running off the end of the string generates nulls since\n }", "public int read(long[] l) throws IOException {\n\t\treturn read(l, 0, l.length);\n\t}", "public static void main(String[] args) {\n// String before1 = \"27e80000\";\n// String before1 = \"715b00000\";\n String before1 = \"715b00000\";\n\n long after1 = Long.parseLong(before1, 16);\n System.out.println(after1);\n\n// String before2 = \"28d80000\";\n// String before2 = \"7c0000000\";\n// String before2 = \"71db80000\";\n String before2 = \"720580000\";\n long after2 = Long.parseLong(before2, 16);\n System.out.println(after2);\n\n long size = (after2 - after1) / 1024 / 1024;\n System.out.println(\"Size: \" + size + \"M\");\n }", "public long readAsLong(int nrBits) {\n return readAsLong(bitPos, nrBits, ByteOrder.BigEndian);\n }", "private synchronized long readLong(int len) throws IOException {\n\t\tread(bytes, len);\n\t\treturn readLong(bytes, 0, len);\n\t}", "private long convertByteValueToLong(byte[] b) {\n long m = 0;\n for (int i = 0; i < b.length; i++) {\n m = m * 256 + (b[i] < 0 ? (256 + (long) b[i]) : b[i]);\n }\n return m;\n }", "@Test(timeout = 4000)\n public void test116() throws Throwable {\n Range range0 = Range.ofLength(4294967244L);\n Long long0 = new Long(4294967244L);\n Range.CoordinateSystem range_CoordinateSystem0 = Range.CoordinateSystem.RESIDUE_BASED;\n range0.toString(range_CoordinateSystem0);\n Range.of(4294967244L);\n Range.CoordinateSystem.values();\n Range range1 = Range.parseRange(\"[ 1 .. 4294967244 ]/RB\");\n Range.CoordinateSystem range_CoordinateSystem1 = Range.CoordinateSystem.RESIDUE_BASED;\n Range range2 = Range.parseRange(\"[ 1 .. 4294967244 ]/RB\", range_CoordinateSystem1);\n range2.getEnd();\n range0.equals(range1);\n range2.getBegin();\n Range.CoordinateSystem range_CoordinateSystem2 = Range.CoordinateSystem.RESIDUE_BASED;\n // Undeclared exception!\n try { \n Range.parseRange(\"org.jcvi.jillion.core.Range$UnsignedByteStartLongLengthRange\", range_CoordinateSystem2);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // can not parse org.jcvi.jillion.core.Range$UnsignedByteStartLongLengthRange into a Range\n //\n verifyException(\"org.jcvi.jillion.core.Range\", e);\n }\n }", "private void formatUnsignedOctalString(final long value, byte[] buffer, final int offset, final int length) {\n int remaining = length;\n remaining--;\n if (value == 0) {\n buffer[offset + remaining--] = (byte) '0';\n } else {\n long val = value;\n for (; remaining >= 0 && val != 0; --remaining) {\n buffer[offset + remaining] = (byte) ((byte) '0' + (byte) (val & 7));\n val = val >>> 3;\n }\n if (val != 0) {\n throw new IllegalArgumentException(value + \"=\" + Long.toOctalString(value) + \" will not fit in octal number buffer of length \" + length);\n }\n }\n\n for (; remaining >= 0; --remaining) { // leading zeros\n buffer[offset + remaining] = (byte) '0';\n }\n }", "public static long parseLong(final CharSequence s)\n {\n // no string\n if (s == null)\n {\n throw new NumberFormatException(\"null\");\n }\n\n // determine length\n final int length = s.length();\n\n if (length == 0)\n {\n throw new NumberFormatException(\"length = 0\");\n }\n\n // that is safe, we already know that we are > 0\n final int digit = s.charAt(0);\n\n // turn the compare around to allow the compiler and cpu\n // to run the next code most of the time\n if (digit < '0' || digit > '9')\n {\n return Long.parseLong(s.toString());\n }\n\n long value = digit - DIGITOFFSET;\n\n for (int i = 1; i < length; i++)\n {\n final int d = s.charAt(i);\n if (d < '0' || d > '9')\n {\n throw new NumberFormatException(\"Not a long \" + s.toString());\n }\n\n value = ((value << 3) + (value << 1));\n value += (d - DIGITOFFSET);\n }\n\n return value;\n }", "public LongIteratorSpliterator(PrimitiveIterator.OfLong param1OfLong, int param1Int) {\n/* 1973 */ this.it = param1OfLong;\n/* 1974 */ this.est = Long.MAX_VALUE;\n/* 1975 */ this.characteristics = param1Int & 0xFFFFBFBF;\n/* */ }", "public static long packRangeInLong(int start, int end) {\r\n\t\treturn (((long) start) << 32) | end;\r\n\t}", "static long parseLong(String str) {\n\t\tint start = 0;\n\t\tint signBit = 1;\n\t\tlong strToNum = 0;\n\t\t// base condition\n\t\tif (str == null || str.length() == 0) {\n\t\t\tthrow new java.lang.NumberFormatException();\n\t\t}\n\t\tchar sign = str.charAt(0);\n\t\tif (sign == '-') {\n\t\t\tsignBit = -1;\n\t\t\tstart = 1;\n\t\t} else if (sign == '+') {\n\t\t\tstart = 1;\n\t\t}\n\n\t\tfor (int i = start; i < str.length(); i++) {\n\t\t\tif (str.charAt(i) >= '0' && str.charAt(i) <= '9') {\n\t\t\t\tstrToNum = strToNum * 10 + (str.charAt(i) - '0');\n\t\t\t} else {\n\t\t\t\tthrow new java.lang.NumberFormatException();\n\t\t\t}\n\t\t}\n\t\treturn strToNum * signBit;\n\t}", "protected AbstractLongSpliterator(long param1Long, int param1Int) {\n/* 1507 */ this.est = param1Long;\n/* 1508 */ this.characteristics = ((param1Int & 0x40) != 0) ? (param1Int | 0x4000) : param1Int;\n/* */ }", "public abstract void getLongImpl(String str, double d, Resolver<Double> resolver);", "private Integer extractByteFromLong(final Long longvalue, final Byte offset) {\n\t\tfinal Long mask = 0xFFL << ((long) offset * 0x8L);\n\t\tfinal Long tmpval = longvalue & mask;\n\t\tfinal Long ret = (tmpval >>> ((long) offset * 0x8L));\n\t\treturn ret.intValue();\n\t}", "public abstract long nextLong();", "@Override\n public long readSInt64() throws IOException {\n long value = decoder.readVarint64();\n return (value >>> 1) ^ -(value & 1);\n }", "public void testGetLongLE() {\n byte[] array = new byte[] {\n 0x78, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,\n -0x1, -0x1, -0x1, -0x1, -0x1, -0x1, -0x1, 0x7F\n };\n // end::noformat\n BytesReference ref = new BytesArray(array, 0, array.length);\n assertThat(ref.getLongLE(0), equalTo(888L));\n assertThat(ref.getLongLE(8), equalTo(Long.MAX_VALUE));\n Exception e = expectThrows(ArrayIndexOutOfBoundsException.class, () -> ref.getLongLE(9));\n assertThat(e.getMessage(), equalTo(\"Index 9 out of bounds for length 9\"));\n }", "public long[] read();", "public String getLong(long offset) throws IOException {\n\t\tdataBase.seek(offset);\n\t\tString[] array = dataBase.readLine().split(\"\\\\|\");\n\t\treturn array[8];\n\t}", "public static long getLong(String key, long i) {\n\t\tString token = getString(key);\n\t\tif (token == null) {\n\t\t\treturn i;\n\t\t}\n\t\treturn Long.parseLong(token);\n\t}", "@Test\n\tpublic void test_TCM__long_getLongValue() {\n final Attribute attribute = new Attribute(\"test\", \"\");\n long summand = 3;\n\t for(int i = 0; i < 60; i++) {\n summand <<= 1;\n final long value = Long.MIN_VALUE + summand;\n\n attribute.setValue(\"\" + value);\n \t\ttry {\n \t\t\tassertEquals(\"incorrect long conversion\", attribute.getLongValue(), value);\n \t\t} catch (final DataConversionException e) {\n \t\t\tfail(\"couldn't convert to long\");\n \t\t}\n }\n\n\t\t//test an invalid long\n attribute.setValue(\"100000000000000000000000000\");\n\t\ttry {\n attribute.getLongValue();\n\t\t\tfail(\"incorrect long conversion from non long\");\n\t\t} catch (final DataConversionException e) {\n\t\t\t// Do nothing\n\t\t} catch (Exception e) {\n\t\t\tfail(\"Unexpected exception \" + e.getClass());\n\t\t}\n\t}", "public long readRawVarint64SlowPath() throws IOException {\n long j = 0;\n for (int i = 0; i < 64; i += 7) {\n byte readRawByte = readRawByte();\n j |= ((long) (readRawByte & ByteCompanionObject.MAX_VALUE)) << i;\n if ((readRawByte & ByteCompanionObject.MIN_VALUE) == 0) {\n return j;\n }\n }\n throw InvalidProtocolBufferException.malformedVarint();\n }", "Astro leafLong(long data, SourceSpan optSpan);", "private static long getLongLittleEndian(byte[] buf, int offset) {\n return ((long) buf[offset + 7] << 56) | ((buf[offset + 6] & 0xffL) << 48)\n | ((buf[offset + 5] & 0xffL) << 40) | ((buf[offset + 4] & 0xffL) << 32)\n | ((buf[offset + 3] & 0xffL) << 24) | ((buf[offset + 2] & 0xffL) << 16)\n | ((buf[offset + 1] & 0xffL) << 8) | ((buf[offset] & 0xffL));\n }", "private static int getDigit(int position, int value, int radix) {\n return value / (int) Math.pow(radix,position) % radix;\n }", "public long peekLongCoord(long max) throws IOException {\n if (1 >= max) return 0;\n int bits = 1 + (int) Math.ceil(Math.log(max) / Math.log(2));\n Bits peek = this.peek(bits);\n double divisor = 1 << peek.bitLength;\n long value = (int) (peek.toLong() * ((double) max) / divisor);\n assert (0 <= value);\n assert (max >= value);\n return value;\n }", "@Test\n public void stringFromLong() {\n assertEquals(\n \"784dd132\",\n JdkHashTools.getStringFromLong(2018365746)\n );\n }", "private static long l(String s) {\n return Long.parseLong(s);\n }", "static void resta(){\n Scanner scanner = new Scanner(System.in);\n\n System.out.print(\"Ingrese el primer numero binario: \");\n String bin1 = scanner.nextLine();\n\n System.out.print(\"Ingrese el segundo numero binario: \");\n String bin2 = scanner.nextLine();\n\n int A = Integer.parseInt(bin1,2);\n int B = Integer.parseInt(bin2,2);\n\n Long suma = (long) A + (~B + 1);\n\n System.out.println(\"\\nLa resta es: \" + Long.toBinaryString(suma)); \n \n scanner.close();\n }", "public long readLongLE()\r\n/* 853: */ {\r\n/* 854:862 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 855:863 */ return super.readLongLE();\r\n/* 856: */ }", "@Override\r\n\tpublic long getLong(int pos) {\n\t\treturn buffer.getLong(pos);\r\n\t}", "void writeLongs(long[] l, int off, int len) throws IOException;", "@Test(timeout = 4000)\n public void test042() throws Throwable {\n Range range0 = Range.of((-32768L));\n long long0 = range0.getEnd();\n assertEquals((-32768L), long0);\n \n Long long1 = new Long((-32768L));\n boolean boolean0 = range0.equals(long1);\n assertFalse(boolean0);\n }", "private int[] hexStrToLongs(String s) { // convert string to array of longs, each containing 4 chars\n // note chars must be within ISO-8859-1 (with Unicode code-point < 256) to fit 4/long\n String[] ss = s.split(\"-\");\n int length = ss.length;\n int[] longs = new int[length];\n\n for (int i = 0; i < length; i++) {\n byte[] bytes = UnicodeFormatter.hexStrToBytes(ss[i]);\n for (int j = 0; j < bytes.length; j++) {\n longs[i] += UnicodeFormatter.byteToInt(bytes[j]) << (j * 8);\n }\n }\n\n return longs; // note running off the end of the string generates nulls since\n }", "public final Long _parseLong(JsonParser jVar, DeserializationContext gVar) throws IOException {\n int m = jVar.mo29329m();\n if (m == 3) {\n return (Long) _deserializeFromArray(jVar, gVar);\n }\n if (m == 11) {\n return (Long) _coerceNullToken(gVar, this._primitive);\n }\n switch (m) {\n case 6:\n String trim = jVar.mo29334t().trim();\n if (trim.length() == 0) {\n return (Long) _coerceEmptyString(gVar, this._primitive);\n }\n if (_hasTextualNull(trim)) {\n return (Long) _coerceTextualNull(gVar, this._primitive);\n }\n _verifyStringForScalarCoercion(gVar, trim);\n try {\n return Long.valueOf(NumberInput.m23786b(trim));\n } catch (IllegalArgumentException unused) {\n return (Long) gVar.mo31517b(this._valueClass, trim, \"not a valid Long value\", new Object[0]);\n }\n case 7:\n return Long.valueOf(jVar.mo29248D());\n case 8:\n if (!gVar.mo31509a(DeserializationFeature.ACCEPT_FLOAT_AS_INT)) {\n _failDoubleToIntCoercion(jVar, gVar, \"Long\");\n }\n return Long.valueOf(jVar.mo29297L());\n default:\n return (Long) gVar.mo31493a(this._valueClass, jVar);\n }\n }", "public void printLongBinary(long l) {\n\t}", "public static final long crc64Long(String in) {\r\n if (in == null || in.length() == 0) {\r\n return 0;\r\n }\r\n return crc64Long(getBytes(in));\r\n }", "private static long getMaskAsLong(int nrBits) {\n return 0xFFFFFFFFFFFFFFFFL >>> (64 - nrBits);\n }", "public static void radixsort(int[] data) {\n MyLinkedList<Integer>[] buckets = new MyLinkedList[20];\n for (int i = 0; i < 20; i++) {\n buckets[i] = new MyLinkedList<Integer>();\n }\n MyLinkedList<Integer> numbers = new MyLinkedList<Integer>(); //Stores data\n //System.out.println(numbers);\n\n //Finding length of longest number\n int max = Math.abs(data[0]);\n int length = 1; //Stores num of digits of longest number\n for (int i = 1; i < data.length; i++) {\n if (Math.abs(data[i]) > max) {\n max = Math.abs(data[i]);\n }\n }\n //System.out.println(max);\n while (max / 10 > 0) {\n max = max / 10;\n length++;\n }\n //System.out.println(length);\n\n //Sorting by ones digit and converting array to linked list\n for (int num : data) {\n //Placing number in bucket\n if (num < 0) {\n buckets[9 - (Math.abs(num) % 10)].add(num);\n } else {\n buckets[10 + (Math.abs(num) % 10)].add(num);\n }\n }\n //Combines all the buckets to form an ordered data\n for (MyLinkedList<Integer> bucket : buckets) {\n //System.out.println(bucket); //Debugging\n numbers.extend(bucket);\n bucket.clear();\n }\n int currentDigit = 2; //Stores digit that will be sorted next\n //System.out.println(numbers);\n\n //Sorting using rest of the digits starting from tens place\n while (currentDigit <= length) {\n while (numbers.hasNext()) {\n int num = numbers.next();\n //Separates digit being considered\n int digit = (Math.abs(num) % (int)Math.pow(10, currentDigit)) / (int)Math.pow(10, currentDigit - 1);\n if (num < 0) {\n buckets[9 - digit].add(num);\n } else {\n buckets[10 + digit].add(num);\n }\n }\n numbers.clear();\n for (MyLinkedList<Integer> bucket : buckets) {\n //System.out.println(bucket); //\n numbers.extend(bucket);\n bucket.clear();\n }\n currentDigit++;\n //System.out.println(numbers);\n }\n\n //Copy numbers back to data\n int index = 0;\n numbers.reset();\n while (numbers.hasNext()) {\n data[index] = numbers.next();\n index++;\n }\n }", "private void serializeLong(final long number, final StringBuffer buffer)\n {\n if ((number >= Integer.MIN_VALUE) && (number <= Integer.MAX_VALUE))\n {\n buffer.append(\"i:\");\n }\n else\n {\n buffer.append(\"d:\");\n }\n buffer.append(number);\n buffer.append(';');\n }", "static boolean overflowInParse(long current, int digit, int radix) {\n if (current >= 0) {\n if (current < maxValueDivs[radix]) {\n return false;\n }\n if (current > maxValueDivs[radix]) {\n return true;\n }\n // current == maxValueDivs[radix]\n return (digit > maxValueMods[radix]);\n }\n\n // current < 0: high bit is set\n return true;\n }", "public long readLong()\r\n/* 435: */ {\r\n/* 436:448 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 437:449 */ return super.readLong();\r\n/* 438: */ }", "@Override\n public boolean validate(long number) {\n List<Integer> digits = split(number);\n int multiplier = 1;\n int sum = 0;\n for (int digit : Lists.reverse(digits)) {\n int product = multiplier * digit;\n sum += product / BASE + product % BASE;\n multiplier = 3 - multiplier;\n }\n return sum % BASE == 0;\n }", "public static long getNorm32FromSurrogatePair(long paramLong, char paramChar)\n/* */ {\n/* 365 */ return \n/* 366 */ 0xFFFFFFFF & NormTrieImpl.normTrie.getTrailValue((int)paramLong, paramChar);\n/* */ }", "public static int decodeHighBits(long l) {\n\n long key = l & 0xFFFFFFFF00000000l;\n\n key >>= 32;\n\n return (int) key;\n\n }", "public static long toInt64(byte[] value) {\r\n\t\treturn toInt16(value, 0);\r\n\t}", "public abstract int read_ulong();", "@Override\n public long nextLong() {\n return super.nextLong();\n }", "public Snippet visit(CoercionToLongExpression n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t _ret = n.expression.accept(this, argu);\n\t _ret.returnTemp = \"(\" + \"long\" + \")\" + _ret.returnTemp;\n\t\t\t_ret.expType = new X10Long();\n\t return _ret;\n\t }", "public ByteBuf writeLongLE(long value)\r\n/* 877: */ {\r\n/* 878:886 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 879:887 */ return super.writeLongLE(value);\r\n/* 880: */ }" ]
[ "0.60861915", "0.60515165", "0.60080695", "0.5993209", "0.59555954", "0.5920542", "0.5874789", "0.5871713", "0.5850817", "0.58098066", "0.5801401", "0.57998", "0.57502794", "0.5749174", "0.5700578", "0.56711626", "0.56452155", "0.5604838", "0.5600712", "0.55991226", "0.55491406", "0.5539752", "0.55354816", "0.5514632", "0.5501801", "0.54891545", "0.5484034", "0.54779893", "0.54497474", "0.54348737", "0.54232895", "0.5419691", "0.5413488", "0.5409997", "0.5396848", "0.53935176", "0.53906274", "0.53785104", "0.5373195", "0.53676134", "0.5363201", "0.53566176", "0.53272116", "0.53204566", "0.5305976", "0.52932113", "0.5289801", "0.52796906", "0.5273937", "0.5266889", "0.52621055", "0.52620935", "0.525792", "0.5230176", "0.5220616", "0.5201204", "0.5195747", "0.5194154", "0.51924515", "0.5168057", "0.5165655", "0.5163519", "0.51554894", "0.5141393", "0.5134201", "0.51293063", "0.5128966", "0.5123309", "0.51204294", "0.51075613", "0.50989956", "0.50980175", "0.50857896", "0.50854397", "0.5081438", "0.5080667", "0.5073217", "0.5066781", "0.505335", "0.50490737", "0.5043422", "0.50420624", "0.50276864", "0.50249165", "0.50211674", "0.5020171", "0.50187486", "0.50185347", "0.5017319", "0.5015867", "0.50071776", "0.50057507", "0.49948484", "0.49730358", "0.49721494", "0.49715894", "0.49579346", "0.49492827", "0.4944713", "0.49383464" ]
0.78366256
0
Creates a new scanner There is also a java.io.InputStream version of this constructor.
public Scanner(java.io.Reader in) { this.zzReader = in; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Scanner(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public Scanner(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public Scanner(java.io.InputStream in) {\r\n this(new java.io.InputStreamReader(in));\r\n }", "public PasitoScanner(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public Scanner(InputStream inStream)\n {\n in = new BufferedReader(new InputStreamReader(inStream));\n eof = false;\n getNextChar();\n }", "public Scanner(String source) {\n // The source code read in from stdin is stored here as a char array\n // TODO: if source is empty in Sc.java do something??\n this.source = source.toCharArray();\n this.position = 0;\n this.size = source.length();\n this.comments = false;\n this.depth = 0;\n this.called = false;\n }", "public void setScan(InputStream inStream){\t\t\n\t\tthis.scan = new Scanner (inStream);\t\t\t\t\t\n\t}", "public SqlScanner (InputStream input)\n {\n mInputStream = new BufferedInputStream(input);\n }", "public Parser(Scanner scanner) {\n this.scanner = scanner;\n scan();\n }", "public Scanner(java.io.Reader in) {\r\n this.zzReader = in;\r\n }", "public MyInput() {\r\n\t\tthis.scanner = new Scanner(System.in);\r\n\t}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public void setScan(ByteArrayInputStream inStream){\t\t\n\t\tthis.programIn= (ByteArrayInputStream) inStream;\t\t\n\t\tthis.scan = new Scanner (programIn);\t\t\n\t}", "public Scanner(String inString)\n {\n in = new BufferedReader(new StringReader(inString));\n eof = false;\n getNextChar();\n }", "private ConsoleScanner() {}", "public CoolParser(java_cup.runtime.Scanner s) {super(s);}", "Lexico(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public PasitoScanner(java.io.Reader in) {\n this.yy_reader = in;\n }", "public parser(Scanner s) {super(s);}", "public MyInputStream()\n {\n in = new BufferedReader\n (new InputStreamReader(System.in));\n }", "public iCimpilir(java.io.InputStream stream, String encoding) {\n if (jj_initialized_once) {\n System.out.println(\"ERROR: Second call to constructor of static parser. \");\n System.out.println(\" You must either use ReInit() or set the JavaCC option STATIC to false\");\n System.out.println(\" during parser generation.\");\n throw new Error();\n }\n jj_initialized_once = true;\n try {\n jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1);\n } catch (java.io.UnsupportedEncodingException e) {\n throw new RuntimeException(e);\n }\n token_source = new iCimpilirTokenManager(jj_input_stream);\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 18; i++) {\n jj_la1[i] = -1;\n }\n }", "public _RestFlexLexer(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public static void init()throws IOException{if(fileIO){f=new FastScanner(\"\");}else{f=new FastScanner(System.in);}}", "public RawReader(final InputStream is) throws NullPointerException {\n\t\tthis(is, DEFAULT_BUFFER_SIZE);\n\t}", "public StreamReader(InputStream input) throws IOException {\r\n\t\tthis.setInput(input);\r\n\t}", "public InputReader(File file){\n try {\n inputStream = new Scanner(file);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n instantiate();\n assert(invariant());\n }", "public In(){\n\t\tscanner=new Scanner(new BufferedInputStream(System.in),CHARSET_NAME);\n\t\tscanner.useLocale(LOCALE);\n\t}", "public StreamReader() {}", "public Sintactico(java_cup.runtime.Scanner s) {super(s);}", "public FastaReader(InputStream ins) throws IOException{\n\t\tsuper(ins);\n\t}", "public InputReader() {\n reader = new Scanner(System.in);\n }", "Object create(InputStream in) throws IOException, SAXException, ParserConfigurationException;", "public Scanner createScanner(File file) {\n Scanner scanner;\n try {\n scanner = new Scanner(file);\n\n } catch (FileNotFoundException e) {\n scanner = null;\n }\n return scanner;\n }", "public Parser(Scanner fileStream) {\n // Save fileStream for later\n this.fileStream = fileStream;\n // Set the delimiter so that actual instructions are read, instead of the whitespace\n this.fileStream.useDelimiter(Pattern.compile(whitespace, Pattern.MULTILINE));\n }", "public A4Parser(java_cup.runtime.Scanner s) {super(s);}", "public A4Parser(java_cup.runtime.Scanner s) {super(s);}", "public MyInputStream(InputStream in) {\n super(in);\n this.in = in;\n }", "public Parser(java.io.InputStream stream, String encoding) {\r\n try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }\r\n token_source = new ParserTokenManager(jj_input_stream);\r\n token = new Token();\r\n jj_ntk = -1;\r\n }", "public TarInputStream(Stream inputStream)\n\t{\n\t\tthis(inputStream, TarBuffer.DefaultBlockFactor);\n\t}", "public MetadataScanner()\n {\n this(\"\");\n }", "public MonitorableInputStream(InputStream aIn) throws IOException {\n this(aIn, false);\n }", "public Scanner(String program) {\n\t\tthis.program=program;\n\t\tpos=0;\n\t\ttoken=null;\n\t\tinitWhitespace(whitespace);\n\t\tinitDigits(digits);\n\t\tinitLetters(letters);\n\t\tinitLegits(legits);\n\t\tinitKeywords(keywords);\n\t\tinitOperators(operators);\n }", "public CompParser(java_cup.runtime.Scanner s) {super(s);}", "public Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "public Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "public ClassParser(final InputStream inputStream, final String file_name) {\n this.file_name = file_name;\n fileOwned = false;\n\n if (inputStream instanceof DataInputStream) {\n this.dataInputStream = (DataInputStream) inputStream;\n } else {\n this.dataInputStream = new DataInputStream(new BufferedInputStream(inputStream, BUF_SIZE));\n }\n }", "public parserCapas(java_cup.runtime.Scanner s) {super(s);}", "public ContentScanner(\n IContentContext contentContext\n )\n {this(contentContext.getContents());}", "public static void init() {\n\t\tscanner = new Scanner(System.in);\n\t\treturn;\n\t}", "_JavaCCLexer(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public Ui() {\n this.scanner = new Scanner(System.in);\n }", "public Ui() {\n this.scanner = new Scanner(System.in);\n }", "public static synchronized void Initialize() throws FileNotFoundException, UnsupportedEncodingException {\n fileReaderInit(fLocation);\n \n pbr = new PushbackReader(reader, 5);\n \n \n File currentDirFile = new File(\".\");\n String helper = currentDirFile.getAbsolutePath();\n outLocation = \"src/parser_resources/\" + outFile;\n /*scan.nextLine();*/\n \n File f = new File(outLocation);\n\n if (f.exists() && !f.isDirectory()) {\n fWriter = new PrintWriter(outLocation, \"Ascii\");\n System.out.println(\"\\nOutput file initialized for Scanner\");\n System.out.println(\"Scanning output to: \" + helper + \"/\" + outLocation);\n } else {\n System.out.println(\"Error: output file missing please \\\"touch\"\n + \"scanner.out\\\" in parser_resources directory.\");\n }\n }", "public Robot(java.io.InputStream stream, String encoding) {\n try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }\n token_source = new RobotTokenManager(jj_input_stream);\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 0; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }", "public Scanner( String filename ) throws IOException\n {\n sourceFile = new PushbackInputStream(new FileInputStream(filename));\n \n nextToken = null;\n }", "PTB2TextLexer(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public Programa(java.io.InputStream stream, String encoding) {\n if (jj_initialized_once) {\n System.out.println(\"ERROR: Second call to constructor of static parser. \");\n System.out.println(\" You must either use ReInit() or set the JavaCC option STATIC to false\");\n System.out.println(\" during parser generation.\");\n throw new Error();\n }\n jj_initialized_once = true;\n try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }\n token_source = new ProgramaTokenManager(jj_input_stream);\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 2; i++) jj_la1[i] = -1;\n }", "TclInputStream(InputStream inInput) {\n input = inInput;\n }", "public SparrowParser(java.io.InputStream stream, String encoding) {\n if (jj_initialized_once) {\n System.out.println(\"ERROR: Second call to constructor of static parser. \");\n System.out.println(\" You must either use ReInit() or set the JavaCC option STATIC to false\");\n System.out.println(\" during parser generation.\");\n throw new Error();\n }\n jj_initialized_once = true;\n try { jj_input_stream = new JavaCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }\n token_source = new SparrowParserTokenManager(jj_input_stream);\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 3; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }", "Yylex(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "public MJParser(java_cup.runtime.Scanner s) {super(s);}", "public LexicalScanner() throws IOException {\n this.codesMap = new CodesMap();\n this.keyWords = loadKeywords();\n this.specialCharacters = loadSpecialCharacters();\n this.identifierAutomata = new FA(IDENTIFIER_AUTOMATA_FILE);\n this.constantAutomata = new FA(CONSTANT_AUTOMATA_FILE);\n }", "public PCLParser(java_cup.runtime.Scanner s) {super(s);}", "public Scan(ObjectInputStream ois) throws IOException, ClassNotFoundException\n\t{\n\t\t_type = TYPE;\n\t\tdeserialize(ois);\n\t}", "public JsonParser createParser(InputStream in)\n/* */ throws IOException, JsonParseException\n/* */ {\n/* 809 */ IOContext ctxt = _createContext(in, false);\n/* 810 */ return _createParser(_decorate(in, ctxt), ctxt);\n/* */ }", "public FractalParser(java_cup.runtime.Scanner s) {super(s);}", "private static Scanner createScanner(File inputFile)\n\t{\n\t\t/// create Scanner to read from file and also check if the file exists\n\t Scanner in = null; // closes before the end of readDataFile\n\t try \n\t {\n\t \tin=new Scanner(inputFile);\n\t }\n\t catch(FileNotFoundException e) \n\t {\n\t \tSystem.out.println(\"The file \"+ inputFile.getName() + \" can not be found!\");\n\t \tSystem.exit(0);\n\t }\n\t \n\t return in;\n\t}", "public static void setInputScanner(InputScanner scanner){\n inputScanner = scanner;\n }", "public ContentScanner getScanner(\n )\n {return scanner;}", "public ResourceInputStream(InputStream in) {\n\t\t\tthis(in, System.currentTimeMillis());\n\t\t}", "public AstParser(java.io.InputStream stream, String encoding) {\n try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }\n token_source = new AstParserTokenManager(jj_input_stream);\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 9; i++) jj_la1[i] = -1;\n }", "private Scanner getScanner(String fixedString) throws IOException {\n\t\tURLConnection connection = new URL(SUPERVALU_URL_START +fixedString).openConnection();\n\t\treturn new Scanner(connection.getInputStream());\n\t}", "public static void setScanner(Scanner s) {\n scanner = s;\n }", "protected StreamParser()\n {\n }", "public Asintactico(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public ProgramParser(java.io.InputStream stream, String encoding) {\n try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }\n token_source = new ProgramParserTokenManager(jj_input_stream);\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 14; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }", "public MiniLexer(java.io.InputStream in, Handler handler) {\r\n this(new java.io.InputStreamReader(in), handler);\r\n }", "protected Scanner getTagScanner() {\n \tif(scanner == null)\n \t scanner = new Scanner();\n \treturn scanner;\n }", "public AnalizadorSintactico(java_cup.runtime.Scanner s) {super(s);}", "public PHP5ColoringLexer(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "DerParser(InputStream in) {\n\t\t\tthis.in = in;\n\t\t}", "public CompressionInputStream(InputStream in) {\n super(in);\n }", "static InputScanner getInputScanner() {\n return inputScanner;\n }", "public JavaTokenMaker(java.io.InputStream in) {\n\t\tthis(new java.io.InputStreamReader(in));\n\t}", "public RawReader(final InputStream is, final int bufferSize) throws NullPointerException, IllegalArgumentException {\n\t\tif (is == null) {\n\t\t\tthrow new NullPointerException(\"Input stream can't be null\"); \n\t\t}\n\t\telse if (bufferSize <= 0) {\n\t\t\tthrow new IllegalArgumentException(\"Buffer size [\"+bufferSize+\"] must be greater than 0\"); \n\t\t}\n\t\telse {\n\t\t\tthis.is = is;\n\t\t\tthis.buffer = new byte[bufferSize];\n\t\t}\n\t}" ]
[ "0.77373666", "0.77373666", "0.772869", "0.76379687", "0.72894275", "0.6739741", "0.6720944", "0.66879517", "0.66332436", "0.66215414", "0.65963525", "0.6577494", "0.6577494", "0.6577494", "0.6577494", "0.6577494", "0.6577494", "0.651767", "0.651767", "0.651767", "0.651767", "0.651767", "0.651767", "0.651767", "0.651767", "0.64560604", "0.6450969", "0.6449399", "0.63826084", "0.6305478", "0.6304759", "0.6257031", "0.6194736", "0.61842287", "0.61734164", "0.61595005", "0.60967255", "0.6092317", "0.6082116", "0.6064979", "0.60591024", "0.6057861", "0.6031311", "0.60306257", "0.6026235", "0.5994602", "0.5992294", "0.5984723", "0.5984723", "0.597785", "0.5976228", "0.59638053", "0.5949273", "0.5938679", "0.5901004", "0.5893238", "0.58779186", "0.58779186", "0.5872834", "0.58690345", "0.58610106", "0.5859599", "0.58561826", "0.5854018", "0.5854018", "0.585054", "0.58482325", "0.5842093", "0.58355194", "0.5833451", "0.5829097", "0.5819979", "0.5819115", "0.58136797", "0.5810145", "0.57988876", "0.5798263", "0.57908523", "0.5787727", "0.578734", "0.5779906", "0.5774647", "0.576734", "0.5744102", "0.57294846", "0.5729461", "0.57220656", "0.5719275", "0.5716062", "0.5681235", "0.5672283", "0.5671664", "0.5670322", "0.56587625", "0.565587", "0.5655681", "0.5642156", "0.5640987", "0.5639855" ]
0.66597456
9
Creates a new scanner. There is also java.io.Reader version of this constructor.
public Scanner(java.io.InputStream in) { this(new java.io.InputStreamReader(in)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Scanner(java.io.InputStream in) {\r\n this(new java.io.InputStreamReader(in));\r\n }", "public Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "public Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "public Scanner(java.io.Reader in) {\r\n this.zzReader = in;\r\n }", "public PasitoScanner(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public Parser(Scanner scanner) {\n this.scanner = scanner;\n scan();\n }", "public Scanner(InputStream inStream)\n {\n in = new BufferedReader(new InputStreamReader(inStream));\n eof = false;\n getNextChar();\n }", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(java_cup.runtime.Scanner s) {super(s);}", "public Scanner(String source) {\n // The source code read in from stdin is stored here as a char array\n // TODO: if source is empty in Sc.java do something??\n this.source = source.toCharArray();\n this.position = 0;\n this.size = source.length();\n this.comments = false;\n this.depth = 0;\n this.called = false;\n }", "public PasitoScanner(java.io.Reader in) {\n this.yy_reader = in;\n }", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public Scanner(String inString)\n {\n in = new BufferedReader(new StringReader(inString));\n eof = false;\n getNextChar();\n }", "public CoolParser(java_cup.runtime.Scanner s) {super(s);}", "private ConsoleScanner() {}", "public parser(Scanner s) {super(s);}", "public InputReader() {\n reader = new Scanner(System.in);\n }", "public Scanner createScanner(File file) {\n Scanner scanner;\n try {\n scanner = new Scanner(file);\n\n } catch (FileNotFoundException e) {\n scanner = null;\n }\n return scanner;\n }", "public CompParser(java_cup.runtime.Scanner s) {super(s);}", "public Scanner(Reader reader, String confFile) throws Exception{\n\t\tsourceReader = new BufferedReader(reader);\n\t\ttry{\n\t\t\tinit(confFile);\n\t\t}catch(Exception e){\n\t\t\tString msj = \"Error during initializacion of scanner - init()\";\n\t\t\tthrow new Exception(msj,e);\n\t\t}\n\t}", "public Lexer(java.io.Reader in) {\r\n this.zzReader = in;\r\n }", "public MyInput() {\r\n\t\tthis.scanner = new Scanner(System.in);\r\n\t}", "public A4Parser(java_cup.runtime.Scanner s) {super(s);}", "public A4Parser(java_cup.runtime.Scanner s) {super(s);}", "public Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "public Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "public MetadataScanner()\n {\n this(\"\");\n }", "public Scanner( String filename ) throws IOException\n {\n sourceFile = new PushbackInputStream(new FileInputStream(filename));\n \n nextToken = null;\n }", "public MJParser(java_cup.runtime.Scanner s) {super(s);}", "public Parser(Scanner fileStream) {\n // Save fileStream for later\n this.fileStream = fileStream;\n // Set the delimiter so that actual instructions are read, instead of the whitespace\n this.fileStream.useDelimiter(Pattern.compile(whitespace, Pattern.MULTILINE));\n }", "public InputReader(File file){\n try {\n inputStream = new Scanner(file);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n instantiate();\n assert(invariant());\n }", "public parserCapas(java_cup.runtime.Scanner s) {super(s);}", "Lexer(java.io.Reader in) {\n this.zzReader = in;\n }", "Lexer(java.io.Reader in) {\n this.zzReader = in;\n }", "public Scanner(String program) {\n\t\tthis.program=program;\n\t\tpos=0;\n\t\ttoken=null;\n\t\tinitWhitespace(whitespace);\n\t\tinitDigits(digits);\n\t\tinitLetters(letters);\n\t\tinitLegits(legits);\n\t\tinitKeywords(keywords);\n\t\tinitOperators(operators);\n }", "public Reader(){\n\n\t}", "RmsLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "public PCLParser(java_cup.runtime.Scanner s) {super(s);}", "public TokenScanner(final File f) throws FileNotFoundException {\n\t\tfileScanner = new Scanner(file = f);\n\t}", "protected Scanner getTagScanner() {\n \tif(scanner == null)\n \t scanner = new Scanner();\n \treturn scanner;\n }", "public StreamReader() {}", "public LexicalScanner() throws IOException {\n this.codesMap = new CodesMap();\n this.keyWords = loadKeywords();\n this.specialCharacters = loadSpecialCharacters();\n this.identifierAutomata = new FA(IDENTIFIER_AUTOMATA_FILE);\n this.constantAutomata = new FA(CONSTANT_AUTOMATA_FILE);\n }", "public Parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public Parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public Parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public Parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public Parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public Parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public Parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public MiniLexer(java.io.Reader in, Handler handler) {\r\n super(handler);\n this.zzReader = in;\r\n }", "public SqlScanner (InputStream input)\n {\n mInputStream = new BufferedInputStream(input);\n }", "private static Scanner createScanner(File inputFile)\n\t{\n\t\t/// create Scanner to read from file and also check if the file exists\n\t Scanner in = null; // closes before the end of readDataFile\n\t try \n\t {\n\t \tin=new Scanner(inputFile);\n\t }\n\t catch(FileNotFoundException e) \n\t {\n\t \tSystem.out.println(\"The file \"+ inputFile.getName() + \" can not be found!\");\n\t \tSystem.exit(0);\n\t }\n\t \n\t return in;\n\t}", "public FractalParser(java_cup.runtime.Scanner s) {super(s);}", "public Sintactico(java_cup.runtime.Scanner s) {super(s);}", "Lexico(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public static void init()throws IOException{if(fileIO){f=new FastScanner(\"\");}else{f=new FastScanner(System.in);}}", "public static synchronized void Initialize() throws FileNotFoundException, UnsupportedEncodingException {\n fileReaderInit(fLocation);\n \n pbr = new PushbackReader(reader, 5);\n \n \n File currentDirFile = new File(\".\");\n String helper = currentDirFile.getAbsolutePath();\n outLocation = \"src/parser_resources/\" + outFile;\n /*scan.nextLine();*/\n \n File f = new File(outLocation);\n\n if (f.exists() && !f.isDirectory()) {\n fWriter = new PrintWriter(outLocation, \"Ascii\");\n System.out.println(\"\\nOutput file initialized for Scanner\");\n System.out.println(\"Scanning output to: \" + helper + \"/\" + outLocation);\n } else {\n System.out.println(\"Error: output file missing please \\\"touch\"\n + \"scanner.out\\\" in parser_resources directory.\");\n }\n }", "public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public parser(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}", "public FastaReader(InputStream ins) throws IOException{\n\t\tsuper(ins);\n\t}", "PTB2TextLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "public _RestFlexLexer(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "public AnalizadorLexico2(java.io.Reader in) {\n this.zzReader = in;\n }", "public JavaParser(Reader r) {\n reader = r;\n classLines = new ArrayList();\n methodLines = new ArrayList();\n }", "public static Scanner getScanner(File file) {\n Scanner scanner = null;\n try {\n scanner = new Scanner(file);\n } catch (IOException e) {\n System.err.println(\"input error\");\n }\n return scanner;\n }", "public BStarTokenMaker(java.io.Reader in) {\n this.zzReader = in;\n }", "public In(){\n\t\tscanner=new Scanner(new BufferedInputStream(System.in),CHARSET_NAME);\n\t\tscanner.useLocale(LOCALE);\n\t}", "public void setScan(InputStream inStream){\t\t\n\t\tthis.scan = new Scanner (inStream);\t\t\t\t\t\n\t}", "public ContentScanner getScanner(\n )\n {return scanner;}", "public static QRScanner newInstance() {\n QRScanner fragment = new QRScanner();\n return fragment;\n }", "public parser(Scanner s, SymbolFactory sf) {super(s,sf);}", "public ContentScanner(\n IContentContext contentContext\n )\n {this(contentContext.getContents());}", "public MiniLexer(java.io.InputStream in, Handler handler) {\r\n this(new java.io.InputStreamReader(in), handler);\r\n }", "public static void init() {\n\t\tscanner = new Scanner(System.in);\n\t\treturn;\n\t}", "public MsxReader ( ) {\r\n\t\tsuper();\r\n\t}", "public reglas(java.io.Reader in) {\n this.zzReader = in;\n }", "HostsLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "_TurtleLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "public RawReader(final InputStream is) throws NullPointerException {\n\t\tthis(is, DEFAULT_BUFFER_SIZE);\n\t}", "public XPathParser(java_cup.runtime.Scanner s) {super(s);}" ]
[ "0.751732", "0.72359514", "0.72359514", "0.7193673", "0.71656513", "0.70967746", "0.70014113", "0.6983281", "0.6983281", "0.6983281", "0.6983281", "0.6983281", "0.6983281", "0.6961979", "0.6901432", "0.68741465", "0.68741465", "0.68741465", "0.68741465", "0.68741465", "0.68741465", "0.68741465", "0.68741465", "0.67641366", "0.67288357", "0.6712762", "0.66176647", "0.6503776", "0.6423274", "0.6344921", "0.63351864", "0.63183016", "0.62797916", "0.626913", "0.626913", "0.62615377", "0.62615377", "0.6249759", "0.624024", "0.62380475", "0.62140775", "0.6205213", "0.6198157", "0.6187029", "0.61719066", "0.61719066", "0.61559695", "0.6078531", "0.6077243", "0.60746723", "0.6064896", "0.6057424", "0.60464716", "0.6009143", "0.60040325", "0.60040325", "0.60040325", "0.60040325", "0.60040325", "0.60040325", "0.60040325", "0.59788924", "0.59603465", "0.5951583", "0.5949873", "0.59341514", "0.59112394", "0.5894101", "0.5892023", "0.5852388", "0.5852388", "0.5852388", "0.5852388", "0.5852388", "0.5852388", "0.5852388", "0.5852388", "0.5852388", "0.5841997", "0.5841745", "0.5834235", "0.58326536", "0.5829525", "0.58234954", "0.5821421", "0.58144975", "0.5809716", "0.5797221", "0.57957286", "0.5779287", "0.57640743", "0.57640153", "0.57498586", "0.5745918", "0.5745341", "0.5742185", "0.5740547", "0.5726465", "0.57201433" ]
0.74825877
2
Unpacks the compressed character translation table.
private static char [] zzUnpackCMap(String packed) { char [] map = new char[0x10000]; int i = 0; /* index in packed string */ int j = 0; /* index in unpacked array */ while (i < 2266) { int count = packed.charAt(i++); char value = packed.charAt(i++); do map[j++] = value; while (--count > 0); } return map; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static int yy_unpack(String packed, int offset, int [] trans) {\n int i = 0; /* index in packed string */\n int j = offset; /* index in unpacked array */\n int l = packed.length();\n while (i < l) {\n int count = packed.charAt(i++);\n int value = packed.charAt(i++);\n value--;\n do trans[j++] = value; while (--count > 0);\n }\n return j;\n }", "private static int yy_unpack(String packed, int offset, int [] trans) {\n int i = 0; /* index in packed string */\n int j = offset; /* index in unpacked array */\n int l = packed.length();\n while (i < l) {\n int count = packed.charAt(i++);\n int value = packed.charAt(i++);\n value--;\n do trans[j++] = value; while (--count > 0);\n }\n return j;\n }", "private static char [] zzUnpackCMap(String packed) {\r\n char [] map = new char[0x10000];\r\n int i = 0; /* index in packed string */\r\n int j = 0; /* index in unpacked array */\r\n while (i < 2224) {\r\n int count = packed.charAt(i++);\r\n char value = packed.charAt(i++);\r\n do map[j++] = value; while (--count > 0);\r\n }\r\n return map;\r\n }", "private static char [] zzUnpackCMap(String packed) {\r\n char [] map = new char[0x110000];\r\n int i = 0; /* index in packed string */\r\n int j = 0; /* index in unpacked array */\r\n while (i < 172) {\r\n int count = packed.charAt(i++);\r\n char value = packed.charAt(i++);\r\n do map[j++] = value; while (--count > 0);\r\n }\r\n return map;\r\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 128) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 182) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\r\n char [] map = new char[0x10000];\r\n int i = 0; /* index in packed string */\r\n int j = 0; /* index in unpacked array */\r\n while (i < 166) {\r\n int count = packed.charAt(i++);\r\n char value = packed.charAt(i++);\r\n do map[j++] = value; while (--count > 0);\r\n }\r\n return map;\r\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 1182) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 228) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 228) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char[] zzUnpackCMap(String packed) {\n char[] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 2808) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 178) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 2928) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\r\n char [] map = new char[0x10000];\r\n int i = 0; /* index in packed string */\r\n int j = 0; /* index in unpacked array */\r\n while (i < 152) {\r\n int count = packed.charAt(i++);\r\n char value = packed.charAt(i++);\r\n do map[j++] = value; while (--count > 0);\r\n }\r\n return map;\r\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 210) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 2106) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 2820) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 2244) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 1348) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 2894) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 164) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 166) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 86) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 366) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 258) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n int size = 0;\n for (int i = 0, length = packed.length(); i < length; i += 2) {\n size += packed.charAt(i);\n }\n char[] map = new char[size];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < packed.length()) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n int size = 0;\n for (int i = 0, length = packed.length(); i < length; i += 2) {\n size += packed.charAt(i);\n }\n char[] map = new char[size];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < packed.length()) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n int size = 0;\n for (int i = 0, length = packed.length(); i < length; i += 2) {\n size += packed.charAt(i);\n }\n char[] map = new char[size];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < packed.length()) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n int size = 0;\n for (int i = 0, length = packed.length(); i < length; i += 2) {\n size += packed.charAt(i);\n }\n char[] map = new char[size];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < packed.length()) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n int size = 0;\n for (int i = 0, length = packed.length(); i < length; i += 2) {\n size += packed.charAt(i);\n }\n char[] map = new char[size];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < packed.length()) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n int size = 0;\n for (int i = 0, length = packed.length(); i < length; i += 2) {\n size += packed.charAt(i);\n }\n char[] map = new char[size];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < packed.length()) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n int size = 0;\n for (int i = 0, length = packed.length(); i < length; i += 2) {\n size += packed.charAt(i);\n }\n char[] map = new char[size];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < packed.length()) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n int size = 0;\n for (int i = 0, length = packed.length(); i < length; i += 2) {\n size += packed.charAt(i);\n }\n char[] map = new char[size];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < packed.length()) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n int size = 0;\n for (int i = 0, length = packed.length(); i < length; i += 2) {\n size += packed.charAt(i);\n }\n char[] map = new char[size];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < packed.length()) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 174) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 174) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x110000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 2480) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 1690) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static int [] yy_unpack() {\n int [] trans = new int[8174];\n int offset = 0;\n offset = yy_unpack(yy_packed0, offset, trans);\n return trans;\n }", "private static char [] zzUnpackCMap(String packed) {\n\t\tchar [] map = new char[0x10000];\n\t\tint i = 0; /* index in packed string */\n\t\tint j = 0; /* index in unpacked array */\n\t\twhile (i < 2312) {\n\t\t\tint count = packed.charAt(i++);\n\t\t\tchar value = packed.charAt(i++);\n\t\t\tdo map[j++] = value; while (--count > 0);\n\t\t}\n\t\treturn map;\n\t}", "private static char [] zzUnpackCMap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 1774) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private static int [] yy_unpack() {\n int [] trans = new int[5476];\n int offset = 0;\n offset = yy_unpack(yy_packed0, offset, trans);\n return trans;\n }", "private static char [] yy_unpack_cmap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 1742) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "private void unpack() {\n if (!isInPackedState)\n return;\n try {\n ByteArrayInputStream bs = new ByteArrayInputStream(data);\n DataInputStream dis = new DataInputStream(bs);\n line_number_table_length = (dis.readUnsignedShort());\n line_number_table = new LineNumber[line_number_table_length];\n for (int i = 0; i < line_number_table_length; i++) line_number_table[i] = new LineNumber(dis);\n dis.close();\n // throw it away now\n data = null;\n } catch (IOException e) {\n throw new RuntimeException(\"Unpacking of LineNumberTable attribute failed\");\n }\n isInPackedState = false;\n }", "public String decompress() {\r\n \tString decompressed = \"\";\r\n \tString cursor = \"\";\r\n \tfor (int i = 0; i < compressedText.length(); i++) {\r\n \t\tcursor += compressedText.charAt(i);\r\n \t\tif (codeToChar.containsKey(cursor)) {\r\n \t\t\tdecompressed += codeToChar.get(cursor);\r\n \t\t\tcursor = \"\";\r\n \t\t}\r\n \t}\r\n return decompressed;\r\n }", "private void initTables()\n {\n if ( vc == null )\n {\n // statics are not initialised yet\n vc = new char[ 64 ];\n cv = new int[ 256 ];\n // build translate valueToChar table only once.\n // 0..25 -> 'A'..'Z'\n for ( int i = 0; i <= 25; i++ )\n {\n vc[ i ] = ( char ) ( 'A' + i );\n }\n // 26..51 -> 'a'..'z'\n for ( int i = 0; i <= 25; i++ )\n {\n vc[ i + 26 ] = ( char ) ( 'a' + i );\n }\n // 52..61 -> '0'..'9'\n for ( int i = 0; i <= 9; i++ )\n {\n vc[ i + 52 ] = ( char ) ( '0' + i );\n }\n vc[ 62 ] = spec1;\n vc[ 63 ] = spec2;\n // build translate charToValue table only once.\n for ( int i = 0; i < 256; i++ )\n {\n cv[ i ] = IGNORE;// default is to ignore\n }\n for ( int i = 0; i < 64; i++ )\n {\n cv[ vc[ i ] ] = i;\n }\n cv[ spec3 ] = PAD;\n }\n valueToChar = vc;\n charToValue = cv;\n }", "public static int decompose(char[] paramArrayOfChar1, int paramInt1, int paramInt2, char[] paramArrayOfChar2, int paramInt3, int paramInt4, boolean paramBoolean, int[] paramArrayOfInt, UnicodeSet paramUnicodeSet)\n/* */ {\n/* 932 */ char[] arrayOfChar1 = new char[3];\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 941 */ int i7 = paramInt3;\n/* 942 */ int i8 = paramInt1;\n/* 943 */ int i2; int k; if (!paramBoolean) {\n/* 944 */ i2 = (char)indexes[8];\n/* 945 */ k = 4;\n/* */ } else {\n/* 947 */ i2 = (char)indexes[9];\n/* 948 */ k = 8;\n/* */ }\n/* */ \n/* */ \n/* 952 */ int j = 0xFF00 | k;\n/* 953 */ int m = 0;\n/* 954 */ int i4 = 0;\n/* 955 */ long l = 0L;\n/* 956 */ int i1 = 0;\n/* 957 */ int i6 = 0;\n/* */ int i5;\n/* 959 */ int i3 = i5 = -1;\n/* */ \n/* */ \n/* */ \n/* */ for (;;)\n/* */ {\n/* 965 */ int i = i8;\n/* */ \n/* 967 */ while ((i8 != paramInt2) && (((i1 = paramArrayOfChar1[i8]) < i2) || \n/* 968 */ (((l = getNorm32(i1)) & j) == 0L))) {\n/* 969 */ i4 = 0;\n/* 970 */ i8++;\n/* */ }\n/* */ \n/* */ int n;\n/* 974 */ if (i8 != i) {\n/* 975 */ n = i8 - i;\n/* 976 */ if (i7 + n <= paramInt4) {\n/* 977 */ System.arraycopy(paramArrayOfChar1, i, paramArrayOfChar2, i7, n);\n/* */ }\n/* */ \n/* 980 */ i7 += n;\n/* 981 */ m = i7;\n/* */ }\n/* */ \n/* */ \n/* 985 */ if (i8 == paramInt2) {\n/* */ break;\n/* */ }\n/* */ \n/* */ \n/* 990 */ i8++;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ char c2;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ char[] arrayOfChar2;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ char c1;\n/* */ \n/* */ \n/* */ \n/* 1009 */ if (isNorm32HangulOrJamo(l)) {\n/* 1010 */ if (nx_contains(paramUnicodeSet, i1)) {\n/* 1011 */ c2 = '\\000';\n/* 1012 */ arrayOfChar2 = null;\n/* 1013 */ n = 1;\n/* */ }\n/* */ else {\n/* 1016 */ arrayOfChar2 = arrayOfChar1;\n/* 1017 */ i6 = 0;\n/* 1018 */ i3 = i5 = 0;\n/* */ \n/* 1020 */ c1 = (char)(i1 - 44032);\n/* */ \n/* 1022 */ c2 = (char)(c1 % '\\034');\n/* 1023 */ c1 = (char)(c1 / '\\034');\n/* 1024 */ if (c2 > 0) {\n/* 1025 */ arrayOfChar1[2] = ((char)('ᆧ' + c2));\n/* 1026 */ n = 3;\n/* */ } else {\n/* 1028 */ n = 2;\n/* */ }\n/* */ \n/* 1031 */ arrayOfChar1[1] = ((char)(4449 + c1 % '\\025'));\n/* 1032 */ arrayOfChar1[0] = ((char)(4352 + c1 / '\\025'));\n/* */ }\n/* */ } else {\n/* 1035 */ if (isNorm32Regular(l)) {\n/* 1036 */ c2 = '\\000';\n/* 1037 */ n = 1;\n/* */ \n/* */ }\n/* 1040 */ else if ((i8 != paramInt2) && \n/* 1041 */ (UTF16.isTrailSurrogate(c2 = paramArrayOfChar1[i8]))) {\n/* 1042 */ i8++;\n/* 1043 */ n = 2;\n/* 1044 */ l = getNorm32FromSurrogatePair(l, c2);\n/* */ } else {\n/* 1046 */ c2 = '\\000';\n/* 1047 */ n = 1;\n/* 1048 */ l = 0L;\n/* */ }\n/* */ \n/* */ \n/* */ \n/* 1053 */ if (nx_contains(paramUnicodeSet, c1, c2))\n/* */ {\n/* 1055 */ i3 = i5 = 0;\n/* 1056 */ arrayOfChar2 = null;\n/* 1057 */ } else if ((l & k) == 0L)\n/* */ {\n/* 1059 */ i3 = i5 = (int)(0xFF & l >> 8);\n/* 1060 */ arrayOfChar2 = null;\n/* 1061 */ i6 = -1;\n/* */ } else {\n/* 1063 */ DecomposeArgs localDecomposeArgs = new DecomposeArgs(null);\n/* */ \n/* */ \n/* */ \n/* 1067 */ i6 = decompose(l, k, localDecomposeArgs);\n/* 1068 */ arrayOfChar2 = extraData;\n/* 1069 */ n = localDecomposeArgs.length;\n/* 1070 */ i3 = localDecomposeArgs.cc;\n/* 1071 */ i5 = localDecomposeArgs.trailCC;\n/* 1072 */ if (n == 1)\n/* */ {\n/* 1074 */ c1 = arrayOfChar2[i6];\n/* 1075 */ c2 = '\\000';\n/* 1076 */ arrayOfChar2 = null;\n/* 1077 */ i6 = -1;\n/* */ }\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 1085 */ if (i7 + n <= paramInt4) {\n/* 1086 */ int i9 = i7;\n/* 1087 */ if (arrayOfChar2 == null)\n/* */ {\n/* 1089 */ if ((i3 != 0) && (i3 < i4))\n/* */ {\n/* */ \n/* */ \n/* 1093 */ i7 += n;\n/* 1094 */ i5 = insertOrdered(paramArrayOfChar2, m, i9, i7, c1, c2, i3);\n/* */ }\n/* */ else\n/* */ {\n/* 1098 */ paramArrayOfChar2[(i7++)] = c1;\n/* 1099 */ if (c2 != 0) {\n/* 1100 */ paramArrayOfChar2[(i7++)] = c2;\n/* */ }\n/* */ \n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 1107 */ else if ((i3 != 0) && (i3 < i4))\n/* */ {\n/* */ \n/* */ \n/* 1111 */ i7 += n;\n/* 1112 */ i5 = mergeOrdered(paramArrayOfChar2, m, i9, arrayOfChar2, i6, i6 + n);\n/* */ }\n/* */ else\n/* */ {\n/* */ do {\n/* 1117 */ paramArrayOfChar2[(i7++)] = arrayOfChar2[(i6++)];\n/* 1118 */ n--; } while (n > 0);\n/* */ }\n/* */ \n/* */ }\n/* */ else\n/* */ {\n/* 1124 */ i7 += n;\n/* */ }\n/* */ \n/* 1127 */ i4 = i5;\n/* 1128 */ if (i4 == 0) {\n/* 1129 */ m = i7;\n/* */ }\n/* */ }\n/* */ \n/* 1133 */ paramArrayOfInt[0] = i4;\n/* */ \n/* 1135 */ return i7 - paramInt3;\n/* */ }", "public static void decompress(PfssCompressed _src, PfssDecompressed _dest)\n\t{\n\t\tif (!_src.isLoaded())\n\t\t\treturn;\n\n\t\tif (_dest.isDataAssigned())\n\t\t\treturn;\n\t\t\n\t\ttry (InputStream is = new ByteArrayInputStream(UnRar.unrarData(_src).toByteArray()))\n\t\t{\n\t\t\tFits fits = new Fits(is, false);\n\t\t\tBasicHDU hdus[] = fits.read();\n\t\t\tBinaryTableHDU bhdu = (BinaryTableHDU) hdus[1];\n\n\t\t\tfloat b0 = bhdu.getHeader().getFloatValue(\"B0\");\n\t\t\tfloat l0 = bhdu.getHeader().getFloatValue(\"L0\");\n\t\t\tfloat Q1 = bhdu.getHeader().getFloatValue(\"Q1\");\n\t\t\tfloat Q2 = bhdu.getHeader().getFloatValue(\"Q2\");\n\t\t\tfloat Q3 = bhdu.getHeader().getFloatValue(\"Q3\");\n\n\t\t\tbyte[] line_length = ((byte[][]) bhdu.getColumn(\"LEN\"))[0];\n\t\t\tbyte[] xRaw = ((byte[][]) bhdu.getColumn(\"X\"))[0];\n\t\t\tbyte[] yRaw = ((byte[][]) bhdu.getColumn(\"Y\"))[0];\n\t\t\tbyte[] zRaw = ((byte[][]) bhdu.getColumn(\"Z\"))[0];\n\n\t\t\tint[] lengths = ByteDecoder.decodeAdaptiveUnsigned(line_length);\n\t\t\tint[] xInt = ByteDecoder.decodeAdaptive(xRaw);\n\t\t\tint[] yInt = ByteDecoder.decodeAdaptive(yRaw);\n\t\t\tint[] zInt = ByteDecoder.decodeAdaptive(zRaw);\n\n\t\t\tIntermediateLineData[] lines = IntermediateLineData.splitToLines(lengths, xInt, yInt, zInt);\n\t\t\tfor (IntermediateLineData l : lines)\n\t\t\t\tl.decodePrediction(Q1, Q2, Q3);\n\n\t\t\tArrayList<DecompressedLine> decompressedLines = new ArrayList<>(lines.length);\n\t\t\tfor (IntermediateLineData line : lines)\n\t\t\t\tdecompressedLines.add(new DecompressedLine(line));\n\n\t\t\tconvertToBuffers(decompressedLines, l0, b0, _dest);\n\t\t}\n\t\tcatch (FitsException | IOException e)\n\t\t{\n\t\t\tTelemetry.trackException(e);\n\t\t}\n\t}", "public static void decode () {\n // read the input\n int firstThing = BinaryStdIn.readInt();\n s = BinaryStdIn.readString();\n char[] t = s.toCharArray();\n char[] firstColumn = new char[t.length];\n int [] next = new int[t.length];\n \n // copy array and sort\n for (int i = 0; i < t.length; i++) {\n firstColumn[i] = t[i];\n }\n Arrays.sort(firstColumn);\n \n // decode\n int N = t.length;\n int [] count = new int[256];\n \n // counts frequency of each letter\n for (int i = 0; i < N; i++) {\n count[t[i]]++;\n }\n \n int m = 0, j = 0;\n \n // fills the next[] array with appropriate values\n while (m < N) {\n int _count = count[firstColumn[m]];\n while (_count > 0) {\n if (t[j] == firstColumn[m]) {\n next[m++] = j;\n _count--;\n }\n j++;\n }\n j = 0;\n }\n \n // decode the String\n int _next = next.length;\n int _i = firstThing;\n for (int i = 0; i < _next; i++) {\n _i = next[_i];\n System.out.print(t[_i]);\n } \n System.out.println();\n }", "private void ReadDecompression(String aux) {\n StringBuilder calidadS = new StringBuilder();\n while (i < 8) {\n calidadS.append(aux.charAt(i));\n ++i;\n }\n quality = Integer.parseInt(calidadS.toString(), 2);\n StringBuilder widthS = new StringBuilder();\n while (i < 24) {\n widthS.append(aux.charAt(i));\n ++i;\n }\n width = Integer.parseInt(widthS.toString(), 2);\n StringBuilder heightS = new StringBuilder();\n while (i < 40) {\n heightS.append(aux.charAt(i));\n ++i;\n }\n height = Integer.parseInt(heightS.toString(), 2);\n StringBuilder sizeYS = new StringBuilder();\n while (i < 72) {\n sizeYS.append(aux.charAt(i));\n ++i;\n }\n sizeY = Integer.parseInt(sizeYS.toString(), 2);\n StringBuilder sizeCBS = new StringBuilder();\n while (i < 104) {\n sizeCBS.append(aux.charAt(i));\n ++i;\n }\n sizeCB = Integer.parseInt(sizeCBS.toString(), 2);\n StringBuilder sizeCRS = new StringBuilder();\n while (i < 136) {\n sizeCRS.append(aux.charAt(i));\n ++i;\n }\n sizeCR = Integer.parseInt(sizeCRS.toString(), 2);\n StringBuilder sizeYcS = new StringBuilder();\n while (i < 168) {\n sizeYcS.append(aux.charAt(i));\n ++i;\n }\n sizeYc = Integer.parseInt(sizeYcS.toString(), 2);\n StringBuilder sizeCBcS = new StringBuilder();\n while (i < 200) {\n sizeCBcS.append(aux.charAt(i));\n ++i;\n }\n sizeCBc = Integer.parseInt(sizeCBcS.toString(), 2);\n StringBuilder sizeCRcS = new StringBuilder();\n while (i < 232) {\n sizeCRcS.append(aux.charAt(i));\n ++i;\n }\n sizeCRc = Integer.parseInt(sizeCRcS.toString(), 2);\n }", "public void translate() {\n\t\twhile (!inputBuffer.endOfBuffer()) {\n\t\t\tMsgChar get = inputBuffer.getChar();\n\t\t\tif (get == null) continue;\n\t\t\tif (inputBuffer.isEndOfSentence()) {\n\t\t\t\toutputBuffer.markEndOfSentence();\n\t\t\t} else if (inputBuffer.isEndOfWord()) {\n\t\t\t\toutputBuffer.markEndOfWord();\n\t\t\t} else {\n\t\t\t\toutputBuffer.putChar(get.convert());\n\t\t\t}\n\t\t}\n\t\tinputBuffer.getReader().close();\n\t\toutputBuffer.close();\n\t}", "private void CreateDecompression() {\n int iteradorY = 0;\n int iteradorarray = 0;\n int fila = 0;\n int columna = 0;\n while (iteradorY < width / 8 * height / 8) {\n int u = 1;\n int k = 1;\n double[][] Y = new double[8][8];\n double[][] CB = new double[8][8];\n double[][] CR = new double[8][8];\n for (int element = 0; element < 64; ++element) {\n Y[u - 1][k - 1] = (double) Ydes.get(iteradorarray);\n CB[u - 1][k - 1] = (double) CBdes.get(iteradorarray);\n CR[u - 1][k - 1] = (double) CRdes.get(iteradorarray);\n if ((k + u) % 2 != 0) {\n if (k < 8)\n k++;\n else\n u += 2;\n if (u > 1)\n u--;\n } else {\n if (u < 8)\n u++;\n else\n k += 2;\n if (k > 1)\n k--;\n }\n iteradorarray++;\n }\n ++iteradorY;\n //DESQUANTIZAMOS\n for (int m = 0; m < 8; ++m) {\n for (int n = 0; n < 8; ++n) {\n Y[m][n] = Y[m][n] * QtablesLuminance[quality][m][n];\n CB[m][n] = CB[m][n] * QtablesChrominance[quality][m][n];\n CR[m][n] = CR[m][n] * QtablesChrominance[quality][m][n];\n }\n }\n //INVERSA DE LA DCT2\n double[][] Ydct = dct3(Y);\n double[][] CBdct = dct3(CB);\n double[][] CRdct = dct3(CR);\n\n //SUMAR 128\n for (int m = 0; m < 8; ++m) {\n for (int n = 0; n < 8; ++n) {\n Ydct[m][n] = Ydct[m][n] + 128;\n CBdct[m][n] = CBdct[m][n] + 128;\n CRdct[m][n] = CRdct[m][n] + 128;\n int[] YCbCr = {(int) Ydct[m][n], (int) CBdct[m][n], (int) CRdct[m][n]};\n int[] RGB = YCbCrtoRGB(YCbCr);\n if (fila + m < height & columna + n < width) {\n FinalR[fila + m][columna + n] = RGB[0];\n FinalG[fila + m][columna + n] = RGB[1];\n FinalB[fila + m][columna + n] = RGB[2];\n }\n }\n }\n if (columna + 8 < width) columna = columna + 8;\n else {\n fila = fila + 8;\n columna = 0;\n }\n }\n }", "public int uncompress(InputStream in, OutputStream out) throws IOException { \n int codeCount = 0;\n int code = 0;\n BitInputStream bitIn = new BitInputStream(in);\n StringBuilder codeString = new StringBuilder(0);\n\n\n // *** Bellow for building array of encoded values ****\n // ****************************************************\n // If the first character in the file is not a space, cannot decompress file\n codeCount = in.read();\n if(codeCount != 32){\n bitIn.close();\n return -1;\n }\n // Read in length of the code, then read the codes number of bits into the code array\n for (int i = 0; i < decodeArr.length; i++) {\n //read in number of bits (length of character code) \n codeCount = bitIn.read();\n \n // Create the code string (reads the number of bits found above)\n for (int j = 0; j < codeCount ; j++) {\n codeString.append(bitIn.readBits(1));\n }\n // Add the code string to the code array\n decodeArr[i] = codeString.toString();\n codeString = new StringBuilder(0);\n }\n // If the character has no code, make it null in array\n for (int i = 0; i < decodeArr.length; i++) {\n if(decodeArr[i].equals(\"0\")){decodeArr[i] = null;}\n }\n // ****************************************************\n // ****************************************************\n\n\n // ********** Bellow is the decoding process **********\n // ****************************************************\n // Slowly build a sting of binary comparing it to the codes in the map\n // Once a match is found, output the character associated with it.\n try{\n codeString = new StringBuilder(0);\n while (true) { \n // Read in one bit\n code = bitIn.readBits(1);\n // If -1 is returned, reached the end of file\n if(code == -1){break;}\n // Search the code array, writing the character of the code when found\n codeString.append(String.valueOf(code));\n for (int i = 0; i < decodeArr.length; i++) {\n if(decodeArr[i] != null){ // null means 0 count for a character\n // If the building code string matches a code in the map, write the associated character\n if(decodeArr[i].equals(codeString.toString())){\n out.write(i);\n // vv make ready for next code input\n codeString = new StringBuilder(0);\n }\n }\n }\n }\n }catch (IOException e){\n bitIn.close();\n throw e;\n }\n // ****************************************************\n // ****************************************************\n bitIn.close();\n return 0;\n }", "protected void buildFastLatinTable(android.icu.impl.coll.CollationData r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00ef in method: android.icu.impl.coll.CollationDataBuilder.buildFastLatinTable(android.icu.impl.coll.CollationData):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.buildFastLatinTable(android.icu.impl.coll.CollationData):void\");\n }", "public static void decompress(String inFile) throws Exception{\n\tIO.Decompressor io = new IO.Decompressor(inFile);\n HashMap<Integer, String> dictionary = new HashMap<Integer, String>();\n int count = 1;\n dictionary.put(new Integer(0), new String() );\n String output = \"\";\n Integer index;\n char character = 1;\n while( character != 0 ) {\n \t IO.Pair next = io.decode();\n index = new Integer(next.getIndex());\n character = next.getCharacter();\n \n output = dictionary.get(index);\n if (character == 0) io.append(output);\n else output = output + character;\n \t io.append(output);\n dictionary.put(new Integer(count), output);\n count++;\n }\n \n \n /* Close all relevant files */\n io.done();\n\n\n\n }", "public PDFDecompressorFlate(Hashtable attrs, byte[] data) {\r\n this.attrs = attrs;\r\n this.data = data;\r\n this.in = new InflaterInputStream(new ByteArrayInputStream(data));\r\n this.out = new ByteArrayOutputStream();\r\n }", "public static void main(String[] args) {\n\t\tDecompress d = new Decompress(args[0]);\n\t\tif(d.data.loadFailure()) {\n\t\t\treturn;\n\t\t}\n\n\t\t//Attempt to read the header and rebuild the original Huffman tree\n\t\td.rebuildTree(d.readHeader());\n\n\t\t//Convert all codes back to their original bitstrings\n\t\td.decode(args[0]);\n\t}", "UnescapeTransliterator(String ID, char[] spec)\n/* */ {\n/* 131 */ super(ID, null);\n/* 132 */ this.spec = spec;\n/* */ }", "public void popTranslationTable() {\n m_translateTable = (int[])m_translateTableStack.pop();\n }", "public static void inverseTransform() {\n int first = BinaryStdIn.readInt();\n List<Integer> chars = new ArrayList<>();\n Map<Integer, Queue<Integer>> charPosition = new HashMap<>();\n int currentIndex = 0;\n\n while (!BinaryStdIn.isEmpty()) {\n int i = BinaryStdIn.readInt(8);\n chars.add(i);\n Queue<Integer> position = charPosition.get(i);\n\n if (position == null) {\n position = new Queue<>();\n charPosition.put(i, position);\n }\n\n position.enqueue(currentIndex);\n currentIndex += 1;\n }\n\n int N = chars.size();\n int R = 256;\n int[] count = new int[R + 1];\n\n for (int i = 0; i < N; i++) {\n count[chars.get(i) + 1]++;\n }\n\n for (int r = 0; r < R; r++) {\n count[r + 1] += count[r];\n }\n\n int[] h = new int[N];\n\n for (int i = 0; i < N; i++) {\n h[count[chars.get(i)]++] = chars.get(i);\n }\n\n int[] next = new int[N];\n\n for (int i = 0; i < N; i++) {\n int index = charPosition.get(h[i]).dequeue();\n next[i] = index;\n }\n\n int current = first;\n\n for (int i = 0; i < N; i++) {\n BinaryStdOut.write(h[current], 8);\n current = next[current];\n }\n\n BinaryStdOut.flush();\n }", "private void translate()\r\n {\r\n for(int x = 0;x<14;x++)\r\n {\r\n pack.add(new Card(sPack.get(x)));\r\n }\r\n \r\n }", "private static char recompose(RecomposeArgs paramRecomposeArgs, int paramInt, UnicodeSet paramUnicodeSet)\n/* */ {\n/* 1315 */ int i3 = 0;int i4 = 0;\n/* */ \n/* */ \n/* */ \n/* 1319 */ int[] arrayOfInt = new int[2];\n/* 1320 */ int i7 = -1;\n/* 1321 */ int n = 0;\n/* 1322 */ int i6 = 0;\n/* 1323 */ int i5 = 0;\n/* */ \n/* 1325 */ NextCombiningArgs localNextCombiningArgs = new NextCombiningArgs(null);\n/* 1326 */ localNextCombiningArgs.source = paramRecomposeArgs.source;\n/* */ \n/* 1328 */ localNextCombiningArgs.cc = '\\000';\n/* 1329 */ localNextCombiningArgs.c2 = '\\000';\n/* */ for (;;)\n/* */ {\n/* 1332 */ localNextCombiningArgs.start = paramRecomposeArgs.start;\n/* 1333 */ int m = getNextCombining(localNextCombiningArgs, paramRecomposeArgs.limit, paramUnicodeSet);\n/* 1334 */ int i1 = localNextCombiningArgs.combiningIndex;\n/* 1335 */ paramRecomposeArgs.start = localNextCombiningArgs.start;\n/* */ \n/* 1337 */ if (((m & 0x80) != 0) && (i7 != -1)) { int i;\n/* 1338 */ int j; int k; if ((i1 & 0x8000) != 0)\n/* */ {\n/* */ \n/* */ \n/* */ \n/* 1343 */ if (((paramInt & 0x100) != 0) || (i5 == 0)) {\n/* 1344 */ i = -1;\n/* 1345 */ m = 0;\n/* 1346 */ localNextCombiningArgs.c2 = paramRecomposeArgs.source[i7];\n/* 1347 */ if (i1 == 65522)\n/* */ {\n/* */ \n/* */ \n/* 1351 */ localNextCombiningArgs.c2 = ((char)(localNextCombiningArgs.c2 - 'ᄀ'));\n/* 1352 */ if (localNextCombiningArgs.c2 < '\\023') {\n/* 1353 */ i = paramRecomposeArgs.start - 1;\n/* 1354 */ localNextCombiningArgs.c = ((char)(44032 + (localNextCombiningArgs.c2 * '\\025' + (localNextCombiningArgs.c - 'ᅡ')) * 28));\n/* */ \n/* 1356 */ if ((paramRecomposeArgs.start != paramRecomposeArgs.limit) && ((localNextCombiningArgs.c2 = (char)(paramRecomposeArgs.source[paramRecomposeArgs.start] - 'ᆧ')) < '\\034'))\n/* */ {\n/* */ \n/* 1359 */ paramRecomposeArgs.start += 1; NextCombiningArgs \n/* 1360 */ tmp261_259 = localNextCombiningArgs;tmp261_259.c = ((char)(tmp261_259.c + localNextCombiningArgs.c2));\n/* */ }\n/* */ else {\n/* 1363 */ m = 64;\n/* */ }\n/* 1365 */ if (!nx_contains(paramUnicodeSet, localNextCombiningArgs.c)) {\n/* 1366 */ paramRecomposeArgs.source[i7] = localNextCombiningArgs.c;\n/* */ }\n/* */ else {\n/* 1369 */ if (!isHangulWithoutJamoT(localNextCombiningArgs.c)) {\n/* 1370 */ paramRecomposeArgs.start -= 1;\n/* */ }\n/* */ \n/* 1373 */ i = paramRecomposeArgs.start;\n/* */ \n/* */ \n/* */ \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ }\n/* 1388 */ else if (isHangulWithoutJamoT(localNextCombiningArgs.c2)) {\n/* 1389 */ NextCombiningArgs tmp351_349 = localNextCombiningArgs;tmp351_349.c2 = ((char)(tmp351_349.c2 + (localNextCombiningArgs.c - 'ᆧ')));\n/* 1390 */ if (!nx_contains(paramUnicodeSet, localNextCombiningArgs.c2)) {\n/* 1391 */ i = paramRecomposeArgs.start - 1;\n/* 1392 */ paramRecomposeArgs.source[i7] = localNextCombiningArgs.c2;\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* 1397 */ if (i != -1)\n/* */ {\n/* 1399 */ j = i;\n/* 1400 */ k = paramRecomposeArgs.start;\n/* 1401 */ while (k < paramRecomposeArgs.limit) {\n/* 1402 */ paramRecomposeArgs.source[(j++)] = paramRecomposeArgs.source[(k++)];\n/* */ }\n/* 1404 */ paramRecomposeArgs.start = i;\n/* 1405 */ paramRecomposeArgs.limit = j;\n/* */ }\n/* */ \n/* 1408 */ localNextCombiningArgs.c2 = '\\000';\n/* */ \n/* 1410 */ if (m != 0)\n/* */ {\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1417 */ if (paramRecomposeArgs.start == paramRecomposeArgs.limit) {\n/* 1418 */ return (char)i5;\n/* */ }\n/* */ \n/* */ \n/* 1422 */ n = 65520;\n/* */ \n/* */ \n/* */ \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ }\n/* 1438 */ else if (((n & 0x8000) == 0) && ((paramInt & 0x100) != 0 ? (i5 == localNextCombiningArgs.cc) || (i5 != 0) : (i5 < localNextCombiningArgs.cc) || (i5 == 0)))\n/* */ {\n/* */ int i2;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1446 */ if (0 != (i2 = combine(combiningTable, n, i1, arrayOfInt)))\n/* */ {\n/* */ \n/* 1449 */ if (!nx_contains(paramUnicodeSet, (char)i3, (char)i4))\n/* */ {\n/* 1451 */ i3 = arrayOfInt[0];\n/* 1452 */ i4 = arrayOfInt[1];\n/* */ \n/* */ \n/* */ \n/* 1456 */ i = localNextCombiningArgs.c2 == 0 ? paramRecomposeArgs.start - 1 : paramRecomposeArgs.start - 2;\n/* */ \n/* */ \n/* 1459 */ paramRecomposeArgs.source[i7] = ((char)i3);\n/* 1460 */ if (i6 != 0) {\n/* 1461 */ if (i4 != 0)\n/* */ {\n/* 1463 */ paramRecomposeArgs.source[(i7 + 1)] = ((char)i4);\n/* */ }\n/* */ else\n/* */ {\n/* 1467 */ i6 = 0;\n/* 1468 */ j = i7 + 1;\n/* 1469 */ k = j + 1;\n/* 1470 */ while (k < i) {\n/* 1471 */ paramRecomposeArgs.source[(j++)] = paramRecomposeArgs.source[(k++)];\n/* */ }\n/* 1473 */ i--;\n/* */ }\n/* 1475 */ } else if (i4 != 0) {\n/* 1476 */ i6 = 1;\n/* 1477 */ paramRecomposeArgs.source[(i7 + 1)] = ((char)i4);\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 1483 */ if (i < paramRecomposeArgs.start) {\n/* 1484 */ j = i;\n/* 1485 */ k = paramRecomposeArgs.start;\n/* 1486 */ while (k < paramRecomposeArgs.limit) {\n/* 1487 */ paramRecomposeArgs.source[(j++)] = paramRecomposeArgs.source[(k++)];\n/* */ }\n/* 1489 */ paramRecomposeArgs.start = i;\n/* 1490 */ paramRecomposeArgs.limit = j;\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 1496 */ if (paramRecomposeArgs.start == paramRecomposeArgs.limit) {\n/* 1497 */ return (char)i5;\n/* */ }\n/* */ \n/* */ \n/* 1501 */ if (i2 > 1) {\n/* 1502 */ n = getCombiningIndexFromStarter((char)i3, (char)i4); continue;\n/* */ }\n/* */ \n/* 1505 */ i7 = -1;\n/* */ \n/* */ \n/* */ \n/* 1509 */ continue;\n/* */ }\n/* */ }\n/* */ }\n/* */ }\n/* 1514 */ i5 = localNextCombiningArgs.cc;\n/* 1515 */ if (paramRecomposeArgs.start == paramRecomposeArgs.limit) {\n/* 1516 */ return (char)i5;\n/* */ }\n/* */ \n/* */ \n/* 1520 */ if (localNextCombiningArgs.cc == 0)\n/* */ {\n/* 1522 */ if ((m & 0x40) != 0)\n/* */ {\n/* 1524 */ if (localNextCombiningArgs.c2 == 0) {\n/* 1525 */ i6 = 0;\n/* 1526 */ i7 = paramRecomposeArgs.start - 1;\n/* */ } else {\n/* 1528 */ i6 = 0;\n/* 1529 */ i7 = paramRecomposeArgs.start - 2;\n/* */ }\n/* 1531 */ n = i1;\n/* */ }\n/* */ else {\n/* 1534 */ i7 = -1;\n/* */ }\n/* 1536 */ } else if ((paramInt & 0x2000) != 0)\n/* */ {\n/* 1538 */ i7 = -1;\n/* */ }\n/* */ }\n/* */ }", "public static void decode()\n {\n \n \n int a = BinaryStdIn.readInt();\n String t = BinaryStdIn.readString();\n int len = t.length();\n \n //variables for generating next[] array\n int[] next = new int[len];\n char[] original = t.toCharArray();\n char[] temp = t.toCharArray();\n boolean[] flag = new boolean[len];\n for(int i = 0 ; i < len; i++)\n {\n flag[i] = true;\n }\n \n //sort the encoded string\n decodeSort(temp);\n \n //generating next[] array\n for(int i = 0 ; i < len; i++)\n {\n for(int j = 0 ; j < len; j++)\n {\n if(flag[j])\n { \n if(original[j]==temp[i])\n {\n next[i] = j;\n flag[j]=false;\n break;\n }\n }\n }\n \n }\n \n // decode procedure\n int key = a;\n for (int count = 0; count < len; count++) {\n key = next[key];\n BinaryStdOut.write(t.charAt(key));\n }\n BinaryStdOut.close();\n }", "public static void decode() {\n int first = BinaryStdIn.readInt();\n String t = BinaryStdIn.readString();\n int n = t.length();\n int[] count = new int[256 + 1];\n int[] next = new int[n];\n int i = 0;\n while (i < n) {\n count[t.charAt(i) + 1]++;\n i++;\n }\n i = 1;\n while (i < 256 + 1) {\n count[i] += count[i - 1];\n i++;\n }\n i = 0;\n while (i < n) {\n next[count[t.charAt(i)]++] = i;\n i++;\n }\n i = next[first];\n int c = 0;\n while (c < n){\n BinaryStdOut.write(t.charAt(i));\n i = next[i];\n c++;\n }\n BinaryStdOut.close();\n }", "private void nocompressedUnPack()throws UnpackException,ZipEndException{\n skipByte();\n //get the len\n long LEN = 0x00;\n byte byte0 = getByte();\n byte byte1 = getByte();\n byte byte2 = getByte();\n byte byte3 = getByte();\n LEN |= byte1;\n LEN |= (byte0 << 8);\n LEN &= 0X0000ffff;\n// LEN |= (byte2<<24);\n// LEN |= (byte3<<16);\n int l = 0;\n try{\n for (long num = 0; num < LEN ; num ++){\n outputStoredByte(getByte());\n }\n }catch (IOException e){\n e.printStackTrace();\n }\n }", "int externalToUnicode(byte[] src, final int srcOff, final int srcLen,\n char[] dst, final int dstOff, final int dstLen,\n IntPtr srcReadPtr, IntPtr dstWrotePtr, IntPtr dstCharsPtr,\n ArrayList charToBytes) {\n final boolean debug = false;\n final boolean debug_decode_loop = debug && false;\n int result = TCL.OK;\n\n if (encoding == null) {\n // This should never happen\n throw new TclRuntimeError(\"externalToUnicode called with null encoding\");\n }\n\n if (debug) {\n System.out.println(\"externalToUnicode( \" + srcLen + \" \" + dstLen + \" )\");\n }\n\n // If decoder was flushed already then return 0.\n\n if ((srcLen == 0) && !encodingEnd) {\n if (debug) {\n System.out.println(\"srcLen is zero and encodingEnd is false\");\n }\n\n srcReadPtr.i = 0;\n if (dstWrotePtr != null)\n dstWrotePtr.i = 0;\n if (dstCharsPtr != null)\n dstCharsPtr.i = 0;\n return 0;\n }\n\n // Convert bytes from src into unicode chars and store them in dst.\n\n if (debug) {\n System.out.println(\"now to decode byte array of length \" + srcLen);\n System.out.println(\"srcOff is \" + srcOff);\n for (int i=srcOff ; i < (srcOff+srcLen); i++) {\n System.out.println(\"(byte) '\" + ((char) src[i]) + \"'\" +\n \" (int) \" + ((int) src[i]) +\n \" (hex) 0x\" + Integer.toHexString(src[i]) );\n }\n System.out.println(\"encoded as \" + encoding);\n System.out.println(\"encodingStart is \" + encodingStart);\n System.out.println(\"eofCond is \" + eofCond);\n }\n\n // FIXME: In the cases where we know that we don't actually want\n // to copy the data, we could pass a flag so that we could\n // take advantage of encodings that had a one to one mapping\n // from bytes to chars (now need to copy then to find bytes used).\n\n if (csd == null) {\n // Note that UnsupportedCharsetException should never be raised\n // here since EncodingCmd.isSupported() should have already\n // returned true for this encoding.\n\n Charset chrset = Charset.forName(encoding);\n csd = chrset.newDecoder();\n }\n if (encodingStart) {\n csd.reset();\n }\n\n // Note that the default action on bad encoded\n // input is to stop and and report the error.\n\n // Implement byte -> char decoding loop. The\n // Java charset APIs provide no way to save\n // a decoder state or determine how many bytes\n // were consumed when a char is decoded. Since\n // we can't keep a copy of all data ever read,\n // this module has to make sure that only\n // one decode operation is done for input bytes\n // and that the number of bytes consumed for\n // each char is saved.\n\n int bytes_read = 0;\n int chars_written = 0;\n int dstOffI = dstOff;\n\n ByteBuffer srcb = ByteBuffer.wrap(src, srcOff, srcLen);\n CharBuffer oneChar = CharBuffer.allocate(1);\n\n while ((srcb.remaining() > 0) && (dstOffI < dstLen)) {\n if (debug_decode_loop) {\n System.out.println(\"char decode loop \" + (chars_written + 1));\n System.out.println(\"srcb.position() is \" + srcb.position());\n System.out.println(\"srcb.remaining() is \" + srcb.remaining());\n byte b = srcb.get(srcb.position()); // Get byte without moving position\n System.out.println(\"current byte is '\" + ((char) b) + \"' \" +\n \"0x\" + Integer.toHexString(b) );\n }\n\n int srcbStartPos = srcb.position();\n oneChar.rewind();\n\n // srcb is never empty when this method is invoked\n\n CoderResult cresult = csd.decode(srcb, oneChar, false);\n\n if (cresult == CoderResult.UNDERFLOW) {\n // An UNDERFLOW could mean that srcb is now\n // empty. It could also mean that a valid char\n // char could not be decoded from srcb bytes.\n\n if (debug_decode_loop) {\n System.out.println(\"UNDERFLOW detected\");\n }\n\n if ((oneChar.position() == 0) && (srcb.remaining() > 0)) {\n if (debug) {\n System.out.println(\"TCL_CONVERT_MULTIBYTE set\");\n }\n result = TCL_CONVERT_MULTIBYTE;\n break;\n } else {\n // Some bytes were decoded into 1 char.\n\n if (debug_decode_loop) {\n System.out.println(\"some bytes decoded\");\n }\n }\n } else if (cresult == CoderResult.OVERFLOW) {\n // Bytes from src have been decoded into 1 char.\n\n if (debug_decode_loop) {\n System.out.println(\"OVERFLOW detected\");\n }\n } else {\n // Some unexpected result, like an invalid character\n result = TCL_CONVERT_MULTIBYTE;\n break;\n }\n\n int bytes_this_char = srcb.position() - srcbStartPos;\n\n if (oneChar.position() != 1) {\n throw new TclRuntimeError(\"expected 1 char to be decoded, got \" + oneChar.position());\n }\n\n char c = oneChar.get(0);\n dst[dstOffI++] = c;\n\n if (charToBytes != null) {\n Integer iobj;\n if (bytes_this_char == 1) {\n iobj = oneInteger;\n } else if (bytes_this_char == 2) {\n iobj = twoInteger;\n } else if (bytes_this_char == 3) {\n iobj = threeInteger;\n } else {\n iobj = new Integer(bytes_this_char);\n }\n charToBytes.add( iobj );\n }\n\n bytes_read += bytes_this_char;\n chars_written++;\n\n if (debug_decode_loop) {\n System.out.println(\"char '\" + c + \"' \" +\n \"0x\" + Integer.toHexString(c) +\n \" decoded from \" +\n bytes_this_char + \" bytes\");\n }\n }\n\n if (debug) {\n System.out.println(\"decoded \" + chars_written + \" chars from \" +\n bytes_read + \" bytes\");\n\n for (int i=0 ; i < chars_written; i++) {\n int ind = dstOff + i;\n System.out.println(\"(char) '\" + dst[ind] + \"'\" +\n \" (int) \" + ((int) dst[ind]) +\n \" (hex) 0x\" + Integer.toHexString(dst[ind]) );\n\n if (charToBytes != null) {\n Integer iobj = (Integer) charToBytes.get(i);\n System.out.println(\"char was decoded from \" + iobj.intValue() + \" bytes\");\n }\n }\n }\n\n if (!(dstOffI < dstLen) && (srcb.remaining() > 0)) {\n // The dst buffer is full but bytes remain\n // in srcb. This could happen when this\n // method is invoked with a small buffer\n // so that the number of consumed bytes\n // can be determined.\n\n if (debug) {\n System.out.println(\"TCL_CONVERT_NOSPACE detected\");\n }\n\n result = TCL_CONVERT_NOSPACE;\n }\n\n boolean atEOF = (eofCond && encodingEnd);\n\n if (atEOF && !(dstOffI < dstLen)) {\n result = TCL_CONVERT_NOSPACE;\n }\n\n if (atEOF && (result == TCL.OK)) {\n // EOF flag must be passed to the decoder before\n // it can be flushed. This can only be done after\n // EOF was read from the input. If there was an\n // error, then don't pass EOF or flush the decoder.\n\n ByteBuffer emptyBytes = ByteBuffer.allocate(0);\n CharBuffer dstb = CharBuffer.wrap(dst, dstOffI, dstLen - dstOffI);\n\n int dstbStartPos = dstb.position();\n\n CoderResult cresult1 = csd.decode(emptyBytes, dstb, true);\n CoderResult cresult2 = csd.flush(dstb);\n\n if (cresult2 == CoderResult.OVERFLOW) {\n result = TCL_CONVERT_NOSPACE;\n } else {\n encodingEnd = false;\n }\n\n int chars_flushed = dstb.position() - chars_written;\n chars_written += chars_flushed;\n\n if (debug) {\n System.out.println(\"flushed \" + chars_flushed + \" chars at EOF\");\n }\n }\n\n srcReadPtr.i = bytes_read;\n if (dstWrotePtr != null)\n dstWrotePtr.i = chars_written;\n if (dstCharsPtr != null)\n dstCharsPtr.i = chars_written;\n\n return result;\n }", "@Override\n\tpublic void Decompress() {\n\t\t\n\t}", "protected abstract ByteBuf decompress(ByteBuf compressed, int originalLength) throws Exception;", "private CoderResult decodeArrayLoop(ByteBuffer src, CharBuffer dst) {\n byte[] srcArray = src.array();\n int srcPosition = src.arrayOffset() + src.position();\n int srcLength = src.arrayOffset() + src.limit();\n\n char[] destArray = dst.array();\n int destPosition = dst.arrayOffset() + dst.position();\n int destLength = dst.arrayOffset() + dst.limit();\n int destLengthASCII = destPosition + Math.min(srcLength - srcPosition, destLength - destPosition);\n\n // ASCII only loop\n while (destPosition < destLengthASCII && srcArray[srcPosition] >= 0) {\n destArray[destPosition++] = (char) srcArray[srcPosition++];\n }\n\n while (srcPosition < srcLength) {\n int b1 = srcArray[srcPosition];\n if (b1 >= 0) {\n // 1 byte, 7 bits: 0xxxxxxx\n if (destPosition >= destLength) {\n return xflow(src, srcPosition, srcLength, dst, destPosition, 1);\n }\n destArray[destPosition++] = (char) b1;\n srcPosition++;\n } else if ((b1 >> 5) == -2) {\n // 2 bytes, 11 bits: 110xxxxx 10xxxxxx\n if (srcLength - srcPosition < 2 || destPosition >= destLength) {\n return xflow(src, srcPosition, srcLength, dst, destPosition, 2);\n }\n int b2 = srcArray[srcPosition + 1];\n if (isMalformed2(b1, b2)) {\n return malformed(src, srcPosition, dst, destPosition, 2);\n }\n destArray[destPosition++] = (char) (((b1 << 6) ^ b2) ^ 0x0f80);\n srcPosition += 2;\n } else if ((b1 >> 4) == -2) {\n // 3 bytes, 16 bits: 1110xxxx 10xxxxxx 10xxxxxx\n if (srcLength - srcPosition < 3 || destPosition >= destLength) {\n return xflow(src, srcPosition, srcLength, dst, destPosition, 3);\n }\n int b2 = srcArray[srcPosition + 1];\n int b3 = srcArray[srcPosition + 2];\n if (isMalformed3(b1, b2, b3)) {\n return malformed(src, srcPosition, dst, destPosition, 3);\n }\n destArray[destPosition++] = (char) (((b1 << 12) ^ (b2 << 6) ^ b3) ^ 0x1f80);\n srcPosition += 3;\n } else if ((b1 >> 3) == -2) {\n // 4 bytes, 21 bits: 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx\n if (srcLength - srcPosition < 4 || destLength - destPosition < 2) {\n return xflow(src, srcPosition, srcLength, dst, destPosition, 4);\n }\n int b2 = srcArray[srcPosition + 1];\n int b3 = srcArray[srcPosition + 2];\n int b4 = srcArray[srcPosition + 3];\n int uc = ((b1 & 0x07) << 18) | ((b2 & 0x3f) << 12) | ((b3 & 0x3f) << 06) | (b4 & 0x3f);\n if (isMalformed4(b2, b3, b4) || !((uc >= 0x10000) && (uc <= 1114111))) {\n return malformed(src, srcPosition, dst, destPosition, 4);\n }\n destArray[destPosition++] = (char) (0xd800 | (((uc - 0x10000) >> 10) & 0x3ff));\n destArray[destPosition++] = (char) (0xdc00 | ((uc - 0x10000) & 0x3ff));\n srcPosition += 4;\n } else {\n return malformed(src, srcPosition, dst, destPosition, 1);\n }\n }\n return xflow(src, srcPosition, srcLength, dst, destPosition, 0);\n }", "private String[][] decompose(MinorBoard[][] superBoard) {\n\t\tString[][] fullDecomp = new String[27][3];\n\t\tint decompNext = 0;\n\t\t\n\t\tMinorBoard[] tempSup = superBoard[2];\n\t\t//Switches the top and bottom minorBoards to print in the right order\n\t\t//(Top boards need to be printed first)\n\t\tsuperBoard[2] = superBoard[0];\n\t\tsuperBoard[0] = tempSup;\n\t\t\n\t\t//Unpack the superBoard into a nested array of strings\n\t\tfor (MinorBoard[] superRow : superBoard) {\n\t\t\tfor (MinorBoard minorBoard : superRow) {\n\t\t\t\tString[][] minDecomp = minorBoard.getBoard();\n\t\t\t\t//Switches the top and bottom row of each minorBoard in prep for printing\n\t\t\t\tString[] temp = minDecomp[2];\n\t\t\t\tminDecomp[2] = minDecomp[0];\n\t\t\t\tminDecomp[0] = temp;\n\t\t\t\tfor (String[] row : minDecomp) {\n\t\t\t\t\tfullDecomp[decompNext] = row;\n\t\t\t\t\tdecompNext++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tString[][] organisedDecomp = new String[27][3];\n\t\tint current = 0;\n\t\tint[] order = {0,3,6};\n\t\tint target = 0;\n\t\t//Reorganises the nested strings so that they represent the superBoard from left to right\n\t\tfor (int supLayer = 0; supLayer < 3; supLayer++) {\n\t\t\tfor (int minorLayer = 0; minorLayer < 3; minorLayer++) {\n\t\t\t\tfor (int cycle = 0; cycle < 3; cycle++) {\n\t\t\t\t\ttarget = order[cycle] + minorLayer + supLayer*9;\n\t\t\t\t\torganisedDecomp[current] = fullDecomp[target];\n\t\t\t\t\tcurrent ++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn organisedDecomp;\n\t}", "private StandardDeCompressors() {}", "public static void decode() {\r\n int[] index = new int[R + 1];\r\n char[] charAtIndex = new char[R + 1];\r\n for (int i = 0; i < R + 1; i++) { \r\n index[i] = i; \r\n charAtIndex[i] = (char) i;\r\n }\r\n while (!BinaryStdIn.isEmpty()) {\r\n int c = BinaryStdIn.readChar();\r\n char t = charAtIndex[c];\r\n BinaryStdOut.write(t);\r\n for (int i = c - 1; i >= 0; i--) {\r\n char temp = charAtIndex[i];\r\n int tempIndex = ++index[temp];\r\n charAtIndex[tempIndex] = temp;\r\n }\r\n charAtIndex[0] = t;\r\n index[t] = 0;\r\n }\r\n BinaryStdOut.close(); \r\n }", "public void unpack(MAVLinkPayload payload) {\n\t\tpayload.resetIndex();\n\t\tthis.propeller1 = payload.getFloat();\n\t\tthis.propeller2 = payload.getFloat();\n\t\tthis.propeller3 = payload.getFloat();\n\t\tthis.propeller4 = payload.getFloat();\n\n\t}", "public ProtocolObject unpack(GameTransportPacket packet) {\n ProtocolObject gamePacket;\r\n gamePacket = styxDecoder.unpack(ByteBuffer.wrap(packet.gamedata));\r\n return gamePacket;\r\n }", "private static int decompose(long paramLong, DecomposeArgs paramDecomposeArgs)\n/* */ {\n/* 456 */ int i = getExtraDataIndex(paramLong);\n/* 457 */ paramDecomposeArgs.length = extraData[(i++)];\n/* */ \n/* 459 */ if ((paramDecomposeArgs.length & 0x80) > 0)\n/* */ {\n/* 461 */ int j = extraData[(i++)];\n/* 462 */ paramDecomposeArgs.cc = (0xFF & j >> 8);\n/* 463 */ paramDecomposeArgs.trailCC = (0xFF & j);\n/* */ }\n/* */ else {\n/* 466 */ paramDecomposeArgs.cc = (paramDecomposeArgs.trailCC = 0);\n/* */ }\n/* */ \n/* 469 */ paramDecomposeArgs.length &= 0x7F;\n/* 470 */ return i;\n/* */ }", "Object unpack(Info vi, Buffer opb) {\n\t\tInfoMapping0 info = new InfoMapping0();\n\n\t\tif (opb.read(1) != 0) {\n\t\t\tinfo.submaps = opb.read(4) + 1;\n\t\t} else {\n\t\t\tinfo.submaps = 1;\n\t\t}\n\n\t\tif (opb.read(1) != 0) {\n\t\t\tinfo.coupling_steps = opb.read(8) + 1;\n\n\t\t\tfor (int i = 0; i < info.coupling_steps; i++) {\n\t\t\t\tint testM = info.coupling_mag[i] = opb.read(Util\n\t\t\t\t\t\t.ilog2(vi.channels));\n\t\t\t\tint testA = info.coupling_ang[i] = opb.read(Util\n\t\t\t\t\t\t.ilog2(vi.channels));\n\n\t\t\t\tif (testM < 0 || testA < 0 || testM == testA\n\t\t\t\t\t\t|| testM >= vi.channels || testA >= vi.channels) {\n\t\t\t\t\t// goto err_out;\n\t\t\t\t\tinfo.free();\n\t\t\t\t\treturn (null);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (opb.read(2) > 0) { /* 2,3:reserved */\n\t\t\tinfo.free();\n\t\t\treturn (null);\n\t\t}\n\n\t\tif (info.submaps > 1) {\n\t\t\tfor (int i = 0; i < vi.channels; i++) {\n\t\t\t\tinfo.chmuxlist[i] = opb.read(4);\n\t\t\t\tif (info.chmuxlist[i] >= info.submaps) {\n\t\t\t\t\tinfo.free();\n\t\t\t\t\treturn (null);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < info.submaps; i++) {\n\t\t\tinfo.timesubmap[i] = opb.read(8);\n\t\t\tif (info.timesubmap[i] >= vi.times) {\n\t\t\t\tinfo.free();\n\t\t\t\treturn (null);\n\t\t\t}\n\t\t\tinfo.floorsubmap[i] = opb.read(8);\n\t\t\tif (info.floorsubmap[i] >= vi.floors) {\n\t\t\t\tinfo.free();\n\t\t\t\treturn (null);\n\t\t\t}\n\t\t\tinfo.residuesubmap[i] = opb.read(8);\n\t\t\tif (info.residuesubmap[i] >= vi.residues) {\n\t\t\t\tinfo.free();\n\t\t\t\treturn (null);\n\t\t\t}\n\t\t}\n\t\treturn info;\n\t}", "String[][] packData();", "public static void main(String[] args) {\n List<String> res = CompressStringToi18n.compress(\"careercup\");\n for(String str : res) {\n System.out.println(str);\n }\n }", "protected void decodeIndexEntry(IEntryResult entryResult) {\n\tchar[] word = entryResult.getWord();\n\tint tagLength = currentTag.length;\n\tint nameLength = CharOperation.indexOf(SEPARATOR, word, tagLength);\n\tif (this.simpleName == null)\n\t\t// Optimization, eg. type reference is 'org.eclipse.jdt.core.*'\n\t\tthis.decodedSegment = CharOperation.subarray(word, tagLength, nameLength);\n\telse\n\t\tthis.decodedSimpleName = CharOperation.subarray(word, tagLength, nameLength);\n}", "public void decode() throws Exception {\n decodeFat();\n decodeDat();\n }", "public static void decode() {\n char[] symbols = initializeSymbols();\n int position;\n while (!BinaryStdIn.isEmpty()) {\n position = BinaryStdIn.readChar();\n char symbol = symbols[position];\n BinaryStdOut.write(symbol, BITS_PER_BYTE);\n System.arraycopy(symbols, 0, symbols, 1, position);\n symbols[0] = symbol;\n }\n BinaryStdOut.close();\n }", "private TranslatedString deBuffer(GtfsRealtime.TranslatedString buffered) {\n TranslatedString result = new TranslatedString();\n for (Translation translation : buffered.getTranslationList()) {\n String language = translation.getLanguage();\n String string = translation.getText();\n result.addTranslation(language, string);\n }\n return result;\n }", "private void decoding(String cipherText)\n\t{\n\t\ttextLength = cipherText.length();\n\n\t\tdo\n\t\t{\n\t\t\tStringBuffer sb = new StringBuffer(textLength);\n\t\t\tchar currentLetter[] = cipherText.toCharArray();\n\n\t\t\tfor(int i = ZERO; i < textLength; i++)\n\t\t\t{\n\t\t\t\tif(i % TWO ==0)\n\t\t\t\tsb.append(currentLetter[i]);\n\t\t\t} // Ending bracket of for loop\n\n\t\t\tfor(int i = ZERO; i < textLength; i++)\n\t\t\t{\n\t\t\t\tif(i % TWO != ZERO)\n\t\t\t\tsb.append(currentLetter[i]);\n\t\t\t} // Ending bracket of for loop\n\n\t\t\tdecodedText = sb.toString();\n\t\t\tcipherText = decodedText;\n\t\t\tloopIntDecode++;\n\t\t}while(loopIntDecode < shiftAmount);\n\t}", "private void _testSimple(ChunkDecoder decoder) throws IOException\n {\n byte[] orig = \"Another trivial test\".getBytes(\"UTF-8\");\n byte[] compressed = compress(orig);\n byte[] result = decoder.decode(compressed);\n Assert.assertEquals(result, orig);\n\n // also, ensure that offset, length are passed\n byte[] compressed2 = new byte[compressed.length + 4];\n System.arraycopy(compressed, 0, compressed2, 2, compressed.length);\n\n result = decoder.decode(compressed2, 2, compressed.length);\n Assert.assertEquals(result, orig);\n\n // two ways to do that as well:\n result = LZFDecoder.decode(compressed2, 2, compressed.length);\n Assert.assertEquals(result, orig);\n }", "public static void inverseTransform() {\r\n \tint start = BinaryStdIn.readInt();\r\n \tString str = BinaryStdIn.readString();;\r\n \tchar[] lastCol = str.toCharArray();\r\n \tint[] count = new int[256];\r\n \tfor (char c : lastCol) {\r\n \t\tcount[c]++;\r\n \t}\r\n \tfor (int i = 1; i < count.length; i++) {\r\n \t\tcount[i] += count[i - 1];\r\n \t}\r\n \tint[] next = new int[lastCol.length];\r\n \tchar[] firstCol = new char[lastCol.length];\r\n \tfor (int i = lastCol.length - 1; i >= 0; i--) {\r\n \t\tint index = --count[lastCol[i]];\r\n \t\tfirstCol[index] = lastCol[i];\r\n \t\tnext[index] = i;\r\n \t}\r\n \tint sum = 0;\r\n \twhile (sum < lastCol.length) {\r\n \t\tBinaryStdOut.write(firstCol[start]);\r\n \t\tstart = next[start];\r\n \t\tsum++;\r\n \t}\r\n \tBinaryStdOut.close();\r\n }", "public void decode(byte[] in_buf, int in_off, int in_len,\r\n char[] out_buf, int out_off, int out_len, int[] result)\r\n throws CharConversionException;", "private String decoder(String code, Tree iterator) {\n for (int i = 0; i < code.length(); i++) {\n String decodedChar = iterator.decode(code.substring(0, i + 1));\n\n if (decodedChar != null) {\n decode = decode + decodedChar;\n code = code.substring(i + 1);\n i = -1;\n }\n }\n\n return code;\n }", "private static String loadConvert(String str) {\n\t\tint off = 0;\n\t\tint len = str.length();\n\t\tchar[] in = str.toCharArray();\n\t\tchar[] convtBuf = new char[1024];\n\t\tif (convtBuf.length < len) {\n\t\t\tint newLen = len * 2;\n\t\t\tif (newLen < 0) {\n\t\t\t\tnewLen = Integer.MAX_VALUE;\n\t\t\t}\n\t\t\tconvtBuf = new char[newLen];\n\t\t}\n\t\tchar aChar;\n\t\tchar[] out = convtBuf;\n\t\tint outLen = 0;\n\t\tint end = off + len;\n\n\t\twhile (off < end) {\n\t\t\taChar = in[off++];\n\t\t\tif (aChar == '\\\\') {\n\t\t\t\taChar = in[off++];\n\t\t\t\tif (aChar == 'u') {\n\t\t\t\t\t// Read the xxxx\n\t\t\t\t\tint value = 0;\n\t\t\t\t\tfor (int i = 0; i < 4; i++) {\n\t\t\t\t\t\taChar = in[off++];\n\t\t\t\t\t\tswitch (aChar) {\n\t\t\t\t\t\tcase '0':\n\t\t\t\t\t\tcase '1':\n\t\t\t\t\t\tcase '2':\n\t\t\t\t\t\tcase '3':\n\t\t\t\t\t\tcase '4':\n\t\t\t\t\t\tcase '5':\n\t\t\t\t\t\tcase '6':\n\t\t\t\t\t\tcase '7':\n\t\t\t\t\t\tcase '8':\n\t\t\t\t\t\tcase '9':\n\t\t\t\t\t\t\tvalue = (value << 4) + aChar - '0';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'a':\n\t\t\t\t\t\tcase 'b':\n\t\t\t\t\t\tcase 'c':\n\t\t\t\t\t\tcase 'd':\n\t\t\t\t\t\tcase 'e':\n\t\t\t\t\t\tcase 'f':\n\t\t\t\t\t\t\tvalue = (value << 4) + 10 + aChar - 'a';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'A':\n\t\t\t\t\t\tcase 'B':\n\t\t\t\t\t\tcase 'C':\n\t\t\t\t\t\tcase 'D':\n\t\t\t\t\t\tcase 'E':\n\t\t\t\t\t\tcase 'F':\n\t\t\t\t\t\t\tvalue = (value << 4) + 10 + aChar - 'A';\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tthrow new IllegalArgumentException(\"Malformed \\\\uxxxx encoding.\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tout[outLen++] = (char) value;\n\t\t\t\t} else {\n\t\t\t\t\tif (aChar == 't')\n\t\t\t\t\t\taChar = '\\t';\n\t\t\t\t\telse if (aChar == 'r')\n\t\t\t\t\t\taChar = '\\r';\n\t\t\t\t\telse if (aChar == 'n')\n\t\t\t\t\t\taChar = '\\n';\n\t\t\t\t\telse if (aChar == 'f')\n\t\t\t\t\t\taChar = '\\f';\n\t\t\t\t\tout[outLen++] = aChar;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tout[outLen++] = aChar;\n\t\t\t}\n\t\t}\n\t\treturn new String(out, 0, outLen);\n\t}", "Hashtable<String, String> unpack_cursor(Cursor cursor)\n {\n \tHashtable<String, String> result = null;\n \tif(cursor == null) return null;\n \telse if(cursor.getCount() == 0) return null;\n \telse\n \t{\n \t\tresult= new Hashtable<String, String>();\n\t \tcursor.moveToFirst(); \n\t \tint keyIndex = cursor.getColumnIndex(KEY_FIELD);\n\t\t\tint valueIndex = cursor.getColumnIndex(VALUE_FIELD);\n\t\t\tresult.put(cursor.getString(keyIndex), cursor.getString(valueIndex));\n\t\t\twhile (cursor.moveToNext()) \n\t \t{\n\t \t\tresult.put(cursor.getString(keyIndex), cursor.getString(valueIndex));\n\t \t}\n \t}\n \treturn result;\n }", "private void ReadHuffman(String aux) {\n\n Huffman DY = new Huffman();\n Huffman DCB = new Huffman();\n Huffman DCR = new Huffman();\n DY.setFrequencies(FreqY);\n DCB.setFrequencies(FreqCB);\n DCR.setFrequencies(FreqCR);\n\n StringBuilder encoding = new StringBuilder();\n int iteradorMatrix = aux.length() - sizeYc - sizeCBc - sizeCRc;\n for (int x = 0; x < sizeYc; ++x) {\n encoding.append(aux.charAt(iteradorMatrix));\n ++iteradorMatrix;\n }\n Ydes = DY.decompressHuffman(encoding.toString());\n encoding = new StringBuilder();\n for (int x = 0; x < sizeCBc; ++x) {\n encoding.append(aux.charAt(iteradorMatrix));\n ++iteradorMatrix;\n }\n CBdes = DCB.decompressHuffman(encoding.toString());\n encoding = new StringBuilder();\n for (int x = 0; x < sizeCRc; ++x) {\n encoding.append(aux.charAt(iteradorMatrix));\n ++iteradorMatrix;\n }\n CRdes = DCR.decompressHuffman(encoding.toString());\n }", "Hashtable<String, String> unpack_cursor(Cursor cursor,Hashtable<String, String> result)\n {\n \tif(cursor == null) return null;\n \tcursor.moveToFirst(); \n \tif(result == null)\n \tresult = new Hashtable<String, String>();\n \t\n \tint keyIndex = cursor.getColumnIndex(KEY_FIELD);\n\t\tint valueIndex = cursor.getColumnIndex(VALUE_FIELD);\n\t\twhile (cursor.moveToNext()) \n \t{\n \t\tresult.put(cursor.getString(keyIndex), cursor.getString(valueIndex));\n \t}\n \treturn result;\n }", "public void decode()\n {\n if (null == escherRecords || 0 == escherRecords.size()){\n byte[] rawData = getRawData();\n convertToEscherRecords(0, rawData.length, rawData );\n }\n }", "private void unCompress()\n\t{\n\t\ttry\n\t\t{\n\t\t\tbyte[] buffer = new byte[4096];\n\t\t\tint bytesIn;\n\t\t\tZipFile rfoFile = new ZipFile(path + fileName);\n\t\t\tEnumeration<? extends ZipEntry> allFiles = rfoFile.entries();\n\t\t\twhile(allFiles.hasMoreElements())\n\t\t\t{\n\t\t\t\tZipEntry ze = (ZipEntry)allFiles.nextElement();\n\t\t\t\tInputStream is = rfoFile.getInputStream(ze);\n\t\t\t\tString fName = processSeparators(ze.getName());\n\t\t\t\tFile element = new File(tempDir + fName);\n\t\t\t\torg.reprap.Main.ftd.add(element);\n\t\t\t\tFileOutputStream os = new FileOutputStream(element);\n\t\t\t\twhile((bytesIn = is.read(buffer)) != -1) \n\t\t\t\t\tos.write(buffer, 0, bytesIn);\n\t\t\t\tos.close();\n\t\t\t}\n\t\t} catch (Exception e)\n\t\t{\n\t\t\tDebug.e(\"RFO.unCompress(): \" + e);\n\t\t}\n\t}", "AstroArg unpack(Astro litChars);", "public void compress() {\r\n fCharBuffer.compress();\r\n fStyleBuffer.compress();\r\n fParagraphBuffer.compress();\r\n }", "@Test\n public void Test4179686() throws Exception {\n RuleBasedCollator en_us = (RuleBasedCollator) Collator.getInstance(Locale.US);\n // Create a collator with a few expanding character sequences in it....\n RuleBasedCollator coll = new RuleBasedCollator(en_us.getRules()\n + \" & ae ; \\u00e4 & AE ; \\u00c4\"\n + \" & oe ; \\u00f6 & OE ; \\u00d6\"\n + \" & ue ; \\u00fc & UE ; \\u00dc\");\n\n String text = \"T\\u00f6ne\"; // o-umlaut\n\n CollationElementIterator iter = coll.getCollationElementIterator(text);\n List elements = new ArrayList();\n int elem;\n\n // Iterate forward and collect all of the elements into a Vector\n while ((elem = iter.next()) != CollationElementIterator.NULLORDER) {\n elements.add(new Integer(elem));\n }\n\n // Now iterate backward and make sure they're the same\n iter.reset();\n int index = elements.size() - 1;\n while ((elem = iter.previous()) != CollationElementIterator.NULLORDER) {\n int expect = ((Integer)elements.get(index)).intValue();\n\n if (elem != expect) {\n errln(\"Mismatch at index \" + index\n + \": got \" + Integer.toString(elem,16)\n + \", expected \" + Integer.toString(expect,16));\n }\n index--;\n }\n }", "public static void inverseTransform()\r\n {\r\n \tint first = BinaryStdIn.readInt();\r\n \tString s = BinaryStdIn.readString();\r\n \tBinaryStdIn.close();\r\n \t\r\n \tchar[] t = s.toCharArray();\r\n \r\n \tchar[] firstCharacters = t.clone();\r\n \tArrays.sort(firstCharacters);\r\n \t\r\n \t// Construction next[] using t[] and first\r\n \tint[] next = constructNext(t, firstCharacters, first);\r\n \t\r\n \t// Writing original string to StdOut using next[] and first\r\n \tint index = first;\r\n \tfor (int i = 0; i < t.length; i++)\r\n \t{\r\n \t\tBinaryStdOut.write(firstCharacters[index]);\r\n \t\tindex = next[index];\r\n \t}\r\n \tBinaryStdOut.close();\r\n }", "private static void decodeStage()\n\t{\n\t\tif (isValidSource)\n\t\t{\n\t\t\tif (latches.containsKey(\"F\") && !latches.get(\"F\").isNOP())\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tlatches.put(\"F\", getSRCFromRegister(latches.get(\"F\")));\n\t\t\t\t} catch (Exception e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error while reading values from Registers in Decode function\");\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tmoveInstruction(\"D\", \"F\");\n\t\t} else\n\t\t{\n\t\t\tlatches.put(\"D\", new Instruction());\n\t\t}\n\t}", "public static String decompress(final String treeString, final String message) {\n\n BinaryNodeInterface<Character> rootNode = new BinaryNode<Character>();\n generateTree(rootNode, treeString);\n String result = message;\n\n if (result.length() == 0) {\n return result;\n }\n\n while (result.charAt(0) == '0' || result.charAt(0) == '1') {\n result = traverse(rootNode, result);\n result = result.substring(1);\n }\n\n return result;\n }", "public void decodeIndexEntry(IEntryResult entryResult){\n char[] word = entryResult.getWord();\n int size = word.length;\n int tagLength = REF.length;\n int nameLength = CharOperation.indexOf(SEPARATOR, word, tagLength);\n if (nameLength < 0) nameLength = size;\n this.decodedSegment = CharOperation.subarray(word, tagLength, nameLength); }" ]
[ "0.6269476", "0.6269476", "0.6118519", "0.6112256", "0.61094797", "0.6107937", "0.61049527", "0.61029094", "0.61014", "0.61014", "0.60995835", "0.60995007", "0.6095219", "0.6091467", "0.6088859", "0.60879123", "0.60821056", "0.6081935", "0.60811067", "0.6079966", "0.60795754", "0.6078634", "0.6077889", "0.60682714", "0.60664773", "0.6063923", "0.6063923", "0.6063923", "0.6063923", "0.6063923", "0.6063923", "0.6063923", "0.6063923", "0.6063923", "0.60623443", "0.6061494", "0.60569525", "0.6056119", "0.60278577", "0.6013894", "0.60002697", "0.5923158", "0.5792696", "0.57732254", "0.5516412", "0.5216641", "0.5082765", "0.49556386", "0.4890299", "0.48582473", "0.48253745", "0.4813857", "0.47993207", "0.47890747", "0.47757247", "0.47690797", "0.47260877", "0.47201732", "0.4709059", "0.46962294", "0.469496", "0.46893004", "0.46722937", "0.4670213", "0.4581955", "0.45520636", "0.44851512", "0.44836864", "0.4410881", "0.44013068", "0.43715072", "0.43547332", "0.4344407", "0.43257278", "0.43199855", "0.43174776", "0.42948258", "0.4283789", "0.4281182", "0.42807135", "0.4274646", "0.4262317", "0.42542237", "0.425395", "0.4208187", "0.42036217", "0.4196147", "0.41883788", "0.4187459", "0.41872042", "0.41840795", "0.418121", "0.4171284", "0.4164458", "0.4155989", "0.41539842", "0.41519073", "0.41459262", "0.41447505", "0.41431788" ]
0.6089754
14
Closes the input stream.
public final void yyclose() throws java.io.IOException { zzAtEOF = true; /* indicate end of file */ zzEndRead = zzStartRead; /* invalidate buffer */ if (zzReader != null) zzReader.close(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void close() throws IOException {\n input.close();\n }", "public void closeStream() {\n output.close();\n input.close();\n }", "public void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void close() throws IOException\n {\n in.close();\n }", "public static void close(){\n\t\tin.close();\n\t}", "@Override\n public void close() throws IOException\n {\n InputStream in = _inputSource;\n\n if (in != null) {\n _inputSource = null;\n if (_autoClose) {\n in.close();\n }\n }\n freeBuffers();\n }", "public synchronized void close() {\n try {\n audioInputStream.close();\n } catch (IOException ioe) {\n System.err.println(\"Problem while closing the audioInputSteam\");\n }\n\n }", "@Override\n\t public synchronized void close() throws IOException {\n\t\tin.close();\n\t\topen = false;\n\t }", "@Override\n\tpublic void close() {\n\t\tfinal Socket input = getSocket();\n\n\t\tif (input != null) {\n\t\t\tif (!input.isClosed()) {\n\t\t\t\ttry {\n\t\t\t\t\tinput.close();\n\t\t\t\t} catch (final IOException e) {\n\t\t\t\t\t// we cannot do anything\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n public void close() throws IOException\n {\n try\n {\n fAVMRemote.closeInputHandle(fTicketHolder.getTicket(), fHandle);\n }\n catch (Exception e)\n {\n throw new IOException(\"Remote Error closing input stream.\");\n }\n }", "public void close() throws IOException {\n\t\tin.close();\n \n\t\t// Release the buffer\n\t\tdataIn = null;\n\t\tbuffer = null;\n\t\tif(readRecordsCounter != null) {\n\t\t readRecordsCounter.increment(numRecordsRead);\n\t\t}\n\n\t\t// Return the decompressor\n\t\tif (decompressor != null) {\n\t\t decompressor.reset();\n\t\t CodecPool.returnDecompressor(decompressor);\n\t\t decompressor = null;\n\t\t}\n\t }", "public void close() throws IOException {\n open = false;\n stream.close();\n }", "protected void closeStream ()\n {\n stream.close ();\n }", "private void closeStream() throws IOException {\n if (originalInputStream != inputStream) {\n // Close the byte input stream or file input stream, if either is the current one\n inputStream.close();\n }\n\n if (closeOriginalStreamOnClose) {\n originalInputStream.close();\n }\n }", "public static void closeIO()\r\n\t{\n\t\ttry\r\n\t\t{\r\n\t\t\tinStream.close();\r\n\t\t\toutStream.close();\r\n\t\t}\r\n\t\tcatch(IOException e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public void close() throws FormatException, IOException {\n if (in != null) in.close();\n in = null;\n currentId = null;\n }", "public void close() throws IOException {\n\t\tistream.close();\n\t\tostream.close();\n\t\tsocket.close();\n\t}", "public synchronized void close() throws IOException {\n\t\t\tfinish();\n\t\t\tout.close();\n\t\t}", "protected void close() {\r\n\t\ttry {\r\n\t\t\t_asciiIn.close();\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.out.println(\r\n\t\t\t\t\t\"Error ocurred while closing file \" + _directory + _filename + _filetype + \":\" + e.getMessage());\r\n\t\t} // catch\r\n\t}", "public void close() throws IOException\n {\n try\n {\n flush();\n }\n catch (IOException ignored)\n {\n // ignore\n }\n getStream().close();\n }", "public void closeStream() {\n\t\ttry {\n\t\t\tisReaderStatusClosed = true;\n\t\t\tif(buffReader != null) {\n\t\t\t\tbuffReader.close();\n\t\t\t}\n\t\t} catch(Exception e) { }\n\t}", "public void close()\n throws IOException\n {\n outstream.close();\n }", "public void close()\r\n\t{\r\n\t if (isOpen()) try {\r\n\t \tfd.close();\r\n\t } catch (IOException ex) {\r\n\t \t/* do nothing */\r\n\t } finally {\r\n\t\t thisc = EOF;\r\n\t\t holdc = EOF;\r\n\t\t fd = null;\r\n\t }\r\n\t}", "private void close() {\n\t\tif (socketChannel != null) {\n\t\t\ttry {\n\t\t\t\tif (in != null) {\n\t\t\t\t\tin.close();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tlog.log(Level.SEVERE, \"Close in stream \", e);\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tif (out != null) {\n\t\t\t\t\tout.close();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tlog.log(Level.SEVERE, \"Close out stream \", e);\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tsocketChannel.close();\n\t\t\t} catch (IOException ex) {\n\t\t\t\tlog.log(Level.SEVERE, \"Can't close socket channel\", ex);\n\t\t\t}\n\n\t\t}\n\t\t//Defender.stopConnection();\n\t}", "public static void close( InputStream ins )\n {\n if ( ins != null )\n {\n try\n {\n ins.close();\n }\n catch ( IOException e )\n {\n log.error( \"Error closing input stream.\", e );\n }\n }\n }", "public void close() throws IOException {\n\t\tthis.finish();\n\t\tthis.buffer.close();\n\t\t}", "public void close() {\n try { out.flush(); } catch (Exception e) {}; // just to be sure\n \n cleanup();\n }", "protected void close() {\n\t\tif(sOutput != null) {\n\t\t\ttry {\n\t\t\t\tsOutput.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.err.println(\"error closing output stream\");\n\t\t\t}\n\t\t\t\n\t\t\tsOutput = null;\n\t\t}\n\t}", "public final void yyclose() throws IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "public void \n close() \n throws PipeException \n {\n in = -1;\n closedByReader = true;\n }", "public void close() throws IOException {\n if (!closed) {\n // Android-changed: Unconditionally close external inflaters (b/26462400)\n //if (usesDefaultInflater)\n inf.end();\n in.close();\n closed = true;\n }\n }", "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; // indicate end of file\n zzEndRead = zzStartRead; // invalidate buffer\n\n if (zzReader != null) {\n zzReader.close();\n }\n }", "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; // indicate end of file\n zzEndRead = zzStartRead; // invalidate buffer\n\n if (zzReader != null) {\n zzReader.close();\n }\n }", "public void close() {\n if (numDigits > 0)\n flush();\n try {\n output.close();\n } catch (IOException e) {\n throw new RuntimeException(e.toString());\n }\n }", "public final void yyclose() throws java.io.IOException {\r\n zzAtEOF = true; /* indicate end of file */\r\n zzEndRead = zzStartRead; /* invalidate buffer */\r\n\r\n if (zzReader != null)\r\n zzReader.close();\r\n }", "public final void yyclose() throws java.io.IOException {\r\n zzAtEOF = true; /* indicate end of file */\r\n zzEndRead = zzStartRead; /* invalidate buffer */\r\n\r\n if (zzReader != null)\r\n zzReader.close();\r\n }", "public final void yyclose() throws java.io.IOException {\r\n zzAtEOF = true; /* indicate end of file */\r\n zzEndRead = zzStartRead; /* invalidate buffer */\r\n\r\n if (zzReader != null)\r\n zzReader.close();\r\n }", "public final void yyclose() throws java.io.IOException {\r\n zzAtEOF = true; /* indicate end of file */\r\n zzEndRead = zzStartRead; /* invalidate buffer */\r\n\r\n if (zzReader != null)\r\n zzReader.close();\r\n }", "public final void yyclose() throws java.io.IOException {\r\n zzAtEOF = true; /* indicate end of file */\r\n zzEndRead = zzStartRead; /* invalidate buffer */\r\n\r\n if (zzReader != null)\r\n zzReader.close();\r\n }", "public void closeFile(){\n\t\t\n\t\ttry{\n\n\t\t\tbufferedInput.close();\n\t\t}\n\t\tcatch(IOException ex) {\n \t\tSystem.err.println(\"Error: Some problem while closing file\");; \n\t\t\tSystem.exit(1); \n \t}\n\t}", "public final void yyclose() throws java.io.IOException {\n\t\tzzAtEOF = true; /* indicate end of file */\n\t\tzzEndRead = zzStartRead; /* invalidate buffer */\n\n\t\tif (zzReader != null)\n\t\t\tzzReader.close();\n\t}", "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "public void close() throws IOException {\n source.close();\n }", "public static void closeFile() {\n\t\tif (input != null)\n\t\t\tinput.close();\n\t\t\n\t}", "final public void yyclose() throws java.io.IOException {\n yy_atEOF = true; /* indicate end of file */\n yy_endRead = yy_startRead; /* invalidate buffer */\n\n if (yy_reader != null)\n yy_reader.close();\n }", "final public void yyclose() throws java.io.IOException {\n yy_atEOF = true; /* indicate end of file */\n yy_endRead = yy_startRead; /* invalidate buffer */\n\n if (yy_reader != null)\n yy_reader.close();\n }", "private void closeInputFile() {\n try {\n fileInputStream.close();\n } catch (IOException ioException) {\n Log.d(LOG_TAG, \"closeInputFile (165): Error while closing input file.\");\n ioException.printStackTrace();\n this.finishedEncoding = true;\n }\n }", "@Override\n\t public synchronized void close() throws IOException {\n\t\tout.close();\n\t\topen = false;\n\t }", "public void close() throws IOException;", "public void close() throws IOException;", "public void close() throws IOException;", "public void close() throws IOException;", "public void close() throws IOException;", "public void close() throws IOException;", "public void close() throws IOException;", "public void close() throws IOException;", "public void close() {\n this.output.flush();\n this.output.close();\n }", "public void close() throws IOException {\n\t\tif (keyClass != null) {\n\t\t keySerializer.close();\n\t\t valueSerializer.close();\n\t\t}\n\n\t\t// Write EOF_MARKER for key/value length\n\t\tWritableUtils.writeVInt(out, EOF_MARKER);\n\t\tWritableUtils.writeVInt(out, EOF_MARKER);\n\t\tdecompressedBytesWritten += 2 * WritableUtils.getVIntSize(EOF_MARKER);\n \n\t\t//Flush the stream\n\t\tout.flush();\n \n\t\tif (compressOutput) {\n\t\t // Flush\n\t\t compressedOut.finish();\n\t\t compressedOut.resetState();\n\t\t}\n \n\t\t// Close the underlying stream iff we own it...\n\t\tif (ownOutputStream) {\n\t\t out.close();\n\t\t}\n\t\telse {\n\t\t // Write the checksum\n\t\t checksumOut.finish();\n\t\t}\n\n\t\tcompressedBytesWritten = rawOut.getPos() - start;\n\n\t\tif (compressOutput) {\n\t\t // Return back the compressor\n\t\t CodecPool.returnCompressor(compressor);\n\t\t compressor = null;\n\t\t}\n\n\t\tout = null;\n\t\tif(writtenRecordsCounter != null) {\n\t\t writtenRecordsCounter.increment(numRecordsWritten);\n\t\t}\n\t }", "private void close() {\n try {\n if (reader != null) {\n this.reader.close();\n }\n if (writer != null) {\n this.writer.close();\n }\n }\n catch (IOException e) {\n log.error(e);\n log.debug(Constants.STREAM_IS_CLOSED);\n }\n }", "public void close() {\r\n\t\tflush();\r\n\t\ttry {\r\n\t\t\tdos.close();\r\n\t\t\ts.close();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t}", "public void close ()\n {\n StreamHelper.flush (this);\n StreamHelper.close (m_aOS);\n m_aOS = null;\n }", "@Override\n public void close() {\n backingIterator.close();\n outputBuffer.close();\n isClosed = true;\n }", "protected void close()\n {\n out.close();\n }", "public static void closeFile() throws IOException {\n\t\ttry {\n\t\t\tinput.close();\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"Could not close input file. Make sure it isn't open elsewhere.\");\n\t\t\tthrow e;\n\t\t}\t\t\n\t}", "public void close() {\n\t\ttry {\n\t\t\t_inputStream.close();\n\t\t\t_outputStream.close();\n\t\t\t_socket.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "public synchronized void close() throws IOException {\n\t\tm_reader.close();\n\t}", "@Override\n public void close() throws IOException {\n inputMessageStream.close();\n outputMessageStream.close();\n socket.close();\n }", "public void close() throws IOException {\n reader.close();\n }", "public void close(InputStream inputStream) {\n inputStream.close();\n }", "@Override\n public void close() throws IOException\n {\n _out.close();\n }", "private void close() {\n\t\ttry {\n\t\t\tsendCommand(\"end\\n\");\n\t\t\tout.close();\n\t\t\tin.close();\n\t\t\tsocket.close();\n\t\t} catch (MossException e) {\n\t\t} catch (IOException e2) {\n\t\t} finally {\n\t\t\tcurrentStage = Stage.DISCONNECTED;\n\t\t}\n\n\t}", "@Override\n public void close() throws IOException {\n isClosed = true;\n }", "public void close() {\n try {\n socket.close();\n sInput.close();\n sOutput.close();\n sInput = null;\n socket = null;\n } catch (IOException e) {\n System.out.println(\"Logged Out.\");\n }\n }", "@Override\n protected void doClose() {\n FileUtil.closeSilent(this.in);\n this.recordFactory = null;\n this.geometryFactory = null;\n this.in = null;\n this.recordDefinition = null;\n this.resource = null;\n }", "private void CloseInputAndOutputStreams() {\n if (mOut != null)\n mOut.close();\n\n if (mIn != null)\n try {\n mIn.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "public void close(){\n\t\ttry {\n\t\t\tout.close();\n\t\t\tout = null;\n\t\t}\n\t\tcatch (IOException e){\n\t\t\tSystem.out.println(\"Problem closing file.\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "public void close() throws IOException {\n\t\tout.flush();\n\t\tout.close();\n\t}", "@Override\n\t\tpublic void close() throws IOException {\n\t\t\tout.close();\n\t\t}" ]
[ "0.7759348", "0.7442554", "0.7431424", "0.73467964", "0.7202436", "0.71076065", "0.69819653", "0.6875819", "0.6849541", "0.6823288", "0.67786884", "0.67334956", "0.6719289", "0.66913164", "0.66824675", "0.65635204", "0.656225", "0.65205383", "0.6506908", "0.6488402", "0.64391965", "0.6427573", "0.6374822", "0.636991", "0.6355696", "0.63488257", "0.6332873", "0.63288236", "0.631258", "0.63106686", "0.63089395", "0.6298559", "0.6298559", "0.62830967", "0.62770796", "0.62770796", "0.62770796", "0.62770796", "0.62770796", "0.62733686", "0.62675434", "0.6255954", "0.6252387", "0.62475795", "0.6227085", "0.6227085", "0.6224305", "0.6212209", "0.62118995", "0.62118995", "0.62118995", "0.62118995", "0.62118995", "0.62118995", "0.62118995", "0.62118995", "0.61893886", "0.61851287", "0.61685884", "0.6154595", "0.61541855", "0.61511856", "0.6140531", "0.6137095", "0.6133407", "0.6129735", "0.61291736", "0.6128519", "0.61258763", "0.6122652", "0.61225355", "0.61138636", "0.61135393", "0.60934144", "0.6091656", "0.6071652", "0.60704255", "0.6063343" ]
0.63178
49
Resets the scanner to read from a new input stream. Does not close the old reader. All internal variables are reset, the old input stream cannot be reused (internal buffer is discarded and lost). Lexical state is set to ZZ_INITIAL.
public final void yyreset(java.io.Reader reader) { zzReader = reader; zzAtBOL = true; zzAtEOF = false; zzEOFDone = false; zzEndRead = zzStartRead = 0; zzCurrentPos = zzMarkedPos = 0; yyline = yychar = yycolumn = 0; zzLexicalState = YYINITIAL; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n zzFinalHighSurrogate = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n if (zzBuffer.length > ZZ_BUFFERSIZE)\r\n zzBuffer = new char[ZZ_BUFFERSIZE];\r\n }", "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n zzFinalHighSurrogate = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n if (zzBuffer.length > ZZ_BUFFERSIZE)\r\n zzBuffer = new char[ZZ_BUFFERSIZE];\r\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = zzPushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n }", "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = zzPushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n }", "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n }", "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n }", "public void reset(Reader input) {\n this.buffer.dispose();\n this.buffer = new ReaderBuffer(input);\n this.previousToken = null;\n this.lastMatch.clear();\n }", "private void resetScanner(SourcePosition start) {\n lastSourcePosition = start;\n scanner.setPosition(lastSourcePosition);\n }", "final public void yyreset(java.io.Reader reader) throws java.io.IOException {\n yyclose();\n yy_reader = reader;\n yy_atBOL = true;\n yy_atEOF = false;\n yy_endRead = yy_startRead = 0;\n yy_currentPos = yy_markedPos = yy_pushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n yy_lexical_state = YYINITIAL;\n }", "final public void yyreset(java.io.Reader reader) throws java.io.IOException {\n yyclose();\n yy_reader = reader;\n yy_atBOL = true;\n yy_atEOF = false;\n yy_endRead = yy_startRead = 0;\n yy_currentPos = yy_markedPos = yy_pushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n yy_lexical_state = YYINITIAL;\n }", "private final void yyResetPosition() {\n zzAtBOL = true;\n zzAtEOF = false;\n zzCurrentPos = 0;\n zzMarkedPos = 0;\n zzStartRead = 0;\n zzEndRead = 0;\n zzFinalHighSurrogate = 0;\n yyline = 0;\n yycolumn = 0;\n yychar = 0L;\n }", "private final void yyResetPosition() {\n zzAtBOL = true;\n zzAtEOF = false;\n zzCurrentPos = 0;\n zzMarkedPos = 0;\n zzStartRead = 0;\n zzEndRead = 0;\n zzFinalHighSurrogate = 0;\n yyline = 0;\n yycolumn = 0;\n yychar = 0L;\n }", "public void reset() {\r\n\t\tnextTokenPos = 0;\r\n\t}", "public final void yyreset(java.io.Reader reader) {\r\n\t\t// 's' has been updated.\r\n\t\tzzBuffer = s.array;\r\n\t\t/*\r\n\t\t * We replaced the line below with the two below it because zzRefill\r\n\t\t * no longer \"refills\" the buffer (since the way we do it, it's always\r\n\t\t * \"full\" the first time through, since it points to the segment's\r\n\t\t * array). So, we assign zzEndRead here.\r\n\t\t */\r\n\t\t//zzStartRead = zzEndRead = s.offset;\r\n\t\tzzStartRead = s.offset;\r\n\t\tzzEndRead = zzStartRead + s.count - 1;\r\n\t\tzzCurrentPos = zzMarkedPos = s.offset;\r\n\t\tzzLexicalState = YYINITIAL;\r\n\t\tzzReader = reader;\r\n\t\tzzAtEOF = false;\r\n\t}", "public final void yyreset(Reader reader) {\n\t\t// 's' has been updated.\n\t\tzzBuffer = s.array;\n\t\t/*\n\t\t * We replaced the line below with the two below it because zzRefill\n\t\t * no longer \"refills\" the buffer (since the way we do it, it's always\n\t\t * \"full\" the first time through, since it points to the segment's\n\t\t * array). So, we assign zzEndRead here.\n\t\t */\n\t\t//zzStartRead = zzEndRead = s.offset;\n\t\tzzStartRead = s.offset;\n\t\tzzEndRead = zzStartRead + s.count - 1;\n\t\tzzCurrentPos = zzMarkedPos = s.offset;\n\t\tzzLexicalState = YYINITIAL;\n\t\tzzReader = reader;\n\t\tzzAtBOL = true;\n\t\tzzAtEOF = false;\n\t}", "public void reset() {\n try {\n is.reset();\n }catch(IOException ioe) {\n }\n }", "@Override\n public void reset() throws IOException {\n setPosition(startPosition);\n }", "public final void yyreset(Reader reader) {\n\t\t// 's' has been updated.\n\t\tzzBuffer = s.array;\n\t\t/*\n\t\t * We replaced the line below with the two below it because zzRefill\n\t\t * no longer \"refills\" the buffer (since the way we do it, it's always\n\t\t * \"full\" the first time through, since it points to the segment's\n\t\t * array). So, we assign zzEndRead here.\n\t\t */\n\t\t//zzStartRead = zzEndRead = s.offset;\n\t\tzzStartRead = s.offset;\n\t\tzzEndRead = zzStartRead + s.count - 1;\n\t\tzzCurrentPos = zzMarkedPos = s.offset;\n\t\tzzLexicalState = YYINITIAL;\n\t\tzzReader = reader;\n\t\tzzAtEOF = false;\n\t}", "public synchronized void reset() throws IOException {\n\t\t\tdata.seek(firstPosition);\n\t\t}", "void seekReset() {\n discardQueued(false);\n eofCond = false;\n stickyEofCond = false;\n blocked = false;\n sawCR = false;\n // FIXME: Change needed in Tcl\n //needNL = false;\n }", "public synchronized void resetInputStream()\r\n\t{\r\n\t\tthis.inputStream = new BodyReusableServletInputStream(this.bodyBytes);\r\n\t\tthis.bufferedReader = new BufferedReader(new InputStreamReader(this.inputStream)); \r\n\t}", "synchronized protected void rewind() {\n\t\ttry {\n\t\t\tais.close();\n\t\t} catch (IOException e) {\n\t\t\tthrow new CCSoundException(\"JSPCMAudioRecordingStream::rewind - Error closing the stream before reload\", e);\n\t\t}\n\t\tais = CCSoundIO.getAudioInputStream(meta.fileName());\n\t}", "public void rewind() throws IOException {\n if (closed) {\n throw new IOException(\"Stream is already closed\");\n }\n\n if (storeOutputStream != null) {\n storeOutputStream.close();\n storeOutputStream = null;\n }\n\n // Close the byte input stream or file input stream\n if (inputStream != originalInputStream) {\n inputStream.close();\n }\n\n bufferHighWaterMark = Math.max(bufferPointer, bufferHighWaterMark);\n bufferPointer = bufferHighWaterMark;\n\n if (bufferHighWaterMark > 0) {\n // If we have a buffer, then we'll read from it\n if (byteBuffer != null) {\n readingFromBuffer = true;\n inputStream = new UnsynchronizedByteArrayInputStream(byteBuffer, 0, bufferHighWaterMark);\n } else {\n // No buffer, which means we've switched to a file\n inputStream = new BufferedInputStream(new FileInputStream(storeFile));\n }\n } else {\n inputStream = originalInputStream;\n }\n }", "public void reset() {\n\n operator.reset(); // reset Scan Operator\n }", "RmsLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "@Override\n public void reset() {\n isDone = false;\n if (content.markSupported()) {\n try {\n content.reset();\n } catch (IOException ioe) {\n if (LOGGER.isDebugEnabled()) {\n LOGGER.debug(\"Unable to reset the input stream: {}\", ioe.getMessage());\n }\n }\n\n content.mark(0);\n }\n super.reset();\n }", "public static void init() {\n\t\tscanner = new Scanner(System.in);\n\t\treturn;\n\t}", "public void reset () {\n input = 0;\n }", "void seekReset() {\n\t\tcancelEof();\n\t\tsawEofChar = false;\n\t}", "public Scanner(java.io.Reader in) {\r\n this.zzReader = in;\r\n }", "public Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "public Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "public void reset()\n {\n myOffset = 0;\n amIInsideDoubleQuotes = false;\n amIInsideSingleQuotes = false;\n myCurrLexeme = null;\n }", "public void reset() {\r\n\t\tcursor = mark;\r\n\t}", "@Test\n public void testReset() throws IOException {\n String output = singleLineFileInit(file, Charsets.UTF_8);\n\n PositionTracker tracker = new DurablePositionTracker(meta, file.getPath());\n ResettableInputStream in = new ResettableFileInputStream(file, tracker);\n\n String result1 = readLine(in, output.length());\n assertEquals(output, result1);\n\n in.reset();\n String result2 = readLine(in, output.length());\n assertEquals(output, result2);\n\n String result3 = readLine(in, output.length());\n assertNull(\"Should be null: \" + result3, result3);\n\n in.close();\n }", "@Test(timeout = 4000)\n public void test137() throws Throwable {\n JavaCharStream javaCharStream0 = new JavaCharStream((Reader) null);\n PipedInputStream pipedInputStream0 = new PipedInputStream();\n javaCharStream0.ReInit((InputStream) pipedInputStream0, 122, 122);\n assertEquals((-1), javaCharStream0.bufpos);\n }", "protected void fill() throws IOException {\n ensureOpen();\n len = in.read(buf, 0, buf.length);\n if (len == -1) {\n throw new EOFException(\"Unexpected end of ZLIB input stream\");\n }\n inf.setInput(buf, 0, len);\n }", "protected void resetIO()\r\n {\r\n // Clear out all the stream history stuff\r\n tcIn = null;\r\n tcOut = null;\r\n tcInBuf = null;\r\n\r\n // Make sure these are history-wrapped\r\n SystemIOUtilities.out().clearHistory();\r\n SystemIOUtilities.err().clearHistory();\r\n SystemIOUtilities.restoreSystemIn();\r\n }", "public void reset() {\n bytes.reset();\n bytes.readVariableLengthInt();\n }", "public synchronized void reset() {\n java.util.Arrays.fill(buffer, (byte) 0);\n writeHead = 0;\n cumulativeWritten = 0;\n synchronized (allReaders) {\n for (Reader reader : allReaders) {\n reader.reset();\n }\n }\n }", "private void scan() {\n token = nextToken;\n nextToken = scanner.next();\n }", "private void rewind() {\n currentPos = markPos;\n }", "Lexer(java.io.Reader in) {\n this.zzReader = in;\n }", "Lexer(java.io.Reader in) {\n this.zzReader = in;\n }", "public Lexer(java.io.Reader in) {\r\n this.zzReader = in;\r\n }", "private void reset() throws IOException {\n }", "public void reset()\n {\n currentPosition = 0;\n }", "public Scanner(InputStream inStream)\n {\n in = new BufferedReader(new InputStreamReader(inStream));\n eof = false;\n getNextChar();\n }", "private void resetIterator() {\n\t\titerator = head;\n\t}", "protected final void resetBuffer() {\n buffer.reset();\n }", "@Override\n\tpublic void reset() {\n\t\tthis.buffer = new String();\n\t}", "void reset() throws IOException;", "void reset() throws IOException;", "public void resetBuffer(){\n bufferSet = false;\n init();\n }", "void resetLine() {\n eof = (cursor == lineMark);\n cursor = lineMark;\n }", "public void resetBuffer() {\n\n\t}", "private void syncPerlLexer() {\n myPerlLexer.setTokenEnd(getTokenEnd());\n }", "private void resetToHtmlInitial() {\n int i = 0;\n for (i = 0; i < zzEndRead; i++) {\n if (!Character.isWhitespace(zzBuffer.charAt(i))) break;\n }\n reset(zzBuffer, i, zzEndRead, HTML_INITIAL);\n }", "Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "public void reset()\n {\n current = 0;\n highWaterMark = 0;\n lowWaterMark = 0;\n super.reset();\n }", "public void resetDFA() {\n currentState = State.START;\n }", "public void reset() {\n started = false;\n flushing = false;\n moreText = true;\n headerCount = 0;\n actualLen = 0;\n }", "public Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "public Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "_TurtleLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "private static void scan() {\n\t\tt = la;\n\t\tla = Scanner.next();\n\t\tla.toString();\n\t\tsym = la.kind;\n\t}", "public final void rewind() {\n branch = 0;\n }", "@Override\n\tpublic synchronized void reset() {\n\t\tiOBuffer.reset();\n\t}", "@Override\r\n\tpublic void reset() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tthis.guessHistory.clear();\r\n\t}", "public synchronized void reset() throws IOException {\n super.reset();\n if(!iMaxSet) {\n iMaximum = available();\n }\n iRemainder = iMaximum;\n }", "public _RestFlexLexer(java.io.InputStream in) {\n this(new java.io.InputStreamReader(in));\n }", "@Test(timeout = 4000)\n public void test131() throws Throwable {\n StringReader stringReader0 = new StringReader(\"QXw?YE]We2j)\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 754, 5, 5);\n javaCharStream0.ReInit((Reader) stringReader0, 754, 754);\n assertEquals((-1), javaCharStream0.bufpos);\n }", "private void syncMainLexer() {\n setTokenEnd(myPerlLexer.getTokenEnd());\n }", "public synchronized void reset() {\n }", "public void reset(){\n this.context.msr.setReadyForInput(false);\n emptyAllInputBuffers();\n emptyAllOutputBuffers();\n emptyEngineersConsoleBuffer();\n }", "@Override\n\tpublic void rewind() {\n\t\t\n\t}", "public Analizador_Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "public void reset(){\r\n\t\tSystem.out.println(\"(EnigmaMachine) Initial Positions: \" + Arrays.toString(initPositions));\r\n\t\trotors.setPositions(initPositions);\r\n\t}", "public void restart_lookahead() throws Exception {\r\n for (int i = 1; i < error_sync_size(); i++) {\r\n Symbol[] symbolArr = this.lookahead;\r\n symbolArr[i - 1] = symbolArr[i];\r\n }\r\n this.cur_token = scan();\r\n this.lookahead[error_sync_size() - 1] = this.cur_token;\r\n this.lookahead_pos = 0;\r\n }" ]
[ "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6969859", "0.6943051", "0.6943051", "0.69422984", "0.6926764", "0.66624975", "0.66624975", "0.66455114", "0.66455114", "0.65870893", "0.63989896", "0.6375438", "0.6375438", "0.6342842", "0.6334518", "0.6189739", "0.61815256", "0.61566967", "0.6113232", "0.6097273", "0.60941005", "0.60460645", "0.5881622", "0.5880853", "0.5853654", "0.5830009", "0.57561064", "0.57515067", "0.5750166", "0.5702803", "0.56994087", "0.5669323", "0.56604034", "0.5641777", "0.5641777", "0.5599013", "0.5571084", "0.55639285", "0.5561701", "0.5559213", "0.55362105", "0.552924", "0.5527031", "0.5522593", "0.5507339", "0.54582137", "0.54582137", "0.54426754", "0.5442236", "0.5432841", "0.54198205", "0.54182714", "0.53801686", "0.5373084", "0.53530174", "0.53530174", "0.535194", "0.5316506", "0.53093916", "0.52718455", "0.52454287", "0.5218338", "0.52148765", "0.51984996", "0.51825726", "0.51799595", "0.51799595", "0.5175873", "0.5172525", "0.5172211", "0.516879", "0.51679933", "0.5166537", "0.51655936", "0.51535827", "0.5145458", "0.5140212", "0.5137871", "0.51257896", "0.5121647", "0.51142895", "0.5113703" ]
0.6667136
22
Returns the current lexical state.
public final int yystate() { return zzLexicalState; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LexerState getState() {\n\t\treturn state;\n\t}", "public String getCurrentState() {\n\t\treturn currentState;\n\t}", "public TSLexerState getState() {\r\n \t\treturn state;\r\n \t}", "final public int yystate() {\n return yy_lexical_state;\n }", "final public int yystate() {\n return yy_lexical_state;\n }", "public TurtleState getCurrentState() {\n\t\treturn states.peek();\n\t}", "public interface LexicalStates\n{\n\t/** lexical states */\n\tpublic static final int LEX_NORMAL =\t\t10; /* normal code (ie not within \"...\") */\n\tpublic static final int LEX_INTERPNORMAL = 9; /* code within a string, eg \"$foo[$x+1]\" */\n\tpublic static final int LEX_INTERPCASEMOD = 8; /* expecting a \\U, \\Q or \\E etc */\n\tpublic static final int LEX_INTERPPUSH =\t 7; /* starting a new sublex parse level */\n\tpublic static final int LEX_INTERPSTART\t= \t 6; /* expecting the start of a $var */\n\n\t/* at end of code, eg \"$x\" followed by: */\n\tpublic static final int LEX_INTERPEND = \t 5; /* ... eg not one of [, { or -> */\n\tpublic static final int LEX_INTERPENDMAYBE = 4; /* ... eg one of [, { or -> */\n\n\tpublic static final int LEX_INTERPCONCAT =\t 3; /* expecting anything, eg at start of\n\t\t\t\t\tstring or after \\E, $foo, etc */\n\tpublic static final int LEX_INTERPCONST =\t 2; /* NOT USED */\n\tpublic static final int LEX_FORMLINE =\t\t 1; /* expecting a format line */\n\tpublic static final int LEX_KNOWNEXT =\t\t 0; /* next token known; just return it */\n\n}", "public java.lang.String getState () {\n\t\treturn state;\n\t}", "public final int yystate() {\r\n return zzLexicalState;\r\n }", "public final int yystate() {\r\n return zzLexicalState;\r\n }", "public final int yystate() {\r\n return zzLexicalState;\r\n }", "public final int yystate() {\r\n return zzLexicalState;\r\n }", "public final int yystate() {\r\n return zzLexicalState;\r\n }", "public S getCurrentState();", "public final int yystate() {\n return zzLexicalState;\n }", "public java.lang.CharSequence getState() {\n return state;\n }", "public final int yystate() {\n\t\treturn zzLexicalState;\n\t}", "public int getState()\r\n\t{\r\n\t\treturn currentstate;\r\n\t}", "public java.lang.CharSequence getState() {\n return state;\n }", "String getCurrentState() {\n return context.getString(allStates[currentIdx]);\n }", "public State getCurrentState() {\n \t\treturn currentState;\n \t}", "public State getCurrentState() {\n\t\treturn currentState;\n\t}", "public State getCurrentState() {\n\t\treturn currentState;\n\t}", "public java.lang.String getState() {\r\n return state;\r\n }", "public S getState() {\r\n\t\treturn state;\r\n\t}", "public java.lang.String getState() {\n return state;\n }", "public java.lang.String getState() {\n return state;\n }", "public String getStateToken() {\n\t\treturn stateToken;\n\t}", "public java.lang.String getState() {\n return State;\n }", "public final char getState() {\n\t\treturn _state;\n\t}", "public String getState() {\n\t\treturn state;\n\t}", "public State getCurrentState() {\n return currentState;\n }", "public String getState()\n\t{\n\t\treturn state;\n\t}", "java.lang.String getState();", "public String getState() \n\t{\n\t\treturn state;\n\t}", "public S getState() {\n return currentState;\n }", "public String getState() {\r\n\t\treturn state;\r\n\t}", "public String getState() {\r\n\t\treturn state;\r\n\t}", "public String getState() {\r\n\t\treturn state;\r\n\t}", "@AutoEscape\n\tpublic String getState();", "public String getState()\r\n\t{\r\n\t\treturn state;\r\n\t}", "public String getState()\r\n\t{\r\n\t\treturn state;\r\n\t}", "public STATE getState() {\n\t\n\t\treturn state;\n\t}", "public State getState() {\n\t\treturn state;\n\t}", "public State getState() {\n\t\treturn state;\n\t}", "public String getState() {\r\n\t\treturn state;\t\t\r\n\t}", "String getState();", "String getState();", "String getState();", "public static States getState() {\r\n\t\treturn currentState;\r\n\t}", "public int getCurrentState() {\n return myState;\n }", "public String state() {\n return this.state;\n }", "public String state() {\n return this.state;\n }", "public String getState() {\n\t\treturn state.toString();\n\t}", "public String getState()\n {\n \treturn state;\n }", "public String getState() {\n\t\treturn State;\n\t}", "public String getState()\n\t{\n\t\treturn State;\n\t\t\n\t}", "public State getState();", "public State getState();", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }" ]
[ "0.777735", "0.7045248", "0.69731486", "0.69486177", "0.69486177", "0.6926388", "0.68727165", "0.6855888", "0.6828191", "0.6828191", "0.6828191", "0.6828191", "0.6828191", "0.68169594", "0.6794179", "0.6780457", "0.67754173", "0.6752172", "0.6720868", "0.66741174", "0.65927356", "0.6583865", "0.6583865", "0.6559515", "0.65509236", "0.6549206", "0.6549206", "0.6487395", "0.6481853", "0.64811754", "0.6453403", "0.6452989", "0.6444753", "0.6442819", "0.64422286", "0.64322335", "0.642815", "0.642815", "0.642815", "0.64205277", "0.64189065", "0.64189065", "0.6395655", "0.63911563", "0.63911563", "0.6385675", "0.6378763", "0.6378763", "0.6378763", "0.6362729", "0.6356979", "0.63490087", "0.63490087", "0.6346223", "0.6332672", "0.6329203", "0.6322009", "0.6307191", "0.6307191", "0.62789536", "0.62789536", "0.62789536" ]
0.68280005
46
Enters a new lexical state
public final void yybegin(int newState) { zzLexicalState = newState; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void yybegin(int newState) {\r\n zzLexicalState = newState;\r\n }", "public final void yybegin(int newState) {\r\n zzLexicalState = newState;\r\n }", "public final void yybegin(int newState) {\r\n zzLexicalState = newState;\r\n }", "public final void yybegin(int newState) {\r\n zzLexicalState = newState;\r\n }", "public final void yybegin(int newState) {\r\n zzLexicalState = newState;\r\n }", "public final void yybegin(int newState) {\n zzLexicalState = newState;\n }", "final public void yybegin(int newState) {\n yy_lexical_state = newState;\n }", "final public void yybegin(int newState) {\n yy_lexical_state = newState;\n }", "public final void yybegin(int newState) {\n\t\tzzLexicalState = newState;\n\t}", "public void SwitchTo(int lexState)\n{\n if (lexState >= 1 || lexState < 0)\n throw new TokenMgrError(\"Error: Ignoring invalid lexical state : \" + lexState + \". State unchanged.\", TokenMgrError.INVALID_LEXICAL_STATE);\n else\n curLexState = lexState;\n}", "public void SwitchTo(int lexState)\n{\n if (lexState >= 4 || lexState < 0)\n throw new TokenMgrError(\"Error: Ignoring invalid lexical state : \" + lexState + \". State unchanged.\", TokenMgrError.INVALID_LEXICAL_STATE);\n else\n curLexState = lexState;\n}", "static public void SwitchTo(int lexState)\n{\n if (lexState >= 2 || lexState < 0)\n throw new TokenMgrError(\"Error: Ignoring invalid lexical state : \" + lexState + \". State unchanged.\", TokenMgrError.INVALID_LEXICAL_STATE);\n else\n curLexState = lexState;\n}", "static public void SwitchTo(int lexState)\n {\n if (lexState >= 3 || lexState < 0)\n throw new TokenMgrError(\"Error: Ignoring invalid lexical state : \" + lexState + \". State unchanged.\", TokenMgrError.INVALID_LEXICAL_STATE);\n else\n curLexState = lexState;\n }", "private void start() {\n getDispenser().advance();\n if (getDispenser().tokenIsNumber()) setState(State.NUMBER); \n else if (getDispenser().tokenIsLeftParen()) setState(State.LEFT_PAREN);\n else syntaxError(NUM_OR_LEFT_PAREN);\n }", "public void SwitchTo(int lexState)\n {\n if (lexState >= 4 || lexState < 0)\n throw new TokenMgrError(\"Error: Ignoring invalid lexical state : \" + lexState + \". State unchanged.\", TokenMgrError.INVALID_LEXICAL_STATE);\n else\n curLexState = lexState;\n }", "static public void SwitchTo(int lexState) {\n if (lexState >= 2 || lexState < 0)\n throw new TokenMgrError(\"Error: Ignoring invalid lexical state : \" + lexState + \". State unchanged.\", TokenMgrError.INVALID_LEXICAL_STATE);\n else\n curLexState = lexState;\n }", "public SLR1_automat.State next_state(String symbol) throws Exception;", "public interface LexicalStates\n{\n\t/** lexical states */\n\tpublic static final int LEX_NORMAL =\t\t10; /* normal code (ie not within \"...\") */\n\tpublic static final int LEX_INTERPNORMAL = 9; /* code within a string, eg \"$foo[$x+1]\" */\n\tpublic static final int LEX_INTERPCASEMOD = 8; /* expecting a \\U, \\Q or \\E etc */\n\tpublic static final int LEX_INTERPPUSH =\t 7; /* starting a new sublex parse level */\n\tpublic static final int LEX_INTERPSTART\t= \t 6; /* expecting the start of a $var */\n\n\t/* at end of code, eg \"$x\" followed by: */\n\tpublic static final int LEX_INTERPEND = \t 5; /* ... eg not one of [, { or -> */\n\tpublic static final int LEX_INTERPENDMAYBE = 4; /* ... eg one of [, { or -> */\n\n\tpublic static final int LEX_INTERPCONCAT =\t 3; /* expecting anything, eg at start of\n\t\t\t\t\tstring or after \\E, $foo, etc */\n\tpublic static final int LEX_INTERPCONST =\t 2; /* NOT USED */\n\tpublic static final int LEX_FORMLINE =\t\t 1; /* expecting a format line */\n\tpublic static final int LEX_KNOWNEXT =\t\t 0; /* next token known; just return it */\n\n}", "static void EnterScope(){\r\n\t\tcurLevel++;\r\n\t\tScope scope = new Scope(curLevel);\r\n\t\t//scope.nextAdr = 3;\r\n\t\ttopScope.ant = scope;\r\n\t\tscope.sig = topScope; \r\n\t\ttopScope = scope;\r\n }", "public void enterScope(){\n\t\tscope.add(0, new ArrayList<SymbolEntry>());\n\t\t++scopeLevel;\n\t}", "public void enterBlock(CymbolParser.BlockContext ctx) {\n currentScope = new LocalScope(currentScope);\n saveScope(ctx, currentScope);\n }", "public void add_switch(String symbol, SLR1_automat.State state) throws Exception;", "public void pushState( TurtleState state ) {\n\t\tstates.push( state );\n\t}", "@Override\r\n\tpublic void addState(String nextToken) {\r\n\t\tNFAState s = checkIfExists(nextToken);\r\n\t\tif (s == null) {\r\n\t\t\tstates.add(new NFAState(nextToken));\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"Error: this state already exists.\");\r\n\t\t}\r\n\t}", "public void enterNormalState() {\n\n\t}", "public void enterHatchingState() {\n\n\t}", "@Override\n\tpublic void addStartState(String name) {\n\t\tNFAState s = checkIfExists(name);\n\t\tif(s == null){\n\t\t\ts = new NFAState(name);\n\t\t\taddState(s);\n\t\t} else {\n\t\t\tSystem.out.println(\"WARNING: A state with name \" + name + \" already exists in the NFA\");\n\t\t}\n\t\tstart = s;\n\t\t\n\t}", "public ATNState newState(GrammarAST node) {\n ATNState n = new BasicState();\n if (currentRule != null) {\n n.setRuleIndex(currentRule.index);\n }\n atn.addState(n);\n return n;\n }", "public void applyNewState() {\n this.setAlive(this.newState);\n }", "void nextState();", "@Override\n\tpublic void enterStart(AplusplusParser.StartContext ctx) {\n\t\tglobalScope = new GlobalScope();\n\t\tcurrentScope = globalScope;\n\t\tsaveScope(ctx, currentScope);\n\t}", "private InterpreterState(final String statename) {\n name = statename;\n }", "public abstract ALRState<I> goTo(Symbol symbol);", "State(Main aMain) {\n\tmain = aMain;\n\tback = Integer.parseInt(main.myProps.getProperty(\"yesterdays\"));\n\tfront = Integer.parseInt(main.myProps.getProperty(\"tomorrows\"));\n\tmaps = new Hashtable();\n availWeath = new Hashtable();\n\n main.myFrw.listen(new MapListener(), ScaledMap.TYPE, null);\n main.myFrw.announce(this);\n stateDoc = Framework.parse(main.myPath + \"state.xml\", \"state\");\n availWeath = loadFromDoc();\n }", "public void storeState(StateInfo stateInfo) {\n \n// Thread.dumpStack();\n super.storeState(stateInfo); \n \n JJStateInfo info = (JJStateInfo) stateInfo;\n info.setSubStates(lexan.getStateInfo());\n \n if (DEBUG) debug.println(\"Storing state [\"+ offset + \",\" + tokenOffset + \"]: \" + info + \"@\" + stopOffset); // NOI18N\n \n }", "public void setState(LexerState state) {\n\t\tif (state == null) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tthis.state = state;\n\t}", "public void setState(LexerState state) {\n\t\tif (state == null) {\n\t\t\tthrow new IllegalArgumentException(\"State cannot be \" + state);\n\t\t}\n\t\tthis.state = state;\n\t}", "protected void sequence_State(ISerializationContext context, State semanticObject) {\r\n\t\tif (errorAcceptor != null) {\r\n\t\t\tif (transientValues.isValueTransient(semanticObject, TP1_EMPackage.Literals.STATE__NAME) == ValueTransient.YES)\r\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TP1_EMPackage.Literals.STATE__NAME));\r\n\t\t}\r\n\t\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\r\n\t\tfeeder.accept(grammarAccess.getStateAccess().getNameEStringParserRuleCall_2_0(), semanticObject.getName());\r\n\t\tfeeder.finish();\r\n\t}", "public State(String name) {\n\t\tthis.name = name;\n\t\tif (name.endsWith(\"a\")) {\n\t\t\tsetAccepting();\n\t\t} else if (name.endsWith(\"d\")) {\n\t\t\tsetDeclining();\n\t\t} else if (name.endsWith(\"f\")) {\n\t\t\tsetFinal(true);\n\t\t}\n\t}", "protected void enter() {\n \tresult.setForeground(red);\n \tif (entered == true) {\n \t\tshow(current);\n \t}\n \tentered = true;\n \tstack.add(current);\n \tcurrent = 0;\n }", "public static void parse()\r\n {\r\n int initial;\r\n initial=expression();\r\n stateList.get(0).setNext1(initial);\r\n stateList.get(0).setNext2(initial);\r\n if(index<=expression.length()-1)\r\n {\r\n error();\r\n }\r\n else\r\n {\r\n state st=new state(state,\"END\",-1,-1);\r\n stateList.add(st);\r\n }\r\n }", "public void getState();", "private LRState createStartState(final Grammar grammar) {\n final Production production = grammar.getStartProduction();\n final HashSet<Symbol> terminalSymbols = new HashSet<>();\n terminalSymbols.add(END_SYMBOL);\n final LRItem startItem = new LRItem(production, 0, terminalSymbols);\n return new LRState(Arrays.asList(new LRItem[] { startItem }), 0);\n }", "public void enter();", "synchronized void advanceState()\n {\n state = state.advance();\n notifyAll();\n }", "public LexerState getState() {\n\t\treturn state;\n\t}", "LabState state();", "public void setState(int synstate){\n\tsynState = synstate;\n }", "public void FSMProcess(String currentInput) throws BadInputException{\n if (contentsMap.containsKey(currentState + currentInput)) {\n System.out.print(contentsMap.get(currentState + currentInput).getOutputSymbol());\n this.currentState = contentsMap.get(currentState + currentInput).getNextState();\n }\n else throw new BadInputException();\n }", "public DFAState(String name) {\n this.name = name;\n this.hashCode = name.hashCode();\n }", "public State next () { return nextState(); }", "public void setState (int philosphoer, String state){\n currentState[philosphoer] = state;\n }", "private void enterRules()\n {\n String ruleString = ruleTextField.getText();\n transition.buildRulesFromString(ruleString);\n ruleString = transition.buildStringFromRules();\n ruleTextField.setText(ruleString);\n optionsPanel.getWorkspacePanel().requestFocusInWindow();\n optionsPanel.getWorkspacePanel().repaint();\n // Daniel didn't like this automatic switching any more.\n // optionsPanel.getWorkspacePanel().setTool(LMWorkspacePanel.SELECT_TOOL);\n }", "@Override\n\tpublic void addState(String name) {\n\t\tNFAState s = checkIfExists(name);\n\t\tif( s == null){\n\t\t\ts = new NFAState(name);\n\t\t\taddState(s);\n\t\t} else {\n\t\t\tSystem.out.println(\"WARNING: A state with name \" + name + \" already exists in the NFA\");\n\t\t}\n\t\t\n\t}", "void enter();", "public void setCameFrom(State n)\r\n\t{\r\n\t\tthis.previousState = new State(n);\r\n\t}", "public void Activate() {\n state.Activate();\n }", "public void next()\r\n\t{\r\n\t\tif(state<3)\r\n\t\t\tstate++;\r\n\t\telse\r\n\t\t\tstate=1;\r\n\t}", "@Override\n public void setState(String s)\n {\n state = s;\n nbChanges++;\n }", "public ExecuteState() {\r\n PrevPC = 0;\r\n ChangedLoc = -1;\r\n OldInst = new CodeBlueInstruction();\r\n }", "@Override\r\n\tpublic void enter() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void nextState() {\n\t\t\r\n\t}" ]
[ "0.738621", "0.738621", "0.738621", "0.738621", "0.738621", "0.72930616", "0.72259086", "0.72259086", "0.71497005", "0.6763166", "0.67532724", "0.6651958", "0.62368345", "0.61824876", "0.6133371", "0.6028764", "0.6023225", "0.5938583", "0.5919541", "0.5890194", "0.58758664", "0.58068454", "0.57254535", "0.57182974", "0.565871", "0.56236386", "0.5615547", "0.55990535", "0.55915946", "0.55848646", "0.55655235", "0.5547628", "0.5542837", "0.55353045", "0.5525056", "0.55087495", "0.55036646", "0.55028445", "0.54579943", "0.5454412", "0.5435746", "0.54191965", "0.5415165", "0.5404174", "0.5385702", "0.5381009", "0.53681797", "0.53512263", "0.53131896", "0.53097767", "0.5297165", "0.5284825", "0.5278935", "0.52690053", "0.526565", "0.5259777", "0.5257673", "0.52565944", "0.52564716", "0.5253363", "0.5248435", "0.5243903" ]
0.7344826
40
Returns the text matched by the current regular expression.
public final String yytext() { return new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegularExpression() {\n\t\treturn enteredText;\n\t}", "java.lang.String getRegex();", "java.lang.String getRegex();", "@Override\r\n\tpublic String getMatch() {\n\t\treturn match;\r\n\t}", "public String getRegex();", "public String getRegEx();", "public String getMatched() {\r\n\t\treturn matched;\r\n\t}", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public final CharSequence yytext() {\n return zzBuffer.subSequence(zzStartRead, zzMarkedPos);\n }", "public String getMatchRegex() {\n return matchRegex;\n }", "public String apply(TregexMatcher tregexMatcher)\n/* */ {\n/* 275 */ return this.result;\n/* */ }", "public static String getAfterRegex(String text, String regex) {\n\t\tMatcher textMatcher = Pattern.compile(regex).matcher(text);\n\t\ttextMatcher.find();\n\t\tint foundI = textMatcher.end();\n\t\tif (sb == null) {\n\t\t\tsb = new StringBuilder();\n\t\t}\n\t\tchar[] chars = text.toCharArray();\n\t\tfor (int i=foundI; i<chars.length; i++) {\n\t\t\tsb.append(chars[i]);\n\t\t}\n\t\tString tokens = sb.toString();\n\t\tsb.setLength(0);\n\t\treturn tokens;\n\t}", "public final String getRegex() {\n\t\treturn JsUtils.getNativePropertyString(this, \"regex\");\n\t}", "public String getRegEx() {\r\n return regex;\r\n }", "public final String yytext() {\n\t\treturn new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead );\n\t}", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.Short getRegexMatch() {\r\n return regexMatch;\r\n }", "public final String yytext() {\n return new String(zzBuffer, zzStartRead, zzMarkedPos - zzStartRead);\n }", "public java.lang.String getGet() {\n java.lang.String ref = \"\";\n if (patternCase_ == 2) {\n ref = (java.lang.String) pattern_;\n }\n return ref;\n }", "public final String yytext() {\r\n return new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead );\r\n }", "public final String yytext() {\r\n return new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead );\r\n }", "public final String yytext() {\r\n return new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead );\r\n }", "public final String yytext() {\r\n return new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead );\r\n }", "public final String yytext() {\r\n return new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead );\r\n }", "public final String yytext() {\n return new String(zzBuffer, zzStartRead, zzMarkedPos - zzStartRead);\n }", "public P getText() {\n return this.slp.getProduction(text);\n }", "public final String yytext() {\n return new String(zzBuffer, zzStartRead, zzMarkedPos-zzStartRead);\n }", "final public String yytext() {\n return new String( yy_buffer, yy_startRead, yy_markedPos-yy_startRead );\n }", "final public String yytext() {\n return new String( yy_buffer, yy_startRead, yy_markedPos-yy_startRead );\n }", "public String getSourceText() {\n\t\treturn getSource().replaceAll(\"<a.*>(.*)</a>\", \"$1\");\n\t}", "public String getTextInCurrentElement() throws ParseException {\n int lessThan = html.lastIndexOf(\"<\", position);\n if (lessThan == -1) {\n throw new ParseException(\"Cannot find text in current element\", position);\n }\n position = lessThan;\n String tag = findCurrentTag(html, position);\n return getTextInNextElement(tag);\n }", "private ReaderWorld() {\r\n pattern = Pattern.compile(regularExpression);\r\n matcher = pattern.matcher(getText());\r\n }", "public String getText() {\n return text.getText();\n }", "public String returnRegex() {\n\t\tString chosenRegex;\n\t\tSystem.out.println(\"selectedRegex value is: \" + selectedRegex);\n\t\tswitch (selectedRegex) {\n\t\tcase 1:\n\t\t\tchosenRegex = \"(\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*)\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tchosenRegex = \"(\\\\&list=[a-zA-Z 0-9 -]+\\\\&?index=?\\\\d+?)\";\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tchosenRegex = \"(\\\\&feature=youtu.be)\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tchosenRegex = \"\\\\?t.*|\\\\&t.*|\\\\&l.*|\\\\&f.*\"; // alternative:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// (\\\\&?\\\\??t=\\\\d*?[h]?\\\\d*[m]?\\\\d*[s]|\\\\&t=\\\\d*|\\\\&list=[a-zA-Z\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0-9 -]*)\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(chosenRegex);\n\t\treturn chosenRegex;\n\t}", "public String getText() {\n\t\treturn new XWPFWordExtractor(document).getText();\n\t}", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getRegex() {\n java.lang.Object ref = regex_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n regex_ = s;\n return s;\n }\n }", "public java.lang.String getRegexStr() {\r\n return regexStr;\r\n }", "java.lang.String getText();", "java.lang.String getText();", "java.lang.String getText();", "java.lang.String getText();", "java.lang.String getText();", "java.lang.String getText();", "java.lang.String getText();", "java.lang.String getText();", "private String getStringMatching(final String input, final String regex) {\n\t\tLOGGER.debug(\"trying to locate a pattern {} in the input {}\", regex, input);\n\t\tPattern pattern = Pattern.compile(regex);\n\t\tString match = null;\n\t\tMatcher m = pattern.matcher(input);\n\t\twhile (m.find()) {\n\t\t\tfinal String matchingGroup = m.group().trim();\n\t\t\tif (matchingGroup.length() > 0) {\n\t\t\t\tmatch = matchingGroup;\n\t\t\t}\n\t\t}\n\t\treturn match;\n\t}", "String getText();", "String getText();", "String getText();", "String getText();", "String getText();", "String getText();", "String getText();", "public final String yytext() {\n return input.readText().toString();\n }", "public String getTextOnPage()\n {\n return mainText.getText();\n }", "Match getResultMatch();", "@Nullable\n String getMatch() {\n if (getAnchorType() == STRING_LITERAL || getAnchorType() == CHAR_LITERAL) {\n // Remove quotes inserted by parboiled for completion suggestions\n String fullToken = _anchor.getLabel();\n if (fullToken.length() >= 2) { // remove surrounding quotes\n fullToken = fullToken.substring(1, fullToken.length() - 1);\n }\n return fullToken;\n }\n return null;\n }", "public String getText()\n {\n return (this.text);\n }", "protected abstract Regex pattern();", "public String getPattern() {\r\n return this.currPattern;\r\n }", "public String getSearchResultsText() {\n System.out.println(\"[step] getSearchResultsText\");\n return page.findElement(signSearch).getText();\n }", "String text();", "public MatchResult getResult() {\n return result;\n }", "public String toString() {\n StringBuffer buffer = new StringBuffer();\n\n buffer.append(stringDfaMatcher);\n buffer.append(nfaMatcher);\n buffer.append(regExpMatcher);\n return buffer.toString();\n }", "public String previewNextToken() {\r\n matcher.find();\r\n String nextOne = matcher.group();\r\n updateMatcher(); // Return matcher to its previous state\r\n return nextOne;\r\n }" ]
[ "0.7089962", "0.64834046", "0.64834046", "0.62299055", "0.6080224", "0.60098445", "0.59762627", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59672266", "0.59393626", "0.58471566", "0.57845765", "0.5780511", "0.5689347", "0.56258416", "0.5623678", "0.56227785", "0.5599526", "0.5586904", "0.55634135", "0.55591756", "0.55591756", "0.55591756", "0.55591756", "0.55591756", "0.55518526", "0.5549445", "0.5540224", "0.5518733", "0.5518733", "0.5516762", "0.5508018", "0.54460084", "0.5436532", "0.54362094", "0.54163235", "0.54091173", "0.5407607", "0.5387316", "0.5376602", "0.5376602", "0.5376602", "0.5376602", "0.5376602", "0.5376602", "0.5376602", "0.5376602", "0.53736204", "0.5370488", "0.5370488", "0.5370488", "0.5370488", "0.5370488", "0.5370488", "0.5370488", "0.53551036", "0.53408873", "0.5332479", "0.5330076", "0.53213", "0.5317981", "0.527284", "0.5272433", "0.52624416", "0.526114", "0.52557194", "0.5249126" ]
0.55966103
48
Returns the character at position pos from the matched text. It is equivalent to yytext().charAt(pos), but faster
public final char yycharat(int pos) { return zzBuffer[zzStartRead+pos]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final char yycharat(int pos) {\n return input.readText().charAt(pos);\n }", "public final char yycharat(int pos) {\n return zzBuffer.charAt(zzStartRead+pos);\n }", "public final char yycharat(int pos) {\n return zzBuffer.charAt(zzStartRead+pos);\n }", "public final char yycharat(int pos) {\n return zzBuffer.charAt(zzStartRead+pos);\n }", "public final char yycharat(int pos) {\n return zzBuffer.charAt(zzStartRead+pos);\n }", "public final char yycharat(int pos) {\n return zzBuffer.charAt(zzStartRead+pos);\n }", "public final char yycharat(int pos) {\n return zzBuffer.charAt(zzStartRead+pos);\n }", "public final char yycharat(int pos) {\n return zzBuffer.charAt(zzStartRead+pos);\n }", "public final char yycharat(int pos) {\n return zzBuffer.charAt(zzStartRead+pos);\n }", "public final char yycharat(int pos) {\r\n return zzBuffer[zzStartRead+pos];\r\n }", "public final char yycharat(int pos) {\r\n return zzBuffer[zzStartRead+pos];\r\n }", "public final char yycharat(int pos) {\r\n return zzBuffer[zzStartRead+pos];\r\n }", "public final char yycharat(int pos) {\r\n return zzBuffer[zzStartRead+pos];\r\n }", "public final char yycharat(int pos) {\r\n return zzBuffer[zzStartRead+pos];\r\n }", "public char charAt(int pos) {\n return content.charAt(pos);\n }", "final public char yycharat(int pos) {\n return yy_buffer[yy_startRead+pos];\n }", "final public char yycharat(int pos) {\n return yy_buffer[yy_startRead+pos];\n }", "public final char yycharat(int pos) {\n return zzBufferArray != null ? zzBufferArray[zzStartRead+pos]:zzBuffer.charAt(zzStartRead+pos);\n }", "public final char yycharat(int pos) {\n return zzBufferArray != null ? zzBufferArray[zzStartRead+pos]:zzBuffer.charAt(zzStartRead+pos);\n }", "public char charAt(int index);", "public final char yycharat(int pos) {\n return zzBuffer[zzStartRead + pos];\n }", "public final char yycharat(int pos) {\n\t\treturn zzBuffer[zzStartRead+pos];\n\t}", "public char charAt(int charOffset);", "public char charAt(int index)\r\n/* 31: */ {\r\n/* 32: 44 */ if (index > this.pos) {\r\n/* 33: 45 */ throw new IndexOutOfBoundsException();\r\n/* 34: */ }\r\n/* 35: 47 */ return this.chars[index];\r\n/* 36: */ }", "@Override\n public final char charAt(final int index) {\n return text.charAt(index);\n }", "public char charAt(int index) {\n/* 121 */ return this.m_str.charAt(index);\n/* */ }", "public char at(int pos) {\r\n return fCharBuffer.at(pos);\r\n }", "public char get_char(int k) throws Exception {\r\n\t\tif (k < 0 || k >= text.length())\r\n\t\t\tthrow new IndexOutOfBoundsException(\"Invalid index: \" + k);\r\n\t\telse\r\n\t\t\treturn text.charAt(k);\r\n\t}", "public char charAt(int anIndex)\n {\n return _xstr.charAt(_start + anIndex);\n }", "@Override\r\n\tpublic char charAt(int index) {\n\t\treturn chars[index];\r\n\t}", "private String getCharacter(final int index) {\n String s = null;\n try {\n s = document.getText(index, 1);\n } catch (final BadLocationException e) {\n }\n return s;\n }", "public char charAt(int index)\n\t{\n\t\tif (index < 0 || index > (length - 1))\n\t\t\tthrow new IndexOutOfBoundsException();\n\t\tCNode character = getCNodeAt(index, firstC);\n\t\treturn character.data;\n\t}", "public char charAt(int index) throws stackException\n {\n char ans;\n if(index >= 0 && index < numNodes)\n {\n Node n = this.get(index);\n ans = n.item;\n return ans;\n }\n else\n {\n throw new stackException(\"Index Is Out Of Bounds\");\n }\n }", "public static int getAtChar(){\r\n\t\treturn atChar;\r\n\t}", "@Override\n\tpublic char charAt(int index) {\n\t\tif (index >= this.size()) throw new IndexOutOfBoundsException(\"out of bounds gah\");\n\t\tif (index<0) throw new IndexOutOfBoundsException(\"invalid index\");\n\n\t\tif (index<myIndex) {\n\t\t\tmyIndex = 0;\n\t\t\tmyLocalIndex=0;\n\t\t\tmyCurrent = myFirst;\n\t\t}\n\t\twhile (myIndex != index) {\n\n\t\t\tmyIndex++;\n\t\t\tmyLocalIndex++;\n\t\t\t\n\t\t\tif (myLocalIndex >= myCurrent.info.length()) {\n\t\t\t\tmyLocalIndex = 0;\n\t\t\t\t\n\t\t\t\tif (myCurrent.next.info == null) throw new IndexOutOfBoundsException(\"out of nodes\");\n\t\t\t\tmyCurrent = myCurrent.next;\n\t\t\t\t\n\t\t\t}\n\t\t}\n return myCurrent.info.charAt(myLocalIndex);\n }", "int getStartCharIndex();", "public int getCharPos(){\n return charPos;\n }", "public char getChar(int pos)\n {\n if (pos < 0) {\n if(this.post_comma_digits >= -pos)\n return this.raw_value[this.pre_comma()-1-pos];\n else return '0';\n } else {\n if(pos < this.pre_comma())\n return this.raw_value[this.pre_comma()-1-pos];\n else return '0';\n }\n }", "public char getChar(int index) throws ArrayIndexOutOfBoundsException\n\t{\n\t\treturn (char) bytes[index];\n\t}", "public Character charAt(int i) {\n\t\t\treturn null;\n\t\t}", "public Character charAt(int i) {\n\t\t\treturn null;\n\t\t}", "char getChar () { \n return m_pos < m_len ? m_buffer.charAt (m_pos) : '\\0';\n }", "char getChar(int offset) throws BadLocationException;", "char toChar(int index) {\n return _chars.charAt(index);\n }", "private static int charAt(String data) {\n\t\treturn 0;\n\t}", "@Override\n public final char setIndex(final int position) {\n ArgumentChecks.ensureBetween(\"position\", lower, upper, position);\n return ((index = position) != upper) ? text.charAt(position) : DONE;\n }", "public char charAt(String str, int index) {\n char charAt = ' ';\n\n try {\n charAt = str.charAt(index);\n } catch (IndexOutOfBoundsException e) {\n System.err.print(\"Index out of bounds exception: \" + e.getMessage());\n }\n\n return charAt;\n }", "public char getLetter(int index) {\n\t\treturn _objMyStringBuilder.getCharAt(index);\n\t}", "public char peek() {\n try {\n return this.input.charAt(this.index);\n } catch (StringIndexOutOfBoundsException e) {\n throw this.buildException(\"truncated input\");\n }\n }", "char toChar(int index) {\n if (index >= 0 && index < size()) {\n return _chars[index];\n } else {\n throw new EnigmaException(\"Index out of bounds.\");\n }\n }", "public char getChar();", "public char givenIndex(String str, int index)\r\n {\r\n char a= str.charAt(index);\r\n return a;\r\n }", "static int getIdx(char ch)\n {\n return (ch - 'a');\n }", "private int readCharBackward() {\r\n \t\tif (--index < 0 || \r\n \t\t\t\tdocumentContent == null ||\r\n \t\t\t\tdocumentContent.length() <= index)\r\n \t\t\treturn -1;\r\n \r\n \t\ttry {\r\n \t\t\treturn documentContent.charAt(index);\r\n \t\t} catch (StringIndexOutOfBoundsException e) {\r\n \t\t\treturn -1;\r\n \t\t}\r\n \t}", "int getEndCharIndex();", "@Override\n public final char current() {\n return (index != upper) ? text.charAt(index) : DONE;\n }", "public static void showChar(String s, int pos)\n {\n char chAtPos = s.charAt (pos);\n System.out.println(\"Character at position \" + pos +\n \" is \" + chAtPos);\n }", "public char getChar(int index)\r\n/* 191: */ {\r\n/* 192:208 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 193:209 */ return super.getChar(index);\r\n/* 194: */ }", "public abstract char getStarterChar();", "public final int getContinuationCharacter(int index) {\n return this.continuationCharacters[index];\n }", "char toChar(int index) {\n return _letters.charAt(index);\n }", "public char currentChar() throws Exception {\n // first line?\n if (currentPos == -2) {\n readLine();\n return nextChar();\n }\n\n // at end of file?\n if (line == null) {\n return PascalToken.EOF_CHAR;\n }\n\n // at end of line?\n if (currentPos == -1 || currentPos == line.length()) {\n return PascalToken.EOL_CHAR;\n }\n\n // Need to read next line?\n if (currentPos > line.length()) {\n readLine();\n return nextChar();\n }\n // return char at current pos\n return line.charAt(currentPos);\n }", "public int getCharStart() {\n\t\treturn -1;\n\t}", "public static char toChar(String str) {\n/* 173 */ if (StringUtils.isEmpty(str)) {\n/* 174 */ throw new IllegalArgumentException(\"The String must not be empty\");\n/* */ }\n/* 176 */ return str.charAt(0);\n/* */ }", "private char peek(){\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n\r\n if (iIndex>=iMessage.length()) return NONE;//return no character if beyond end of the message\r\n return iMessage.charAt(iIndex);//return current character\r\n \r\n }", "public char getChar()\n throws IOException\n {\n return (char) lineNumberReader.read();\n }", "private int getChar() {\n\n\t\ttry {\n\t\t\treturn stream.read();\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.print(e.getMessage());\n\t\t\tSystem.err.println(\"IOException occured in Lexer::getChar()\");\n\t\t\treturn -1;\n\t\t}\n\n\t}", "CharacterInfo getCharacter();", "public char getChar(int wordIndex, int charIndex) {\n return this.words.get(wordIndex).charAt(charIndex);\n }", "public String getWordAt(int pos){\n\t\treturn sentence.get(pos).getWord();\n\t}", "public char getChar(String name) {\n Enumeration enumer = CHARS.elements();\n while(enumer.hasMoreElements()) {\n SimpleMessageObjectCharItem item = (SimpleMessageObjectCharItem) enumer.nextElement();\n if(item.getName().compareTo(name) == 0) {\n return item.getValue();\n }\n }\n return (char)-1;\n }", "public static char getChar() throws IOException {\n\t\nString s = getString();\nreturn s.charAt(0);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Returns the first letter of the string, to help idiot proof it.\n\n}", "public static char getLetter(String s){\n //A variable used in the helper method\n int i = 0;\n return getLetter(codeTree, s, i);\n }", "@Test\n public void testCharAt() {\n LOGGER.info(\"testCharAt\");\n final AtomString atomString1 = new AtomString(\"Hello\");\n final char expected = 'e';\n final char actual = atomString1.charAt(1);\n assertEquals(expected, actual);\n }", "public int getIndex() {\r\n return textIndex;\r\n }", "public static String getWord(JTextComponent c, int offset)\n throws BadLocationException {\n int[] blk = getIdentifierBlock(c, offset);\n Document doc = c.getDocument();\n return (blk != null) ? doc.getText(blk[0], blk[1] - blk[0]) : null;\n }", "public char getChar() throws IOException {\r\n\t\treturn (char)lineReader.read();\r\n\t}", "public static char getChar(KeyStroke ks) {\n Character ch = (Character)chars.get(ks);\n if (ch == null) {\n // Try again, but strip all modifiers but shift\n int mask = ks.getModifiers() & ~KeyEvent.SHIFT_MASK;\n ks = KeyStroke.getKeyStroke(ks.getKeyCode(), mask);\n ch = (Character)chars.get(ks);\n if (ch == null)\n return KeyEvent.CHAR_UNDEFINED;\n }\n return ch.charValue();\n }" ]
[ "0.79012674", "0.7562809", "0.7562809", "0.7562809", "0.7562809", "0.7562809", "0.7562809", "0.7562809", "0.7562809", "0.7484132", "0.7484132", "0.7484132", "0.7484132", "0.7484132", "0.746413", "0.74302125", "0.74302125", "0.7390061", "0.7390061", "0.73842096", "0.73841447", "0.73158836", "0.7289713", "0.72628117", "0.7228505", "0.7091299", "0.70635945", "0.66867733", "0.6667236", "0.6631629", "0.6612956", "0.6609919", "0.65309095", "0.63398033", "0.632254", "0.618311", "0.6102222", "0.6082436", "0.60516256", "0.60151374", "0.60151374", "0.59775645", "0.5948061", "0.594157", "0.5936374", "0.5925689", "0.5890368", "0.58869386", "0.5841397", "0.5826854", "0.5796246", "0.57947373", "0.5786276", "0.57829595", "0.57574266", "0.57467926", "0.5744189", "0.57057714", "0.57020086", "0.56933856", "0.5671785", "0.56694216", "0.5651379", "0.56440234", "0.5629677", "0.5626501", "0.5593052", "0.5586794", "0.55810666", "0.5568725", "0.5524539", "0.5521721", "0.5516548", "0.55043566", "0.55034125", "0.5483837", "0.54746485", "0.5453624" ]
0.7513381
28
Returns the length of the matched text region.
public final int yylength() { return zzMarkedPos-zzStartRead; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getTextLength();", "public int length() {\r\n\t\treturn text.length();\r\n\t}", "public int getTextLength();", "public int getLength() {\n\t\t\treturn this.text.length();\n\t}", "@Override\r\n \tpublic final int getLength() {\r\n \t\tAssert.isTrue(hasSourceRangeInfo());\r\n \t\treturn getEndPos() - getStartPos();\r\n \t}", "public int getTextLength() {\r\n return text.length();\r\n }", "public int numMatches();", "public int getMinMatchLength() {\n int[] allele = {getAllele(0), getAllele(1)};\n byte[][] alt = {getAlt(allele[0]).getSequence(), getAlt(allele[1]).getSequence()};\n byte[] ref = getReference();\n\n int[] matchLength = {0, 0};\n for (int i = 0; i < 2; i++) {\n for (int j = 0; j < Math.min(ref.length, alt[i].length); j++) {\n if (alt[i][j] == ref[j]) {\n matchLength[i]++;\n } else {\n break;\n }\n }\n }\n return Math.min(matchLength[0], matchLength[1]);\n }", "int getSearchLength();", "int getGrammarMatchCount();", "int computeNumberOfLines(String text);", "public int size() {\n return text.size();\n }", "public int getLength ()\r\n {\r\n return glyph.getBounds().width;\r\n }", "public double length(){\n return end.distance(getStart());\n }", "protected int length() { return FormatTools.getRasterLength(lengths); }", "public final int termLength() {\n initTermBuffer();\n return termLength;\n }", "public int rectangleCount() {\n return this.root.rectangleCount();\n }", "public float getWidth() {\n\t\t\n\t\tfloat width= 0;\n\t\tfor(int i = 0; i < text.length(); i++) {\n\t\t\twidth += font.getChar(text.charAt(i)).X_ADVANCE * size;\n\t\t}\n\t\t\n\t\treturn width;\n\t}", "public int matchLength() {\n /*\n // Can't load method instructions: Load method exception: null in method: android.icu.text.TimeZoneNames.MatchInfo.matchLength():int, dex: in method: android.icu.text.TimeZoneNames.MatchInfo.matchLength():int, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.text.TimeZoneNames.MatchInfo.matchLength():int\");\n }", "public double length() {\n\t\treturn startPoint.distance(endPoint);\n\t}", "public int height()\n throws Exception\n {\n return this.text.height();\n }", "public final int yylength() {\n return zzMarkedPos - zzStartRead;\n }", "int getLinesCount();", "public final int yylength() {\n return zzMarkedPos - zzStartRead;\n }", "int getNumberOfLines(int offset, int length) throws BadLocationException;", "public final int yylength() {\r\n return zzMarkedPos-zzStartRead;\r\n }", "public final int yylength() {\r\n return zzMarkedPos-zzStartRead;\r\n }", "public final int yylength() {\r\n return zzMarkedPos-zzStartRead;\r\n }", "public final int yylength() {\r\n return zzMarkedPos-zzStartRead;\r\n }", "public final int yylength() {\r\n return zzMarkedPos-zzStartRead;\r\n }", "private int getOffsetLength(final String message, final ResourceText text,\n\t\t\tfinal int offset) {\n\t\tint length = 1;\n\t\tif (isUnunsedVariable(message) //\n\t\t\t\t|| isUnunsedMacro(message) //\n\t\t\t\t|| isLowerCase(message)) {\n\t\t\tfinal int start = message.indexOf(QUOTE_CHAR);\n\t\t\tfinal int end = message.indexOf(QUOTE_CHAR, start + 1);\n\t\t\tif (start != -1 && end != -1) {\n\t\t\t\tlength = end - start - 1;\n\t\t\t}\n\t\t} else if (isNoSpace(message)) {\n\t\t\tint end = offset;\n\t\t\tfinal byte[] content = text.getContent();\n\t\t\twhile (isWhitespace(content, end)) {\n\t\t\t\tend++;\n\t\t\t}\n\t\t\tlength = end - offset;\n\t\t} else if (isOneSpace(message) || isEndLineSpace(message)) {\n\t\t\tint end = offset + 1;\n\t\t\tfinal byte[] content = text.getContent();\n\t\t\twhile (isWhitespace(content, end)) {\n\t\t\t\tend++;\n\t\t\t}\n\t\t\tlength = end - offset;\n\t\t}\n\n\t\treturn Math.max(length, 1);\n\t}", "public int getStringWidth(String text);", "public int getGrammarMatchCount() {\n if (grammarMatchBuilder_ == null) {\n return grammarMatch_.size();\n } else {\n return grammarMatchBuilder_.getCount();\n }\n }", "public int length() { return _end - _start; }", "public final int yylength() {\n\t\treturn zzMarkedPos-zzStartRead;\n\t}", "public float getHeight() {\n\t\t\n\t\tfloat height = 0;\n\t\tfor(int i = 0; i < text.length(); i++) {\n\t\t\tFontChar c = font.getChar(text.charAt(i));\n\t\t\tfloat h = (c.T_HEIGHT + c.Y_OFFSET) * size;\n\t\t\t\n\t\t\tif(h > height)\n\t\t\t\theight = h;\n\t\t}\n\t\t\n\t\treturn height;\n\t}", "public int getLength() {\n if (data instanceof String) {\n String string = (String) data;\n return string.length();\n } else if (data instanceof StringReference) {\n StringReference stref = (StringReference) data;\n return stref.getLength();\n } else if (data instanceof Value) {\n Value val = (Value) data;\n return val.getString().length();\n } else {\n return data.toString().length();\n }\n }", "public int getWordLength();", "public int length();", "public int length();", "public int length();", "public int length();", "public int length();", "@Override\n public int height()\n {\n return textCent.height();\n }", "public int get_length();", "private static int numLines() {\n\t\tif(subway != null)\n\t\t\treturn subway[0].length;\n\t\treturn 0;\n\t}", "public int length() {\n \t\tif (-1 == n_points) setupForDisplay();\n \t\treturn n_points;\n \t}", "public double getLength() {\n return VectorXZ.distance(p1, p2);\n }", "public int getMazeWidth() {\n\t\tint result = 0;\n\t\t\n\t\tfor (String line : this.mMazeChars) {\n\t\t\tif (result < line.length()) \n\t\t\t\tresult = line.length();\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "public int length() {\n return nextindex - startIndex;\n }", "@Override\n public int computeLength()\n {\n if ( matchingRule != null )\n {\n matchingRuleBytes = Strings.getBytesUtf8( matchingRule );\n extensibleMatchLength = 1 + TLV.getNbBytes( matchingRuleBytes.length ) + matchingRuleBytes.length;\n }\n\n if ( type != null )\n {\n typeBytes = Strings.getBytesUtf8( type );\n extensibleMatchLength += 1 + TLV.getNbBytes( typeBytes.length ) + typeBytes.length;\n }\n\n if ( matchValue != null )\n {\n int bytesLength = matchValue.getBytes().length;\n extensibleMatchLength += 1 + TLV.getNbBytes( bytesLength ) + bytesLength;\n }\n\n if ( dnAttributes )\n {\n extensibleMatchLength += 1 + 1 + 1;\n }\n\n return 1 + TLV.getNbBytes( extensibleMatchLength ) + extensibleMatchLength;\n }", "public int length()\r\n/* 26: */ {\r\n/* 27: 39 */ return this.pos;\r\n/* 28: */ }", "@java.lang.Override\n public int getGrammarMatchCount() {\n return grammarMatch_.size();\n }", "public int getWidth(CharSequence text) {\r\n\t\tint width = 0, lineWidth = 0;\r\n\t\t\r\n\t\tfor (int i = 0; i < text.length(); i++) {\r\n\t\t\tchar character = text.charAt(i);\r\n\t\t\t\r\n\t\t\tif (character == '\\n') { // New line\r\n\t\t\t\twidth = Math.max(width, lineWidth);\r\n\t\t\t\tlineWidth = 0;\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// Ignore carriage returns\r\n\t\t\tif (character == '\\r') continue;\r\n\t\t\t\r\n\t\t\tGlyph glyph = glyphs.get(character);\r\n\t\t\tif (glyph == null) continue;\r\n\t\t\t\r\n\t\t\tlineWidth += glyph.getWidth();\r\n\t\t}\r\n\t\t\r\n\t\twidth = Math.max(width, lineWidth);\r\n\t\treturn width;\r\n\t}", "int getNumberOfLines();", "int getLineLength(int line) throws BadLocationException;", "public long getNumberOfPatternOccurrences() {\n if(!hasFinished()) {\n throw new IllegalArgumentException(\"the recompression is not jet ready.\");\n }\n\n S terminal = slp.get(getPattern().getLeft(), 1);\n return getPatternOccurrence(terminal).get(getText());\n }", "public int getCount() {\n return m_stringOffsets != null ?\n m_stringOffsets.length :\n 0;\n }", "public int length() {\n\treturn tokens.length;\n}", "int getLength();", "int getLength();", "int getLength();", "int getLength();", "int getLength();" ]
[ "0.6528484", "0.6524071", "0.636394", "0.6363093", "0.61599505", "0.6144468", "0.60899585", "0.6083994", "0.607981", "0.6014312", "0.6012768", "0.60009634", "0.59647894", "0.5935444", "0.5883292", "0.5819961", "0.5805488", "0.57757026", "0.5772788", "0.5771723", "0.57381433", "0.5736751", "0.57170707", "0.5708871", "0.5691757", "0.5684845", "0.5684845", "0.5684845", "0.5684845", "0.5684845", "0.56836575", "0.56816185", "0.56722504", "0.5664663", "0.5642051", "0.56175935", "0.5615893", "0.56133527", "0.5610425", "0.5610425", "0.5610425", "0.5610425", "0.5610425", "0.5598322", "0.5596918", "0.5592805", "0.55829555", "0.55432", "0.5530951", "0.5523193", "0.55159557", "0.55140084", "0.5510568", "0.5509233", "0.5494084", "0.5489734", "0.5485191", "0.5483054", "0.54786164", "0.54784447", "0.54784447", "0.54784447", "0.54784447", "0.54784447" ]
0.5758411
53
Reports an error that occured while scanning. In a wellformed scanner (no or only correct usage of yypushback(int) and a matchall fallback rule) this method will only be called with things that "Can't Possibly Happen". If this method is called, something is seriously wrong (e.g. a JFlex bug producing a faulty scanner etc.). Usual syntax/scanner level error handling should be done in error fallback rules.
private void zzScanError(int errorCode) { String message; try { message = ZZ_ERROR_MSG[errorCode]; } catch (ArrayIndexOutOfBoundsException e) { message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR]; } throw new Error(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void yy_ScanError(int errorCode) {\n String message;\n try {\n message = YY_ERROR_MSG[errorCode];\n }\n catch (ArrayIndexOutOfBoundsException e) {\n message = YY_ERROR_MSG[YY_UNKNOWN_ERROR];\n }\n\n throw new Error(message);\n }", "private void yy_ScanError(int errorCode) {\n String message;\n try {\n message = YY_ERROR_MSG[errorCode];\n }\n catch (ArrayIndexOutOfBoundsException e) {\n message = YY_ERROR_MSG[YY_UNKNOWN_ERROR];\n }\n\n throw new Error(message);\n }", "private void parseError() {\r\n System.out.print(\"Parse Error on:\");\r\n tokens.get(position).print();\r\n }", "public void syntax_error(Symbol current_token){}", "@Override\n public final void syntaxError(Recognizer<?, ?> recognizer,\n Object offendingSymbol, int line, int charPositionInLine,\n String msg, RecognitionException e) {\n ResolveToken offendingToken = (ResolveToken) offendingSymbol;\n String input;\n if (recognizer == null) {\n input = offendingToken.getTokenSource().getInputStream().toString();\n }\n else {\n CommonTokenStream src =\n (CommonTokenStream) recognizer.getInputStream();\n input = src.getTokenSource().getInputStream().toString();\n }\n String[] lines = input.split(\"\\n\");\n String errorLine = lines[line - 1].replaceAll(\"\\t\", \" \");\n\n // Obtain the location from the token if it is not null\n Location location = null;\n if (offendingToken != null) {\n location = offendingToken.getLocation();\n }\n\n String errorMsg = buildErrorMsg(charPositionInLine, errorLine, msg);\n myStatusHandler.error(location, errorMsg);\n }", "public static void scannerError(String fmt, Object... varArgs) throws Exception\r\n\t{\r\n\t\tString diagnosticTxt = String.format(fmt, varArgs);\r\n\t\tthrow new ScannerException((Scanner.iSourceLineNr + 1), diagnosticTxt);\r\n\t}", "private void error(@Nonnull Token pptok, boolean is_error)\r\n throws IOException,\r\n LexerException {\r\n StringBuilder buf = new StringBuilder();\r\n buf.append('#').append(pptok.getText()).append(' ');\r\n /* Peculiar construction to ditch first whitespace. */\r\n Token tok = source_token_nonwhite();\r\n ERROR:\r\n for (;;) {\r\n switch (tok.getType()) {\r\n case NL:\r\n case EOF:\r\n break ERROR;\r\n default:\r\n buf.append(tok.getText());\r\n break;\r\n }\r\n tok = source_token();\r\n }\r\n if (is_error)\r\n error(pptok, buf.toString());\r\n else\r\n warning(pptok, buf.toString());\r\n }", "@Override\n protected void reportUnwantedToken(Parser recognizer) {\n super.reportUnwantedToken(recognizer);\n System.exit(SYNTAX_ERROR_CODE);\n }", "@Override\n protected void visit(final SpreadsheetErrorParserToken token) {\n this.add(\n Expression.value(\n token.value()\n .kind()\n .toError()\n ),\n token\n );\n }", "int yyparse()\n {\n boolean doaction;\n init_stacks();\n yynerrs = 0;\n yyerrflag = 0;\n yychar = -1; //impossible char forces a read\n yystate=0; //initial state\n state_push(yystate); //save it\n val_push(yylval); //save empty value\n while (true) //until parsing is done, either correctly, or w/error\n {\n doaction=true;\n if (yydebug) debug(\"loop\");\n //#### NEXT ACTION (from reduction table)\n for (yyn=yydefred[yystate];yyn==0;yyn=yydefred[yystate])\n {\n if (yydebug) debug(\"yyn:\"+yyn+\" state:\"+yystate+\" yychar:\"+yychar);\n if (yychar < 0) //we want a char?\n {\n yychar = yylex(); //get next token\n if (yydebug) debug(\" next yychar:\"+yychar);\n //#### ERROR CHECK ####\n if (yychar < 0) //it it didn't work/error\n {\n yychar = 0; //change it to default string (no -1!)\n if (yydebug)\n yylexdebug(yystate,yychar);\n }\n }//yychar<0\n yyn = yysindex[yystate]; //get amount to shift by (shift index)\n if ((yyn != 0) && (yyn += yychar) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\n {\n if (yydebug)\n debug(\"state \"+yystate+\", shifting to state \"+yytable[yyn]);\n //#### NEXT STATE ####\n yystate = yytable[yyn];//we are in a new state\n state_push(yystate); //save it\n val_push(yylval); //push our lval as the input for next rule\n yychar = -1; //since we have 'eaten' a token, say we need another\n if (yyerrflag > 0) //have we recovered an error?\n --yyerrflag; //give ourselves credit\n doaction=false; //but don't process yet\n break; //quit the yyn=0 loop\n }\n\n yyn = yyrindex[yystate]; //reduce\n if ((yyn !=0 ) && (yyn += yychar) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\n { //we reduced!\n if (yydebug) debug(\"reduce\");\n yyn = yytable[yyn];\n doaction=true; //get ready to execute\n break; //drop down to actions\n }\n else //ERROR RECOVERY\n {\n if (yyerrflag==0)\n {\n yyerror(\"syntax error\");\n yynerrs++;\n }\n if (yyerrflag < 3) //low error count?\n {\n yyerrflag = 3;\n while (true) //do until break\n {\n if (stateptr<0) //check for under & overflow here\n {\n yyerror(\"stack underflow. aborting...\"); //note lower case 's'\n return 1;\n }\n yyn = yysindex[state_peek(0)];\n if ((yyn != 0) && (yyn += YYERRCODE) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE)\n {\n if (yydebug)\n debug(\"state \"+state_peek(0)+\", error recovery shifting to state \"+yytable[yyn]+\" \");\n yystate = yytable[yyn];\n state_push(yystate);\n val_push(yylval);\n doaction=false;\n break;\n }\n else\n {\n if (yydebug)\n debug(\"error recovery discarding state \"+state_peek(0)+\" \");\n if (stateptr<0) //check for under & overflow here\n {\n yyerror(\"Stack underflow. aborting...\"); //capital 'S'\n return 1;\n }\n state_pop();\n val_pop();\n }\n }\n }\n else //discard this token\n {\n if (yychar == 0)\n return 1; //yyabort\n if (yydebug)\n {\n yys = null;\n if (yychar <= YYMAXTOKEN) yys = yyname[yychar];\n if (yys == null) yys = \"illegal-symbol\";\n debug(\"state \"+yystate+\", error recovery discards token \"+yychar+\" (\"+yys+\")\");\n }\n yychar = -1; //read another\n }\n }//end error recovery\n }//yyn=0 loop\n if (!doaction) //any reason not to proceed?\n continue; //skip action\n yym = yylen[yyn]; //get count of terminals on rhs\n if (yydebug)\n debug(\"state \"+yystate+\", reducing \"+yym+\" by rule \"+yyn+\" (\"+yyrule[yyn]+\")\");\n if (yym>0) //if count of rhs not 'nil'\n yyval = val_peek(yym-1); //get current semantic value\n yyval = dup_yyval(yyval); //duplicate yyval if ParserVal is used as semantic value\n switch(yyn)\n {\n//########## USER-SUPPLIED ACTIONS ##########\n case 1:\n//#line 25 \"GramaticaGrupo8.y\"\n {}\n break;\n case 2:\n//#line 26 \"GramaticaGrupo8.y\"\n {yyerror(\"No hay sentencia\");}\n break;\n case 3:\n//#line 27 \"GramaticaGrupo8.y\"\n {yyerror(\"No hay sentencia\");}\n break;\n case 4:\n//#line 27 \"GramaticaGrupo8.y\"\n {}\n break;\n case 5:\n//#line 30 \"GramaticaGrupo8.y\"\n {}\n break;\n case 6:\n//#line 31 \"GramaticaGrupo8.y\"\n {}\n break;\n case 7:\n//#line 34 \"GramaticaGrupo8.y\"\n {}\n break;\n case 8:\n//#line 35 \"GramaticaGrupo8.y\"\n {}\n break;\n case 9:\n//#line 38 \"GramaticaGrupo8.y\"\n {\n Vector<ParserVal> vectorTokens = (Vector<ParserVal>)(val_peek(1).obj);\n String tipo = (val_peek(2).sval);/* para que esto ande tocar la regla del no terminal tipo*/\n tipo = tipo.toLowerCase();\n for(int i=0; i< vectorTokens.size();i++){\n ParserVal token = vectorTokens.elementAt(i);\n Symbol simbolo =(Symbol) token.obj;\n if (!simbolo.isUsada()){\n simbolo.setUsada(true);\n simbolo.setEsMutable(true);\n simbolo.setTipoVar(val_peek(2).sval);}\n else\n yyerror(\"Se esta intentado redeclarar la variable \"+simbolo.getLexema(),token.getFila(),token.getColumna());\n }\n\n }\n break;\n case 10:\n//#line 54 \"GramaticaGrupo8.y\"\n {yyerror(\"Declaracion mal definida \");}\n break;\n case 11:\n//#line 57 \"GramaticaGrupo8.y\"\n {/* id.add( ((Symbol)($1.obj)).getLexema() );*/\n Vector<ParserVal> vect = new Vector<ParserVal>();/*$1 es el parser val con el symbolo de ese ID*/\n vect.add(val_peek(0));/*ver si anda, hay que castear a Symbol?*/\n yyval.obj = vect; }\n break;\n case 12:\n//#line 61 \"GramaticaGrupo8.y\"\n {\t((Symbol)(val_peek(0).obj)).setEspuntero(true); /*reconoce puntero*/\n /*id.add(((Symbol)($2.obj)).getLexema());//} //agrega a lista de identificadores reconocidos*/\n Vector<ParserVal> vect = new Vector<ParserVal>();/*$2 es el parser val con el symbolo de ese ID*/\n vect.add(val_peek(0));/*ver si anda, hay que castear a Symbol? .obj*/\n yyval.obj = vect;\n }\n break;\n case 13:\n//#line 68 \"GramaticaGrupo8.y\"\n {/*id.add(((Symbol)($1.obj)).getLexema());*/\n Vector<ParserVal> vect = (Vector<ParserVal>)(val_peek(0).obj); /*$3 me trae el vector original primero y desp aumenta*/\n vect.add(val_peek(2));/*ver si anda, hay que castear a Symbol? .obj*/\n yyval.obj = vect;\n }\n break;\n case 14:\n//#line 73 \"GramaticaGrupo8.y\"\n {/*id.add(((Symbol)($2.obj)).getLexema());*/\n ((Symbol)(val_peek(2).obj)).setEspuntero(true); /*reconoce puntero*/\n Vector<ParserVal> vect = (Vector<ParserVal>)(val_peek(0).obj); /*$4 me trae el vector original primero y desp aumenta*/\n vect.add(val_peek(2));/*ver si anda, hay que castear a Symbol? .obj*/\n yyval.obj = vect;\n }\n break;\n case 15:\n//#line 79 \"GramaticaGrupo8.y\"\n {yyerror(\"Se esperaba ';' \",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n case 16:\n//#line 82 \"GramaticaGrupo8.y\"\n {yyval.sval=\"integer\";}\n break;\n case 17:\n//#line 83 \"GramaticaGrupo8.y\"\n {yyval.sval=\"single\";}\n break;\n case 18:\n//#line 84 \"GramaticaGrupo8.y\"\n {yyerror(\"Tipo indefinido\",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n case 19:\n//#line 87 \"GramaticaGrupo8.y\"\n {}\n break;\n case 20:\n//#line 88 \"GramaticaGrupo8.y\"\n {}\n break;\n case 21:\n//#line 91 \"GramaticaGrupo8.y\"\n {}\n break;\n case 22:\n//#line 92 \"GramaticaGrupo8.y\"\n {/*#######Solo llego aca si termino un if o un loop*/\n Integer i = p.pop();\n if (listaTercetos.get(i).getOperador() == \"BI\")\n {\n listaTercetos.get(i).setOperando1(contadorTerceto);\n\n }\n if (listaTercetos.get(i).getOperador() == \"BF\")\n {\tlistaTercetos.get(i).setOperando2(contadorTerceto);\n }\n if (intLoop == 0){\n Terceto t = new T_Fin(contadorTerceto,\"FIN_DE_SALTO\",\"trampita\",\"trampita\",st);\n contadorTerceto ++;\n listaTercetos.add(t);\n }\n else\n { ((T_BF)listaTercetos.get(i)).invertFlags();\n listaTercetos.get(i).setOperando2(intLoop);\n intLoop=0;\n }\n /*podriamos hacer un terceto fin aca que sea a donde apunte el salto, este terceto no haria nada solo funcionaria de label del salto*/\n }\n break;\n case 23:\n//#line 104 \"GramaticaGrupo8.y\"\n {}\n break;\n case 24:\n//#line 107 \"GramaticaGrupo8.y\"\n {\n Terceto t = new T_Suma_Resta(contadorTerceto,\"+\",val_peek(2).obj,val_peek(0).obj,st);\n /*st es la tabla de simbolos, paso lexema porque lo uso para buscar en la tabla de simbolos*/\n t.setVariableAux(contadorVarAux);\n contadorVarAux++;\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\n }\n break;\n case 25:\n//#line 121 \"GramaticaGrupo8.y\"\n {\n Terceto t = new T_Suma_Resta(contadorTerceto,\"-\",val_peek(2).obj,val_peek(0).obj,st);\n /*st es la tabla de simbolos, paso lexema porque lo uso para buscar en la tabla de simbolos*/\n t.setVariableAux(contadorVarAux);\n contadorVarAux++;\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\n }\n break;\n case 26:\n//#line 135 \"GramaticaGrupo8.y\"\n {yyval=val_peek(0);\n yyval.obj=val_peek(0).obj; /*creo que es necesario para que no se pierdan los lexemas, si quieren reveanlo*/\n }\n break;\n case 27:\n//#line 141 \"GramaticaGrupo8.y\"\n {\n Terceto t = new T_Mult_Div(contadorTerceto,\"/\",val_peek(2).obj,val_peek(0).obj,st);\n t.setVariableAux(contadorVarAux);\n contadorVarAux++;\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\n\n }\n break;\n case 28:\n//#line 155 \"GramaticaGrupo8.y\"\n {\n Terceto t = new T_Mult_Div(contadorTerceto,\"*\",val_peek(2).obj,val_peek(0).obj,st);\n t.setVariableAux(contadorVarAux);\n contadorVarAux++;\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\n }\n break;\n case 29:\n//#line 168 \"GramaticaGrupo8.y\"\n {yyval=val_peek(0);\n /* terceto*/\n yyval.obj=val_peek(0).obj;\n }\n break;\n case 30:\n//#line 175 \"GramaticaGrupo8.y\"\n {yyval=val_peek(0);}\n break;\n case 31:\n//#line 176 \"GramaticaGrupo8.y\"\n {yyval=val_peek(0);}\n break;\n case 32:\n//#line 177 \"GramaticaGrupo8.y\"\n {if(!((Symbol)(val_peek(0).obj)).isUsada()){\n /*error*/\n yyerror(\"variable no declarada\",val_peek(0).getFila(),val_peek(0).getColumna());\n }\n yyval=val_peek(0);\n }\n break;\n case 33:\n//#line 183 \"GramaticaGrupo8.y\"\n { /** Revisar sino pierdo el puntero al elemento qe necesito **/\n yyval=val_peek(0);\n /*Symbol aux = st.getSymbol(lex.lastSymbol);*/\n st.addcambiarSigno(((Symbol)(val_peek(0).obj))); /*((Symbol))($2.obj))*/\n }\n break;\n case 34:\n//#line 188 \"GramaticaGrupo8.y\"\n {\t\t\t/** Revisar sino pierdo el puntero al elemento qe necesito **/\n yyval=val_peek(0);\n /* Antes qedaban atributos sin setear*/\n /* Symbol aux = st.getSymbol(lex.lastSymbol);*/\n st.addcambiarSigno(((Symbol)(val_peek(0).obj))); /*((Symbol))($2.obj))*/\n }\n break;\n case 35:\n//#line 196 \"GramaticaGrupo8.y\"\n {\t\t/*necesito el tipo de la expresion*/\n if (!((Symbol)(val_peek(2).obj)).isUsada()){\n yyerror(\"La variable no esta definida \",val_peek(2).getFila(),val_peek(2).getColumna());\n }else{if (!((Symbol)(val_peek(2).obj)).getEsMutable()){\n yyerror(\"La variable no es mutable \",val_peek(2).getFila(),val_peek(2).getColumna());\n }}\n Terceto t = new T_Asignacion(contadorTerceto,\":=\",val_peek(2).obj,val_peek(0).obj,st);\n t.setVariableAux(contadorVarAux);//casi seguro que si hay que crearla aca*\n contadorVarAux++;//*/\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\n estructuras.add(\"Asignacion \"+\" fila \"+val_peek(2).getFila()+\" columna \"+val_peek(2).getColumna());}\n break;\n case 36:\n//#line 215 \"GramaticaGrupo8.y\"\n { /* Estoy definiendo una variable*/\n if (((Symbol)(val_peek(3).obj)).isUsada()){\n yyerror(\"La variable ya esta definida \",val_peek(6).getFila(),val_peek(6).getColumna());\n }else{\n Symbol s = ((Symbol)(val_peek(3).obj));\n s.setUsada(true);\n s.setEsMutable(false);\n s.setEspuntero(true);\n s.setTipoVar(val_peek(5).sval);\n /* faltaria mutabilidad de lo apuntado*/\n }\n if (!((Symbol)(val_peek(0).obj)).isUsada()){\n yyerror(\"La variable no esta definida, &ID \",val_peek(6).getFila(),val_peek(6).getColumna());\n }else{\n Symbol s = ((Symbol)(val_peek(0).obj));\n Symbol sy = ((Symbol)(val_peek(3).obj));\n if (s.isEsPuntero())\n yyerror(\"No se permiten punteros multiples \",val_peek(6).getFila(),val_peek(6).getColumna());\n }\n Terceto t = new T_Asignacion(contadorTerceto,\"&\",val_peek(3).obj,val_peek(0).obj,st);\n t.setVariableAux(contadorVarAux);\n contadorVarAux++;\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(6).getFila(),val_peek(6).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(6);\n yyval.obj = t;\n estructuras.add(\"Asignacion de puntero \"+\" fila \"+val_peek(6).getFila()+\" columna \"+val_peek(6).getColumna());}\n break;\n case 37:\n//#line 246 \"GramaticaGrupo8.y\"\n {/*Estoy definiendo una variable*/\n if (((Symbol)(val_peek(2).obj)).isUsada()){\n yyerror(\"La variable ya esta definida \",val_peek(4).getFila(),val_peek(4).getColumna());\n }else{\n Symbol s = ((Symbol)(val_peek(2).obj));\n s.setUsada(true);\n s.setEsMutable(false);\n s.setEspuntero(false);\n s.setTipoVar(val_peek(3).sval);\n /* faltaria mutabilidad de lo apuntado }*/\n Terceto t = new T_Asignacion(contadorTerceto,\":=\",val_peek(2).obj,val_peek(0).obj,st);\n t.setVariableAux(contadorVarAux);\n contadorVarAux++;\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(4).getFila(),val_peek(4).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(4);\n yyval.obj = t;\n }\n estructuras.add(\"Asignacion \"+\" fila \"+val_peek(4).getFila()+\" columna \"+val_peek(4).getColumna());}\n break;\n case 38:\n//#line 269 \"GramaticaGrupo8.y\"\n {yyerror(\"Falta elemento de asignacion y palabra reservada 'let'\",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n case 39:\n//#line 270 \"GramaticaGrupo8.y\"\n {yyerror(\"Falta elemento de asignacion \",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n case 40:\n//#line 271 \"GramaticaGrupo8.y\"\n {yyerror(\"no se encontro ':=' \",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n case 41:\n//#line 274 \"GramaticaGrupo8.y\"\n {estructuras.add(\"Expresion print \"+\" fila \"+val_peek(3).getFila()+\" columna \"+val_peek(3).getColumna());\n Terceto t = new T_Print(contadorTerceto,\"PRINT\",val_peek(1).obj,\"\",st);\n // t.setVariableAux(contadorVarAux); //un print no tiene resultado por ende no tiene tipo*/\n //contadorVarAux++; // creo que para los print no es necesario porque los aux son para el resultado*/\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(3).getFila(),val_peek(3).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(3);\n yyval.obj = t;\n }\n break;\n case 42:\n//#line 287 \"GramaticaGrupo8.y\"\n {yyerror(\"Linea Error en la construccion del print\",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n case 43:\n//#line 290 \"GramaticaGrupo8.y\"\n {}\n break;\n case 44:\n//#line 291 \"GramaticaGrupo8.y\"\n {}\n break;\n case 45:\n//#line 295 \"GramaticaGrupo8.y\"\n {estructuras.add(\"Sentencia IF Else\" +\" fila \"+val_peek(5).getFila()+\" columna \"+val_peek(5).getColumna());\n\n /*Terceto t = new T_Fin(contadorTerceto,\"FIN_DE_SALTO\",\"trampita\",\"trampita\",st);\n contadorTerceto ++;\n listaTercetos.add(t);*/\n }\n break;\n case 46:\n//#line 296 \"GramaticaGrupo8.y\"\n {estructuras.add(\"Sentencia IF \" +\" fila \"+val_peek(3).getFila()+\" columna \"+val_peek(3).getColumna());}\n break;\n case 47:\n//#line 297 \"GramaticaGrupo8.y\"\n {yyerror(\" falta la palabra reservada IF\",val_peek(3).getFila(),val_peek(3).getColumna());}\n break;\n case 48:\n//#line 298 \"GramaticaGrupo8.y\"\n {yyerror(\" Error en la construccion de la sentencia IF \",val_peek(2).getFila(),val_peek(2).getColumna());}\n break;\n case 49:\n//#line 299 \"GramaticaGrupo8.y\"\n {yyerror(\" Falta la palabra reservada ELSE \",val_peek(3).getFila(),val_peek(3).getColumna());}\n break;\n case 50:\n//#line 302 \"GramaticaGrupo8.y\"\n {estructuras.add(\"Sentencia Loop \" +\" fila \"+val_peek(3).getFila()+\" columna \"+val_peek(3).getColumna());}\n break;\n case 51:\n//#line 303 \"GramaticaGrupo8.y\"\n {yyerror(\"Linea Falta palabra reservada UNTIL\",val_peek(2).getFila(),val_peek(2).getColumna());}\n break;\n case 52:\n//#line 306 \"GramaticaGrupo8.y\"\n {}\n break;\n case 53:\n//#line 307 \"GramaticaGrupo8.y\"\n {}\n break;\n case 54:\n//#line 308 \"GramaticaGrupo8.y\"\n {yyerror(\"LInea Omision de la palabra reservada '{' \",val_peek(2).getFila(),val_peek(2).getColumna());}\n break;\n case 55:\n//#line 311 \"GramaticaGrupo8.y\"\n {/*#### unica forma de marcar donde comienza el loop y ver donde salto (no diferenciamos bloque de loop)*/\n p.push(contadorTerceto);\n intLoop = contadorTerceto;\n Terceto t = new T_Fin(contadorTerceto,\"FIN_DE_SALTO\",\"trampita\",\"trampita\",st);\n\n listaTercetos.add(t);\n contadorTerceto ++;\n }\n break;\n case 56:\n//#line 316 \"GramaticaGrupo8.y\"\n {/*#### aca hacemos el salto incondicional, debimos inventar este no terminal porque no diferenciamos bloque else de bloque if*/\n /*aca ya hicimos el pop cuando termino el cuerpo del if*/\n Terceto t = new T_BI(contadorTerceto,\"BI\",\"trampita\",\"trampita\",st);\n contadorTerceto ++;\n listaTercetos.add(t);\n Integer i = p.pop();\n if (listaTercetos.get(i).getOperador() == \"BF\")\n listaTercetos.get(i).setOperando2(contadorTerceto);\n else\n listaTercetos.get(i).setOperando1(contadorTerceto);\n p.push(contadorTerceto-1);\n /*podriamos hacer un terceto fin aca que sea a donde apunte el salto, este terceto no haria nada solo funcionaria de label del salto*/\n System.out.println(t.toString());\n yyval=val_peek(0);\n yyval.obj = t;\n }\n break;\n case 57:\n//#line 334 \"GramaticaGrupo8.y\"\n { /*#### aca hacemos lo del salto para no repetirlo en todas las condiciones*/\n p.push(contadorTerceto);\n Terceto t = new T_BF(contadorTerceto,\"BF\",val_peek(1).obj,\"trampita\",st);/*##use trampita por las dudas, ya por deporte, no parece que sea necesario*/\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\n\n }\n break;\n case 58:\n//#line 345 \"GramaticaGrupo8.y\"\n {\n Terceto t = new T_Comparador(contadorTerceto,\">\",val_peek(2).obj,val_peek(0).obj,st);\n /* t.setVariableAux(contadorVarAux);//revisar, creo que aca no va*/\n /* contadorVarAux++;//osea una comparacion SI TIENE RESULTADO, pero no necesito el tipo del resultado?, nose*/\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\n }\n break;\n case 59:\n//#line 358 \"GramaticaGrupo8.y\"\n {\n Terceto t = new T_Comparador(contadorTerceto,\"<\",val_peek(2).obj,val_peek(0).obj,st);\n /* t.setVariableAux(contadorVarAux);//revisar, creo que aca no va*/\n /* contadorVarAux++;//osea una comparacion SI TIENE RESULTADO, pero no necesito el tipo del resultado?, nose*/\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\t\t\t\t\t\t\t\t\t\t}\n break;\n case 60:\n//#line 370 \"GramaticaGrupo8.y\"\n { Terceto t = new T_Comparador(contadorTerceto,\"=\",val_peek(2).obj,val_peek(0).obj,st);\n /* t.setVariableAux(contadorVarAux);//revisar, creo que aca no va*/\n /* contadorVarAux++;//osea una comparacion SI TIENE RESULTADO, pero no necesito el tipo del resultado?, nose*/\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\t\t\t\t\t\t\t\t\t\t}\n break;\n case 61:\n//#line 381 \"GramaticaGrupo8.y\"\n {\n Terceto t = new T_Comparador(contadorTerceto,\"!=\",val_peek(2).obj,val_peek(0).obj,st);\n /* t.setVariableAux(contadorVarAux);//revisar, creo que aca no va*/\n /* contadorVarAux++;//osea una comparacion SI TIENE RESULTADO, pero no necesito el tipo del resultado?, nose*/\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\t\t\t\t\t\t\t\t\t\t}\n break;\n case 62:\n//#line 393 \"GramaticaGrupo8.y\"\n {\n Terceto t = new T_Comparador(contadorTerceto,\">=\",val_peek(2).obj,val_peek(0).obj,st);\n /* t.setVariableAux(contadorVarAux);//revisar, creo que aca no va*/\n /* contadorVarAux++;//osea una comparacion SI TIENE RESULTADO, pero no necesito el tipo del resultado?, nose*/\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\t\t\t\t\t\t\t\t\t\t}\n break;\n case 63:\n//#line 405 \"GramaticaGrupo8.y\"\n {\n Terceto t = new T_Comparador(contadorTerceto,\"<=\",val_peek(2).obj,val_peek(0).obj,st);\n /* t.setVariableAux(contadorVarAux);//revisar, creo que aca no va*/\n /* contadorVarAux++;//osea una comparacion SI TIENE RESULTADO, pero no necesito el tipo del resultado?, nose*/\n for(int i=0; i< t.errores.size();i++){\n yyerror(t.errores.elementAt(i),val_peek(2).getFila(),val_peek(2).getColumna());\n ;}\n contadorTerceto ++;\n listaTercetos.add(t);\n System.out.println(t.toString());\n yyval=val_peek(2);\n yyval.obj = t;\t\t\t\t\t\t\t\t\t\t}\n break;\n case 64:\n//#line 417 \"GramaticaGrupo8.y\"\n {yyerror(\"Linea se esperaba una expresion y se encontro '>'\",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n case 65:\n//#line 418 \"GramaticaGrupo8.y\"\n {yyerror(\"Linea se esperaba una expresion y se encontro '<'\",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n case 66:\n//#line 419 \"GramaticaGrupo8.y\"\n {yyerror(\"Linea se esperaba una expresion y se encontro '>='\",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n case 67:\n//#line 420 \"GramaticaGrupo8.y\"\n {yyerror(\"Linea se esperaba una expresion y se encontro '<='\",val_peek(1).getFila(),val_peek(1).getColumna());}\n break;\n//#line 1102 \"Parser.java\"\n//########## END OF USER-SUPPLIED ACTIONS ##########\n }//switch\n //#### Now let's reduce... ####\n if (yydebug) debug(\"reduce\");\n state_drop(yym); //we just reduced yylen states\n yystate = state_peek(0); //get new state\n val_drop(yym); //corresponding value drop\n yym = yylhs[yyn]; //select next TERMINAL(on lhs)\n if (yystate == 0 && yym == 0)//done? 'rest' state and at first TERMINAL\n {\n if (yydebug) debug(\"After reduction, shifting from state 0 to state \"+YYFINAL+\"\");\n yystate = YYFINAL; //explicitly say we're done\n state_push(YYFINAL); //and save it\n val_push(yyval); //also save the semantic value of parsing\n if (yychar < 0) //we want another character?\n {\n yychar = yylex(); //get next character\n if (yychar<0) yychar=0; //clean, if necessary\n if (yydebug)\n yylexdebug(yystate,yychar);\n }\n if (yychar == 0) //Good exit (if lex returns 0 ;-)\n break; //quit the loop--all DONE\n }//if yystate\n else //else not done yet\n { //get next state and push, for next yydefred[]\n yyn = yygindex[yym]; //find out where to go\n if ((yyn != 0) && (yyn += yystate) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yystate)\n yystate = yytable[yyn]; //get new state\n else\n yystate = yydgoto[yym]; //else go to new defred\n if (yydebug) debug(\"after reduction, shifting from state \"+state_peek(0)+\" to state \"+yystate+\"\");\n state_push(yystate); //going again, so push state & val...\n val_push(yyval); //for next action\n }\n }//main loop\n return 0;//yyaccept!!\n }", "@Test(timeout = 4000)\n public void test010() throws Throwable {\n StringReader stringReader0 = new StringReader(\"pZhZ$;yY23j:\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 121, 1);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.SwitchTo((-1));\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Error: Ignoring invalid lexical state : -1. State unchanged.\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "private static void fail(String filename, String errMsg, Module_itemContext itemCon)\n\t\t\tthrows UnsupportedGrammerException {\n\n\t\tInterval int1 = itemCon.getSourceInterval(); // get token interval\n\n\t\tToken firstToken = tokenStream.get(int1.a);\n\n\t\tint lineNum = firstToken.getLine(); // get line of first token\n\n\t\t// Determining j, first token in int1 which occurs at a different line\n\n\t\tint j;\n\n\t\tfor (j = int1.a; j < int1.b; j++) {\n\n\t\t\tif (tokenStream.get(j).getLine() != lineNum)\n\t\t\t\tbreak;\n\t\t}\n\n\t\t// form a string from tokens 1 through j-1\n\n\t\tString tokenStr = tokenStream.getText(new Interval(int1.a, j));\n\n\t\tSystem.err.printf(\"Parser error (%s:%d): %s\\n\", filename, lineNum, tokenStr);\n\n\t\tfail(errMsg);\n\n\t}", "private void zzScanError(int errorCode) {\n\t\tString message;\n\t\ttry {\n\t\t\tmessage = ZZ_ERROR_MSG[errorCode];\n\t\t}\n\t\tcatch (ArrayIndexOutOfBoundsException e) {\n\t\t\tmessage = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];\n\t\t}\n\n\t\tthrow new Error(message);\n\t}", "protected static void reportParseError(int expectedToken, int otherExpectedToken, int anotherExpectedToken, int actualToken, String actualTokenValue) throws MailcapParseException {\n/* 533 */ if (LogSupport.isLoggable()) {\n/* 534 */ LogSupport.log(\"PARSE ERROR: Encountered a \" + MailcapTokenizer.nameForToken(actualToken) + \" token (\" + actualTokenValue + \") while expecting a \" + MailcapTokenizer.nameForToken(expectedToken) + \", a \" + MailcapTokenizer.nameForToken(otherExpectedToken) + \", or a \" + MailcapTokenizer.nameForToken(anotherExpectedToken) + \" token.\");\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 540 */ throw new MailcapParseException(\"Encountered a \" + MailcapTokenizer.nameForToken(actualToken) + \" token (\" + actualTokenValue + \") while expecting a \" + MailcapTokenizer.nameForToken(expectedToken) + \", a \" + MailcapTokenizer.nameForToken(otherExpectedToken) + \", or a \" + MailcapTokenizer.nameForToken(anotherExpectedToken) + \" token.\");\n/* */ }", "int yyparse()\n{\nboolean doaction;\n init_stacks();\n yynerrs = 0;\n yyerrflag = 0;\n yychar = -1; //impossible char forces a read\n yystate=0; //initial state\n state_push(yystate); //save it\n val_push(yylval); //save empty value\n while (true) //until parsing is done, either correctly, or w/error\n {\n doaction=true;\n if (yydebug) debug(\"loop\"); \n //#### NEXT ACTION (from reduction table)\n for (yyn=yydefred[yystate];yyn==0;yyn=yydefred[yystate])\n {\n if (yydebug) debug(\"yyn:\"+yyn+\" state:\"+yystate+\" yychar:\"+yychar);\n if (yychar < 0) //we want a char?\n {\n yychar = yylex(); //get next token\n if (yydebug) debug(\" next yychar:\"+yychar);\n //#### ERROR CHECK ####\n if (yychar < 0) //it it didn't work/error\n {\n yychar = 0; //change it to default string (no -1!)\n if (yydebug)\n yylexdebug(yystate,yychar);\n }\n }//yychar<0\n yyn = yysindex[yystate]; //get amount to shift by (shift index)\n if ((yyn != 0) && (yyn += yychar) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\n {\n if (yydebug)\n debug(\"state \"+yystate+\", shifting to state \"+yytable[yyn]);\n //#### NEXT STATE ####\n yystate = yytable[yyn];//we are in a new state\n state_push(yystate); //save it\n val_push(yylval); //push our lval as the input for next rule\n yychar = -1; //since we have 'eaten' a token, say we need another\n if (yyerrflag > 0) //have we recovered an error?\n --yyerrflag; //give ourselves credit\n doaction=false; //but don't process yet\n break; //quit the yyn=0 loop\n }\n\n yyn = yyrindex[yystate]; //reduce\n if ((yyn !=0 ) && (yyn += yychar) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\n { //we reduced!\n if (yydebug) debug(\"reduce\");\n yyn = yytable[yyn];\n doaction=true; //get ready to execute\n break; //drop down to actions\n }\n else //ERROR RECOVERY\n {\n if (yyerrflag==0)\n {\n yyerror(\"syntax error\");\n yynerrs++;\n }\n if (yyerrflag < 3) //low error count?\n {\n yyerrflag = 3;\n while (true) //do until break\n {\n if (stateptr<0) //check for under & overflow here\n {\n yyerror(\"stack underflow. aborting...\"); //note lower case 's'\n return 1;\n }\n yyn = yysindex[state_peek(0)];\n if ((yyn != 0) && (yyn += YYERRCODE) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE)\n {\n if (yydebug)\n debug(\"state \"+state_peek(0)+\", error recovery shifting to state \"+yytable[yyn]+\" \");\n yystate = yytable[yyn];\n state_push(yystate);\n val_push(yylval);\n doaction=false;\n break;\n }\n else\n {\n if (yydebug)\n debug(\"error recovery discarding state \"+state_peek(0)+\" \");\n if (stateptr<0) //check for under & overflow here\n {\n yyerror(\"Stack underflow. aborting...\"); //capital 'S'\n return 1;\n }\n state_pop();\n val_pop();\n }\n }\n }\n else //discard this token\n {\n if (yychar == 0)\n return 1; //yyabort\n if (yydebug)\n {\n yys = null;\n if (yychar <= YYMAXTOKEN) yys = yyname[yychar];\n if (yys == null) yys = \"illegal-symbol\";\n debug(\"state \"+yystate+\", error recovery discards token \"+yychar+\" (\"+yys+\")\");\n }\n yychar = -1; //read another\n }\n }//end error recovery\n }//yyn=0 loop\n if (!doaction) //any reason not to proceed?\n continue; //skip action\n yym = yylen[yyn]; //get count of terminals on rhs\n if (yydebug)\n debug(\"state \"+yystate+\", reducing \"+yym+\" by rule \"+yyn+\" (\"+yyrule[yyn]+\")\");\n if (yym>0) //if count of rhs not 'nil'\n yyval = val_peek(yym-1); //get current semantic value\n yyval = dup_yyval(yyval); //duplicate yyval if ParserVal is used as semantic value\n switch(yyn)\n {\n//########## USER-SUPPLIED ACTIONS ##########\ncase 1:\n//#line 63 \"./sinj.y\"\n{ this.ast = new Program (lexico.getLine(), lexico.getColumn(), (List<Sentence>)val_peek(1), (List<Definition>)val_peek(8),(List<VariableDefinition>)val_peek(2) ); }\nbreak;\ncase 2:\n//#line 66 \"./sinj.y\"\n{ yyval = new ArrayList<Definition>(); }\nbreak;\ncase 3:\n//#line 67 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\t\t\t\t\tyyval = val_peek(1);\n\t\t\t\t\t\t\t\t\t\t\t((ArrayList<Definition> )yyval).addAll((ArrayList<Definition>)val_peek(0));\n\t\t\t\t\t\t\t\t\t\t\t}\nbreak;\ncase 6:\n//#line 78 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\t\t\t\t\t\tTypeFunction type = new TypeFunction ((Type)val_peek(8), (ArrayList<VariableDefinition>) val_peek(5));\n\t\t\t\t\t\t\t\t\t\t\t\tList<Sentence> body = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\t\t\t\tbody.addAll((List<Sentence>)val_peek(2));\n\t\t\t\t\t\t\t\t\t\t\t\tbody.addAll((List<Sentence>)val_peek(1));\n\t\t\t\t\t\t\t\t\t\t\t\tDefinition def = new FunctionDefinition (lexico.getLine(), lexico.getColumn(), type, (String) val_peek(7), body);\n\t\t\t\t\t\t\t\t\t\t\t\tList<Definition> xx = new ArrayList<Definition> ();\n\t\t\t\t\t\t\t\t\t\t\t\txx.add(def);\n\t\t\t\t\t\t\t\t\t\t\t\tyyval = xx;\n }\nbreak;\ncase 7:\n//#line 89 \"./sinj.y\"\n{ yyval = new ArrayList<VariableDefinition> (); }\nbreak;\ncase 9:\n//#line 93 \"./sinj.y\"\n{ \n\t\t\t\t\t\tyyval = new ArrayList<VariableDefinition>();\n\t\t\t\t\t\tVariable v = new Variable (lexico.getLine(), lexico.getColumn(), val_peek(0).toString());\n\t\t\t\t\t\t((ArrayList<Definition>)yyval).add(new VariableDefinition(lexico.getLine(), lexico.getColumn(), v, (Type)val_peek(1)));\n\t\t\t\t\t}\nbreak;\ncase 10:\n//#line 98 \"./sinj.y\"\n{\n\t\t\t\t\t\t\t\t\t\tyyval = val_peek(3);\n\t\t\t\t\t\t\t\t\t\tVariable v = new Variable (lexico.getLine(), lexico.getColumn(), val_peek(0).toString());\n\t\t\t\t\t\t\t\t\t\tVariableDefinition vd = new VariableDefinition(lexico.getLine(), lexico.getColumn(), v, (Type)val_peek(1));\n\t\t\t\t\t\t\t\t\t\tif (!((ArrayList<VariableDefinition>)yyval).contains (vd))\n\t\t\t\t\t\t\t\t\t\t\t((ArrayList<Definition>) yyval).add(vd);\n\t\t\t\t\t\t\t\t\t\telse \n\t\t\t\t\t\t\t\t\t\t\tthrow new RuntimeException (\"One param is duplicate\");\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}\nbreak;\ncase 11:\n//#line 111 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\t\t\t\t\t\t\tArrayList<VariableDefinition> xx = new ArrayList<VariableDefinition>();\n\t\t\t\t\t\t\t\t\t\t\t\t\tfor (Variable v: (ArrayList<Variable>)val_peek(1)) \n\t\t\t\t\t\t\t\t\t\t\t\t\t \txx.add(new VariableDefinition(lexico.getLine(), lexico.getColumn(), v, (Type)val_peek(2))); \n\t\t\t\t\t\t\t\t\t\t\t\t\tyyval = xx; \n\t\t\t\t\t\t\t\t\t\t\t\t\t }\nbreak;\ncase 12:\n//#line 123 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\t\tList<Variable> xx = new ArrayList<Variable>(); \n\t\t\t\t\t\t\t\txx.add(new Variable (lexico.getLine(), lexico.getColumn(), (String) val_peek(0))); \n\t\t\t\t\t\t\t\tyyval = xx; \n\t\t\t\t\t\t\t\t}\nbreak;\ncase 13:\n//#line 128 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tyyval = val_peek(2); \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tVariable v = new Variable (lexico.getLine(), lexico.getColumn(), (String)val_peek(0));\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (!((ArrayList<Variable>)yyval).contains(v))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t((ArrayList<Variable>)yyval).add(v); \n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrow new RuntimeException (\"One variable is duplicate\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\nbreak;\ncase 14:\n//#line 144 \"./sinj.y\"\n{ yyval = new ArrayList<VariableDefinition> ();}\nbreak;\ncase 15:\n//#line 145 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tyyval = val_peek(1); \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfor (VariableDefinition vd: (ArrayList<VariableDefinition>)val_peek(0)) \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(!((ArrayList<VariableDefinition>)yyval).contains(vd))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t((ArrayList<VariableDefinition>)yyval).add(vd); \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrow new RuntimeException(\"One field struct is duplicate\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\nbreak;\ncase 16:\n//#line 156 \"./sinj.y\"\n{yyval = new ArrayList<Sentence> (); }\nbreak;\ncase 17:\n//#line 157 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\t\t\t\t\t\tyyval = val_peek(1);\n\t\t\t\t\t\t\t\t\t\t\t\t((ArrayList<Sentence>)yyval).add((Sentence)val_peek(0)); \n\t\t\t\t\t\t\t\t\t\t\t\t }\nbreak;\ncase 18:\n//#line 163 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\tyyval = new ArrayList<Expression>();\n\t\t\t\t\t\t\t((ArrayList<Expression>)yyval).add((Expression)val_peek(0)); \n\t\t\t\t\t\t\t}\nbreak;\ncase 19:\n//#line 167 \"./sinj.y\"\n{\n\t\t\t\t\t \t\t\t\t\t\t\tyyval = val_peek(2);\n\t\t\t\t\t\t\t\t\t\t\t\t((ArrayList<Expression>)yyval).add((Expression)val_peek(0)); \n\t\t\t\t\t\t\t\t\t\t\t\t}\nbreak;\ncase 20:\n//#line 174 \"./sinj.y\"\n{ yyval = new ArrayList<Expression> (); }\nbreak;\ncase 29:\n//#line 187 \"./sinj.y\"\n{yyval = new Write(lexico.getLine(), lexico.getColumn(), (List<Expression>)val_peek(1)); }\nbreak;\ncase 30:\n//#line 188 \"./sinj.y\"\n{ yyval = new Read(lexico.getLine(), lexico.getColumn(), (List<Expression>)val_peek(1)); }\nbreak;\ncase 31:\n//#line 189 \"./sinj.y\"\n{ yyval = new Assign(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(3), (Expression)val_peek(1)); }\nbreak;\ncase 32:\n//#line 190 \"./sinj.y\"\n{ yyval = new Invocation (lexico.getLine(), lexico.getColumn(), (String) val_peek(4), (List<Expression>)val_peek(2)); }\nbreak;\ncase 33:\n//#line 191 \"./sinj.y\"\n{ yyval = new Return (lexico.getLine(), lexico.getColumn(), (Expression) val_peek(1)); }\nbreak;\ncase 34:\n//#line 192 \"./sinj.y\"\n{ yyval = new While (lexico.getLine(), lexico.getColumn(), (Expression) val_peek(4), (List<Sentence>) val_peek(1)); }\nbreak;\ncase 35:\n//#line 195 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\t\t\tList<Sentence> ifBody = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\tifBody.add((Sentence) val_peek(0));\n\t\t\t\t\t\t\t\t\tyyval = new If(lexico.getLine(), lexico.getColumn(), (Expression) val_peek(2), ifBody, new ArrayList<Sentence>());\n\t\t\t\t\t\t\t\t\t}\nbreak;\ncase 36:\n//#line 200 \"./sinj.y\"\n{\n\t\t\t\t\t\t\t\t\t\t\t\t\tList<Sentence> ifBody = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\t\t\t\t\tList<Sentence> elseBody = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\t\t\t\t\tifBody.add((Sentence) val_peek(2));\n\t\t\t\t\t\t\t\t\t\t\t\t\telseBody.add((Sentence)val_peek(0));\n\t\t\t\t\t\t\t\t\t\t\t\t\tyyval = new If(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(4), ifBody, elseBody);\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\nbreak;\ncase 37:\n//#line 207 \"./sinj.y\"\n{\n\t\t\t\t\t\t\t\t\t\t\t\t\tList<Sentence> ifBody = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\t\t\t\t\tList<Sentence> elseBody = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\t\t\t\t\tifBody.addAll((List<Sentence>) val_peek(4));\n\t\t\t\t\t\t\t\t\t\t\t\t\telseBody.add((Sentence)val_peek(2));\n\t\t\t\t\t\t\t\t\t\t\t\t\tyyval = new If(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(6), ifBody, elseBody);\n\t\t\t\t\t\t\t\t\t\t\t\t\t }\nbreak;\ncase 38:\n//#line 215 \"./sinj.y\"\n{\n\t\t\t\t\t\t\t\t\t\t\t\t\tList<Sentence> ifBody = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\t\t\t\t\tList<Sentence> elseBody = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\t\t\t\t\tifBody.addAll((List<Sentence>) val_peek(6));\n\t\t\t\t\t\t\t\t\t\t\t\t\telseBody.addAll((List<Sentence>)val_peek(4));\n\t\t\t\t\t\t\t\t\t\t\t\t\tyyval = new If(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(8), ifBody, elseBody);\n\t\t\t\t\t\t\t\t\t\t\t\t\t }\nbreak;\ncase 39:\n//#line 223 \"./sinj.y\"\n{\n\t\t\t\t\t\t\t\t\t\t\t\t\tList<Sentence> ifBody = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\t\t\t\t\tList<Sentence> elseBody = new ArrayList<Sentence> ();\n\t\t\t\t\t\t\t\t\t\t\t\t\tifBody.addAll((List<Sentence>) val_peek(2));\n\t\t\t\t\t\t\t\t\t\t\t\t\tyyval = new If(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(4), ifBody, elseBody);\n\t}\nbreak;\ncase 40:\n//#line 234 \"./sinj.y\"\n{ yyval = new TypeInteger(); }\nbreak;\ncase 41:\n//#line 235 \"./sinj.y\"\n{ yyval = new TypeDouble(); }\nbreak;\ncase 42:\n//#line 236 \"./sinj.y\"\n{ yyval = new TypeChar(); }\nbreak;\ncase 43:\n//#line 237 \"./sinj.y\"\n{ yyval = createArray((Type)val_peek(3), Integer.parseInt(String.valueOf((val_peek(1)))));/*$$ = new TypeArray((Type)$1, Integer.parseInt(String.valueOf(($3))));*/ }\nbreak;\ncase 44:\n//#line 238 \"./sinj.y\"\n{ yyval = new TypeVoid (); }\nbreak;\ncase 45:\n//#line 239 \"./sinj.y\"\n{ \n\t\t\t\t\t\t\tList <VariableDefinition> variables = (ArrayList<VariableDefinition>) val_peek(1);\n\t\t\t\t\t\t\tList <FieldDefinition> fieldsStruct = new ArrayList<FieldDefinition> ();\n\t\t\t\t\t\t\tfor (VariableDefinition vd : variables) {\n\t\t\t\t\t\t\t\tFieldDefinition field = new FieldDefinition (vd.getLine(), vd.getColumn(), vd.getType(), vd.getVariable());\n\t\t\t\t\t\t\t\tfieldsStruct.add(field);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tyyval = new TypeStruct (fieldsStruct);\n\t\t\t\t\t\t\t}\nbreak;\ncase 46:\n//#line 253 \"./sinj.y\"\n{ yyval= new Arithmetic(lexico.getLine(), lexico.getColumn(), (Expression) val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 47:\n//#line 254 \"./sinj.y\"\n{ yyval= new Arithmetic(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 48:\n//#line 255 \"./sinj.y\"\n{ yyval= new Arithmetic(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 49:\n//#line 256 \"./sinj.y\"\n{ yyval= new Arithmetic(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 50:\n//#line 257 \"./sinj.y\"\n{ yyval= new Arithmetic(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 51:\n//#line 258 \"./sinj.y\"\n{ yyval= new AccesoArray(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(3), (Expression)val_peek(1)); }\nbreak;\ncase 52:\n//#line 259 \"./sinj.y\"\n{ yyval = new Comparation(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 53:\n//#line 260 \"./sinj.y\"\n{ yyval = new Comparation(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 54:\n//#line 261 \"./sinj.y\"\n{ yyval = new Comparation(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 55:\n//#line 262 \"./sinj.y\"\n{ yyval = new Comparation(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 56:\n//#line 263 \"./sinj.y\"\n{ yyval = new Comparation(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 57:\n//#line 264 \"./sinj.y\"\n{ yyval = new Comparation(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 58:\n//#line 265 \"./sinj.y\"\n{ yyval = new Logic(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 59:\n//#line 266 \"./sinj.y\"\n{ yyval = new Logic(lexico.getLine(), lexico.getColumn(), (Expression)val_peek(2), (String)val_peek(1) , (Expression)val_peek(0)); }\nbreak;\ncase 60:\n//#line 267 \"./sinj.y\"\n{ yyval= new UnaryNegation (lexico.getLine(), lexico.getColumn(), (Expression)val_peek(0)); }\nbreak;\ncase 61:\n//#line 268 \"./sinj.y\"\n{ yyval= new Literal (lexico.getLine(), lexico.getColumn(), (Integer) val_peek(0)); }\nbreak;\ncase 62:\n//#line 269 \"./sinj.y\"\n{ yyval = new Variable (lexico.getLine(), lexico.getColumn(), val_peek(0).toString()); }\nbreak;\ncase 63:\n//#line 270 \"./sinj.y\"\n{ yyval= new RealNumber (lexico.getLine(), lexico.getColumn(), (Double) val_peek(0)); }\nbreak;\ncase 64:\n//#line 271 \"./sinj.y\"\n{ yyval= val_peek(1);}\nbreak;\ncase 65:\n//#line 272 \"./sinj.y\"\n{ yyval = new FieldAccess (lexico.getLine(), lexico.getColumn(), (Expression) val_peek(2), new Variable (lexico.getLine(), lexico.getColumn(), val_peek(0).toString()));}\nbreak;\ncase 66:\n//#line 273 \"./sinj.y\"\n{ yyval = new FunctionInvocation (lexico.getLine(), lexico.getColumn(), (String) val_peek(3), (List<Expression>)val_peek(1)); }\nbreak;\ncase 67:\n//#line 274 \"./sinj.y\"\n{ yyval = new Cast (lexico.getLine(), lexico.getColumn(), (Type) val_peek(2), (Expression) val_peek(0)); }\nbreak;\ncase 68:\n//#line 275 \"./sinj.y\"\n{ yyval = new LogicalNegation (lexico.getLine(), lexico.getColumn(), (Expression)val_peek(0)); }\nbreak;\ncase 69:\n//#line 276 \"./sinj.y\"\n{ yyval = new Char (lexico.getLine(), lexico.getColumn(), val_peek(0).toString()); }\nbreak;\n//#line 1070 \"Parser.java\"\n//########## END OF USER-SUPPLIED ACTIONS ##########\n }//switch\n //#### Now let's reduce... ####\n if (yydebug) debug(\"reduce\");\n state_drop(yym); //we just reduced yylen states\n yystate = state_peek(0); //get new state\n val_drop(yym); //corresponding value drop\n yym = yylhs[yyn]; //select next TERMINAL(on lhs)\n if (yystate == 0 && yym == 0)//done? 'rest' state and at first TERMINAL\n {\n if (yydebug) debug(\"After reduction, shifting from state 0 to state \"+YYFINAL+\"\");\n yystate = YYFINAL; //explicitly say we're done\n state_push(YYFINAL); //and save it\n val_push(yyval); //also save the semantic value of parsing\n if (yychar < 0) //we want another character?\n {\n yychar = yylex(); //get next character\n if (yychar<0) yychar=0; //clean, if necessary\n if (yydebug)\n yylexdebug(yystate,yychar);\n }\n if (yychar == 0) //Good exit (if lex returns 0 ;-)\n break; //quit the loop--all DONE\n }//if yystate\n else //else not done yet\n { //get next state and push, for next yydefred[]\n yyn = yygindex[yym]; //find out where to go\n if ((yyn != 0) && (yyn += yystate) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yystate)\n yystate = yytable[yyn]; //get new state\n else\n yystate = yydgoto[yym]; //else go to new defred\n if (yydebug) debug(\"after reduction, shifting from state \"+state_peek(0)+\" to state \"+yystate+\"\");\n state_push(yystate); //going again, so push state & val...\n val_push(yyval); //for next action\n }\n }//main loop\n return 0;//yyaccept!!\n}", "int yyparse()\n{\nboolean doaction;\n init_stacks();\n yynerrs = 0;\n yyerrflag = 0;\n yychar = -1; //impossible char forces a read\n yystate=0; //initial state\n state_push(yystate); //save it\n val_push(yylval); //save empty value\n while (true) //until parsing is done, either correctly, or w/error\n {\n doaction=true;\n if (yydebug) debug(\"loop\"); \n //#### NEXT ACTION (from reduction table)\n for (yyn=yydefred[yystate];yyn==0;yyn=yydefred[yystate])\n {\n if (yydebug) debug(\"yyn:\"+yyn+\" state:\"+yystate+\" yychar:\"+yychar);\n if (yychar < 0) //we want a char?\n {\n yychar = yylex(); //get next token\n if (yydebug) debug(\" next yychar:\"+yychar);\n //#### ERROR CHECK ####\n if (yychar < 0) //it it didn't work/error\n {\n yychar = 0; //change it to default string (no -1!)\n if (yydebug)\n yylexdebug(yystate,yychar);\n }\n }//yychar<0\n yyn = yysindex[yystate]; //get amount to shift by (shift index)\n if ((yyn != 0) && (yyn += yychar) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\n {\n if (yydebug)\n debug(\"state \"+yystate+\", shifting to state \"+yytable[yyn]);\n //#### NEXT STATE ####\n yystate = yytable[yyn];//we are in a new state\n state_push(yystate); //save it\n val_push(yylval); //push our lval as the input for next rule\n yychar = -1; //since we have 'eaten' a token, say we need another\n if (yyerrflag > 0) //have we recovered an error?\n --yyerrflag; //give ourselves credit\n doaction=false; //but don't process yet\n break; //quit the yyn=0 loop\n }\n\n yyn = yyrindex[yystate]; //reduce\n if ((yyn !=0 ) && (yyn += yychar) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\n { //we reduced!\n if (yydebug) debug(\"reduce\");\n yyn = yytable[yyn];\n doaction=true; //get ready to execute\n break; //drop down to actions\n }\n else //ERROR RECOVERY\n {\n if (yyerrflag==0)\n {\n yyerror(\"syntax error\");\n yynerrs++;\n }\n if (yyerrflag < 3) //low error count?\n {\n yyerrflag = 3;\n while (true) //do until break\n {\n if (stateptr<0) //check for under & overflow here\n {\n yyerror(\"stack underflow. aborting...\"); //note lower case 's'\n return 1;\n }\n yyn = yysindex[state_peek(0)];\n if ((yyn != 0) && (yyn += YYERRCODE) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE)\n {\n if (yydebug)\n debug(\"state \"+state_peek(0)+\", error recovery shifting to state \"+yytable[yyn]+\" \");\n yystate = yytable[yyn];\n state_push(yystate);\n val_push(yylval);\n doaction=false;\n break;\n }\n else\n {\n if (yydebug)\n debug(\"error recovery discarding state \"+state_peek(0)+\" \");\n if (stateptr<0) //check for under & overflow here\n {\n yyerror(\"Stack underflow. aborting...\"); //capital 'S'\n return 1;\n }\n state_pop();\n val_pop();\n }\n }\n }\n else //discard this token\n {\n if (yychar == 0)\n return 1; //yyabort\n if (yydebug)\n {\n yys = null;\n if (yychar <= YYMAXTOKEN) yys = yyname[yychar];\n if (yys == null) yys = \"illegal-symbol\";\n debug(\"state \"+yystate+\", error recovery discards token \"+yychar+\" (\"+yys+\")\");\n }\n yychar = -1; //read another\n }\n }//end error recovery\n }//yyn=0 loop\n if (!doaction) //any reason not to proceed?\n continue; //skip action\n yym = yylen[yyn]; //get count of terminals on rhs\n if (yydebug)\n debug(\"state \"+yystate+\", reducing \"+yym+\" by rule \"+yyn+\" (\"+yyrule[yyn]+\")\");\n if (yym>0) //if count of rhs not 'nil'\n yyval = val_peek(yym-1); //get current semantic value\n switch(yyn)\n {\n//########## USER-SUPPLIED ACTIONS ##########\ncase 1:\n//#line 36 \"src/parsers/AdvConditionParser.y\"\n{\r\n\ttopAdvCondition=(AdvCondition)val_peek(0).obj;\r\n\tSystem.out.println(\"AdvConditionParser work completed. \"); \r\n}\nbreak;\ncase 2:\n//#line 42 \"src/parsers/AdvConditionParser.y\"\n{Expression e=new tokens.Number(val_peek(0).ival);yyval=new AdvConditionParserVal(e);}\nbreak;\ncase 3:\n//#line 43 \"src/parsers/AdvConditionParser.y\"\n{Expression e=new Variable(getStringValue(val_peek(0)));yyval=new AdvConditionParserVal(e);}\nbreak;\ncase 4:\n//#line 45 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tExpression e=new CompositeExpression((Expression)val_peek(2).obj,(Expression)val_peek(0).obj,CompositeExpression.TYPE_PLUS);\r\n \tyyval=new AdvConditionParserVal(e);\r\n }\nbreak;\ncase 5:\n//#line 50 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tExpression e=new CompositeExpression((Expression)val_peek(2).obj,(Expression)val_peek(0).obj,CompositeExpression.TYPE_MINUS);\r\n \tyyval=new AdvConditionParserVal(e);\r\n }\nbreak;\ncase 6:\n//#line 55 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tExpression e=new CompositeExpression((Expression)val_peek(2).obj,(Expression)val_peek(0).obj,CompositeExpression.TYPE_MULTIPLY);\r\n \tyyval=new AdvConditionParserVal(e);\r\n }\nbreak;\ncase 7:\n//#line 61 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tExpression e=new NegativeExpression((Expression)val_peek(0).obj);\r\n \tyyval=new AdvConditionParserVal(e);\r\n }\nbreak;\ncase 8:\n//#line 67 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tyyval=val_peek(1);\r\n }\nbreak;\ncase 9:\n//#line 72 \"src/parsers/AdvConditionParser.y\"\n{yyval=new AdvConditionParserVal(new AdvCondition((Condition)val_peek(0).obj));}\nbreak;\ncase 10:\n//#line 74 \"src/parsers/AdvConditionParser.y\"\n{\r\n yyval=new AdvConditionParserVal(new AdvCondition((AdvCondition)val_peek(3).obj,(AdvCondition)val_peek(0).obj,AdvCondition.Type_AND)); \r\n}\nbreak;\ncase 11:\n//#line 79 \"src/parsers/AdvConditionParser.y\"\n{\r\n yyval=new AdvConditionParserVal(new AdvCondition((AdvCondition)val_peek(3).obj,(AdvCondition)val_peek(0).obj,AdvCondition.Type_OR));\r\n}\nbreak;\ncase 12:\n//#line 84 \"src/parsers/AdvConditionParser.y\"\n{yyval=val_peek(1);}\nbreak;\ncase 13:\n//#line 88 \"src/parsers/AdvConditionParser.y\"\n{yyval=val_peek(0);((AdvCondition)yyval.obj).negateSelf();}\nbreak;\ncase 14:\n//#line 91 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tCondition c=new Condition((Expression)val_peek(3).obj,(Expression)val_peek(0).obj,ConType.equal);\r\n \tyyval=new AdvConditionParserVal(c);\r\n }\nbreak;\ncase 15:\n//#line 96 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tCondition c=new Condition((Expression)val_peek(3).obj,(Expression)val_peek(0).obj,ConType.notequal);\r\n \tyyval=new AdvConditionParserVal(c);\r\n }\nbreak;\ncase 16:\n//#line 101 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tCondition c=new Condition((Expression)val_peek(3).obj,(Expression)val_peek(0).obj,ConType.equalsmaller);\r\n \tyyval=new AdvConditionParserVal(c);\r\n }\nbreak;\ncase 17:\n//#line 106 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tCondition c=new Condition((Expression)val_peek(3).obj,(Expression)val_peek(0).obj,ConType.equallarger);\r\n \tyyval=new AdvConditionParserVal(c);\r\n }\nbreak;\ncase 18:\n//#line 111 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tCondition c=new Condition((Expression)val_peek(2).obj,(Expression)val_peek(0).obj,ConType.smaller);\r\n \tyyval=new AdvConditionParserVal(c);\r\n }\nbreak;\ncase 19:\n//#line 116 \"src/parsers/AdvConditionParser.y\"\n{\r\n \tCondition c=new Condition((Expression)val_peek(2).obj,(Expression)val_peek(0).obj,ConType.larger);\r\n \tyyval=new AdvConditionParserVal(c);\r\n }\nbreak;\n//#line 689 \"AdvConditionParser.java\"\n//########## END OF USER-SUPPLIED ACTIONS ##########\n }//switch\n //#### Now let's reduce... ####\n if (yydebug) debug(\"reduce\");\n state_drop(yym); //we just reduced yylen states\n yystate = state_peek(0); //get new state\n val_drop(yym); //corresponding value drop\n yym = yylhs[yyn]; //select next TERMINAL(on lhs)\n if (yystate == 0 && yym == 0)//done? 'rest' state and at first TERMINAL\n {\n if (yydebug) debug(\"After reduction, shifting from state 0 to state \"+YYFINAL+\"\");\n yystate = YYFINAL; //explicitly say we're done\n state_push(YYFINAL); //and save it\n val_push(yyval); //also save the semantic value of parsing\n if (yychar < 0) //we want another character?\n {\n yychar = yylex(); //get next character\n if (yychar<0) yychar=0; //clean, if necessary\n if (yydebug)\n yylexdebug(yystate,yychar);\n }\n if (yychar == 0) //Good exit (if lex returns 0 ;-)\n break; //quit the loop--all DONE\n }//if yystate\n else //else not done yet\n { //get next state and push, for next yydefred[]\n yyn = yygindex[yym]; //find out where to go\n if ((yyn != 0) && (yyn += yystate) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yystate)\n yystate = yytable[yyn]; //get new state\n else\n yystate = yydgoto[yym]; //else go to new defred\n if (yydebug) debug(\"after reduction, shifting from state \"+state_peek(0)+\" to state \"+yystate+\"\");\n state_push(yystate); //going again, so push state & val...\n val_push(yyval); //for next action\n }\n }//main loop\n return 0;//yyaccept!!\n}", "int yyparse()\n{\nboolean doaction;\n init_stacks();\n yynerrs = 0;\n yyerrflag = 0;\n yychar = -1; //impossible char forces a read\n yystate=0; //initial state\n state_push(yystate); //save it\n while (true) //until parsing is done, either correctly, or w/error\n {\n doaction=true;\n //if (yydebug) debug(\"loop\"); \n //#### NEXT ACTION (from reduction table)\n for (yyn=yydefred[yystate];yyn==0;yyn=yydefred[yystate])\n {\n //if (yydebug) debug(\"yyn:\"+yyn+\" state:\"+yystate+\" yychar:\"+yychar);\n if (yychar < 0) //we want a char?\n {\n yychar = yylex(); //get next token\n //if (yydebug) debug(\" next yychar:\"+yychar);\n //#### ERROR CHECK ####\n //if (yychar < 0) //it it didn't work/error\n // {\n // yychar = 0; //change it to default string (no -1!)\n //if (yydebug)\n // yylexdebug(yystate,yychar);\n // }\n }//yychar<0\n yyn = yysindex[yystate]; //get amount to shift by (shift index)\n if ((yyn != 0) && (yyn += yychar) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\n {\n //if (yydebug)\n //debug(\"state \"+yystate+\", shifting to state \"+yytable[yyn]);\n //#### NEXT STATE ####\n yystate = yytable[yyn];//we are in a new state\n state_push(yystate); //save it\n val_push(yylval); //push our lval as the input for next rule\n yychar = -1; //since we have 'eaten' a token, say we need another\n if (yyerrflag > 0) //have we recovered an error?\n --yyerrflag; //give ourselves credit\n doaction=false; //but don't process yet\n break; //quit the yyn=0 loop\n }\n\n yyn = yyrindex[yystate]; //reduce\n if ((yyn !=0 ) && (yyn += yychar) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\n { //we reduced!\n //if (yydebug) debug(\"reduce\");\n yyn = yytable[yyn];\n doaction=true; //get ready to execute\n break; //drop down to actions\n }\n else //ERROR RECOVERY\n {\n if (yyerrflag==0)\n {\n yyerror(\"syntax error\");\n yynerrs++;\n }\n if (yyerrflag < 3) //low error count?\n {\n yyerrflag = 3;\n while (true) //do until break\n {\n if (stateptr<0 || valptr<0) //check for under & overflow here\n {\n return 1;\n }\n yyn = yysindex[state_peek(0)];\n if ((yyn != 0) && (yyn += YYERRCODE) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE)\n {\n //if (yydebug)\n //debug(\"state \"+state_peek(0)+\", error recovery shifting to state \"+yytable[yyn]+\" \");\n yystate = yytable[yyn];\n state_push(yystate);\n val_push(yylval);\n doaction=false;\n break;\n }\n else\n {\n //if (yydebug)\n //debug(\"error recovery discarding state \"+state_peek(0)+\" \");\n if (stateptr<0 || valptr<0) //check for under & overflow here\n {\n return 1;\n }\n state_pop();\n val_pop();\n }\n }\n }\n else //discard this token\n {\n if (yychar == 0)\n return 1; //yyabort\n //if (yydebug)\n //{\n //yys = null;\n //if (yychar <= YYMAXTOKEN) yys = yyname[yychar];\n //if (yys == null) yys = \"illegal-symbol\";\n //debug(\"state \"+yystate+\", error recovery discards token \"+yychar+\" (\"+yys+\")\");\n //}\n yychar = -1; //read another\n }\n }//end error recovery\n }//yyn=0 loop\n if (!doaction) //any reason not to proceed?\n continue; //skip action\n yym = yylen[yyn]; //get count of terminals on rhs\n //if (yydebug)\n //debug(\"state \"+yystate+\", reducing \"+yym+\" by rule \"+yyn+\" (\"+yyrule[yyn]+\")\");\n if (yym>0) //if count of rhs not 'nil'\n yyval = val_peek(yym-1); //get current semantic value\n if (reduceListener == null || reduceListener.onReduce(yyrule[yyn])) // if intercepted!\n switch(yyn)\n {\n//########## USER-SUPPLIED ACTIONS ##########\ncase 1:\n//#line 61 \"Parser.y\"\n{\n\t\t\t\t\t\ttree = new Tree.TopLevel(val_peek(0).clist, val_peek(0).loc);\n\t\t\t\t\t}\nbreak;\ncase 2:\n//#line 67 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.clist.add(val_peek(0).cdef);\n\t\t\t\t\t}\nbreak;\ncase 3:\n//#line 71 \"Parser.y\"\n{\n \t\tyyval.clist = new ArrayList<Tree.ClassDef>();\n \t\tyyval.clist.add(val_peek(0).cdef);\n \t}\nbreak;\ncase 5:\n//#line 81 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.vdef = new Tree.VarDef(val_peek(0).ident, val_peek(1).type, val_peek(0).loc);\n\t\t\t\t\t}\nbreak;\ncase 6:\n//#line 87 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.type = new Tree.TypeIdent(Tree.INT, val_peek(0).loc);\n\t\t\t\t\t}\nbreak;\ncase 7:\n//#line 91 \"Parser.y\"\n{\n \t\tyyval.type = new Tree.TypeIdent(Tree.VOID, val_peek(0).loc);\n \t}\nbreak;\ncase 8:\n//#line 95 \"Parser.y\"\n{\n \t\tyyval.type = new Tree.TypeIdent(Tree.BOOL, val_peek(0).loc);\n \t}\nbreak;\ncase 9:\n//#line 99 \"Parser.y\"\n{\n \t\tyyval.type = new Tree.TypeIdent(Tree.STRING, val_peek(0).loc);\n \t}\nbreak;\ncase 10:\n//#line 103 \"Parser.y\"\n{\n \t\tyyval.type = new Tree.TypeClass(val_peek(0).ident, val_peek(1).loc);\n \t}\nbreak;\ncase 11:\n//#line 107 \"Parser.y\"\n{\n \t\tyyval.type = new Tree.TypeArray(val_peek(2).type, val_peek(2).loc);\n \t}\nbreak;\ncase 12:\n//#line 113 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.cdef = new Tree.ClassDef(val_peek(4).ident, val_peek(3).ident, val_peek(1).flist, val_peek(5).loc,false);\n\t\t\t\t\t}\nbreak;\ncase 13:\n//#line 117 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.cdef = new Tree.ClassDef(val_peek(4).ident, val_peek(3).ident, val_peek(1).flist, val_peek(5).loc,true);\n\t\t\t\t\t}\nbreak;\ncase 14:\n//#line 123 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.ident = val_peek(0).ident;\n\t\t\t\t\t}\nbreak;\ncase 15:\n//#line 127 \"Parser.y\"\n{\n \t\tyyval = new SemValue();\n \t}\nbreak;\ncase 16:\n//#line 133 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.flist.add(val_peek(0).vdef);\n\t\t\t\t\t}\nbreak;\ncase 17:\n//#line 137 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.flist.add(val_peek(0).fdef);\n\t\t\t\t\t}\nbreak;\ncase 18:\n//#line 141 \"Parser.y\"\n{\n \t\tyyval = new SemValue();\n \t\tyyval.flist = new ArrayList<Tree>();\n \t}\nbreak;\ncase 20:\n//#line 149 \"Parser.y\"\n{\n \t\tyyval = new SemValue();\n \t\tyyval.vlist = new ArrayList<Tree.VarDef>(); \n \t}\nbreak;\ncase 21:\n//#line 156 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.vlist.add(val_peek(0).vdef);\n\t\t\t\t\t}\nbreak;\ncase 22:\n//#line 160 \"Parser.y\"\n{\n \t\tyyval.vlist = new ArrayList<Tree.VarDef>();\n\t\t\t\t\t\tyyval.vlist.add(val_peek(0).vdef);\n \t}\nbreak;\ncase 23:\n//#line 167 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.fdef = new MethodDef(true, val_peek(4).ident, val_peek(5).type, val_peek(2).vlist, (Block) val_peek(0).stmt, val_peek(4).loc);\n\t\t\t\t\t}\nbreak;\ncase 24:\n//#line 171 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.fdef = new MethodDef(false, val_peek(4).ident, val_peek(5).type, val_peek(2).vlist, (Block) val_peek(0).stmt, val_peek(4).loc);\n\t\t\t\t\t}\nbreak;\ncase 25:\n//#line 177 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Block(val_peek(1).slist, val_peek(2).loc);\n\t\t\t\t\t}\nbreak;\ncase 26:\n//#line 183 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.slist.add(val_peek(0).stmt);\n\t\t\t\t\t}\nbreak;\ncase 27:\n//#line 187 \"Parser.y\"\n{\n \t\tyyval = new SemValue();\n \t\tyyval.slist = new ArrayList<Tree>();\n \t}\nbreak;\ncase 28:\n//#line 194 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = val_peek(0).vdef;\n\t\t\t\t\t}\nbreak;\ncase 29:\n//#line 199 \"Parser.y\"\n{\n \t\tif (yyval.stmt == null) {\n \t\t\tyyval.stmt = new Tree.Skip(val_peek(0).loc);\n \t\t}\n \t}\nbreak;\ncase 40:\n//#line 217 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Tree.Foreach(val_peek(6).bvar,val_peek(4).expr,val_peek(2).expr,val_peek(0).stmt, val_peek(6).loc);\n\t\t\t\t\t}\nbreak;\ncase 41:\n//#line 221 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Tree.Foreach(val_peek(4).bvar,val_peek(2).expr,val_peek(0).stmt, val_peek(4).loc);\n\t\t\t\t\t}\nbreak;\ncase 42:\n//#line 227 \"Parser.y\"\n{\n\t\t\t\t\tyyval.bvar = new Tree.BoundVariable(val_peek(0).ident, val_peek(0).loc);\n\t\t\t\t\t}\nbreak;\ncase 43:\n//#line 231 \"Parser.y\"\n{\n\t\t\t\t\tyyval.bvar = new Tree.BoundVariable(val_peek(1).type,val_peek(0).ident, val_peek(0).loc);\n\t\t\t\t\t}\nbreak;\ncase 44:\n//#line 236 \"Parser.y\"\n{\n\t\t\t\t\tyyval.stmt = new Tree.GuardedStmt(val_peek(1).elist, val_peek(1).loc);\n\t\t\t\t}\nbreak;\ncase 45:\n//#line 241 \"Parser.y\"\n{\n\t\t\t\t\tyyval.elist.add(val_peek(0).expr);\n\t\t\t\t}\nbreak;\ncase 46:\n//#line 246 \"Parser.y\"\n{\n yyval = new SemValue();\n yyval.elist = new ArrayList<Expr> ();\n yyval.elist.add(val_peek(0).expr);\n }\nbreak;\ncase 47:\n//#line 252 \"Parser.y\"\n{\n \t\tyyval = new SemValue();\n \t}\nbreak;\ncase 48:\n//#line 258 \"Parser.y\"\n{\n\t\t\t\t\tyyval.expr = new Tree.IfBranch(val_peek(2).expr, val_peek(0).stmt, val_peek(2).loc);\t\t\t\t\n\t\t\t\t}\nbreak;\ncase 49:\n//#line 263 \"Parser.y\"\n{\n\t\t\t\t\tyyval.stmt = new Scopy(val_peek(3).ident,val_peek(1).expr,val_peek(5).loc);\t\n\t\t\t\t}\nbreak;\ncase 50:\n//#line 269 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Tree.Assign(val_peek(2).lvalue, val_peek(0).expr, val_peek(1).loc);\n\t\t\t\t\t}\nbreak;\ncase 51:\n//#line 273 \"Parser.y\"\n{\n \t\tyyval.stmt = new Tree.Exec(val_peek(0).expr, val_peek(0).loc);\n \t}\nbreak;\ncase 52:\n//#line 277 \"Parser.y\"\n{\n \t\tyyval = new SemValue();\n \t}\nbreak;\ncase 54:\n//#line 284 \"Parser.y\"\n{\n \t\tyyval = new SemValue();\n \t}\nbreak;\ncase 55:\n//#line 290 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.lvalue = new Tree.Ident(val_peek(1).expr, val_peek(0).ident, val_peek(0).loc);\n\t\t\t\t\t\tif (val_peek(1).loc == null) {\n\t\t\t\t\t\t\tyyval.loc = val_peek(0).loc;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\nbreak;\ncase 56:\n//#line 297 \"Parser.y\"\n{\n \t\tyyval.lvalue = new Tree.Indexed(val_peek(3).expr, val_peek(1).expr, val_peek(3).loc);\n \t}\nbreak;\ncase 58:\n//#line 304 \"Parser.y\"\n{\n \tyyval.lvalue = new Tree.Var(val_peek(1).expr, val_peek(0).ident, val_peek(0).loc);\n\t\t\t\t\t\tif (val_peek(1).loc == null) {\n\t\t\t\t\t\t\tyyval.loc = val_peek(0).loc;\n\t\t\t\t\t\t}\n }\nbreak;\ncase 59:\n//#line 313 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.expr = new Tree.CallExpr(val_peek(4).expr, val_peek(3).ident, val_peek(1).elist, val_peek(3).loc);\n\t\t\t\t\t\tif (val_peek(4).loc == null) {\n\t\t\t\t\t\t\tyyval.loc = val_peek(3).loc;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\nbreak;\ncase 60:\n//#line 322 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.expr = val_peek(0).lvalue;\n\t\t\t\t\t}\nbreak;\ncase 63:\n//#line 328 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.PLUS, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 64:\n//#line 332 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.MINUS, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 65:\n//#line 336 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.MUL, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 66:\n//#line 340 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.DIV, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 67:\n//#line 344 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.MOD, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 68:\n//#line 348 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.EQ, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 69:\n//#line 352 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.NE, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 70:\n//#line 356 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.LT, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 71:\n//#line 360 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.GT, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 72:\n//#line 364 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.LE, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 73:\n//#line 368 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.GE, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 74:\n//#line 372 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.AND, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 75:\n//#line 376 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Binary(Tree.OR, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 76:\n//#line 380 \"Parser.y\"\n{\n \t\tyyval = val_peek(1);\n \t}\nbreak;\ncase 77:\n//#line 384 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Unary(Tree.NEG, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 78:\n//#line 388 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.Unary(Tree.NOT, val_peek(0).expr, val_peek(1).loc);\n \t}\nbreak;\ncase 79:\n//#line 392 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.ReadIntExpr(val_peek(2).loc);\n \t}\nbreak;\ncase 80:\n//#line 396 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.ReadLineExpr(val_peek(2).loc);\n \t}\nbreak;\ncase 81:\n//#line 400 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.ThisExpr(val_peek(0).loc);\n \t}\nbreak;\ncase 82:\n//#line 404 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.NewClass(val_peek(2).ident, val_peek(3).loc);\n \t}\nbreak;\ncase 83:\n//#line 408 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.NewArray(val_peek(3).type, val_peek(1).expr, val_peek(4).loc);\n \t}\nbreak;\ncase 84:\n//#line 412 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.TypeTest(val_peek(3).expr, val_peek(1).ident, val_peek(5).loc);\n \t}\nbreak;\ncase 85:\n//#line 416 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.TypeCast(val_peek(2).ident, val_peek(0).expr, val_peek(0).loc);\n \t}\nbreak;\ncase 86:\n//#line 420 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.ArrayRepeat(val_peek(2).expr, val_peek(0).expr, val_peek(2).loc);\n \t}\nbreak;\ncase 87:\n//#line 424 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.ArrayAdd(val_peek(2).expr, val_peek(0).expr, val_peek(2).loc);\n\t }\nbreak;\ncase 88:\n//#line 428 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.subArray(val_peek(5).expr, val_peek(3).expr,val_peek(1).expr,val_peek(5).loc);\n\t \t}\nbreak;\ncase 89:\n//#line 432 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.ArrayDefault(val_peek(5).expr, val_peek(3).expr,val_peek(0).expr,val_peek(5).loc);\n\t \t}\nbreak;\ncase 90:\n//#line 436 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.ArrayPython(val_peek(5).expr, val_peek(3).ident,val_peek(1).expr,val_peek(5).loc);\n\t \t}\nbreak;\ncase 91:\n//#line 440 \"Parser.y\"\n{\n \t\tyyval.expr = new Tree.ArrayPython(val_peek(7).expr, val_peek(5).ident,val_peek(3).expr,val_peek(1).expr,val_peek(7).loc);\n\t \t}\nbreak;\ncase 92:\n//#line 446 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.expr = new Tree.Literal(val_peek(0).typeTag, val_peek(0).literal, val_peek(0).loc);\n\t\t\t\t\t}\nbreak;\ncase 93:\n//#line 450 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.expr = new Null(val_peek(0).loc);\n\t\t\t\t\t}\nbreak;\ncase 94:\n//#line 454 \"Parser.y\"\n{\n\t\t\t\t\n\t\t\t\t\t\tyyval.expr = new Tree.ListConst(val_peek(1).elist, val_peek(1).loc);\n\t\t\t\t}\nbreak;\ncase 95:\n//#line 461 \"Parser.y\"\n{\n\t\t\t\t\tyyval = new SemValue();\n yyval.elist = new ArrayList<Expr> ();\n yyval.elist.add(val_peek(0).expr);\n\t\t\t\t}\nbreak;\ncase 96:\n//#line 467 \"Parser.y\"\n{\n\t\t\t\t\tyyval.elist.add(val_peek(0).expr);\n\t\t\t\t}\nbreak;\ncase 97:\n//#line 471 \"Parser.y\"\n{\n\t\t\t\t\tyyval = new SemValue();\n\t\t\t\t}\nbreak;\ncase 99:\n//#line 479 \"Parser.y\"\n{\n \t\tyyval = new SemValue();\n \t\tyyval.elist = new ArrayList<Tree.Expr>();\n \t}\nbreak;\ncase 100:\n//#line 486 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.elist.add(val_peek(0).expr);\n\t\t\t\t\t}\nbreak;\ncase 101:\n//#line 490 \"Parser.y\"\n{\n \t\tyyval.elist = new ArrayList<Tree.Expr>();\n\t\t\t\t\t\tyyval.elist.add(val_peek(0).expr);\n \t}\nbreak;\ncase 102:\n//#line 497 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Tree.WhileLoop(val_peek(2).expr, val_peek(0).stmt, val_peek(4).loc);\n\t\t\t\t\t}\nbreak;\ncase 103:\n//#line 503 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Tree.ForLoop(val_peek(6).stmt, val_peek(4).expr, val_peek(2).stmt, val_peek(0).stmt, val_peek(8).loc);\n\t\t\t\t\t}\nbreak;\ncase 104:\n//#line 509 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Tree.Break(val_peek(0).loc);\n\t\t\t\t\t}\nbreak;\ncase 105:\n//#line 515 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Tree.If(val_peek(3).expr, val_peek(1).stmt, val_peek(0).stmt, val_peek(5).loc);\n\t\t\t\t\t}\nbreak;\ncase 106:\n//#line 521 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = val_peek(0).stmt;\n\t\t\t\t\t}\nbreak;\ncase 107:\n//#line 525 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval = new SemValue();\n\t\t\t\t\t}\nbreak;\ncase 108:\n//#line 531 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Tree.Return(val_peek(0).expr, val_peek(1).loc);\n\t\t\t\t\t}\nbreak;\ncase 109:\n//#line 535 \"Parser.y\"\n{\n \t\tyyval.stmt = new Tree.Return(null, val_peek(0).loc);\n \t}\nbreak;\ncase 110:\n//#line 541 \"Parser.y\"\n{\n\t\t\t\t\t\tyyval.stmt = new Print(val_peek(1).elist, val_peek(3).loc);\n\t\t\t\t\t}\nbreak;\n//#line 1539 \"Parser.java\"\n//########## END OF USER-SUPPLIED ACTIONS ##########\n }//switch\n //#### Now let's reduce... ####\n //if (yydebug) debug(\"reduce\");\n state_drop(yym); //we just reduced yylen states\n yystate = state_peek(0); //get new state\n val_drop(yym); //corresponding value drop\n yym = yylhs[yyn]; //select next TERMINAL(on lhs)\n if (yystate == 0 && yym == 0)//done? 'rest' state and at first TERMINAL\n {\n //if (yydebug) debug(\"After reduction, shifting from state 0 to state \"+YYFINAL+\"\");\n yystate = YYFINAL; //explicitly say we're done\n state_push(YYFINAL); //and save it\n val_push(yyval); //also save the semantic value of parsing\n if (yychar < 0) //we want another character?\n {\n yychar = yylex(); //get next character\n //if (yychar<0) yychar=0; //clean, if necessary\n //if (yydebug)\n //yylexdebug(yystate,yychar);\n }\n if (yychar == 0) //Good exit (if lex returns 0 ;-)\n break; //quit the loop--all DONE\n }//if yystate\n else //else not done yet\n { //get next state and push, for next yydefred[]\n yyn = yygindex[yym]; //find out where to go\n if ((yyn != 0) && (yyn += yystate) >= 0 &&\n yyn <= YYTABLESIZE && yycheck[yyn] == yystate)\n yystate = yytable[yyn]; //get new state\n else\n yystate = yydgoto[yym]; //else go to new defred\n //if (yydebug) debug(\"after reduction, shifting from state \"+state_peek(0)+\" to state \"+yystate+\"\");\n state_push(yystate); //going again, so push state & val...\n val_push(yyval); //for next action\n }\n }//main loop\n return 0;//yyaccept!!\n}", "private void zzScanError(int errorCode) {\r\n String message;\r\n try {\r\n message = ZZ_ERROR_MSG[errorCode];\r\n }\r\n catch (ArrayIndexOutOfBoundsException e) {\r\n message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];\r\n }\r\n\r\n throw new Error(message);\r\n }", "private void zzScanError(int errorCode) {\r\n String message;\r\n try {\r\n message = ZZ_ERROR_MSG[errorCode];\r\n }\r\n catch (ArrayIndexOutOfBoundsException e) {\r\n message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];\r\n }\r\n\r\n throw new Error(message);\r\n }", "private void zzScanError(int errorCode) {\r\n String message;\r\n try {\r\n message = ZZ_ERROR_MSG[errorCode];\r\n }\r\n catch (ArrayIndexOutOfBoundsException e) {\r\n message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];\r\n }\r\n\r\n throw new Error(message);\r\n }", "private void zzScanError(int errorCode) {\r\n String message;\r\n try {\r\n message = ZZ_ERROR_MSG[errorCode];\r\n }\r\n catch (ArrayIndexOutOfBoundsException e) {\r\n message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];\r\n }\r\n\r\n throw new Error(message);\r\n }", "private void zzScanError(int errorCode) {\r\n String message;\r\n try {\r\n message = ZZ_ERROR_MSG[errorCode];\r\n }\r\n catch (ArrayIndexOutOfBoundsException e) {\r\n message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];\r\n }\r\n\r\n throw new Error(message);\r\n }", "protected void error(int line, int column, @Nonnull String msg)\r\n throws LexerException {\r\n if (listener != null)\r\n listener.handleError(source, line, column, msg);\r\n //else\r\n // throw new LexerException(\"Error at \" + line + \":\" + column + \": \" + msg);\r\n }", "void cannotRecognize(Term token);", "void yylexdebug(int state,int ch)\r\n{\r\nString s=null;\r\n if (ch < 0) ch=0;\r\n if (ch <= YYMAXTOKEN) //check index bounds\r\n s = yyname[ch]; //now get it\r\n if (s==null)\r\n s = \"illegal-symbol\";\r\n debug(\"state \"+state+\", reading \"+ch+\" (\"+s+\")\");\r\n}", "int yyparse()\r\n{\r\nboolean doaction;\r\n init_stacks();\r\n yynerrs = 0;\r\n yyerrflag = 0;\r\n yychar = -1; //impossible char forces a read\r\n yystate=0; //initial state\r\n state_push(yystate); //save it\r\n while (true) //until parsing is done, either correctly, or w/error\r\n {\r\n doaction=true;\r\n //if (yydebug) debug(\"loop\"); \r\n //#### NEXT ACTION (from reduction table)\r\n for (yyn=yydefred[yystate];yyn==0;yyn=yydefred[yystate])\r\n {\r\n //if (yydebug) debug(\"yyn:\"+yyn+\" state:\"+yystate+\" yychar:\"+yychar);\r\n if (yychar < 0) //we want a char?\r\n {\r\n yychar = yylex(); //get next token\r\n //if (yydebug) debug(\" next yychar:\"+yychar);\r\n //#### ERROR CHECK ####\r\n //if (yychar < 0) //it it didn't work/error\r\n // {\r\n // yychar = 0; //change it to default string (no -1!)\r\n //if (yydebug)\r\n // yylexdebug(yystate,yychar);\r\n // }\r\n }//yychar<0\r\n yyn = yysindex[yystate]; //get amount to shift by (shift index)\r\n if ((yyn != 0) && (yyn += yychar) >= 0 &&\r\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\r\n {\r\n //if (yydebug)\r\n //debug(\"state \"+yystate+\", shifting to state \"+yytable[yyn]);\r\n //#### NEXT STATE ####\r\n yystate = yytable[yyn];//we are in a new state\r\n state_push(yystate); //save it\r\n val_push(yylval); //push our lval as the input for next rule\r\n yychar = -1; //since we have 'eaten' a token, say we need another\r\n if (yyerrflag > 0) //have we recovered an error?\r\n --yyerrflag; //give ourselves credit\r\n doaction=false; //but don't process yet\r\n break; //quit the yyn=0 loop\r\n }\r\n\r\n yyn = yyrindex[yystate]; //reduce\r\n if ((yyn !=0 ) && (yyn += yychar) >= 0 &&\r\n yyn <= YYTABLESIZE && yycheck[yyn] == yychar)\r\n { //we reduced!\r\n //if (yydebug) debug(\"reduce\");\r\n yyn = yytable[yyn];\r\n doaction=true; //get ready to execute\r\n break; //drop down to actions\r\n }\r\n else //ERROR RECOVERY\r\n {\r\n if (yyerrflag==0)\r\n {\r\n yyerror(\"syntax error\");\r\n yynerrs++;\r\n }\r\n if (yyerrflag < 3) //low error count?\r\n {\r\n yyerrflag = 3;\r\n while (true) //do until break\r\n {\r\n if (stateptr<0 || valptr<0) //check for under & overflow here\r\n {\r\n return 1;\r\n }\r\n yyn = yysindex[state_peek(0)];\r\n if ((yyn != 0) && (yyn += YYERRCODE) >= 0 &&\r\n yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE)\r\n {\r\n //if (yydebug)\r\n //debug(\"state \"+state_peek(0)+\", error recovery shifting to state \"+yytable[yyn]+\" \");\r\n yystate = yytable[yyn];\r\n state_push(yystate);\r\n val_push(yylval);\r\n doaction=false;\r\n break;\r\n }\r\n else\r\n {\r\n //if (yydebug)\r\n //debug(\"error recovery discarding state \"+state_peek(0)+\" \");\r\n if (stateptr<0 || valptr<0) //check for under & overflow here\r\n {\r\n return 1;\r\n }\r\n state_pop();\r\n val_pop();\r\n }\r\n }\r\n }\r\n else //discard this token\r\n {\r\n if (yychar == 0)\r\n return 1; //yyabort\r\n //if (yydebug)\r\n //{\r\n //yys = null;\r\n //if (yychar <= YYMAXTOKEN) yys = yyname[yychar];\r\n //if (yys == null) yys = \"illegal-symbol\";\r\n //debug(\"state \"+yystate+\", error recovery discards token \"+yychar+\" (\"+yys+\")\");\r\n //}\r\n yychar = -1; //read another\r\n }\r\n }//end error recovery\r\n }//yyn=0 loop\r\n if (!doaction) //any reason not to proceed?\r\n continue; //skip action\r\n yym = yylen[yyn]; //get count of terminals on rhs\r\n //if (yydebug)\r\n //debug(\"state \"+yystate+\", reducing \"+yym+\" by rule \"+yyn+\" (\"+yyrule[yyn]+\")\");\r\n if (yym>0) //if count of rhs not 'nil'\r\n yyval = val_peek(yym-1); //get current semantic value\r\n if (reduceListener == null || reduceListener.onReduce(yyrule[yyn])) // if intercepted!\r\n switch(yyn)\r\n {\r\n//########## USER-SUPPLIED ACTIONS ##########\r\ncase 1:\r\n//#line 59 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\ttree = new Tree.TopLevel(val_peek(0).clist, val_peek(0).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 2:\r\n//#line 65 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.clist.add(val_peek(0).cdef);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 3:\r\n//#line 69 \"Parser.y\"\r\n{\r\n \t\tyyval.clist = new ArrayList<Tree.ClassDef>();\r\n \t\tyyval.clist.add(val_peek(0).cdef);\r\n \t}\r\nbreak;\r\ncase 5:\r\n//#line 79 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.vdef = new Tree.VarDef(val_peek(0).ident, val_peek(1).type, val_peek(0).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 6:\r\n//#line 85 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.type = new Tree.TypeIdent(Tree.INT, val_peek(0).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 7:\r\n//#line 89 \"Parser.y\"\r\n{\r\n \t\tyyval.type = new Tree.TypeIdent(Tree.VOID, val_peek(0).loc);\r\n \t}\r\nbreak;\r\ncase 8:\r\n//#line 93 \"Parser.y\"\r\n{\r\n \t\tyyval.type = new Tree.TypeIdent(Tree.BOOL, val_peek(0).loc);\r\n \t}\r\nbreak;\r\ncase 9:\r\n//#line 97 \"Parser.y\"\r\n{\r\n \t\tyyval.type = new Tree.TypeIdent(Tree.STRING, val_peek(0).loc);\r\n \t}\r\nbreak;\r\ncase 10:\r\n//#line 101 \"Parser.y\"\r\n{\r\n \t\tyyval.type = new Tree.TypeClass(val_peek(0).ident, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 11:\r\n//#line 105 \"Parser.y\"\r\n{\r\n \t\tyyval.type = new Tree.TypeArray(val_peek(2).type, val_peek(2).loc);\r\n \t}\r\nbreak;\r\ncase 12:\r\n//#line 111 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.cdef = new Tree.ClassDef(val_peek(4).ident, val_peek(3).ident, val_peek(1).flist, val_peek(5).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 13:\r\n//#line 117 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.ident = val_peek(0).ident;\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 14:\r\n//#line 121 \"Parser.y\"\r\n{\r\n \t\tyyval = new SemValue();\r\n \t}\r\nbreak;\r\ncase 15:\r\n//#line 127 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.flist.add(val_peek(0).vdef);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 16:\r\n//#line 131 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.flist.add(val_peek(0).fdef);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 17:\r\n//#line 135 \"Parser.y\"\r\n{\r\n \t\tyyval = new SemValue();\r\n \t\tyyval.flist = new ArrayList<Tree>();\r\n \t}\r\nbreak;\r\ncase 19:\r\n//#line 143 \"Parser.y\"\r\n{\r\n \t\tyyval = new SemValue();\r\n \t\tyyval.vlist = new ArrayList<Tree.VarDef>(); \r\n \t}\r\nbreak;\r\ncase 20:\r\n//#line 150 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.vlist.add(val_peek(0).vdef);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 21:\r\n//#line 154 \"Parser.y\"\r\n{\r\n \t\tyyval.vlist = new ArrayList<Tree.VarDef>();\r\n\t\t\t\t\t\tyyval.vlist.add(val_peek(0).vdef);\r\n \t}\r\nbreak;\r\ncase 22:\r\n//#line 161 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.fdef = new MethodDef(true, val_peek(4).ident, val_peek(5).type, val_peek(2).vlist, (Block) val_peek(0).stmt, val_peek(4).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 23:\r\n//#line 165 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.fdef = new MethodDef(false, val_peek(4).ident, val_peek(5).type, val_peek(2).vlist, (Block) val_peek(0).stmt, val_peek(4).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 24:\r\n//#line 171 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Block(val_peek(1).slist, val_peek(2).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 25:\r\n//#line 177 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.slist.add(val_peek(0).stmt);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 26:\r\n//#line 181 \"Parser.y\"\r\n{\r\n \t\tyyval = new SemValue();\r\n \t\tyyval.slist = new ArrayList<Tree>();\r\n \t}\r\nbreak;\r\ncase 27:\r\n//#line 188 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = val_peek(0).vdef;\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 28:\r\n//#line 193 \"Parser.y\"\r\n{\r\n \t\tif (yyval.stmt == null) {\r\n \t\t\tyyval.stmt = new Tree.Skip(val_peek(0).loc);\r\n \t\t}\r\n \t}\r\nbreak;\r\ncase 39:\r\n//#line 211 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.Assign(val_peek(2).lvalue, val_peek(0).expr, val_peek(1).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 40:\r\n//#line 215 \"Parser.y\"\r\n{\r\n \t\tyyval.stmt = new Tree.Exec(val_peek(0).expr, val_peek(0).loc);\r\n \t}\r\nbreak;\r\ncase 41:\r\n//#line 219 \"Parser.y\"\r\n{\r\n \t\tyyval = new SemValue();\r\n \t}\r\nbreak;\r\ncase 43:\r\n//#line 226 \"Parser.y\"\r\n{\r\n \t\tyyval = new SemValue();\r\n \t}\r\nbreak;\r\ncase 44:\r\n//#line 232 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.lvalue = new Tree.Ident(val_peek(1).expr, val_peek(0).ident, val_peek(0).loc);\r\n\t\t\t\t\t\tif (val_peek(1).loc == null) {\r\n\t\t\t\t\t\t\tyyval.loc = val_peek(0).loc;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 45:\r\n//#line 239 \"Parser.y\"\r\n{\r\n \t\tyyval.lvalue = new Tree.Indexed(val_peek(3).expr, val_peek(1).expr, val_peek(3).loc);\r\n \t}\r\nbreak;\r\ncase 46:\r\n//#line 245 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.expr = new Tree.CallExpr(val_peek(4).expr, val_peek(3).ident, val_peek(1).elist, val_peek(3).loc);\r\n\t\t\t\t\t\tif (val_peek(4).loc == null) {\r\n\t\t\t\t\t\t\tyyval.loc = val_peek(3).loc;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 47:\r\n//#line 254 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.expr = val_peek(0).lvalue;\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 50:\r\n//#line 260 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.PLUS, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 51:\r\n//#line 264 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.MINUS, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 52:\r\n//#line 268 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.MUL, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 53:\r\n//#line 272 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.DIV, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 54:\r\n//#line 276 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.MOD, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 55:\r\n//#line 280 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.EQ, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 56:\r\n//#line 284 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.NE, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 57:\r\n//#line 288 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.LT, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 58:\r\n//#line 292 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.GT, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 59:\r\n//#line 296 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.LE, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 60:\r\n//#line 300 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.GE, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 61:\r\n//#line 304 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.AND, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 62:\r\n//#line 308 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.OR, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 63:\r\n//#line 312 \"Parser.y\"\r\n{\r\n \t\tyyval = val_peek(1);\r\n \t}\r\nbreak;\r\ncase 64:\r\n//#line 316 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Unary(Tree.NEG, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 65:\r\n//#line 320 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Unary(Tree.NOT, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 66:\r\n//#line 324 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.ReadIntExpr(val_peek(2).loc);\r\n \t}\r\nbreak;\r\ncase 67:\r\n//#line 328 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.ReadLineExpr(val_peek(2).loc);\r\n \t}\r\nbreak;\r\ncase 68:\r\n//#line 332 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.ThisExpr(val_peek(0).loc);\r\n \t}\r\nbreak;\r\ncase 69:\r\n//#line 336 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.NewClass(val_peek(2).ident, val_peek(3).loc);\r\n \t}\r\nbreak;\r\ncase 70:\r\n//#line 340 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.NewArray(val_peek(3).type, val_peek(1).expr, val_peek(4).loc);\r\n \t}\r\nbreak;\r\ncase 71:\r\n//#line 344 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.TypeTest(val_peek(3).expr, val_peek(1).ident, val_peek(5).loc);\r\n \t}\r\nbreak;\r\ncase 72:\r\n//#line 348 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.TypeCast(val_peek(2).ident, val_peek(0).expr, val_peek(0).loc);\r\n \t}\r\nbreak;\r\ncase 73:\r\n//#line 352 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Ternary(Tree.COND, val_peek(4).expr, val_peek(2).expr, val_peek(0).expr, val_peek(4).loc);\r\n \t}\r\nbreak;\r\ncase 74:\r\n//#line 356 \"Parser.y\"\r\n{\r\n \t\tyyval.expr = new Tree.Binary(Tree.PCLONE, val_peek(2).expr, val_peek(0).expr, val_peek(1).loc);\r\n \t}\r\nbreak;\r\ncase 75:\r\n//#line 362 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.expr = new Tree.Literal(val_peek(0).typeTag, val_peek(0).literal, val_peek(0).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 76:\r\n//#line 366 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.expr = new Null(val_peek(0).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 78:\r\n//#line 373 \"Parser.y\"\r\n{\r\n \t\tyyval = new SemValue();\r\n \t\tyyval.elist = new ArrayList<Tree.Expr>();\r\n \t}\r\nbreak;\r\ncase 79:\r\n//#line 380 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.elist.add(val_peek(0).expr);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 80:\r\n//#line 384 \"Parser.y\"\r\n{\r\n \t\tyyval.elist = new ArrayList<Tree.Expr>();\r\n\t\t\t\t\t\tyyval.elist.add(val_peek(0).expr);\r\n \t}\r\nbreak;\r\ncase 81:\r\n//#line 391 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.WhileLoop(val_peek(2).expr, val_peek(0).stmt, val_peek(4).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 82:\r\n//#line 397 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.Repeat(val_peek(4).stmt, val_peek(1).expr, val_peek(5).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 83:\r\n//#line 403 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.ForLoop(val_peek(6).stmt, val_peek(4).expr, val_peek(2).stmt, val_peek(0).stmt, val_peek(8).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 84:\r\n//#line 409 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.Break(val_peek(0).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 85:\r\n//#line 415 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.If(val_peek(3).expr, val_peek(1).stmt, val_peek(0).stmt, val_peek(5).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 86:\r\n//#line 421 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = val_peek(0).stmt;\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 87:\r\n//#line 425 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval = new SemValue();\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 88:\r\n//#line 431 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.Return(val_peek(0).expr, val_peek(1).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 89:\r\n//#line 435 \"Parser.y\"\r\n{\r\n \t\tyyval.stmt = new Tree.Return(null, val_peek(0).loc);\r\n \t}\r\nbreak;\r\ncase 90:\r\n//#line 441 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Print(val_peek(1).elist, val_peek(3).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 91:\r\n//#line 447 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.Switch(val_peek(5).expr, val_peek(2).slist, val_peek(1).stmt, val_peek(7).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 92:\r\n//#line 453 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.slist.add(val_peek(0).stmt);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 93:\r\n//#line 457 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval = new SemValue();\r\n \t\tyyval.slist = new ArrayList<Tree>();\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 94:\r\n//#line 464 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.Case(val_peek(2).expr, val_peek(0).slist, val_peek(3).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 95:\r\n//#line 470 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.Default(val_peek(0).slist, val_peek(2).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 96:\r\n//#line 474 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval = new SemValue();\r\n\t\t\t\t\t}\r\nbreak;\r\ncase 97:\r\n//#line 480 \"Parser.y\"\r\n{\r\n\t\t\t\t\t\tyyval.stmt = new Tree.Continue(val_peek(0).loc);\r\n\t\t\t\t\t}\r\nbreak;\r\n//#line 1319 \"Parser.java\"\r\n//########## END OF USER-SUPPLIED ACTIONS ##########\r\n }//switch\r\n //#### Now let's reduce... ####\r\n //if (yydebug) debug(\"reduce\");\r\n state_drop(yym); //we just reduced yylen states\r\n yystate = state_peek(0); //get new state\r\n val_drop(yym); //corresponding value drop\r\n yym = yylhs[yyn]; //select next TERMINAL(on lhs)\r\n if (yystate == 0 && yym == 0)//done? 'rest' state and at first TERMINAL\r\n {\r\n //if (yydebug) debug(\"After reduction, shifting from state 0 to state \"+YYFINAL+\"\");\r\n yystate = YYFINAL; //explicitly say we're done\r\n state_push(YYFINAL); //and save it\r\n val_push(yyval); //also save the semantic value of parsing\r\n if (yychar < 0) //we want another character?\r\n {\r\n yychar = yylex(); //get next character\r\n //if (yychar<0) yychar=0; //clean, if necessary\r\n //if (yydebug)\r\n //yylexdebug(yystate,yychar);\r\n }\r\n if (yychar == 0) //Good exit (if lex returns 0 ;-)\r\n break; //quit the loop--all DONE\r\n }//if yystate\r\n else //else not done yet\r\n { //get next state and push, for next yydefred[]\r\n yyn = yygindex[yym]; //find out where to go\r\n if ((yyn != 0) && (yyn += yystate) >= 0 &&\r\n yyn <= YYTABLESIZE && yycheck[yyn] == yystate)\r\n yystate = yytable[yyn]; //get new state\r\n else\r\n yystate = yydgoto[yym]; //else go to new defred\r\n //if (yydebug) debug(\"after reduction, shifting from state \"+state_peek(0)+\" to state \"+yystate+\"\");\r\n state_push(yystate); //going again, so push state & val...\r\n val_push(yyval); //for next action\r\n }\r\n }//main loop\r\n return 0;//yyaccept!!\r\n}", "@FormatMethod\n private void reportError(ParseTree parseTree, @FormatString String message, Object... arguments) {\n if (parseTree == null) {\n reportError(message, arguments);\n } else {\n errorReporter.reportError(parseTree.location.start, message, arguments);\n }\n }", "@Test(timeout = 4000)\n public void test009() throws Throwable {\n StringReader stringReader0 = new StringReader(\"~:}LC@A$L'2q+~$ja\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.SwitchTo(91);\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Error: Ignoring invalid lexical state : 91. State unchanged.\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return lexer.nextToken(); \n }", "private void parseErrorUnlessPermittedSlash() throws SAXException,\n IOException {\n if (endTag) {\n err(\"Stray \\u201C/\\u201D in an end tag.\");\n return;\n }\n char c = read();\n if (c == '>') {\n if (!currentIsVoid() && !html4) {\n if (html4) {\n err(\"Stray \\u201C/\\u201D in tag. The \\u201C/>\\u201D syntax is not permitted in HTML4.\");\n } else {\n err(\"Stray \\u201C/\\u201D in tag. The \\u201C/>\\u201D syntax is only permitted on void elements.\");\n }\n } else if (html4) {\n err(\"Stray \\u201C/\\u201D in tag. The \\u201C/>\\u201D syntax is not permitted in HTML4. (HTML4-only error)\");\n }\n } else {\n err(\"Stray \\u201C/\\u201D in tag.\");\n }\n unread(c);\n }", "@Test(timeout = 4000)\n public void test000() throws Throwable {\n StringReader stringReader0 = new StringReader(\"WA.W2e9@MV5G\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 1, 1);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.SwitchTo(4);\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Error: Ignoring invalid lexical state : 4. State unchanged.\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "@Test(timeout = 4000)\n public void test040() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"com.werken.saxpath.XPathLexer\");\n xPathLexer0.consume((-796));\n // Undeclared exception!\n try { \n xPathLexer0.number();\n fail(\"Expecting exception: StringIndexOutOfBoundsException\");\n \n } catch(StringIndexOutOfBoundsException e) {\n }\n }", "private void zzScanError(int errorCode) {\n String message;\n try {\n message = ZZ_ERROR_MSG[errorCode];\n } catch (ArrayIndexOutOfBoundsException e) {\n message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];\n }\n\n throw new Error(message);\n }", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "void yylexdebug(int state,int ch)\n{\nString s=null;\n if (ch < 0) ch=0;\n if (ch <= YYMAXTOKEN) //check index bounds\n s = yyname[ch]; //now get it\n if (s==null)\n s = \"illegal-symbol\";\n debug(\"state \"+state+\", reading \"+ch+\" (\"+s+\")\");\n}", "void yylexdebug(int state,int ch)\n{\nString s=null;\n if (ch < 0) ch=0;\n if (ch <= YYMAXTOKEN) //check index bounds\n s = yyname[ch]; //now get it\n if (s==null)\n s = \"illegal-symbol\";\n debug(\"state \"+state+\", reading \"+ch+\" (\"+s+\")\");\n}", "public void unrecovered_syntax_error(Symbol s) throws java.lang.Exception\n { \n String lexema = s.value.toString();\n int fila = s.right;\n int columna = s.left;\n \n System.out.println(\"!!!!!!! Error Sintactico, Panic Mode !!!!!!! \");\n System.out.println(\"\\t\\tLexema: \"+lexema);\n System.out.println(\"\\t\\tFila: \"+fila);\n System.out.println(\"\\t\\tColumna: \"+columna);\n\n /*AcepErr datos =new AcepErr(lexema, \"ERROR SINTACTICO\" ,fila,columna,\"Simbolo no esperado Error Fatal\");\n TablaErr.add(datos);\n */\n //lista_errores.add(new ErrorT(lexema, fila, columna,\"sintactico\" ,\"Simbolo no esperado, Panic Mode\"));\n }", "protected static void reportParseError(int expectedToken, int actualToken, String actualTokenValue) throws MailcapParseException {\n/* 514 */ throw new MailcapParseException(\"Encountered a \" + MailcapTokenizer.nameForToken(actualToken) + \" token (\" + actualTokenValue + \") while expecting a \" + MailcapTokenizer.nameForToken(expectedToken) + \" token.\");\n/* */ }", "private void errorCheck( Token token, String kind ) {\n if( ! token.isKind( kind ) ) {\n System.out.println(\"Error: expected \" + token + \" to be of kind \" + kind );\n System.exit(1);\n }\n }", "@Test(timeout = 4000)\n public void test150() throws Throwable {\n StringReader stringReader0 = new StringReader(\"'L+XUG}\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 2292, 16, 18);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Lexical error at line 2292, column 18. Encountered: \\\"+\\\" (43), after : \\\"\\\\'L\\\"\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "public void reportError(final int category, final ErrorMsg error) {\n switch (category) {\n case Constants.INTERNAL:\n // Unexpected internal errors, such as null-ptr exceptions, etc.\n // Immediately terminates compilation, no translet produced\n _errors.add(error);\n break;\n case Constants.UNSUPPORTED:\n // XSLT elements that are not implemented and unsupported ext.\n // Immediately terminates compilation, no translet produced\n _errors.add(error);\n break;\n case Constants.FATAL:\n // Fatal error in the stylesheet input (parsing or content)\n // Immediately terminates compilation, no translet produced\n _errors.add(error);\n break;\n case Constants.ERROR:\n // Other error in the stylesheet input (parsing or content)\n // Does not terminate compilation, no translet produced\n _errors.add(error);\n break;\n case Constants.WARNING:\n // Other error in the stylesheet input (content errors only)\n // Does not terminate compilation, a translet is produced\n _warnings.add(error);\n break;\n }\n }", "public Vector collectParseErrors() {\n \n \t\tNode n = null;\n \t\tDatum d = null;\n \t\tVector parseErrors = new Vector();\n \t\tString dependenciesErrors = null;\n \t\tString actionErrors = null;\n \t\tString answerChoicesErrors = null;\n \t\tString readbackErrors = null;\n \t\tVector nodeParseErrors = null;\n \t\tVector nodeNamingErrors = null;\n \t\tboolean hasErrors = false;\n \t\t\n \t\tparser.resetErrorCount();\n \n \t\tfor (int i=0;i<size();++i) {\n \t\t\tn = nodes.getNode(i);\n \t\t\tif (n == null)\n \t\t\t\tcontinue;\n \n \t\t\thasErrors = false;\n \t\t\tdependenciesErrors = null;\n \t\t\tactionErrors = null;\n \t\t\tanswerChoicesErrors = null;\n \t\t\treadbackErrors = null;\n \t\t\tnodeParseErrors = null;\n \t\t\tnodeNamingErrors = null;\n \n \t\t\tparser.booleanVal(evidence, n.getDependencies());\n \n \t\t\tif (parser.hasErrors()) {\n \t\t\t\thasErrors = true;\n \t\t\t\tdependenciesErrors = parser.getErrors();\n \t\t\t}\n \n \t\t\tint actionType = n.getQuestionOrEvalType();\n \t\t\tString s = n.getQuestionOrEval();\n \n \t\t\t/* Check questionOrEval for syntax errors */\n \t\t\tif (s != null) {\n \t\t\t\tif (actionType == Node.QUESTION) {\n \t\t\t\t\tparser.parseJSP(evidence, s);\n \t\t\t\t}\n \t\t\t\telse if (actionType == Node.EVAL) {\n \t\t\t\t\tparser.stringVal(evidence, s);\n \t\t\t\t}\n \t\t\t}\n \t\t\t\n \t\t\t/* Check min & max range delimiters for syntax errors */\n \t\t\ts = n.getMinStr();\n \t\t\tif (s != null) {\n \t\t\t\tparser.stringVal(evidence, s);\n \t\t\t}\n \t\t\ts = n.getMaxStr();\n \t\t\tif (s != null) {\n \t\t\t\tparser.stringVal(evidence, s);\n \t\t\t}\n \t\t\t\n \t\t\tif (parser.hasErrors()) {\n \t\t\t\thasErrors = true;\n \t\t\t\tactionErrors = parser.getErrors();\n \t\t\t}\n \t\t\t\n \t\t\tVector v = n.getAnswerChoices();\n \t\t\tif (v != null) {\n \t\t\t\tfor (int j=0;j<v.size();++j) {\n \t\t\t\t\tAnswerChoice ac = (AnswerChoice) v.elementAt(j);\n \t\t\t\t\tif (ac != null)\n \t\t\t\t\t\tac.parse(parser, evidence);\t// any errors will be associated with the parser, not the node (although this is misleading)\n \t\t\t\t}\n \t\t\t}\n \n \t\t\tif (parser.hasErrors()) {\n \t\t\t\thasErrors = true;\n \t\t\t\tanswerChoicesErrors = parser.getErrors();\n \t\t\t}\n \n \t\t\tif (n.hasParseErrors()) {\n \t\t\t\thasErrors = true;\n \t\t\t\tnodeParseErrors = n.getParseErrors();\n \t\t\t}\n \t\t\tif (n.hasNamingErrors()) {\n \t\t\t\thasErrors = true;\n \t\t\t\tnodeNamingErrors = n.getNamingErrors();\n \t\t\t}\n \t\t\t\n \t\t\tif (n.getReadback() != null) {\n \t\t\t\tparser.parseJSP(evidence,n.getReadback());\n \t\t\t}\n \t\t\tif (parser.hasErrors()) {\n \t\t\t\thasErrors = true;\n \t\t\t\treadbackErrors = parser.getErrors();\n \t\t\t}\n \n \t\t\tif (hasErrors) {\n \t\t\t\tparseErrors.addElement(new ParseError(n, dependenciesErrors, actionErrors, answerChoicesErrors, readbackErrors, nodeParseErrors, nodeNamingErrors));\n \t\t\t}\n \t\t}\n \t\treturn parseErrors;\n \t}", "@Test(timeout = 4000)\n public void test005() throws Throwable {\n StringReader stringReader0 = new StringReader(\"}y5+{SPClS&QvLb0Qm\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.jjFillToken();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "public void unrecovered_syntax_error(Symbol s) throws java.lang.Exception\n { \n String lexema = s.value.toString();\n int fila = s.right;\n int columna = s.left;\n \n System.out.println(\"!!!!!!! Error Sintactico, Panic Mode !!!!!!! \");\n System.out.println(\"\\t\\tLexema: \"+lexema);\n System.out.println(\"\\t\\tFila: \"+fila);\n System.out.println(\"\\t\\tColumna: \"+columna);\n \n lista_errores.add(new ErrorT(lexema, fila, columna,\"sintactico\" ,\"Simbolo no esperado, Panic Mode\"));\n }", "@Test(timeout = 4000)\n public void test015() throws Throwable {\n StringReader stringReader0 = new StringReader(\" 6PR~\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0, 2);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Lexical error at line 1, column 2. Encountered: \\\"6\\\" (54), after : \\\"\\\"\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "@Test(timeout = 4000)\n public void test120() throws Throwable {\n StringReader stringReader0 = new StringReader(\"NXMnbm>`7-o(jz g3N\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, (-439), 1101);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.getNextToken();\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Lexical error at line -439, column 1108. Encountered: \\\"`\\\" (96), after : \\\"\\\"\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "public void correctErrors();", "@Test(timeout = 4000)\n public void test045() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"hN!SM~8ux(wB\");\n xPathLexer0.consume((-1));\n // Undeclared exception!\n try { \n xPathLexer0.literal();\n fail(\"Expecting exception: StringIndexOutOfBoundsException\");\n \n } catch(StringIndexOutOfBoundsException e) {\n }\n }", "@Test(timeout = 4000)\n public void test041() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"com.werken.saxpath.XPathLexer\");\n xPathLexer0.consume((-2521));\n // Undeclared exception!\n try { \n xPathLexer0.nextToken();\n fail(\"Expecting exception: StringIndexOutOfBoundsException\");\n \n } catch(StringIndexOutOfBoundsException e) {\n }\n }", "public static void registerError() {\r\n errorCount++;\r\n }", "@FormatMethod\n private void reportError(Token token, @FormatString String message, Object... arguments) {\n if (token == null) {\n reportError(message, arguments);\n } else {\n errorReporter.reportError(token.getStart(), message, arguments);\n }\n }", "@Test(timeout = 4000)\n public void test019() throws Throwable {\n StringReader stringReader0 = new StringReader(\"\\\"}tH?N[RLAs'&]u\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 128, 29);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Lexical error at line 128, column 44. Encountered: <EOF> after : \\\"\\\\\\\"}tH?N[RLAs\\\\'&]u\\\"\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "@Override\n public void warning(SAXParseException sAXParseException) throws SAXException {\n ErrorListener errorListener = this.m_transformer.getErrorListener();\n if (errorListener instanceof ErrorHandler) {\n ((ErrorHandler)((Object)errorListener)).warning(sAXParseException);\n return;\n }\n try {\n TransformerException transformerException = new TransformerException(sAXParseException);\n errorListener.warning(transformerException);\n return;\n }\n catch (TransformerException transformerException) {\n throw sAXParseException;\n }\n }", "private static void fail(Scanner scanner, String message) throws RuntimeException {\n String msg = message + \"\\n @ ...\";\n for (int i = 0; i < 10 && scanner.hasNext(); i++) {\n msg += \" \" + scanner.next();\n }\n throw new RuntimeException(msg + \"...\");\n }", "@Test(timeout = 4000)\n public void test153() throws Throwable {\n StringReader stringReader0 = new StringReader(\"#crIx\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 2897, 32);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Lexical error at line 2897, column 32. Encountered: \\\"#\\\" (35), after : \\\"\\\"\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "protected void errorSyntaxis(){\n\t\tchar[] fun = (this.getText()).toCharArray();\n\t\tint pos = fun.length;\n\t\tfor(int i = pos; i > 0;i--)\n\t\t\tvalidSyntaxis(Arrays.copyOfRange(fun,0,i));\n\t}", "@Test(timeout = 4000)\n public void test021() throws Throwable {\n byte[] byteArray0 = new byte[1];\n byteArray0[0] = (byte) (-25);\n ByteArrayInputStream byteArrayInputStream0 = new ByteArrayInputStream(byteArray0);\n JavaCharStream javaCharStream0 = new JavaCharStream(byteArrayInputStream0, 119, (-820), 29);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Lexical error at line 119, column -819. Encountered: <EOF> after : \\\"\\\"\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "public static void errorRecovery (CD19Parser p) throws Exception {\n\n int nextComma = p.nextTokenOccursAt(Token.TCOMA);\n\n int nextMinViableTokenBesidesComma = -1;\n int nextSemiComma = p.nextTokenOccursAt(Token.TSEMI);\n int nextLeftParanthesis = p.nextTokenOccursAt(Token.TLPAR);\n if (nextSemiComma != -1) {\n nextMinViableTokenBesidesComma = nextSemiComma;\n }\n if (nextLeftParanthesis != -1 && nextLeftParanthesis < nextMinViableTokenBesidesComma) {\n nextMinViableTokenBesidesComma = nextLeftParanthesis;\n }\n\n // if there is no necessary token for\n // NREPT or NFOR then just fail anyway\n // as it will fail NREPT or NFOR ultimately\n if (nextMinViableTokenBesidesComma == -1) {\n throw new Exception(\"Unable to recover.\");\n }\n\n // there is no next comma\n // i.e. we have to jump the parser\n // the next sensible section\n if (nextComma == -1) {\n // there is a next comma but it doesn't occur\n // in the <initlist>. thus we can only attempt to jump\n // the parser to the next sensisble section\n if (nextMinViableTokenBesidesComma != -1) {\n p.tokensJumpTo(nextMinViableTokenBesidesComma);\n } else {\n throw new Exception(\"Unable to recover\");\n }\n return;\n }\n\n // if next comma occurs before the next ';' or ')'\n // jump there\n if (nextComma < nextMinViableTokenBesidesComma) {\n p.tokensJumpTo(nextComma);\n return;\n }\n\n\n throw new Exception(\"Unable to recover\");\n }", "@Test(timeout = 4000)\n public void test166() throws Throwable {\n StringReader stringReader0 = new StringReader(\"\\\">>=\\\"\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.ReInit(javaCharStream0, (-378));\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Error: Ignoring invalid lexical state : -378. State unchanged.\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "public ParseResult failure (Object input) {\n return failure(input, 1);\n }", "@Test(timeout = 4000)\n public void test008() throws Throwable {\n StringReader stringReader0 = new StringReader(\"interface\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaCharStream0.nextCharInd = (-1232);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "@Test(timeout = 4000)\n public void test024() throws Throwable {\n StringReader stringReader0 = new StringReader(\";{\\\"9n/s(2C'#tQX*\");\n stringReader0.read();\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n char[] charArray0 = new char[9];\n stringReader0.read(charArray0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Lexical error at line 1, column 3. Encountered: \\\"t\\\" (116), after : \\\"\\\\'#\\\"\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "protected static void reportParseError(int expectedToken, int otherExpectedToken, int actualToken, String actualTokenValue) throws MailcapParseException {\n/* 523 */ throw new MailcapParseException(\"Encountered a \" + MailcapTokenizer.nameForToken(actualToken) + \" token (\" + actualTokenValue + \") while expecting a \" + MailcapTokenizer.nameForToken(expectedToken) + \" or a \" + MailcapTokenizer.nameForToken(otherExpectedToken) + \" token.\");\n/* */ }", "@Test(timeout = 4000)\n public void test037() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"[Sdf yy*X>HdSr %<}\");\n xPathLexer0.consume((-1189));\n // Undeclared exception!\n try { \n xPathLexer0.or();\n fail(\"Expecting exception: StringIndexOutOfBoundsException\");\n \n } catch(StringIndexOutOfBoundsException e) {\n }\n }" ]
[ "0.6193216", "0.6193216", "0.61818415", "0.57052606", "0.56294984", "0.55520535", "0.5537541", "0.5488185", "0.548323", "0.54710114", "0.5428345", "0.5339221", "0.5308434", "0.5307468", "0.53018016", "0.53018016", "0.5286336", "0.52852386", "0.52852386", "0.52852386", "0.52852386", "0.52852386", "0.52691185", "0.5244952", "0.52448195", "0.5232611", "0.52306795", "0.52188206", "0.52104425", "0.5206576", "0.52009827", "0.5197556", "0.5189078", "0.51848614", "0.51814663", "0.51814663", "0.5175344", "0.51656246", "0.5108065", "0.50948006", "0.5094444", "0.50816905", "0.5071437", "0.5067463", "0.50647587", "0.50504893", "0.5042048", "0.50362843", "0.5025932", "0.5023145", "0.501334", "0.501198", "0.5008787", "0.49986178", "0.49947017", "0.4986995", "0.49814412", "0.49772522", "0.4970819", "0.4969052", "0.4951633", "0.4944771", "0.49439943", "0.49401677" ]
0.5257673
58
Pushes the specified amount of characters back into the input stream. They will be read again by then next call of the scanning method
public void yypushback(int number) { if ( number > yylength() ) zzScanError(ZZ_PUSHBACK_2BIG); zzMarkedPos -= number; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void pushBack() throws IOException {\n iis.seek(iis.getStreamPosition()-bufAvail);\n bufAvail = 0;\n bufPtr = 0;\n }", "public void finish() {\n charScanner.pushBack(currentCharToken);\n }", "@Override\n public void mark(final int readlimit) {\n input.mark();\n }", "private void trim() {\n read(0);\n }", "protected void readAhead() {\n if (! reader.hasNext()) {\n this.nextLine = null;\n } else {\n this.nextLine = reader.next();\n while (this.nextLine != null && this.nextLine.isEmpty() && reader.hasNext())\n this.nextLine = reader.next();\n }\n }", "private int _readMore(InputStream in, byte[] readBuffer, int inputPtr, int inputEnd, int maxRead)\n/* */ throws IOException\n/* */ {\n/* 1580 */ int i = 0;\n/* 1581 */ while (inputPtr < inputEnd) {\n/* 1582 */ readBuffer[(i++)] = readBuffer[(inputPtr++)];\n/* */ }\n/* 1584 */ inputPtr = 0;\n/* 1585 */ inputEnd = i;\n/* 1586 */ maxRead = Math.min(maxRead, readBuffer.length);\n/* */ do\n/* */ {\n/* 1589 */ int length = maxRead - inputEnd;\n/* 1590 */ if (length == 0) {\n/* */ break;\n/* */ }\n/* 1593 */ int count = in.read(readBuffer, inputEnd, length);\n/* 1594 */ if (count < 0) {\n/* 1595 */ return inputEnd;\n/* */ }\n/* 1597 */ inputEnd += count;\n/* 1598 */ } while (inputEnd < 3);\n/* 1599 */ return inputEnd;\n/* */ }", "private void fillBuf(int need) throws IOException {\n\n\t\tif (count > pos) {\n\t\t\tSystem.arraycopy(buf, pos, buf, 0, count - pos);\n\t\t\tcount -= pos;\n\t\t\tneed -= count;\n\t\t\tpos = 0;\n\t\t} else {\n\t\t\tcount = 0;\n\t\t\tpos = 0;\n\t\t}\n\n\t\twhile (need > 0) {\n\n\t\t\tint len = in.read(buf, count, buf.length - count);\n\t\t\tif (len <= 0) {\n\t\t\t\tthrow new EOFException();\n\t\t\t}\n\t\t\tcount += len;\n\t\t\tneed -= len;\n\t\t}\n\n\t}", "public static void main(String[] args) throws IOException {\n\n String s = scanner.nextLine();\n\n String t = scanner.nextLine();\n\n int k = scanner.nextInt();\n scanner.skip(\"(\\r\\n|[\\n\\r\\u2028\\u2029\\u0085])?\");\n\n String result = appendAndDelete(s, t, k);\n System.out.println(result);\n\n// bufferedWriter.write(result);\n// bufferedWriter.newLine();\n//\n// bufferedWriter.close();\n\n scanner.close();\n }", "public synchronized void readInput() throws InterruptedException, IOException \n\t{\n\t\twhile (getDataSourceEOFlag())\n\t\t{\n\t\t\tcontent.set(incomingPipe.take());\n\t\t\t\n\t\t\t// Ensure thread-timing uniformity (a speed-limiter)\n\t\t\t//Thread.sleep(100);\n\t\t\t\n\t\t\tprocess();\n\t\t\t// Discard the text to free up memory.\n\t\t\tcontent.set(null);\n\t\t}\n\t}", "private void unread(char c) {\n unreadBuffer = c;\n }", "@Test(timeout = 4000)\n public void test015() throws Throwable {\n StringReader stringReader0 = new StringReader(\"s\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n javaCharStream0.FillBuff();\n assertEquals((-1), javaCharStream0.bufpos);\n }", "private void scan() {\n token = nextToken;\n nextToken = scanner.next();\n }", "private int getNextChar() throws IOException{\n\t\tpos++;\n\t\tsourceReader.mark(20);\n\t\treturn sourceReader.read();\n\t}", "@Override\n public void flush() throws IOException\n {\n for(;;) {\n int index = indexOneOf(builder, '\\r', '\\n');\n if(index == -1) {\n break;\n }\n // ignore false returned by offer when queue is full\n queue.offer(builder.substring(0, index));\n\n if(builder.charAt(index) == '\\r') {\n ++index;\n }\n if(builder.charAt(index) != '\\n') {\n throw new IllegalStateException();\n }\n ++index;\n builder.delete(0, index);\n }\n }", "private final int bufferedInputBytesRemaining() {\n return reading ? (buffer.remaining() + (ungotc != -1 ? 1 : 0)) : 0;\n }", "void setCharacterStream(int index, Reader reader, int count)\n throws SQLException;", "void peekAhead(GetsState gs) {\n ChannelBuffer buf;\n //Tcl_DriverBlockModeProc *blockModeProc;\n int bytesLeft;\n boolean goto_cleanup = false; // Set to true when jumping to the\n // cleanup label, used to simulate a goto.\n\n buf = gs.buf;\n\n // If there's any more raw input that's still buffered, we'll peek into\n // that. Otherwise, only get more data from the channel driver if it\n // looks like there might actually be more data. The assumption is that\n // if the channel buffer is filled right up to the end, then there\n // might be more data to read.\n\n cleanup:{\n //blockModeProc = NULL;\n if (buf.next == null) {\n bytesLeft = buf.nextAdded - (buf.nextRemoved + gs.rawRead.i);\n if (bytesLeft == 0) {\n if (buf.nextAdded < buf.bufLength) {\n // Don't peek ahead if last read was short read.\n goto_cleanup = true;\n break cleanup;\n }\n // FIXME: This non-blocking check is currently disabled, non-blocking\n // is not currently supported and it is not clean why we would\n // need to depend on non-blocking IO when peeking anyway.\n if (blocking) {\n //blockModeProc = Tcl_ChannelBlockModeProc(chanPtr->typePtr);\n if (false /*blockModeProc == NULL*/) {\n // Don't peek ahead if cannot set non-blocking mode.\n goto_cleanup = true;\n break cleanup;\n }\n //StackSetBlockMode(chanPtr, TCL_MODE_NONBLOCKING);\n }\n }\n }\n filterBytes(gs);\n //if (blockModeProc != NULL) {\n // StackSetBlockMode(chanPtr, TCL_MODE_BLOCKING);\n //}\n }\n\n if (goto_cleanup) {\n buf.nextRemoved += gs.rawRead.i;\n gs.rawRead.i = 0;\n gs.totalChars += gs.charsWrote.i;\n //gs.bytesWrote.i = 0;\n gs.charsWrote.i = 0;\n }\n }", "private void flushChars() throws SAXException, IOException {\n if (cstart != -1) {\n if (pos > cstart) {\n int currCol = col;\n int currLine = line;\n col = colPrev;\n line = linePrev;\n try {\n tokenHandler.characters(buf, cstart, pos - cstart);\n } finally {\n col = currCol;\n line = currLine;\n }\n }\n }\n cstart = -1;\n }", "public FastCharStream(final Reader reader) {\n\t\tinput = reader;\n\t}", "private char peekFurther(int distance) {\n if (current + distance >= source.length()) {\n return '\\0';\n }\n\n return source.charAt(current + distance);\n }", "private synchronized void read(byte[] dest, int amt) throws IOException {\n\t\tread(in, dest, amt);\n\t}", "public void run() {\n try {\n byte b[] = new byte[100];\n for (;;) {\n int n = in.read(b);\n String str;\n if (n < 0) {\n break;\n }\n str = new String(b, 0, n);\n buffer.append(str);\n System.out.print(str);\n }\n } catch (IOException ioe) { /* skip */ }\n }", "private static String readUntil(InputStreamReader r, char limit)\n\t\t\tthrows IOException {\n\t\tStringBuilder builder = new StringBuilder();\n\t\tfor (int i = r.read(); i != -1; i = r.read()) {\n\t\t\tchar c = (char) i;\n\t\t\tbuilder.append(c);\n\t\t\tif (c == limit) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn builder.toString();\n\t}", "public void advance() {\r\n this.command = in.nextLine();\r\n }", "public void unreadToken(SQLToken c) {\n synchronized (lock) {\n if (tokensBufferPosition == 0) {\n throw new SQLParserException(\"Pushback buffer overflow\");\n }\n tokensBuffer[--tokensBufferPosition] = c;\n }\n }", "void readNextChar() throws ReaderException;", "private int readChar(boolean movePointer) throws Exception {\n if (_bi >= _blen) {\n _blen = _reader.read(_buf, 0, 2048);\n if (log) {\n StringBuffer sbBuffer = new StringBuffer();\n for (int i = 0; i < 300; i++) {\n sbBuffer.append(_buf[i]);\n }\n }\n log = false;\n\n _bi = 0;\n if (_blen < 0)\n return -1;\n }\n char ret = _buf[_bi];\n if (movePointer)\n _bi++;\n return ret;\n }", "@Test(timeout = 4000)\n public void test137() throws Throwable {\n JavaCharStream javaCharStream0 = new JavaCharStream((Reader) null);\n PipedInputStream pipedInputStream0 = new PipedInputStream();\n javaCharStream0.ReInit((InputStream) pipedInputStream0, 122, 122);\n assertEquals((-1), javaCharStream0.bufpos);\n }", "public LengthLimitedInputStream(InputStream in, int limit) {\n\tsuper(in);\n\tleft = limit;\n }", "private String readFixedString(int size, DataInput in) throws IOException\n { \n var b = new StringBuilder(size);\n int i = 0;\n var done = false;\n while (!done && i < size)\n { \n char ch = in.readChar();\n i++;\n if (ch == 0) {\n done = true;\n }\n else {\n b.append(ch);\n }\n }\n \n in.skipBytes(2 * (size - i));\n return b.toString();\n }", "public void feedAndCut() throws IOException {\n feed();\n cut();\n writer.flush();\n }", "@Test(timeout = 4000)\n public void test017() throws Throwable {\n StringReader stringReader0 = new StringReader(\"\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n javaCharStream0.backup(1);\n javaCharStream0.getLine();\n assertEquals(4094, javaCharStream0.bufpos);\n }", "public int cscan () throws IOException {\n\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\n\t\t\t\t//if (numChars <= 0) return -1;\n\t\t\t}\n\n\t\t\treturn buf[curChar++];\n\t\t}", "public synchronized long skip(long charsToSkip) throws IOException {\n\t\tlong processed = 0;\n\n\t\t// first disregard what's in our small queue:\n\t\twhile (charsToSkip > 0 && m_queueLength > 0) {\n\t\t\tnext(false);\n\t\t\tcharsToSkip--;\n\t\t\tprocessed++;\n\t\t}\n\n\t\t// the efficient way to skip:\n\t\twhile (charsToSkip > 0) {\n\t\t\tlong skipped = m_reader.skip(charsToSkip);\n\t\t\tif (skipped == 0) {\n\t\t\t\treturn processed;\n\t\t\t}\n\t\t\tcharsToSkip -= skipped;\n\t\t\tprocessed += skipped;\n\t\t\tm_read += skipped;\n\t\t}\n\n\t\tpopulateQueue();\n\n\t\treturn processed;\n\t}", "void seekReset() {\n\t\tcancelEof();\n\t\tsawEofChar = false;\n\t}", "private void getNextChar() \n {\n try\n {\n int temp = in.read();\n if (temp == -1)\n eof = true;\n currentChar = (char)temp;\n }\n catch (IOException e)\n {\n System.err.println(\"Catastrophic File IO error.\\n\" + e);\n System.exit(1); \n //exit with nonzero exit code to indicate catastrophic error\n }\n }", "@Override\n\tpublic void consume(Scan scan) {\n\n\t}", "private boolean loadMore(int available) throws IOException\n {\n _byteCount += (_inputEnd - available);\n\n // Bytes that need to be moved to the beginning of buffer?\n if (available > 0) {\n if (_inputPtr > 0) {\n if (!canModifyBuffer()) {\n // 15-Aug-2022, tatu: Occurs (only) if we have half-decoded UTF-8\n // characters; uncovered by:\n //\n // https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50036\n //\n // and need to be reported as IOException\n if (_inputSource == null) {\n throw new IOException(String.format(\n\"End-of-input after first %d byte(s) of a UTF-8 character: needed at least one more\",\navailable));\n }\n }\n for (int i = 0; i < available; ++i) {\n _inputBuffer[i] = _inputBuffer[_inputPtr+i];\n }\n _inputPtr = 0;\n _inputEnd = available;\n }\n } else {\n // Ok; here we can actually reasonably expect an EOF, so let's do a separate read right away:\n int count = readBytes();\n if (count < 1) {\n freeBuffers(); // to help GC?\n if (count < 0) { // -1\n return false;\n }\n // 0 count is no good; let's err out\n reportStrangeStream();\n }\n }\n\n // We now have at least one byte... and that allows us to\n // calculate exactly how many bytes we need!\n @SuppressWarnings(\"cast\")\n int c = (int) _inputBuffer[_inputPtr];\n if (c >= 0) { // single byte (ascii) char... cool, can return\n return true;\n }\n\n // Ok, a multi-byte char, let's check how many bytes we'll need:\n int needed;\n if ((c & 0xE0) == 0xC0) { // 2 bytes (0x0080 - 0x07FF)\n needed = 2;\n } else if ((c & 0xF0) == 0xE0) { // 3 bytes (0x0800 - 0xFFFF)\n needed = 3;\n } else if ((c & 0xF8) == 0xF0) {\n // 4 bytes; double-char BS, with surrogates and all...\n needed = 4;\n } else {\n // 25-Aug-2016, tatu: As per [dataformat-csv#132], let's not throw\n // exception from here but let caller handle\n return true;\n }\n\n // And then we'll just need to load up to that many bytes;\n // if an EOF is hit, that'll be an error. But we need not do\n // actual decoding here, just load enough bytes.\n while ((_inputPtr + needed) > _inputEnd) {\n int count = readBytesAt(_inputEnd);\n if (count < 1) {\n if (count < 0) { // -1, EOF... no good!\n freeBuffers();\n reportUnexpectedEOF(_inputEnd, needed);\n }\n // 0 count is no good; let's err out\n reportStrangeStream();\n }\n }\n return true;\n }", "private String _read(InputStream in, String enc) throws IOException\n {\n int ptr = 0;\n int count;\n \n while ((count = in.read(_readBuffer, ptr, _readBuffer.length - ptr)) > 0) {\n ptr += count;\n // buffer full? Need to realloc\n if (ptr == _readBuffer.length) {\n _readBuffer = Arrays.copyOf(_readBuffer, ptr + ptr);\n }\n }\n \n return new String(_readBuffer, 0, ptr, enc);\n }", "private boolean fill() throws IOException {\n if (in == null)\n return false;\n if (bufEnd == buf.length) {\n Tokenizer.movePosition(buf, posOff, bufStart, pos);\n /* The last read was complete. */\n int keep = bufEnd - bufStart;\n if (keep == 0)\n\tbufEnd = 0;\n else if (keep + READSIZE <= buf.length) {\n\t/*\n\t * There is space in the buffer for at least READSIZE bytes.\n\t * Choose bufEnd so that it is the least non-negative integer\n\t * greater than or equal to <code>keep</code>, such\n\t * <code>bufLength - keep</code> is a multiple of READSIZE.\n\t */\n\tbufEnd = buf.length - (((buf.length - keep)/READSIZE) * READSIZE);\n\tfor (int i = 0; i < keep; i++)\n\t buf[bufEnd - keep + i] = buf[bufStart + i];\n }\n else {\n\tchar newBuf[] = new char[buf.length << 1];\n\tbufEnd = buf.length;\n\tSystem.arraycopy(buf, bufStart, newBuf, bufEnd - keep, keep);\n\tbuf = newBuf;\n }\n bufStart = bufEnd - keep;\n posOff = bufStart;\n }\n int nChars = in.read(buf, bufEnd, buf.length - bufEnd);\n if (nChars < 0) {\n in.close();\n in = null;\n return false;\n }\n bufEnd += nChars;\n bufEndStreamOffset += nChars;\n return true;\n }", "public void read() throws IOException {\n\t\twhile (this.in.getReadBytes() != size) {\n\t\t\tString chunkID;\n\t\t\ttry {\n\t\t\t\tchunkID = readString(4);\n\t\t\t} catch (EmptyReadException e) {\n\t\t\t\t/**\n\t\t\t\t * T4L bug 15259: Some encoders must write a byte \"0\" to signify\n\t\t\t\t * EOF?\n\t\t\t\t */\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong chunkSize = readLong(4);\n\t\t\treadChunk(chunkID, chunkSize);\n\t\t}\n\t}", "private static StringBuilder receiveInputStream(InputStream input) throws IOException{\r\n\t\tStringBuilder response = new StringBuilder();\r\n\t\tint i;\r\n\t\twhile((i = input.read())!= -1){//stock the inputstream\r\n\t\t\tresponse.append((char)i); \r\n\t\t}\r\n\t\treturn response;\r\n\t}", "public void next() {\n\t\tif ((position == 0) && (pause != 3)) {\n\t\t\tpause++;\n\t\t} else {\n\t\t\tposition++;\n\t\t\tpause = 0;\n\t\t\tif (position == (origionalMessage.length() + 10)) {\n\t\t\t\tposition = 0;\n\t\t\t}\n\t\t}\n\n\t}", "protected int filterBytes()\n throws IOException {\n\n if (headerPending) {\n parseHeader();\n }\n\n //System.out.println(\"nEncoded: \" + nEncoded);\n //System.out.println(\"Current: \" + current);\n \n if (nEncoded <= current) {\n int br = readEncodedBytes();\n System.out.println(\"reb: \" + br);\n if (br < 0) {\n return -1;\n }\n }\n\n // bytes decoding loop\n int inserted = 0;\n while (current < nEncoded) {\n \t\n if (current < firstQuantum) {\n if (decode(current) == 0) {\n // this is the end of the encoded data\n parseTrailer();\n return inserted;\n }\n\n // store the expected number of raw bytes encoded in the line\n remaining = decode(current);\n current = firstQuantum;\n\n }\n\n if (encoded[current] == '\\n' && encoded[current + 1] != '\\n') {\n \t \n \t \n \t System.out.println(\"Cur rEad\");\n \t \n \t \n if (remaining != 0) {\n throw new IOException(\"encoded length inconsistent with encoded data\");\n }\n\n //System.out.println(\"Remaning: \" + remaining);\n \n // update state for next line\n firstQuantum = current + 2;\n\n } else if (encoded[current] == '\\n') {\n \t System.out.println(\"CurrEad\");\n \t current = current + 1;\n } else {\n // this is an encoded data byte\n int fByte;\n \n // combine the various 6-bits bytes to produce 8-bits bytes\n switch ((current - firstQuantum) % 4) {\n case 0:\n // nothing to do\n break;\n case 1:\n fByte = ((decode(current - 1) & 0x3F) << 2)\n | ((decode(current) & 0x30) >> 4);\n if (remaining > 0) {\n putFilteredByte(fByte);\n ++inserted;\n --remaining;\n } else if (fByte != 0) {\n throw new IOException(\"unexpected non null bytes after encoded line\");\n }\n break;\n case 2:\n fByte = ((decode(current - 1) & 0x0F) << 4)\n | ((decode(current) & 0x3C) >> 2);\n if (remaining > 0) {\n putFilteredByte(fByte);\n ++inserted;\n --remaining;\n } else if (fByte != 0) {\n throw new IOException(\"unexpected non null bytes after encoded line\");\n }\n break;\n default:\n fByte = ((decode(current - 1) & 0x03) << 6)\n | (decode(current) & 0x3F);\n if (remaining > 0) {\n putFilteredByte(fByte);\n ++inserted;\n --remaining;\n } else if (fByte != 0) {\n throw new IOException(\"unexpected non null bytes after encoded line\");\n }\n \n }\n }\n\n ++current;\n\n }\n \n //System.out.println(inserted);\n\n // preserve current quantum for next round\n int start = current - ((current - firstQuantum) % 4);\n \n //System.out.println(\"FQ: \" + firstQuantum + \"S: \" + (char)encoded[current - 1]);\n \n //System.out.println(\"start: \" + start + \" nEenc-stsrt: \" + (nEncoded - start));\n \n if (firstQuantum < start) {\n System.arraycopy(encoded, start, encoded, 0, nEncoded - start);\n nEncoded -= start;\n current -= start;\n firstQuantum -= start;\n } else {\n \tnEncoded = 0;\n \tcurrent = 0;\n \tfirstQuantum = 0;\n }\n \n //System.out.println(\"out!\");\n //System.out.println (\"inserted == \" + inserted);\n \n return inserted;\n \n }", "private void readMoreBytesFromStream() throws IOException {\n if (!innerStreamHasMoreData) {\n return;\n }\n\n int bufferSpaceAvailable = buffer.length - bytesInBuffer;\n if (bufferSpaceAvailable <= 0) {\n return;\n }\n\n int bytesRead =\n stream.read(buffer, bytesInBuffer, bufferSpaceAvailable);\n\n if (bytesRead == -1) {\n innerStreamHasMoreData = false;\n } else {\n bytesInBuffer += bytesRead;\n }\n }", "protected LookAheadReader(Reader reader, int queueSize) throws IOException {\n\t\tthis.m_queue = new char[queueSize];\n\t\tthis.m_reader = reader;\n\t\tpopulateQueue();\n\t}", "private void advanceToNextReader(){\r\n\t\tcurrentReader = null;\r\n\t\treaderQueueIndex++;\r\n\t}", "private char advance() {\n current++;\n return source.charAt(current - 1);\n }", "@Override\n\t\tpublic void characters(char[] ch, int start, int length)\n\t\t\t\tthrows SAXException {\n\t\t\tbuffer.append(ch);\n\t\t}", "void onInput(Terminal terminal, int numChars, String current);", "@Override\n protected List<CharSequence> getNextInput() {\n if (!mInputIterator.hasNext())\n // No more input, so we're done.\n return null;\n else {\n // Start a new cycle.\n incrementCycle();\n\n // Return a list containing character sequences to search.\n return mInputIterator.next();\n }\n }", "public void reset(Reader input) {\n this.buffer.dispose();\n this.buffer = new ReaderBuffer(input);\n this.previousToken = null;\n this.lastMatch.clear();\n }", "public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {\n currentPreparedStatement.setNCharacterStream(parameterIndex, value, length);\n\n }", "private void compactIfNeeded() {\n\n // if the scan point is more than 25% into the buffer, compact...\n if( buffer.position() >= (buffer.capacity() >> 2 ) ) {\n int newLimit = buffer.limit() - buffer.position();\n buffer.compact();\n buffer.position( 0 );\n buffer.limit( newLimit );\n }\n }", "@Override\r\n public Integer numberOfCharacters(InputStream ins) throws Exception {\n return null;\r\n }", "private void updateToken() throws IOException\n\t{\n\t\ttheCurrentToken = theNextToken;\n\t\ttheNextToken = theScanner.GetToken();\n\t}", "void skip(int bytes) throws IOException {\n this.input.skip(bytes);\n }", "@Override\n\tpublic void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {\n\t\t\n\t}", "public char read() {\n char ch = this.peek();\n this.index++;\n return ch;\n }", "char getPreviousReadChar();", "private String next(int i) throws IOException {\r\n\t\tif(buffer!=null) {\r\n\t\t\tString s=buffer;\r\n\t\t\tbuffer=null;\r\n\t\t\treturn s;\r\n\t\t}\r\n\t\tif (i==0) {\r\n\t\t\treturn in.readLine();\r\n\t\t} else return in2.readLine();\r\n\t}", "private void advanceUntilNL() throws BufferEndedException {\twhile (reader.getLastDelimiter()!='\\n') reader.nextToken();}", "public Scanner(InputStream inStream)\n {\n in = new BufferedReader(new InputStreamReader(inStream));\n eof = false;\n getNextChar();\n }", "void newconsume() {\n\t\tfor (;;) {\n\t\t\tif (printnewline > newinfo.maxLine)\n\t\t\t\tbreak; /* end of file */\n\t\t\tif (newinfo.other[printnewline] < 0)\n\t\t\t\tshowinsert();\n\t\t\telse showmove();\n\t\t}\n\t}", "void oldconsume() {\n\t\tfor (;;) {\n\t\t\tif (printoldline > oldinfo.maxLine)\n\t\t\t\tbreak; /* end of file */\n\t\t\tprintnewline = oldinfo.other[printoldline];\n\t\t\tif (printnewline < 0)\n\t\t\t\tshowdelete();\n\t\t\telse if (blocklen[printoldline] < 0)\n\t\t\t\tskipold();\n\t\t\telse showmove();\n\t\t}\n\t}", "@Override\n\tpublic void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException {\n\t\t\n\t}", "synchronized void receive(int preknownDataLength) throws EOFException, IOException {\n byte[] buffer = new byte[preknownDataLength];\n dataInput.readFully(buffer);\n pipedOutputStream.write(buffer);\n }", "@Override\n public ByteBuffer readInput(int minBytes) throws IOException {\n if (minBytes <= byteBuffer.remaining())\n return byteBuffer;\n else\n throw new EOFException(\"Cannot read more bytes - end of buffer reached\");\n }", "public byte[] getNextInput(byte[] buffer) throws IOException {\r\n // byte[] buffer = new byte[8192];\r\n file.seek(currOffset);\r\n file.read(buffer);\r\n currOffset += buffer.length;\r\n return buffer;\r\n }", "@Test(timeout = 4000)\n public void test131() throws Throwable {\n StringReader stringReader0 = new StringReader(\"QXw?YE]We2j)\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 754, 5, 5);\n javaCharStream0.ReInit((Reader) stringReader0, 754, 754);\n assertEquals((-1), javaCharStream0.bufpos);\n }", "@Override\n \tpublic void characters(final char inbuf[], final int offset, final int len)\n \t\t\tthrows SAXException {\n \t\tif (curAtom != null || !isParsing(eIsParsing.NONE)) {\n \t\t\tfinal String tmpString = new String(inbuf, offset, len);\n \t\t\tbuf += tmpString;\n \t\t}\n \t}", "public void advance() {\n // Get the next instruction\n instruction = fileStream.next();\n removeWhitespace();\n // Split instruction apart\n instructionChunks = instruction.split(\" \");\n }", "int filterBytes(GetsState gs) {\n ChannelBuffer buf;\n byte[] raw;\n int rawStart, rawEnd;\n char[] dst;\n int offset, toRead, /*dstNeeded,*/ spaceLeft, result, rawLen, length;\n TclObject obj;\n final int ENCODING_LINESIZE = 20; // Lower bound on how many bytes\n // to convert at a time. Since we\n // don't know a priori how many\n // bytes of storage this many\n // source bytes will use, we\n // actually need at least\n // ENCODING_LINESIZE bytes of room.\n\n boolean goto_read = false; // Set to true when jumping to the read\n // label, used to simulate a goto.\n\n final boolean debug = false;\n\n obj = gs.obj;\n\n // Subtract the number of bytes that were removed from channel buffer\n // during last call.\n\n buf = gs.buf;\n if (buf != null) {\n buf.nextRemoved += gs.rawRead.i;\n if (buf.nextRemoved >= buf.nextAdded) {\n buf = buf.next;\n }\n }\n gs.totalChars += gs.charsWrote.i;\n\n read: while (true) {\n if (goto_read || (buf == null) || (buf.nextAdded == buf.BUFFER_PADDING)) {\n // All channel buffers were exhausted and the caller still hasn't\n // seen EOL. Need to read more bytes from the channel device.\n // Side effect is to allocate another channel buffer.\n\n //read:\n if (blocked) {\n if (!blocking) {\n gs.charsWrote.i = 0;\n gs.rawRead.i = 0;\n return -1;\n }\n blocked = false;\n }\n if (getInput() != 0) {\n gs.charsWrote.i = 0;\n gs.rawRead.i = 0;\n return -1;\n }\n buf = inQueueTail;\n gs.buf = buf;\n }\n\n // Convert some of the bytes from the channel buffer to characters.\n // Space in obj's string rep is used to hold the characters.\n\n rawStart = buf.nextRemoved;\n raw = buf.buf;\n rawEnd = buf.nextAdded;\n rawLen = rawEnd - rawStart;\n\n toRead = ENCODING_LINESIZE;\n if (toRead > rawLen) {\n toRead = rawLen;\n }\n dst = new char[toRead];\n result = externalToUnicode(raw, rawStart, rawLen,\n dst, 0, toRead,\n gs.rawRead, /*gs.bytesWrote*/ null, gs.charsWrote,\n gs.charToBytes);\n TclString.append(gs.obj, dst, 0, gs.charsWrote.i);\n\n if (debug) {\n System.out.println(\"filterBytes chars\");\n\n String srep = gs.obj.toString();\n int len = srep.length();\n\n for (int i=0; i < len; i++) {\n char c = srep.charAt(i);\n String prep;\n if (c == '\\r') {\n prep = \"\\\\r\";\n } else if (c == '\\n') {\n prep = \"\\\\n\";\n } else {\n prep = \"\" + c;\n }\n\n System.out.println(\"filtered[\" + i + \"] = '\" +\n prep +\n \"' (int) \" + ((int) srep.charAt(i)) +\n \" 0x\" + Integer.toHexString((int) srep.charAt(i)));\n }\n }\n\n // Make sure that if we go through 'gets', that we reset the\n // TCL_ENCODING_START flag still. [Bug #523988]\n\n encodingStart = false;\n\n if (result == TCL_CONVERT_MULTIBYTE) {\n // The last few bytes in this channel buffer were the start of a\n // multibyte sequence. If this buffer was full, then move them to\n // the next buffer so the bytes will be contiguous. \n\n if (debug) {\n System.out.println(\"TCL_CONVERT_MULTIBYTE decode result found\");\n }\n\n ChannelBuffer next;\n int extra;\n\n next = buf.next;\n if (buf.nextAdded < buf.bufLength) {\n if (gs.rawRead.i > 0) {\n // Some raw bytes were converted to UTF-8. Fall through,\n // returning those UTF-8 characters because a EOL might be\n // present in them.\n } else if (eofCond) {\n // There was a partial character followed by EOF on the\n // device. Fall through, returning that nothing was found.\n\n buf.nextRemoved = buf.nextAdded;\n } else {\n // There are no more cached raw bytes left. See if we can\n // get some more.\n\n goto_read = true;\n continue read; //goto read;\n }\n } else {\n if (next == null) {\n next = new ChannelBuffer(bufSize);\n buf.next = next;\n inQueueTail = next;\n }\n extra = rawLen - gs.rawRead.i;\n System.arraycopy(raw, rawStart + gs.rawRead.i,\n next.buf, buf.BUFFER_PADDING - extra, extra);\n next.nextRemoved -= extra;\n buf.nextAdded -= extra;\n\n if (debug) {\n System.out.println(\"copied \" + extra + \" bytes to \" +\n \"next ChannelBuffer\");\n }\n }\n }\n\n break read; // End loop in the normal case\n } // End read labeled while loop\n\n gs.buf = buf;\n return 0;\n }", "public static void maxTokens(Scanner in) {\n }", "private void goBack() throws IOException{\n\t\tif(\"\\n\".equals(currentChar)){\n\t\t\tline--;\n\t\t}\n\t\tpos--;\n\t\tsourceReader.reset();\n\t}", "private int fillBuffer(InputStream is) throws IOException {\n int len = buffer.length;\n int pos = 0;\n while (pos < buffer.length) {\n int read = is.read(buffer, pos, len);\n if (read == -1)\n return pos;\n pos += read;\n len -= read;\n }\n return pos;\n }", "private static char[] growBuffer(char[] dest, int index, int size) {\n char[] copy = new char[size];\n if (index > 0) {\n System.arraycopy(dest, 0, copy, 0, index);\n }\n return copy;\n }", "void setReadPosition(int minus) {\n/* 159 */ this.pos -= minus;\n/* 160 */ this.readerIndex = getReadPosition(this.pos);\n/* 161 */ this.buffer.readerIndex(this.readerIndex);\n/* */ }", "public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException {\n\n updateCharacterStream(columnIndex, x, (long) length);\n }", "private void scanOnceMore() {\n\n barcodeReaderFragment = new BarcodeReaderFragment();\n barcodeReaderFragment.setListener(ScannerFragment.this);\n FragmentTransaction fragmentTransaction = getChildFragmentManager().beginTransaction();\n if (isScanning.get()) fragmentTransaction.remove(barcodeReaderFragment);\n else fragmentTransaction.replace(R.id.scannerFragment, barcodeReaderFragment);\n isScanning.set(!isScanning.get());\n fragmentTransaction.commit();\n }", "public Scanner(String inString)\n {\n in = new BufferedReader(new StringReader(inString));\n eof = false;\n getNextChar();\n }", "@Override\n public Token nextToken(\n PushbackReader r, int cin, Tokenizer t)\n throws IOException {\n\n int i = 0;\n charbuf[i++] = (char) cin;\n int c;\n do {\n c = r.read();\n if (c < 0) {\n c = cin;\n }\n checkBufLength(i);\n charbuf[i++] = (char) c;\n } while (c != cin);\n\n String sval = copyValueOf(charbuf, 0, i);\n return new Token(TT_QUOTED, sval, 0);\n }", "private void skipBytes(int count) throws IOException {\n long currentPosition = archive.position();\n long newPosition = currentPosition + count;\n if (newPosition > archive.size()) {\n throw new EOFException();\n }\n archive.position(newPosition);\n }", "private void releaseChar() {\r\n \t\tif (index < documentContent.length())\r\n \t\t\tindex++;\r\n \t}", "public static void inputFlush() {\n int dummy;\n int bAvail;\n\n try {\n while ((System.in.available()) != 0)\n dummy = System.in.read();\n } catch (java.io.IOException e) {\n System.out.println(\"Input error\");\n }\n }", "public void updateNCharacterStream(String columnName, Reader x) throws SQLException {\n\n updateNCharacterStream(columnName, x, -1);\n }", "public void flush() throws IOException {\n\t\tif ((buffer.length - cursor) > 50000) {\n\t\t\tSystem.out.println(\"WASTED: \" + (buffer.length - cursor));\n\t\t}\n\t}", "public void updateCharacterStream(String columnName, Reader x, int length) throws SQLException {\n\n updateCharacterStream(columnName, x, (long) length);\n }", "public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {\n\n updateNCharacterStream(columnIndex, x, -1);\n }", "private String readNextLine() {\n StringBuilder sb = new StringBuilder();\n\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(stream));\n sb.append(br.readLine());\n } catch (IOException e) {\n e.fillInStackTrace();\n }\n\n return sb.toString();\n }", "protected void fill() throws IOException {\n ensureOpen();\n len = in.read(buf, 0, buf.length);\n if (len == -1) {\n throw new EOFException(\"Unexpected end of ZLIB input stream\");\n }\n inf.setInput(buf, 0, len);\n }", "@Override\n public int read() throws IOException {\n if (pos >= count) {\n fill();\n if (pos >= count) {\n return -1;\n }\n }\n checkIfClosed();\n return buf[pos++] & 0xFF;\n }", "void mark(@Nonnegative int readLimit);", "public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException {\n currentPreparedStatement.setCharacterStream(parameterIndex, reader, length);\n }", "protected int populateBuffer()\n {\n interlock.beginReading();\n // System.out.println(\"populateBuffer: 2\");\n return byteBuffer.limit();\n }", "protected void readNextChar() throws IOException {\n nextChar = inputReader.read();\n switch (nextChar) {\n case -1: // EOF\n if (char_num == 0) {\n char_num = -1;\n break;\n }\n nextChar = '\\n';\n // fall thru\n case '\\n':\n line_num++;\n char_num = 0;\n break;\n default:\n line.append((char) nextChar);\n char_num++;\n return;\n }\n line.setLength(0);\n }", "@Override\n public void consume(ParsableByteArray data) {\n checkStateNotNull(sampleReader);\n checkStateNotNull(output);\n int offset = data.getPosition();\n int limit = data.limit();\n byte[] dataArray = data.getData();\n\n // Append the data to the buffer.\n totalBytesWritten += data.bytesLeft();\n output.sampleData(data, data.bytesLeft());\n\n while (true) {\n int startCodeOffset = NalUnitUtil.findNalUnit(dataArray, offset, limit, prefixFlags);\n\n if (startCodeOffset == limit) {\n // We've scanned to the end of the data without finding another start code.\n if (!hasOutputFormat) {\n csdBuffer.onData(dataArray, offset, limit);\n }\n sampleReader.onData(dataArray, offset, limit);\n if (userData != null) {\n userData.appendToNalUnit(dataArray, offset, limit);\n }\n return;\n }\n\n // We've found a start code with the following value.\n int startCodeValue = data.getData()[startCodeOffset + 3] & 0xFF;\n // This is the number of bytes from the current offset to the start of the next start\n // code. It may be negative if the start code started in the previously consumed data.\n int lengthToStartCode = startCodeOffset - offset;\n\n if (!hasOutputFormat) {\n if (lengthToStartCode > 0) {\n csdBuffer.onData(dataArray, offset, /* limit= */ startCodeOffset);\n }\n // This is the number of bytes belonging to the next start code that have already been\n // passed to csdBuffer.\n int bytesAlreadyPassed = lengthToStartCode < 0 ? -lengthToStartCode : 0;\n if (csdBuffer.onStartCode(startCodeValue, bytesAlreadyPassed)) {\n // The csd data is complete, so we can decode and output the media format.\n output.format(\n parseCsdBuffer(csdBuffer, csdBuffer.volStartPosition, checkNotNull(formatId)));\n hasOutputFormat = true;\n }\n }\n\n sampleReader.onData(dataArray, offset, /* limit= */ startCodeOffset);\n\n if (userData != null) {\n int bytesAlreadyPassed = 0;\n if (lengthToStartCode > 0) {\n userData.appendToNalUnit(dataArray, offset, /* limit= */ startCodeOffset);\n } else {\n bytesAlreadyPassed = -lengthToStartCode;\n }\n\n if (userData.endNalUnit(bytesAlreadyPassed)) {\n int unescapedLength = NalUnitUtil.unescapeStream(userData.nalData, userData.nalLength);\n castNonNull(userDataParsable).reset(userData.nalData, unescapedLength);\n castNonNull(userDataReader).consume(pesTimeUs, userDataParsable);\n }\n\n if (startCodeValue == START_CODE_VALUE_USER_DATA\n && data.getData()[startCodeOffset + 2] == 0x1) {\n userData.startNalUnit(startCodeValue);\n }\n }\n\n int bytesWrittenPastPosition = limit - startCodeOffset;\n long absolutePosition = totalBytesWritten - bytesWrittenPastPosition;\n sampleReader.onDataEnd(absolutePosition, bytesWrittenPastPosition, hasOutputFormat);\n // Indicate the start of the next chunk.\n sampleReader.onStartCode(startCodeValue, pesTimeUs);\n // Continue scanning the data.\n offset = startCodeOffset + 3;\n }\n }", "public Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "public Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "@Override\n protected int update(byte[] array, int off, int count) throws IOException {\n int mark = (int)limit;\n \n if(count >= limit) {\n append(array, off, mark);\n finished = true;\n limit = 0;\n return count - mark;\n } \n if(count > 0) {\n append(array, off, count);\n limit -= count; \n }\n return 0;\n }", "@Test(timeout = 4000)\n public void test056() throws Throwable {\n StringReader stringReader0 = new StringReader(\"+%WC\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n javaCharStream0.backup(416);\n javaCharStream0.BeginToken();\n javaCharStream0.adjustBeginLineColumn(416, 416);\n assertEquals(3680, javaCharStream0.bufpos);\n }" ]
[ "0.5736002", "0.5665821", "0.5241109", "0.51783663", "0.51323706", "0.51304895", "0.5105485", "0.50393367", "0.5017779", "0.5016013", "0.50063485", "0.5000192", "0.49898583", "0.49830282", "0.49791718", "0.49591467", "0.49548155", "0.49530262", "0.494404", "0.493196", "0.4925837", "0.49251705", "0.49088988", "0.49019244", "0.49014494", "0.48906943", "0.48895395", "0.48738217", "0.48696798", "0.48617885", "0.48563784", "0.4843523", "0.48426196", "0.48421136", "0.48290047", "0.48258612", "0.4817363", "0.48143858", "0.48085925", "0.4787643", "0.4778713", "0.47735", "0.47704017", "0.4765814", "0.4738405", "0.47276542", "0.47203693", "0.47195625", "0.4711293", "0.47107068", "0.47084922", "0.4708159", "0.47024205", "0.46811226", "0.46802974", "0.46784744", "0.46780965", "0.46772513", "0.4676742", "0.46660817", "0.46609002", "0.46592212", "0.46510634", "0.4643483", "0.46415862", "0.46408683", "0.46348852", "0.46312684", "0.46293092", "0.46202832", "0.46164528", "0.4604922", "0.45957786", "0.45919567", "0.45892787", "0.45744097", "0.45743212", "0.45739886", "0.45717767", "0.45692283", "0.45687044", "0.45620835", "0.45579138", "0.45532826", "0.4547284", "0.45402938", "0.45369467", "0.45341742", "0.45323244", "0.45306665", "0.4529084", "0.45191842", "0.45182106", "0.45154467", "0.44989586", "0.44967267", "0.449365", "0.44931084", "0.44931084", "0.44897062", "0.44892833" ]
0.0
-1
For the given interface, get the stub implementation. If this service has no port for the given interface, then ServiceException is thrown.
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { try { if (com.mx.everis.taller.controller.PersonController.class.isAssignableFrom(serviceEndpointInterface)) { com.mx.everis.taller.controller.PersonControllerSoapBindingStub _stub = new com.mx.everis.taller.controller.PersonControllerSoapBindingStub(new java.net.URL(PersonController_address), this); _stub.setPortName(getPersonControllerWSDDServiceName()); return _stub; } } catch (java.lang.Throwable t) { throw new javax.xml.rpc.ServiceException(t); } throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Remote getPort(Class serviceEndpointInterface) throws ServiceException {\n try {\n if (SDKClient.class.isAssignableFrom(serviceEndpointInterface)) {\n SDKServiceBindingStub _stub = new SDKServiceBindingStub(new java.net.URL(SDKService_address), this);\n _stub.setPortName(getSDKServiceWSDDServiceName());\n return _stub;\n }\n }\n catch (Throwable t) {\n throw new ServiceException(t);\n }\n throw new ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.mozart.web.wsdl.sosistemas.NFEServices.class.isAssignableFrom(serviceEndpointInterface)) {\n com.mozart.web.wsdl.sosistemas.NFEServicesSoapBindingStub _stub = new com.mozart.web.wsdl.sosistemas.NFEServicesSoapBindingStub(new java.net.URL(NFEServices_address), this);\n _stub.setPortName(getNFEServicesWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n\t\ttry {\n\t\t\tif (kz.lof.webservices.clients.udp.UDPService.class.isAssignableFrom(serviceEndpointInterface)) {\n\t\t\t\tkz.lof.webservices.clients.udp.UDPServiceSoapBindingStub _stub = new kz.lof.webservices.clients.udp.UDPServiceSoapBindingStub(new java.net.URL(UDPService_address), this);\n\t\t\t\t_stub.setPortName(getUDPServiceWSDDServiceName());\n\t\t\t\treturn _stub;\n\t\t\t}\n\t\t}\n\t\tcatch (java.lang.Throwable t) {\n\t\t\tthrow new javax.xml.rpc.ServiceException(t);\n\t\t}\n\t\tthrow new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n\t}", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (com.iwinner.ws.service.WsUserServiceImpl.class.isAssignableFrom(serviceEndpointInterface)) {\r\n com.iwinner.ws.service.WsUserServiceImplSoapBindingStub _stub = new com.iwinner.ws.service.WsUserServiceImplSoapBindingStub(new java.net.URL(WsUserServiceImpl_address), this);\r\n _stub.setPortName(getWsUserServiceImplWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.oracle.xmlns.IMS.CancelIMSHuawei.CancelIMSHuawei.CancelIMSHuawei.class.isAssignableFrom(serviceEndpointInterface)) {\n com.oracle.xmlns.IMS.CancelIMSHuawei.CancelIMSHuawei.CancelIMSHuaweiBindingStub _stub = new com.oracle.xmlns.IMS.CancelIMSHuawei.CancelIMSHuawei.CancelIMSHuaweiBindingStub(new java.net.URL(CancelIMSHuawei_pt_address), this);\n _stub.setPortName(getCancelIMSHuawei_ptWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.ibm.itim.ws.services.WSExtensionService.class.isAssignableFrom(serviceEndpointInterface)) {\n com.ibm.itim.ws.services.WSExtensionServiceSoapBindingStub _stub = new com.ibm.itim.ws.services.WSExtensionServiceSoapBindingStub(new java.net.URL(WSExtensionService_address), this);\n _stub.setPortName(getWSExtensionServiceWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (de.java2enterprise.onlineshop.Uploader.class.isAssignableFrom(serviceEndpointInterface)) {\n de.java2enterprise.onlineshop.UploaderPortBindingStub _stub = new de.java2enterprise.onlineshop.UploaderPortBindingStub(new java.net.URL(UploaderPort_address), this);\n _stub.setPortName(getUploaderPortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (co.edu.uan.servicio.EmpleadoServiciolmpl.class.isAssignableFrom(serviceEndpointInterface)) {\r\n co.edu.uan.servicio.EmpleadoServiciolmplSoapBindingStub _stub = new co.edu.uan.servicio.EmpleadoServiciolmplSoapBindingStub(new java.net.URL(EmpleadoServiciolmpl_address), this);\r\n _stub.setPortName(getEmpleadoServiciolmplWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (com.qbe.cotizador.servicios.QBE.emisionAgricolaWS.WSEmisionAgricola_PortType.class.isAssignableFrom(serviceEndpointInterface)) {\r\n com.qbe.cotizador.servicios.QBE.emisionAgricolaWS.WSEmisionAgricolaPortBindingStub _stub = new com.qbe.cotizador.servicios.QBE.emisionAgricolaWS.WSEmisionAgricolaPortBindingStub(new java.net.URL(WSEmisionAgricolaPort_address), this);\r\n _stub.setPortName(getWSEmisionAgricolaPortWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (org.mxunit.eclipseplugin.actions.bindings.generated.bluedragon.RemoteFacade.class.isAssignableFrom(serviceEndpointInterface)) {\r\n org.mxunit.eclipseplugin.actions.bindings.generated.bluedragon.RemoteFacadeCfcSoapBindingStub _stub = new org.mxunit.eclipseplugin.actions.bindings.generated.bluedragon.RemoteFacadeCfcSoapBindingStub(new java.net.URL(RemoteFacadeCfc_address), this);\r\n _stub.setPortName(getRemoteFacadeCfcWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.pws.integration.pathway.OutboundServiceSessionEJBPortType.class.isAssignableFrom(serviceEndpointInterface)) {\n com.pws.integration.pathway.OutboundServiceSessionEJBBeanServicePortBindingStub _stub = new com.pws.integration.pathway.OutboundServiceSessionEJBBeanServicePortBindingStub(new java.net.URL(OutboundServiceSessionEJBBeanServicePort_address), this);\n _stub.setPortName(getOutboundServiceSessionEJBBeanServicePortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.hp.it.spf.user.group.stub.UGSRuntimeServiceXfireImplPortType.class.isAssignableFrom(serviceEndpointInterface)) {\n com.hp.it.spf.user.group.stub.UGSRuntimeServiceXfireImplHttpBindingStub _stub = new com.hp.it.spf.user.group.stub.UGSRuntimeServiceXfireImplHttpBindingStub(new java.net.URL(UGSRuntimeServiceXfireImplHttpPort_address), this);\n _stub.setPortName(getUGSRuntimeServiceXfireImplHttpPortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n\t\ttry {\n\t\t\tif (iace.webservice.linkiacClient.LinkIacWSSoap.class.isAssignableFrom(serviceEndpointInterface)) {\n\t\t\t\tiace.webservice.linkiacClient.LinkIacWSSoapStub _stub = new iace.webservice.linkiacClient.LinkIacWSSoapStub(new java.net.URL(LinkIacWSSoap_address), this);\n\t\t\t\t_stub.setPortName(getLinkIacWSSoapWSDDServiceName());\n\t\t\t\treturn _stub;\n\t\t\t}\n\t\t} catch (java.lang.Throwable t) {\n\t\t\tthrow new javax.xml.rpc.ServiceException(t);\n\t\t}\n\t\tthrow new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n\t}", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (ca.concordia.dsd.stub.CenterServerImpl.class.isAssignableFrom(serviceEndpointInterface)) {\n ca.concordia.dsd.stub.CenterServerImplPortBindingStub _stub = new ca.concordia.dsd.stub.CenterServerImplPortBindingStub(new java.net.URL(CenterServerImplPort_address), this);\n _stub.setPortName(getCenterServerImplPortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.hoyotech.group.MsgservicePortType.class.isAssignableFrom(serviceEndpointInterface)) {\n com.hoyotech.group.MsgserviceSoap11BindingStub _stub = new com.hoyotech.group.MsgserviceSoap11BindingStub(new java.net.URL(msgserviceHttpSoap11Endpoint_address), this);\n _stub.setPortName(getmsgserviceHttpSoap11EndpointWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (de.nrw.dipp.dippCore.www.definitions.ContentModel.class.isAssignableFrom(serviceEndpointInterface)) {\n de.nrw.dipp.dippCore.www.definitions.DippSoapBindingStub _stub = new de.nrw.dipp.dippCore.www.definitions.DippSoapBindingStub(new java.net.URL(dipp_address), this);\n _stub.setPortName(getdippWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (sample.OrderProcessingService.class.isAssignableFrom(serviceEndpointInterface)) {\n sample.OrderProcessingServiceSoapBindingStub _stub = new sample.OrderProcessingServiceSoapBindingStub(new java.net.URL(OrderProcessingService_address), this);\n _stub.setPortName(getOrderProcessingServiceWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (org.sirius.server.win32lib.controls.slider.ISliderContract.class.isAssignableFrom(serviceEndpointInterface)) {\n org.sirius.server.win32lib.controls.slider.SliderSvcPortStub _stub = new org.sirius.server.win32lib.controls.slider.SliderSvcPortStub(new java.net.URL(SliderSvcPort_address), this);\n _stub.setPortName(getSliderSvcPortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (com.crm.service.elcom.vasman.Webservice_vasmanPortType.class.isAssignableFrom(serviceEndpointInterface)) {\r\n com.crm.service.elcom.vasman.Webservice_vasmanHttpBindingStub _stub = new com.crm.service.elcom.vasman.Webservice_vasmanHttpBindingStub(new java.net.URL(webservice_vasmanHttpPort_address), this);\r\n _stub.setPortName(getwebservice_vasmanHttpPortWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(QName portName, Class serviceEndpointInterface) throws ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n String inputPortName = portName.getLocalPart();\n if (\"SDKService\".equals(inputPortName)) {\n return getSDKService();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"NFEServices\".equals(inputPortName)) {\n return getNFEServices();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"WSExtensionService\".equals(inputPortName)) {\n return getWSExtensionService();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (mastercom.app.FeeCreate.FeeCreate_PortType.class.isAssignableFrom(serviceEndpointInterface)) {\n mastercom.app.FeeCreate.FeeCreateSOAPStub _stub = new mastercom.app.FeeCreate.FeeCreateSOAPStub(new java.net.URL(FeeCreateSOAP_address), this);\n _stub.setPortName(getFeeCreateSOAPWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (src.PublicService.class.isAssignableFrom(serviceEndpointInterface)) {\n src.PublicServiceSoapBindingStub _stub = new src.PublicServiceSoapBindingStub(new java.net.URL(publicService_address), this);\n _stub.setPortName(getpublicServiceWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (AES_MB_IntakeWOList_Lib_1_0.AES_MB_IntakeWOList_Intf_1_0.class.isAssignableFrom(serviceEndpointInterface)) {\n return getWSExport1_AES_MB_IntakeWOList_Intf_1_0HttpPort();\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"WSWS3273E: Error: There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"WsUserServiceImpl\".equals(inputPortName)) {\r\n return getWsUserServiceImpl();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (org.tempuri.PublishAPIServiceSoap.class.isAssignableFrom(serviceEndpointInterface)) {\r\n org.tempuri.PublishAPIServiceSoapStub _stub = new org.tempuri.PublishAPIServiceSoapStub(new java.net.URL(PublishAPIServiceSoap_address), this);\r\n _stub.setPortName(getPublishAPIServiceSoapWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n\t\tif (portName == null) {\n\t\t\treturn getPort(serviceEndpointInterface);\n\t\t}\n\t\tjava.lang.String inputPortName = portName.getLocalPart();\n\t\tif (\"UDPService\".equals(inputPortName)) {\n\t\t\treturn getUDPService();\n\t\t}\n\t\telse {\n\t\t\tjava.rmi.Remote _stub = getPort(serviceEndpointInterface);\n\t\t\t((org.apache.axis.client.Stub) _stub).setPortName(portName);\n\t\t\treturn _stub;\n\t\t}\n\t}", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"publicService\".equals(inputPortName)) {\n return getpublicService();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"RemoteFacade.cfc\".equals(inputPortName)) {\r\n return getRemoteFacadeCfc();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"OutboundServiceSessionEJBBeanServicePort\".equals(inputPortName)) {\n return getOutboundServiceSessionEJBBeanServicePort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"UGSRuntimeServiceXfireImplHttpPort\".equals(inputPortName)) {\n return getUGSRuntimeServiceXfireImplHttpPort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"dipp\".equals(inputPortName)) {\n return getdipp();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"CancelIMSHuawei_pt\".equals(inputPortName)) {\n return getCancelIMSHuawei_pt();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"CenterServerImplPort\".equals(inputPortName)) {\n return getCenterServerImplPort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"msgserviceHttpSoap11Endpoint\".equals(inputPortName)) {\n return getmsgserviceHttpSoap11Endpoint();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"EmpleadoServiciolmpl\".equals(inputPortName)) {\r\n return getEmpleadoServiciolmpl();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (ifscarsservice.GarageSeller.class.isAssignableFrom(serviceEndpointInterface)) {\n ifscarsservice.GarageSellerSoapBindingStub _stub = new ifscarsservice.GarageSellerSoapBindingStub(new java.net.URL(GarageSeller_address), this);\n _stub.setPortName(getGarageSellerWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"OrderProcessingService\".equals(inputPortName)) {\n return getOrderProcessingService();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.lexmark.workflow.components.prompt.jsapi2.JobSubmission2PortType.class.isAssignableFrom(serviceEndpointInterface)) {\n com.lexmark.workflow.components.prompt.jsapi2.JobSubmission2SOAP11BindingStub _stub = new com.lexmark.workflow.components.prompt.jsapi2.JobSubmission2SOAP11BindingStub(new java.net.URL(JobSubmission2SOAP11port_http_address), this);\n _stub.setPortName(getJobSubmission2SOAP11port_httpWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"UploaderPort\".equals(inputPortName)) {\n return getUploaderPort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n\t\tif (portName == null) {\n\t\t\treturn getPort(serviceEndpointInterface);\n\t\t}\n\t\tjava.lang.String inputPortName = portName.getLocalPart();\n\t\tif (\"LinkIacWSSoap\".equals(inputPortName)) {\n\t\t\treturn getLinkIacWSSoap();\n\t\t} else {\n\t\t\tjava.rmi.Remote _stub = getPort(serviceEndpointInterface);\n\t\t\t((org.apache.axis.client.Stub) _stub).setPortName(portName);\n\t\t\treturn _stub;\n\t\t}\n\t}", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"FeeCreateSOAP\".equals(inputPortName)) {\n return getFeeCreateSOAP();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"WSEmisionAgricolaPort\".equals(inputPortName)) {\r\n return getWSEmisionAgricolaPort();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"webservice_vasmanHttpPort\".equals(inputPortName)) {\r\n return getwebservice_vasmanHttpPort();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"SliderSvcPort\".equals(inputPortName)) {\n return getSliderSvcPort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"JobSubmission2SOAP11port_http\".equals(inputPortName)) {\n return getJobSubmission2SOAP11port_http();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"GarageSeller\".equals(inputPortName)) {\n return getGarageSeller();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"PersonController\".equals(inputPortName)) {\n return getPersonController();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"PublishAPIServiceSoap\".equals(inputPortName)) {\r\n return getPublishAPIServiceSoap();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n String inputPortName = portName.getLocalPart();\n if (\"WSExport1_AES_MB_IntakeWOList_Intf_1_0HttpPort\".equals(inputPortName)) {\n return getWSExport1_AES_MB_IntakeWOList_Intf_1_0HttpPort();\n }\n else {\n throw new javax.xml.rpc.ServiceException();\n }\n }", "public interface OperationServiceService extends javax.xml.rpc.Service {\n public java.lang.String getOperationServiceAddress();\n\n public fr.uphf.service.OperationService getOperationService() throws javax.xml.rpc.ServiceException;\n\n public fr.uphf.service.OperationService getOperationService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;\n}", "public Remote getPort(Class arg0) throws ServiceException {\n\t\treturn null;\n\t}", "public Object _get_interface_def()\n {\n // First try to call the delegate implementation class's\n // \"Object get_interface_def(..)\" method (will work for JDK1.2\n // ORBs).\n // Else call the delegate implementation class's\n // \"InterfaceDef get_interface(..)\" method using reflection\n // (will work for pre-JDK1.2 ORBs).\n\n throw new NO_IMPLEMENT(reason);\n }", "@Override\n public org.omg.CORBA.Object _get_interface_def()\n {\n if (interfaceDef != null)\n return interfaceDef;\n else\n return super._get_interface_def();\n }", "public static IMountService asInterface(IBinder obj) {\n if (obj == null) {\n return null;\n }\n IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\n if (iin != null && iin instanceof IMountService) {\n return (IMountService) iin;\n }\n return new IMountService.Stub.Proxy(obj);\n }", "public Remote getPort(QName arg0, Class arg1) throws ServiceException {\n\t\treturn null;\n\t}", "public abstract <T> T getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface,\n WebServiceFeature... features);", "public static com.itheima.alipay.IALiPayService asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof com.itheima.alipay.IALiPayService))) {\nreturn ((com.itheima.alipay.IALiPayService)iin);\n}\nreturn new com.itheima.alipay.IALiPayService.Stub.Proxy(obj);\n}", "Interface_decl getInterface();", "int getServicePort();", "public com.android.internal.telecom.IConnectionServiceAdapter getStub() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.telecom.ConnectionServiceAdapterServant.getStub():com.android.internal.telecom.IConnectionServiceAdapter, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.telecom.ConnectionServiceAdapterServant.getStub():com.android.internal.telecom.IConnectionServiceAdapter\");\n }", "public Class getServiceInterface() {\n return null;\n }", "public static Interface getInterface() {\n return null;\n }", "public Object _get_interface()\n {\n throw new NO_IMPLEMENT(reason);\n }", "public interface InterfaceService\n extends ListenerService<InterfaceEvent, InterfaceListener> {\n\n /**\n * Returns the set of all interfaces in the system.\n *\n * @return set of interfaces\n */\n Set<Interface> getInterfaces();\n\n /**\n * Returns the interface with the given name.\n *\n * @param connectPoint connect point of the interface\n * @param name name of the interface\n * @return interface if it exists, otherwise null\n */\n Interface getInterfaceByName(ConnectPoint connectPoint, String name);\n\n /**\n * Returns the set of interfaces configured on the given port.\n *\n * @param port connect point\n * @return set of interfaces\n */\n Set<Interface> getInterfacesByPort(ConnectPoint port);\n\n /**\n * Returns the set of interfaces with the given IP address.\n *\n * @param ip IP address\n * @return set of interfaces\n */\n Set<Interface> getInterfacesByIp(IpAddress ip);\n\n /**\n * Returns the set of interfaces in the given VLAN.\n *\n * @param vlan VLAN ID of the interfaces\n * @return set of interfaces\n */\n Set<Interface> getInterfacesByVlan(VlanId vlan);\n\n /**\n * Returns an interface that has an address that is in the same subnet as\n * the given IP address.\n *\n * @param ip IP address to find matching subnet interface for\n * @return interface\n */\n Interface getMatchingInterface(IpAddress ip);\n\n /**\n * Returns all interfaces that have an address that is in the same\n * subnet as the given IP address.\n *\n * @param ip IP address to find matching subnet interface for\n * @return a set of interfaces\n */\n Set<Interface> getMatchingInterfaces(IpAddress ip);\n\n /**\n * Returns untagged VLAN configured on given connect point.\n * <p>\n * Only returns the first match if there are multiple untagged VLAN configured\n * on the connect point.\n *\n * @param connectPoint connect point\n * @return untagged VLAN or null if not configured\n */\n default VlanId getUntaggedVlanId(ConnectPoint connectPoint) {\n return null;\n }\n\n /**\n * Returns tagged VLAN configured on given connect point.\n * <p>\n * Returns all matches if there are multiple tagged VLAN configured\n * on the connect point.\n *\n * @param connectPoint connect point\n * @return tagged VLAN or empty set if not configured\n */\n default Set<VlanId> getTaggedVlanId(ConnectPoint connectPoint) {\n return ImmutableSet.of();\n }\n\n /**\n * Returns native VLAN configured on given connect point.\n * <p>\n * Only returns the first match if there are multiple native VLAN configured\n * on the connect point.\n *\n * @param connectPoint connect point\n * @return native VLAN or null if not configured\n */\n default VlanId getNativeVlanId(ConnectPoint connectPoint) {\n return null;\n }\n\n /**\n * Returns true if given connectPoint has an IP address or vlan configured\n * on any of its interfaces.\n *\n * @param connectPoint the port on a device\n * @return true if connectpoint has a configured interface\n */\n default boolean isConfigured(ConnectPoint connectPoint) {\n throw new NotImplementedException(\"isConfigured is not implemented\");\n }\n\n /**\n * Returns true if given vlanId is in use due to configuration on any of the\n * interfaces in the system.\n *\n * @param vlanId the vlan id being queried\n * @return true if vlan is configured on any interface\n */\n default boolean inUse(VlanId vlanId) {\n throw new NotImplementedException(\"isConfigured is not implemented\");\n }\n}", "public String getEndpointInterface()\r\n {\r\n return endpointInterface;\r\n }", "org.omg.CORBA.Object _get_interface_def();", "Interface getInterface();", "Interface getInterface();", "public AIDLInterface getInterface()\n\t{\n\t\t//System.out.println(\"---- mInterface -----\" + mInterface);\n\t\treturn mInterface;\n\t}", "public String getInterface () throws SDLIPException {\r\n XMLObject theInterface = new sdlip.xml.dom.XMLObject();\r\n tm.getInterface(theInterface);\r\n //return postProcess (theInterface, \"SDLIPInterface\", false);\r\n return theInterface.getString();\r\n }", "public Iterator getPorts() throws ServiceException {\n\t\treturn null;\n\t}", "public static android.telephony.mbms.vendor.IMbmsStreamingService asInterface(android.os.IBinder obj)\n {\n if ((obj==null)) {\n return null;\n }\n android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\n if (((iin!=null)&&(iin instanceof android.telephony.mbms.vendor.IMbmsStreamingService))) {\n return ((android.telephony.mbms.vendor.IMbmsStreamingService)iin);\n }\n return new android.telephony.mbms.vendor.IMbmsStreamingService.Stub.Proxy(obj);\n }", "public String getEjbHomeInterface();", "public String getEjbInterface();", "public java.rmi.Remote getSomethingRemote() throws RemoteException;", "public static com.sogou.speech.wakeup.wakeupservice.IWakeupService asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof com.sogou.speech.wakeup.wakeupservice.IWakeupService))) {\nreturn ((com.sogou.speech.wakeup.wakeupservice.IWakeupService)iin);\n}\nreturn new com.sogou.speech.wakeup.wakeupservice.IWakeupService.Stub.Proxy(obj);\n}", "@Override\n\tpublic <ITF> Optional<ITF> getService(Class<ITF> itfClass, String servicePath) {\n\t\treturn IRegistryProvider.INSTANCE.getService(itfClass, servicePath);\n\t}", "IFMLPort createIFMLPort();", "public static jag.kumamoto.apps.gotochi.stamprally.IArriveWatcherService asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof jag.kumamoto.apps.gotochi.stamprally.IArriveWatcherService))) {\nreturn ((jag.kumamoto.apps.gotochi.stamprally.IArriveWatcherService)iin);\n}\nreturn new jag.kumamoto.apps.gotochi.stamprally.IArriveWatcherService.Stub.Proxy(obj);\n}", "public <T> IRemoteService<T> getRemoteService(T bean)\n/* */ {\n/* 82 */ if ((bean instanceof IRemoteService))\n/* 83 */ return (IRemoteService)bean;\n/* 84 */ RemoteService rs = (RemoteService)AnnotationUtils.getAnnotation(bean.getClass(), RemoteService.class);\n/* 85 */ String name = rs.value();\n/* 86 */ if (StringUtils.isEmpty(name))\n/* */ {\n/* 88 */ String[] names = applicationContext.getBeanNamesForType(bean.getClass());\n/* 89 */ if ((names != null) && (names.length > 0)) {\n/* 90 */ name = names[0];\n/* */ }\n/* */ }\n/* 93 */ if (StringUtils.isEmpty(name)) {\n/* 94 */ name = StringUtils.uncapitalize(bean.getClass().getSimpleName());\n/* */ }\n/* 96 */ CglibRemoteServiceProxy<T> proxy = new CglibRemoteServiceProxy();\n/* 97 */ IRemoteService<T> srv = proxy.bind(bean, name);\n/* 98 */ return srv;\n/* */ }", "public static native short getRemoteInterfaceAddress(Remote remoteObj, byte interfaceIndex);", "public abstract Object getInterface(String strInterfaceName_p, Object oObject_p) throws Exception;", "public interface Service extends AsyncRunnable, Remote {\n\n\tint registryPort() throws RemoteException;\n\n\tString name() throws RemoteException;\n}", "public static com.xintu.smartcar.bluetoothphone.iface.ContactInterface asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof com.xintu.smartcar.bluetoothphone.iface.ContactInterface))) {\nreturn ((com.xintu.smartcar.bluetoothphone.iface.ContactInterface)iin);\n}\nreturn new com.xintu.smartcar.bluetoothphone.iface.ContactInterface.Stub.Proxy(obj);\n}", "@Override\n public List<Address> getInterfaceAddresses() {\n List<Address> output = new ArrayList<>();\n\n Enumeration<NetworkInterface> ifaces;\n try {\n ifaces = NetworkInterface.getNetworkInterfaces();\n } catch (SocketException e) {\n // If we could not retrieve the network interface list, we\n // probably can't bind to any interface addresses either.\n return Collections.emptyList();\n }\n\n for (NetworkInterface iface : Collections.list(ifaces)) {\n // List the addresses associated with each interface.\n Enumeration<InetAddress> addresses = iface.getInetAddresses();\n for (InetAddress address : Collections.list(addresses)) {\n try {\n // Make an address object from each interface address, and\n // add it to the output list.\n output.add(Address.make(\"zmq://\" + address.getHostAddress() + \":\" + port));\n } catch (MalformedAddressException ignored) {\n // Should not be reachable.\n }\n }\n }\n\n return output;\n }", "private JiraManagementService getJiraManagementServicePort() throws JiraManagerException {\r\n try {\r\n return serviceClient.getJiraManagementServicePort();\r\n } catch (WebServiceException e) {\r\n Util.logError(log, e);\r\n throw new JiraManagerException(\"Unable to create JiraManagementService proxy.\", e);\r\n }\r\n }", "@Override\n\t\tpublic Service getService() {\n\t\t\treturn new Implementation1();\n\t\t}", "public interface DemoService extends Remote {\r\n public final static String SERVICE_NAME = \"DemoService\";\r\n \r\n public String doTask(String[] args) throws RemoteException;\r\n}", "public org.tempuri.HISWebServiceStub.SapInterfaceResponse sapInterface(\r\n org.tempuri.HISWebServiceStub.SapInterface sapInterface16)\r\n throws java.rmi.RemoteException {\r\n org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();\r\n\r\n try {\r\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[8].getName());\r\n _operationClient.getOptions()\r\n .setAction(\"http://tempuri.org/SapInterface\");\r\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\r\n\r\n addPropertyToOperationClient(_operationClient,\r\n org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\r\n \"&\");\r\n\r\n // create SOAP envelope with that payload\r\n org.apache.axiom.soap.SOAPEnvelope env = null;\r\n\r\n env = toEnvelope(getFactory(_operationClient.getOptions()\r\n .getSoapVersionURI()),\r\n sapInterface16,\r\n optimizeContent(\r\n new javax.xml.namespace.QName(\"http://tempuri.org/\",\r\n \"sapInterface\")),\r\n new javax.xml.namespace.QName(\"http://tempuri.org/\",\r\n \"SapInterface\"));\r\n\r\n //adding SOAP soap_headers\r\n _serviceClient.addHeadersToEnvelope(env);\r\n // set the message context with that soap envelope\r\n _messageContext.setEnvelope(env);\r\n\r\n // add the message contxt to the operation client\r\n _operationClient.addMessageContext(_messageContext);\r\n\r\n //execute the operation client\r\n _operationClient.execute(true);\r\n\r\n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\r\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\r\n\r\n java.lang.Object object = fromOM(_returnEnv.getBody()\r\n .getFirstElement(),\r\n org.tempuri.HISWebServiceStub.SapInterfaceResponse.class);\r\n\r\n return (org.tempuri.HISWebServiceStub.SapInterfaceResponse) object;\r\n } catch (org.apache.axis2.AxisFault f) {\r\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\r\n\r\n if (faultElt != null) {\r\n if (faultExceptionNameMap.containsKey(\r\n new org.apache.axis2.client.FaultMapKey(\r\n faultElt.getQName(), \"SapInterface\"))) {\r\n //make the fault by reflection\r\n try {\r\n java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(\r\n faultElt.getQName(), \"SapInterface\"));\r\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\r\n java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);\r\n java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());\r\n\r\n //message class\r\n java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(\r\n faultElt.getQName(), \"SapInterface\"));\r\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\r\n java.lang.Object messageObject = fromOM(faultElt,\r\n messageClass);\r\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\r\n new java.lang.Class[] { messageClass });\r\n m.invoke(ex, new java.lang.Object[] { messageObject });\r\n\r\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\r\n } catch (java.lang.ClassCastException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.ClassNotFoundException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.NoSuchMethodException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.reflect.InvocationTargetException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.IllegalAccessException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.InstantiationException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n }\r\n } else {\r\n throw f;\r\n }\r\n } else {\r\n throw f;\r\n }\r\n } finally {\r\n if (_messageContext.getTransportOut() != null) {\r\n _messageContext.getTransportOut().getSender()\r\n .cleanup(_messageContext);\r\n }\r\n }\r\n }", "public native int getRemotePort() throws IOException,IllegalArgumentException;", "public InterfaceBean get(String id) {\n\t\treturn null;\n\t}", "public AddressInfo getLoopbackInterface() {\r\n return loopbackInterface;\r\n }", "@Override\n\t\tpublic Service getService() {\n\t\t\treturn new Implementation2();\n\t\t}", "public <T> IRemoteService<T> getRemoteService(String bizId)\n/* */ {\n/* 51 */ if (applicationContext != null)\n/* */ {\n/* 53 */ T bean = applicationContext.getBean(bizId);\n/* 54 */ if (bean != null)\n/* 55 */ return getRemoteService(bean);\n/* */ }\n/* 57 */ return null;\n/* */ }", "public static android.service.fingerprint.IFingerprintServiceReceiver asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof android.service.fingerprint.IFingerprintServiceReceiver))) {\nreturn ((android.service.fingerprint.IFingerprintServiceReceiver)iin);\n}\nreturn new android.service.fingerprint.IFingerprintServiceReceiver.Stub.Proxy(obj);\n}", "public interface RMIInterface extends Remote {\n\n public String helloTo(String name) throws RemoteException;\n\n}", "public static org.chromium.weblayer_private.interfaces.ITab asInterface(android.os.IBinder obj)\n {\n if ((obj==null)) {\n return null;\n }\n android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\n if (((iin!=null)&&(iin instanceof org.chromium.weblayer_private.interfaces.ITab))) {\n return ((org.chromium.weblayer_private.interfaces.ITab)iin);\n }\n return new org.chromium.weblayer_private.interfaces.ITab.Stub.Proxy(obj);\n }", "private static String readAddressFromInterface(final String interfaceName) {\n try {\n final String filePath = \"/sys/class/net/\" + interfaceName + \"/address\";\n final StringBuilder fileData = new StringBuilder(1000);\n final BufferedReader reader = new BufferedReader(new FileReader(filePath), 1024);\n final char[] buf = new char[1024];\n int numRead;\n\n String readData;\n while ((numRead = reader.read(buf)) != -1) {\n readData = String.valueOf(buf, 0, numRead);\n fileData.append(readData);\n }\n\n reader.close();\n return fileData.toString();\n } catch (IOException e) {\n return null;\n }\n }" ]
[ "0.7827392", "0.7687248", "0.7675685", "0.7643054", "0.7641889", "0.763253", "0.76201016", "0.7619359", "0.7616307", "0.7573532", "0.7571862", "0.75600475", "0.7550475", "0.75239944", "0.74985796", "0.7487596", "0.74767727", "0.7406514", "0.74003434", "0.73998535", "0.73894304", "0.7378779", "0.73515165", "0.7322595", "0.73149836", "0.7311612", "0.7291917", "0.72856474", "0.72828835", "0.7278872", "0.7266684", "0.7262526", "0.72369987", "0.72329396", "0.7230843", "0.7224262", "0.7200394", "0.71943146", "0.7190244", "0.7182711", "0.71776986", "0.7164669", "0.71628517", "0.71575093", "0.7145652", "0.70472354", "0.6923679", "0.6923585", "0.6910981", "0.6908934", "0.686528", "0.5662597", "0.55575943", "0.54823035", "0.54531074", "0.5442859", "0.5423085", "0.53960425", "0.5307821", "0.5299047", "0.5295686", "0.5277207", "0.52676237", "0.5214488", "0.5210085", "0.51514876", "0.50250447", "0.50002515", "0.49885276", "0.49885276", "0.4972565", "0.49647853", "0.4924002", "0.4918133", "0.4915886", "0.49046743", "0.4891276", "0.48611394", "0.47914886", "0.47467023", "0.47426575", "0.4722443", "0.4708672", "0.46815205", "0.46770313", "0.46768573", "0.4670191", "0.46679905", "0.4662695", "0.46601295", "0.46491593", "0.46426708", "0.46368515", "0.4630443", "0.46125478", "0.46012986", "0.45809472", "0.45752433", "0.45706815", "0.4567334" ]
0.729145
27
For the given interface, get the stub implementation. If this service has no port for the given interface, then ServiceException is thrown.
public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { if (portName == null) { return getPort(serviceEndpointInterface); } java.lang.String inputPortName = portName.getLocalPart(); if ("PersonController".equals(inputPortName)) { return getPersonController(); } else { java.rmi.Remote _stub = getPort(serviceEndpointInterface); ((org.apache.axis.client.Stub) _stub).setPortName(portName); return _stub; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Remote getPort(Class serviceEndpointInterface) throws ServiceException {\n try {\n if (SDKClient.class.isAssignableFrom(serviceEndpointInterface)) {\n SDKServiceBindingStub _stub = new SDKServiceBindingStub(new java.net.URL(SDKService_address), this);\n _stub.setPortName(getSDKServiceWSDDServiceName());\n return _stub;\n }\n }\n catch (Throwable t) {\n throw new ServiceException(t);\n }\n throw new ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.mozart.web.wsdl.sosistemas.NFEServices.class.isAssignableFrom(serviceEndpointInterface)) {\n com.mozart.web.wsdl.sosistemas.NFEServicesSoapBindingStub _stub = new com.mozart.web.wsdl.sosistemas.NFEServicesSoapBindingStub(new java.net.URL(NFEServices_address), this);\n _stub.setPortName(getNFEServicesWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n\t\ttry {\n\t\t\tif (kz.lof.webservices.clients.udp.UDPService.class.isAssignableFrom(serviceEndpointInterface)) {\n\t\t\t\tkz.lof.webservices.clients.udp.UDPServiceSoapBindingStub _stub = new kz.lof.webservices.clients.udp.UDPServiceSoapBindingStub(new java.net.URL(UDPService_address), this);\n\t\t\t\t_stub.setPortName(getUDPServiceWSDDServiceName());\n\t\t\t\treturn _stub;\n\t\t\t}\n\t\t}\n\t\tcatch (java.lang.Throwable t) {\n\t\t\tthrow new javax.xml.rpc.ServiceException(t);\n\t\t}\n\t\tthrow new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n\t}", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (com.iwinner.ws.service.WsUserServiceImpl.class.isAssignableFrom(serviceEndpointInterface)) {\r\n com.iwinner.ws.service.WsUserServiceImplSoapBindingStub _stub = new com.iwinner.ws.service.WsUserServiceImplSoapBindingStub(new java.net.URL(WsUserServiceImpl_address), this);\r\n _stub.setPortName(getWsUserServiceImplWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.oracle.xmlns.IMS.CancelIMSHuawei.CancelIMSHuawei.CancelIMSHuawei.class.isAssignableFrom(serviceEndpointInterface)) {\n com.oracle.xmlns.IMS.CancelIMSHuawei.CancelIMSHuawei.CancelIMSHuaweiBindingStub _stub = new com.oracle.xmlns.IMS.CancelIMSHuawei.CancelIMSHuawei.CancelIMSHuaweiBindingStub(new java.net.URL(CancelIMSHuawei_pt_address), this);\n _stub.setPortName(getCancelIMSHuawei_ptWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.ibm.itim.ws.services.WSExtensionService.class.isAssignableFrom(serviceEndpointInterface)) {\n com.ibm.itim.ws.services.WSExtensionServiceSoapBindingStub _stub = new com.ibm.itim.ws.services.WSExtensionServiceSoapBindingStub(new java.net.URL(WSExtensionService_address), this);\n _stub.setPortName(getWSExtensionServiceWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (de.java2enterprise.onlineshop.Uploader.class.isAssignableFrom(serviceEndpointInterface)) {\n de.java2enterprise.onlineshop.UploaderPortBindingStub _stub = new de.java2enterprise.onlineshop.UploaderPortBindingStub(new java.net.URL(UploaderPort_address), this);\n _stub.setPortName(getUploaderPortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (co.edu.uan.servicio.EmpleadoServiciolmpl.class.isAssignableFrom(serviceEndpointInterface)) {\r\n co.edu.uan.servicio.EmpleadoServiciolmplSoapBindingStub _stub = new co.edu.uan.servicio.EmpleadoServiciolmplSoapBindingStub(new java.net.URL(EmpleadoServiciolmpl_address), this);\r\n _stub.setPortName(getEmpleadoServiciolmplWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (com.qbe.cotizador.servicios.QBE.emisionAgricolaWS.WSEmisionAgricola_PortType.class.isAssignableFrom(serviceEndpointInterface)) {\r\n com.qbe.cotizador.servicios.QBE.emisionAgricolaWS.WSEmisionAgricolaPortBindingStub _stub = new com.qbe.cotizador.servicios.QBE.emisionAgricolaWS.WSEmisionAgricolaPortBindingStub(new java.net.URL(WSEmisionAgricolaPort_address), this);\r\n _stub.setPortName(getWSEmisionAgricolaPortWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (org.mxunit.eclipseplugin.actions.bindings.generated.bluedragon.RemoteFacade.class.isAssignableFrom(serviceEndpointInterface)) {\r\n org.mxunit.eclipseplugin.actions.bindings.generated.bluedragon.RemoteFacadeCfcSoapBindingStub _stub = new org.mxunit.eclipseplugin.actions.bindings.generated.bluedragon.RemoteFacadeCfcSoapBindingStub(new java.net.URL(RemoteFacadeCfc_address), this);\r\n _stub.setPortName(getRemoteFacadeCfcWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.pws.integration.pathway.OutboundServiceSessionEJBPortType.class.isAssignableFrom(serviceEndpointInterface)) {\n com.pws.integration.pathway.OutboundServiceSessionEJBBeanServicePortBindingStub _stub = new com.pws.integration.pathway.OutboundServiceSessionEJBBeanServicePortBindingStub(new java.net.URL(OutboundServiceSessionEJBBeanServicePort_address), this);\n _stub.setPortName(getOutboundServiceSessionEJBBeanServicePortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.hp.it.spf.user.group.stub.UGSRuntimeServiceXfireImplPortType.class.isAssignableFrom(serviceEndpointInterface)) {\n com.hp.it.spf.user.group.stub.UGSRuntimeServiceXfireImplHttpBindingStub _stub = new com.hp.it.spf.user.group.stub.UGSRuntimeServiceXfireImplHttpBindingStub(new java.net.URL(UGSRuntimeServiceXfireImplHttpPort_address), this);\n _stub.setPortName(getUGSRuntimeServiceXfireImplHttpPortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n\t\ttry {\n\t\t\tif (iace.webservice.linkiacClient.LinkIacWSSoap.class.isAssignableFrom(serviceEndpointInterface)) {\n\t\t\t\tiace.webservice.linkiacClient.LinkIacWSSoapStub _stub = new iace.webservice.linkiacClient.LinkIacWSSoapStub(new java.net.URL(LinkIacWSSoap_address), this);\n\t\t\t\t_stub.setPortName(getLinkIacWSSoapWSDDServiceName());\n\t\t\t\treturn _stub;\n\t\t\t}\n\t\t} catch (java.lang.Throwable t) {\n\t\t\tthrow new javax.xml.rpc.ServiceException(t);\n\t\t}\n\t\tthrow new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n\t}", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (ca.concordia.dsd.stub.CenterServerImpl.class.isAssignableFrom(serviceEndpointInterface)) {\n ca.concordia.dsd.stub.CenterServerImplPortBindingStub _stub = new ca.concordia.dsd.stub.CenterServerImplPortBindingStub(new java.net.URL(CenterServerImplPort_address), this);\n _stub.setPortName(getCenterServerImplPortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.hoyotech.group.MsgservicePortType.class.isAssignableFrom(serviceEndpointInterface)) {\n com.hoyotech.group.MsgserviceSoap11BindingStub _stub = new com.hoyotech.group.MsgserviceSoap11BindingStub(new java.net.URL(msgserviceHttpSoap11Endpoint_address), this);\n _stub.setPortName(getmsgserviceHttpSoap11EndpointWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (de.nrw.dipp.dippCore.www.definitions.ContentModel.class.isAssignableFrom(serviceEndpointInterface)) {\n de.nrw.dipp.dippCore.www.definitions.DippSoapBindingStub _stub = new de.nrw.dipp.dippCore.www.definitions.DippSoapBindingStub(new java.net.URL(dipp_address), this);\n _stub.setPortName(getdippWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (sample.OrderProcessingService.class.isAssignableFrom(serviceEndpointInterface)) {\n sample.OrderProcessingServiceSoapBindingStub _stub = new sample.OrderProcessingServiceSoapBindingStub(new java.net.URL(OrderProcessingService_address), this);\n _stub.setPortName(getOrderProcessingServiceWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (org.sirius.server.win32lib.controls.slider.ISliderContract.class.isAssignableFrom(serviceEndpointInterface)) {\n org.sirius.server.win32lib.controls.slider.SliderSvcPortStub _stub = new org.sirius.server.win32lib.controls.slider.SliderSvcPortStub(new java.net.URL(SliderSvcPort_address), this);\n _stub.setPortName(getSliderSvcPortWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (com.crm.service.elcom.vasman.Webservice_vasmanPortType.class.isAssignableFrom(serviceEndpointInterface)) {\r\n com.crm.service.elcom.vasman.Webservice_vasmanHttpBindingStub _stub = new com.crm.service.elcom.vasman.Webservice_vasmanHttpBindingStub(new java.net.URL(webservice_vasmanHttpPort_address), this);\r\n _stub.setPortName(getwebservice_vasmanHttpPortWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(QName portName, Class serviceEndpointInterface) throws ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n String inputPortName = portName.getLocalPart();\n if (\"SDKService\".equals(inputPortName)) {\n return getSDKService();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"NFEServices\".equals(inputPortName)) {\n return getNFEServices();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"WSExtensionService\".equals(inputPortName)) {\n return getWSExtensionService();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (mastercom.app.FeeCreate.FeeCreate_PortType.class.isAssignableFrom(serviceEndpointInterface)) {\n mastercom.app.FeeCreate.FeeCreateSOAPStub _stub = new mastercom.app.FeeCreate.FeeCreateSOAPStub(new java.net.URL(FeeCreateSOAP_address), this);\n _stub.setPortName(getFeeCreateSOAPWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (src.PublicService.class.isAssignableFrom(serviceEndpointInterface)) {\n src.PublicServiceSoapBindingStub _stub = new src.PublicServiceSoapBindingStub(new java.net.URL(publicService_address), this);\n _stub.setPortName(getpublicServiceWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (AES_MB_IntakeWOList_Lib_1_0.AES_MB_IntakeWOList_Intf_1_0.class.isAssignableFrom(serviceEndpointInterface)) {\n return getWSExport1_AES_MB_IntakeWOList_Intf_1_0HttpPort();\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"WSWS3273E: Error: There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"WsUserServiceImpl\".equals(inputPortName)) {\r\n return getWsUserServiceImpl();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n try {\r\n if (org.tempuri.PublishAPIServiceSoap.class.isAssignableFrom(serviceEndpointInterface)) {\r\n org.tempuri.PublishAPIServiceSoapStub _stub = new org.tempuri.PublishAPIServiceSoapStub(new java.net.URL(PublishAPIServiceSoap_address), this);\r\n _stub.setPortName(getPublishAPIServiceSoapWSDDServiceName());\r\n return _stub;\r\n }\r\n }\r\n catch (java.lang.Throwable t) {\r\n throw new javax.xml.rpc.ServiceException(t);\r\n }\r\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.mx.everis.taller.controller.PersonController.class.isAssignableFrom(serviceEndpointInterface)) {\n com.mx.everis.taller.controller.PersonControllerSoapBindingStub _stub = new com.mx.everis.taller.controller.PersonControllerSoapBindingStub(new java.net.URL(PersonController_address), this);\n _stub.setPortName(getPersonControllerWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n\t\tif (portName == null) {\n\t\t\treturn getPort(serviceEndpointInterface);\n\t\t}\n\t\tjava.lang.String inputPortName = portName.getLocalPart();\n\t\tif (\"UDPService\".equals(inputPortName)) {\n\t\t\treturn getUDPService();\n\t\t}\n\t\telse {\n\t\t\tjava.rmi.Remote _stub = getPort(serviceEndpointInterface);\n\t\t\t((org.apache.axis.client.Stub) _stub).setPortName(portName);\n\t\t\treturn _stub;\n\t\t}\n\t}", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"publicService\".equals(inputPortName)) {\n return getpublicService();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"RemoteFacade.cfc\".equals(inputPortName)) {\r\n return getRemoteFacadeCfc();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"OutboundServiceSessionEJBBeanServicePort\".equals(inputPortName)) {\n return getOutboundServiceSessionEJBBeanServicePort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"UGSRuntimeServiceXfireImplHttpPort\".equals(inputPortName)) {\n return getUGSRuntimeServiceXfireImplHttpPort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"dipp\".equals(inputPortName)) {\n return getdipp();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"CancelIMSHuawei_pt\".equals(inputPortName)) {\n return getCancelIMSHuawei_pt();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"CenterServerImplPort\".equals(inputPortName)) {\n return getCenterServerImplPort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"msgserviceHttpSoap11Endpoint\".equals(inputPortName)) {\n return getmsgserviceHttpSoap11Endpoint();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"EmpleadoServiciolmpl\".equals(inputPortName)) {\r\n return getEmpleadoServiciolmpl();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (ifscarsservice.GarageSeller.class.isAssignableFrom(serviceEndpointInterface)) {\n ifscarsservice.GarageSellerSoapBindingStub _stub = new ifscarsservice.GarageSellerSoapBindingStub(new java.net.URL(GarageSeller_address), this);\n _stub.setPortName(getGarageSellerWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"OrderProcessingService\".equals(inputPortName)) {\n return getOrderProcessingService();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n try {\n if (com.lexmark.workflow.components.prompt.jsapi2.JobSubmission2PortType.class.isAssignableFrom(serviceEndpointInterface)) {\n com.lexmark.workflow.components.prompt.jsapi2.JobSubmission2SOAP11BindingStub _stub = new com.lexmark.workflow.components.prompt.jsapi2.JobSubmission2SOAP11BindingStub(new java.net.URL(JobSubmission2SOAP11port_http_address), this);\n _stub.setPortName(getJobSubmission2SOAP11port_httpWSDDServiceName());\n return _stub;\n }\n }\n catch (java.lang.Throwable t) {\n throw new javax.xml.rpc.ServiceException(t);\n }\n throw new javax.xml.rpc.ServiceException(\"There is no stub implementation for the interface: \" + (serviceEndpointInterface == null ? \"null\" : serviceEndpointInterface.getName()));\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"UploaderPort\".equals(inputPortName)) {\n return getUploaderPort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n\t\tif (portName == null) {\n\t\t\treturn getPort(serviceEndpointInterface);\n\t\t}\n\t\tjava.lang.String inputPortName = portName.getLocalPart();\n\t\tif (\"LinkIacWSSoap\".equals(inputPortName)) {\n\t\t\treturn getLinkIacWSSoap();\n\t\t} else {\n\t\t\tjava.rmi.Remote _stub = getPort(serviceEndpointInterface);\n\t\t\t((org.apache.axis.client.Stub) _stub).setPortName(portName);\n\t\t\treturn _stub;\n\t\t}\n\t}", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"FeeCreateSOAP\".equals(inputPortName)) {\n return getFeeCreateSOAP();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"WSEmisionAgricolaPort\".equals(inputPortName)) {\r\n return getWSEmisionAgricolaPort();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"webservice_vasmanHttpPort\".equals(inputPortName)) {\r\n return getwebservice_vasmanHttpPort();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"SliderSvcPort\".equals(inputPortName)) {\n return getSliderSvcPort();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"JobSubmission2SOAP11port_http\".equals(inputPortName)) {\n return getJobSubmission2SOAP11port_http();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n if (portName == null) {\n return getPort(serviceEndpointInterface);\n }\n java.lang.String inputPortName = portName.getLocalPart();\n if (\"GarageSeller\".equals(inputPortName)) {\n return getGarageSeller();\n }\n else {\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\n return _stub;\n }\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\r\n if (portName == null) {\r\n return getPort(serviceEndpointInterface);\r\n }\r\n java.lang.String inputPortName = portName.getLocalPart();\r\n if (\"PublishAPIServiceSoap\".equals(inputPortName)) {\r\n return getPublishAPIServiceSoap();\r\n }\r\n else {\r\n java.rmi.Remote _stub = getPort(serviceEndpointInterface);\r\n ((org.apache.axis.client.Stub) _stub).setPortName(portName);\r\n return _stub;\r\n }\r\n }", "public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {\n String inputPortName = portName.getLocalPart();\n if (\"WSExport1_AES_MB_IntakeWOList_Intf_1_0HttpPort\".equals(inputPortName)) {\n return getWSExport1_AES_MB_IntakeWOList_Intf_1_0HttpPort();\n }\n else {\n throw new javax.xml.rpc.ServiceException();\n }\n }", "public interface OperationServiceService extends javax.xml.rpc.Service {\n public java.lang.String getOperationServiceAddress();\n\n public fr.uphf.service.OperationService getOperationService() throws javax.xml.rpc.ServiceException;\n\n public fr.uphf.service.OperationService getOperationService(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;\n}", "public Remote getPort(Class arg0) throws ServiceException {\n\t\treturn null;\n\t}", "public Object _get_interface_def()\n {\n // First try to call the delegate implementation class's\n // \"Object get_interface_def(..)\" method (will work for JDK1.2\n // ORBs).\n // Else call the delegate implementation class's\n // \"InterfaceDef get_interface(..)\" method using reflection\n // (will work for pre-JDK1.2 ORBs).\n\n throw new NO_IMPLEMENT(reason);\n }", "@Override\n public org.omg.CORBA.Object _get_interface_def()\n {\n if (interfaceDef != null)\n return interfaceDef;\n else\n return super._get_interface_def();\n }", "public static IMountService asInterface(IBinder obj) {\n if (obj == null) {\n return null;\n }\n IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\n if (iin != null && iin instanceof IMountService) {\n return (IMountService) iin;\n }\n return new IMountService.Stub.Proxy(obj);\n }", "public Remote getPort(QName arg0, Class arg1) throws ServiceException {\n\t\treturn null;\n\t}", "public abstract <T> T getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface,\n WebServiceFeature... features);", "public static com.itheima.alipay.IALiPayService asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof com.itheima.alipay.IALiPayService))) {\nreturn ((com.itheima.alipay.IALiPayService)iin);\n}\nreturn new com.itheima.alipay.IALiPayService.Stub.Proxy(obj);\n}", "Interface_decl getInterface();", "int getServicePort();", "public com.android.internal.telecom.IConnectionServiceAdapter getStub() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.telecom.ConnectionServiceAdapterServant.getStub():com.android.internal.telecom.IConnectionServiceAdapter, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.telecom.ConnectionServiceAdapterServant.getStub():com.android.internal.telecom.IConnectionServiceAdapter\");\n }", "public Class getServiceInterface() {\n return null;\n }", "public static Interface getInterface() {\n return null;\n }", "public Object _get_interface()\n {\n throw new NO_IMPLEMENT(reason);\n }", "public interface InterfaceService\n extends ListenerService<InterfaceEvent, InterfaceListener> {\n\n /**\n * Returns the set of all interfaces in the system.\n *\n * @return set of interfaces\n */\n Set<Interface> getInterfaces();\n\n /**\n * Returns the interface with the given name.\n *\n * @param connectPoint connect point of the interface\n * @param name name of the interface\n * @return interface if it exists, otherwise null\n */\n Interface getInterfaceByName(ConnectPoint connectPoint, String name);\n\n /**\n * Returns the set of interfaces configured on the given port.\n *\n * @param port connect point\n * @return set of interfaces\n */\n Set<Interface> getInterfacesByPort(ConnectPoint port);\n\n /**\n * Returns the set of interfaces with the given IP address.\n *\n * @param ip IP address\n * @return set of interfaces\n */\n Set<Interface> getInterfacesByIp(IpAddress ip);\n\n /**\n * Returns the set of interfaces in the given VLAN.\n *\n * @param vlan VLAN ID of the interfaces\n * @return set of interfaces\n */\n Set<Interface> getInterfacesByVlan(VlanId vlan);\n\n /**\n * Returns an interface that has an address that is in the same subnet as\n * the given IP address.\n *\n * @param ip IP address to find matching subnet interface for\n * @return interface\n */\n Interface getMatchingInterface(IpAddress ip);\n\n /**\n * Returns all interfaces that have an address that is in the same\n * subnet as the given IP address.\n *\n * @param ip IP address to find matching subnet interface for\n * @return a set of interfaces\n */\n Set<Interface> getMatchingInterfaces(IpAddress ip);\n\n /**\n * Returns untagged VLAN configured on given connect point.\n * <p>\n * Only returns the first match if there are multiple untagged VLAN configured\n * on the connect point.\n *\n * @param connectPoint connect point\n * @return untagged VLAN or null if not configured\n */\n default VlanId getUntaggedVlanId(ConnectPoint connectPoint) {\n return null;\n }\n\n /**\n * Returns tagged VLAN configured on given connect point.\n * <p>\n * Returns all matches if there are multiple tagged VLAN configured\n * on the connect point.\n *\n * @param connectPoint connect point\n * @return tagged VLAN or empty set if not configured\n */\n default Set<VlanId> getTaggedVlanId(ConnectPoint connectPoint) {\n return ImmutableSet.of();\n }\n\n /**\n * Returns native VLAN configured on given connect point.\n * <p>\n * Only returns the first match if there are multiple native VLAN configured\n * on the connect point.\n *\n * @param connectPoint connect point\n * @return native VLAN or null if not configured\n */\n default VlanId getNativeVlanId(ConnectPoint connectPoint) {\n return null;\n }\n\n /**\n * Returns true if given connectPoint has an IP address or vlan configured\n * on any of its interfaces.\n *\n * @param connectPoint the port on a device\n * @return true if connectpoint has a configured interface\n */\n default boolean isConfigured(ConnectPoint connectPoint) {\n throw new NotImplementedException(\"isConfigured is not implemented\");\n }\n\n /**\n * Returns true if given vlanId is in use due to configuration on any of the\n * interfaces in the system.\n *\n * @param vlanId the vlan id being queried\n * @return true if vlan is configured on any interface\n */\n default boolean inUse(VlanId vlanId) {\n throw new NotImplementedException(\"isConfigured is not implemented\");\n }\n}", "public String getEndpointInterface()\r\n {\r\n return endpointInterface;\r\n }", "org.omg.CORBA.Object _get_interface_def();", "Interface getInterface();", "Interface getInterface();", "public AIDLInterface getInterface()\n\t{\n\t\t//System.out.println(\"---- mInterface -----\" + mInterface);\n\t\treturn mInterface;\n\t}", "public String getInterface () throws SDLIPException {\r\n XMLObject theInterface = new sdlip.xml.dom.XMLObject();\r\n tm.getInterface(theInterface);\r\n //return postProcess (theInterface, \"SDLIPInterface\", false);\r\n return theInterface.getString();\r\n }", "public Iterator getPorts() throws ServiceException {\n\t\treturn null;\n\t}", "public static android.telephony.mbms.vendor.IMbmsStreamingService asInterface(android.os.IBinder obj)\n {\n if ((obj==null)) {\n return null;\n }\n android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\n if (((iin!=null)&&(iin instanceof android.telephony.mbms.vendor.IMbmsStreamingService))) {\n return ((android.telephony.mbms.vendor.IMbmsStreamingService)iin);\n }\n return new android.telephony.mbms.vendor.IMbmsStreamingService.Stub.Proxy(obj);\n }", "public String getEjbHomeInterface();", "public String getEjbInterface();", "public java.rmi.Remote getSomethingRemote() throws RemoteException;", "public static com.sogou.speech.wakeup.wakeupservice.IWakeupService asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof com.sogou.speech.wakeup.wakeupservice.IWakeupService))) {\nreturn ((com.sogou.speech.wakeup.wakeupservice.IWakeupService)iin);\n}\nreturn new com.sogou.speech.wakeup.wakeupservice.IWakeupService.Stub.Proxy(obj);\n}", "@Override\n\tpublic <ITF> Optional<ITF> getService(Class<ITF> itfClass, String servicePath) {\n\t\treturn IRegistryProvider.INSTANCE.getService(itfClass, servicePath);\n\t}", "IFMLPort createIFMLPort();", "public static jag.kumamoto.apps.gotochi.stamprally.IArriveWatcherService asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof jag.kumamoto.apps.gotochi.stamprally.IArriveWatcherService))) {\nreturn ((jag.kumamoto.apps.gotochi.stamprally.IArriveWatcherService)iin);\n}\nreturn new jag.kumamoto.apps.gotochi.stamprally.IArriveWatcherService.Stub.Proxy(obj);\n}", "public <T> IRemoteService<T> getRemoteService(T bean)\n/* */ {\n/* 82 */ if ((bean instanceof IRemoteService))\n/* 83 */ return (IRemoteService)bean;\n/* 84 */ RemoteService rs = (RemoteService)AnnotationUtils.getAnnotation(bean.getClass(), RemoteService.class);\n/* 85 */ String name = rs.value();\n/* 86 */ if (StringUtils.isEmpty(name))\n/* */ {\n/* 88 */ String[] names = applicationContext.getBeanNamesForType(bean.getClass());\n/* 89 */ if ((names != null) && (names.length > 0)) {\n/* 90 */ name = names[0];\n/* */ }\n/* */ }\n/* 93 */ if (StringUtils.isEmpty(name)) {\n/* 94 */ name = StringUtils.uncapitalize(bean.getClass().getSimpleName());\n/* */ }\n/* 96 */ CglibRemoteServiceProxy<T> proxy = new CglibRemoteServiceProxy();\n/* 97 */ IRemoteService<T> srv = proxy.bind(bean, name);\n/* 98 */ return srv;\n/* */ }", "public static native short getRemoteInterfaceAddress(Remote remoteObj, byte interfaceIndex);", "public abstract Object getInterface(String strInterfaceName_p, Object oObject_p) throws Exception;", "public interface Service extends AsyncRunnable, Remote {\n\n\tint registryPort() throws RemoteException;\n\n\tString name() throws RemoteException;\n}", "public static com.xintu.smartcar.bluetoothphone.iface.ContactInterface asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof com.xintu.smartcar.bluetoothphone.iface.ContactInterface))) {\nreturn ((com.xintu.smartcar.bluetoothphone.iface.ContactInterface)iin);\n}\nreturn new com.xintu.smartcar.bluetoothphone.iface.ContactInterface.Stub.Proxy(obj);\n}", "@Override\n public List<Address> getInterfaceAddresses() {\n List<Address> output = new ArrayList<>();\n\n Enumeration<NetworkInterface> ifaces;\n try {\n ifaces = NetworkInterface.getNetworkInterfaces();\n } catch (SocketException e) {\n // If we could not retrieve the network interface list, we\n // probably can't bind to any interface addresses either.\n return Collections.emptyList();\n }\n\n for (NetworkInterface iface : Collections.list(ifaces)) {\n // List the addresses associated with each interface.\n Enumeration<InetAddress> addresses = iface.getInetAddresses();\n for (InetAddress address : Collections.list(addresses)) {\n try {\n // Make an address object from each interface address, and\n // add it to the output list.\n output.add(Address.make(\"zmq://\" + address.getHostAddress() + \":\" + port));\n } catch (MalformedAddressException ignored) {\n // Should not be reachable.\n }\n }\n }\n\n return output;\n }", "private JiraManagementService getJiraManagementServicePort() throws JiraManagerException {\r\n try {\r\n return serviceClient.getJiraManagementServicePort();\r\n } catch (WebServiceException e) {\r\n Util.logError(log, e);\r\n throw new JiraManagerException(\"Unable to create JiraManagementService proxy.\", e);\r\n }\r\n }", "@Override\n\t\tpublic Service getService() {\n\t\t\treturn new Implementation1();\n\t\t}", "public interface DemoService extends Remote {\r\n public final static String SERVICE_NAME = \"DemoService\";\r\n \r\n public String doTask(String[] args) throws RemoteException;\r\n}", "public org.tempuri.HISWebServiceStub.SapInterfaceResponse sapInterface(\r\n org.tempuri.HISWebServiceStub.SapInterface sapInterface16)\r\n throws java.rmi.RemoteException {\r\n org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();\r\n\r\n try {\r\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[8].getName());\r\n _operationClient.getOptions()\r\n .setAction(\"http://tempuri.org/SapInterface\");\r\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\r\n\r\n addPropertyToOperationClient(_operationClient,\r\n org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\r\n \"&\");\r\n\r\n // create SOAP envelope with that payload\r\n org.apache.axiom.soap.SOAPEnvelope env = null;\r\n\r\n env = toEnvelope(getFactory(_operationClient.getOptions()\r\n .getSoapVersionURI()),\r\n sapInterface16,\r\n optimizeContent(\r\n new javax.xml.namespace.QName(\"http://tempuri.org/\",\r\n \"sapInterface\")),\r\n new javax.xml.namespace.QName(\"http://tempuri.org/\",\r\n \"SapInterface\"));\r\n\r\n //adding SOAP soap_headers\r\n _serviceClient.addHeadersToEnvelope(env);\r\n // set the message context with that soap envelope\r\n _messageContext.setEnvelope(env);\r\n\r\n // add the message contxt to the operation client\r\n _operationClient.addMessageContext(_messageContext);\r\n\r\n //execute the operation client\r\n _operationClient.execute(true);\r\n\r\n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\r\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\r\n\r\n java.lang.Object object = fromOM(_returnEnv.getBody()\r\n .getFirstElement(),\r\n org.tempuri.HISWebServiceStub.SapInterfaceResponse.class);\r\n\r\n return (org.tempuri.HISWebServiceStub.SapInterfaceResponse) object;\r\n } catch (org.apache.axis2.AxisFault f) {\r\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\r\n\r\n if (faultElt != null) {\r\n if (faultExceptionNameMap.containsKey(\r\n new org.apache.axis2.client.FaultMapKey(\r\n faultElt.getQName(), \"SapInterface\"))) {\r\n //make the fault by reflection\r\n try {\r\n java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(\r\n faultElt.getQName(), \"SapInterface\"));\r\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\r\n java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);\r\n java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());\r\n\r\n //message class\r\n java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(\r\n faultElt.getQName(), \"SapInterface\"));\r\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\r\n java.lang.Object messageObject = fromOM(faultElt,\r\n messageClass);\r\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\r\n new java.lang.Class[] { messageClass });\r\n m.invoke(ex, new java.lang.Object[] { messageObject });\r\n\r\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\r\n } catch (java.lang.ClassCastException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.ClassNotFoundException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.NoSuchMethodException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.reflect.InvocationTargetException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.IllegalAccessException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n } catch (java.lang.InstantiationException e) {\r\n // we cannot intantiate the class - throw the original Axis fault\r\n throw f;\r\n }\r\n } else {\r\n throw f;\r\n }\r\n } else {\r\n throw f;\r\n }\r\n } finally {\r\n if (_messageContext.getTransportOut() != null) {\r\n _messageContext.getTransportOut().getSender()\r\n .cleanup(_messageContext);\r\n }\r\n }\r\n }", "public native int getRemotePort() throws IOException,IllegalArgumentException;", "public InterfaceBean get(String id) {\n\t\treturn null;\n\t}", "public AddressInfo getLoopbackInterface() {\r\n return loopbackInterface;\r\n }", "@Override\n\t\tpublic Service getService() {\n\t\t\treturn new Implementation2();\n\t\t}", "public <T> IRemoteService<T> getRemoteService(String bizId)\n/* */ {\n/* 51 */ if (applicationContext != null)\n/* */ {\n/* 53 */ T bean = applicationContext.getBean(bizId);\n/* 54 */ if (bean != null)\n/* 55 */ return getRemoteService(bean);\n/* */ }\n/* 57 */ return null;\n/* */ }", "public static android.service.fingerprint.IFingerprintServiceReceiver asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof android.service.fingerprint.IFingerprintServiceReceiver))) {\nreturn ((android.service.fingerprint.IFingerprintServiceReceiver)iin);\n}\nreturn new android.service.fingerprint.IFingerprintServiceReceiver.Stub.Proxy(obj);\n}", "public interface RMIInterface extends Remote {\n\n public String helloTo(String name) throws RemoteException;\n\n}", "public static org.chromium.weblayer_private.interfaces.ITab asInterface(android.os.IBinder obj)\n {\n if ((obj==null)) {\n return null;\n }\n android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\n if (((iin!=null)&&(iin instanceof org.chromium.weblayer_private.interfaces.ITab))) {\n return ((org.chromium.weblayer_private.interfaces.ITab)iin);\n }\n return new org.chromium.weblayer_private.interfaces.ITab.Stub.Proxy(obj);\n }", "private static String readAddressFromInterface(final String interfaceName) {\n try {\n final String filePath = \"/sys/class/net/\" + interfaceName + \"/address\";\n final StringBuilder fileData = new StringBuilder(1000);\n final BufferedReader reader = new BufferedReader(new FileReader(filePath), 1024);\n final char[] buf = new char[1024];\n int numRead;\n\n String readData;\n while ((numRead = reader.read(buf)) != -1) {\n readData = String.valueOf(buf, 0, numRead);\n fileData.append(readData);\n }\n\n reader.close();\n return fileData.toString();\n } catch (IOException e) {\n return null;\n }\n }" ]
[ "0.7827392", "0.7687248", "0.7675685", "0.7643054", "0.7641889", "0.763253", "0.76201016", "0.7619359", "0.7616307", "0.7573532", "0.7571862", "0.75600475", "0.7550475", "0.75239944", "0.74985796", "0.7487596", "0.74767727", "0.7406514", "0.74003434", "0.73998535", "0.73894304", "0.7378779", "0.73515165", "0.7322595", "0.73149836", "0.7311612", "0.7291917", "0.729145", "0.72856474", "0.72828835", "0.7278872", "0.7266684", "0.7262526", "0.72369987", "0.72329396", "0.7230843", "0.7224262", "0.7200394", "0.71943146", "0.7190244", "0.7182711", "0.71776986", "0.7164669", "0.71628517", "0.71575093", "0.7145652", "0.70472354", "0.6923679", "0.6923585", "0.6908934", "0.686528", "0.5662597", "0.55575943", "0.54823035", "0.54531074", "0.5442859", "0.5423085", "0.53960425", "0.5307821", "0.5299047", "0.5295686", "0.5277207", "0.52676237", "0.5214488", "0.5210085", "0.51514876", "0.50250447", "0.50002515", "0.49885276", "0.49885276", "0.4972565", "0.49647853", "0.4924002", "0.4918133", "0.4915886", "0.49046743", "0.4891276", "0.48611394", "0.47914886", "0.47467023", "0.47426575", "0.4722443", "0.4708672", "0.46815205", "0.46770313", "0.46768573", "0.4670191", "0.46679905", "0.4662695", "0.46601295", "0.46491593", "0.46426708", "0.46368515", "0.4630443", "0.46125478", "0.46012986", "0.45809472", "0.45752433", "0.45706815", "0.4567334" ]
0.6910981
49
Set the endpoint address for the specified port name.
public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { if ("PersonController".equals(portName)) { setPersonControllerEndpointAddress(address); } else { // Unknown Port Name throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"dipp\".equals(portName)) {\n setdippEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"webservice_vasmanHttpPort\".equals(portName)) {\r\n setwebservice_vasmanHttpPortEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"JobSubmission2SOAP11port_http\".equals(portName)) {\n setJobSubmission2SOAP11port_httpEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"UploaderPort\".equals(portName)) {\n setUploaderPortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"OutboundServiceSessionEJBBeanServicePort\".equals(portName)) {\n setOutboundServiceSessionEJBBeanServicePortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n\n\t\tif (\"UDPService\".equals(portName)) {\n\t\t\tsetUDPServiceEndpointAddress(address);\n\t\t}\n\t\telse \n\t\t{ // Unknown Port Name\n\t\t\tthrow new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n\t\t}\n\t}", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"UGSRuntimeServiceXfireImplHttpPort\".equals(portName)) {\n setUGSRuntimeServiceXfireImplHttpPortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"EmpleadoServiciolmpl\".equals(portName)) {\r\n setEmpleadoServiciolmplEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"FeeCreateSOAP\".equals(portName)) {\n setFeeCreateSOAPEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"CenterServerImplPort\".equals(portName)) {\n setCenterServerImplPortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"NFEServices\".equals(portName)) {\n setNFEServicesEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"WSEmisionAgricolaPort\".equals(portName)) {\r\n setWSEmisionAgricolaPortEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"msgserviceHttpSoap11Endpoint\".equals(portName)) {\n setmsgserviceHttpSoap11EndpointEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"RemoteFacadeCfc\".equals(portName)) {\r\n setRemoteFacadeCfcEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"SliderSvcPort\".equals(portName)) {\n setSliderSvcPortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n\n\t\tif (\"LinkIacWSSoap\".equals(portName)) {\n\t\t\tsetLinkIacWSSoapEndpointAddress(address);\n\t\t} else { // Unknown Port Name\n\t\t\tthrow new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n\t\t}\n\t}", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"PublishAPIServiceSoap\".equals(portName)) {\r\n setPublishAPIServiceSoapEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"WsUserServiceImpl\".equals(portName)) {\r\n setWsUserServiceImplEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"CancelIMSHuawei_pt\".equals(portName)) {\n setCancelIMSHuawei_ptEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"GarageSeller\".equals(portName)) {\n setGarageSellerEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"publicService\".equals(portName)) {\n setpublicServiceEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(QName portName, String address) throws ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"WSExtensionService\".equals(portName)) {\n setWSExtensionServiceEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n\t\tsetEndpointAddress(portName.getLocalPart(), address);\n\t}", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n\t\tsetEndpointAddress(portName.getLocalPart(), address);\n\t}", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"OrderProcessingService\".equals(portName)) {\n setOrderProcessingServiceEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(String portName, String address) throws ServiceException {\n\n if (\"SDKService\".equals(portName)) {\n setSDKServiceEndpointAddress(address);\n }\n else\n { // Unknown Port Name\n throw new ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "void setServicePort( int p );", "public void setPort(int port);", "public void setPort(int port);", "public void setPort(int port) throws SipParseException {\n\tif (LogWriter.needsLogging(LogWriter.TRACE_DEBUG))\n\t LogWriter.logMessage(LogWriter.TRACE_DEBUG,\"setPort()\" + port);\n Via via=(Via)sipHeader;\n \n if (port <= 0)\n throw new SipParseException\n (\"port is not accepted by implementation\");\n via.setPort(port);\n }", "public void setPort(int p_port) throws MalformedURIException {\n if (p_port >= 0 && p_port <= 65535) {\n if (m_host == null) {\n throw new MalformedURIException(\n \"Port cannot be set when host is null!\");\n }\n }\n else if (p_port != -1) {\n throw new MalformedURIException(\"Invalid port number!\");\n }\n m_port = p_port;\n }", "public void setPort(final String port){\n this.port=port;\n }", "public void setPort(int a_port)\n\t{\n\t\tif (!isValidPort(a_port))\n\t\t{\n\t\t\tm_iInetPort = -1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tm_iInetPort = a_port;\n\t\t}\n\t}", "Builder setPort(String port);", "public void setPort(String port) {\r\n this.port = port;\r\n }", "public void setPort(int port) {\r\n this.port = port;\r\n }", "final public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n m_Port = port;\n }", "public void setPort (int port) {\n this.port = port;\n }", "public void setPortName(String portName){\n\t\tthis.portName = portName;\n\t}", "public void port (int port) {\n this.port = port;\n }", "public void setPort(final int p) {\n this.port = p;\n }", "public void setPort(final int p) {\n this.port = p;\n }", "public void setPort(int port) {\r\n\t\tthis.port = port;\r\n\t}", "public void setPort(int port) {\r\n\t\tthis.port = port;\r\n\t}", "public void setPort(int port) {\n\t\tthis.port = port;\n\t}", "public void setPort(int port) {\n\t\tthis.port = port;\n\t}", "public void setPort(int p) {\n\t\tport = p;\n\t}", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(int value) {\n this.port = value;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public static void setPort(int port){\n catalogue.port = port;\n }", "@Override\n\tpublic void setPort(Integer port) {\n\t\tthis.port=port;\n\t}", "public Builder setPort(\n\t\t\t\t\t\tjava.lang.String value) {\n\t\t\t\t\tif (value == null) {\n\t\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t\t}\n\n\t\t\t\t\tport_ = value;\n\t\t\t\t\tonChanged();\n\t\t\t\t\treturn this;\n\t\t\t\t}", "private void setEndpoint(Node node, DescriptorEndpointInfo ep) {\n NamedNodeMap map = node.getAttributes();\n\n String epname = map.getNamedItem(\"endpoint-name\").getNodeValue();\n String sername = map.getNamedItem(\"service-name\").getNodeValue();\n String intername = map.getNamedItem(\"interface-name\").getNodeValue();\n ep.setServiceName(new QName(getNamespace(sername), getLocalName(sername)));\n ep.setInterfaceName(new QName(getNamespace(intername), getLocalName(intername)));\n ep.setEndpointName(epname);\n }", "public void setPort(int port) {\n this.port = port;\n prefs.putInt(\"AEUnicastOutput.port\", port);\n }", "public Builder setPort(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n port_ = value;\n onChanged();\n return this;\n }", "public NodeEndPoint(final String hostName, final int port) {\n this(hostName, null, port);\n }", "public com.example.DNSLog.Builder setPort(int value) {\n validate(fields()[6], value);\n this.port = value;\n fieldSetFlags()[6] = true;\n return this;\n }", "public NodeEndPoint(final String hostName, final String ipAddress, final int port) {\n this.hostName = hostName != null ? hostName.trim() : null;\n this.ipAddress = ipAddress != null ? ipAddress.trim() : null;\n this.port = port;\n }", "public CertAuthHost setPort(int port)\n\t\t{\n\t\t\tif (this.started)\n\t\t\t\tthrow new IllegalStateException(\"Server already started!\");\n\t\t\tthis.port = port;\n\t\t\treturn this;\n\t\t}", "private void setPort(int value) {\n \n port_ = value;\n }", "private void setPort(int value) {\n \n port_ = value;\n }", "public static void setNameServer(InetAddress ip, int port){\n nameServer.setIp(ip);\n nameServer.setPort(port);\n }", "public HttpClient setPort(Env env, NumberValue port) {\n client.setPort(port.toInt());\n return this;\n }", "protected void bind(InetAddress host, int port) throws IOException {\n localport = port;\n }", "void setEndpointParameter(Endpoint endpoint, String name, Object value) throws RuntimeCamelException;" ]
[ "0.78732157", "0.78118926", "0.78112495", "0.7802455", "0.77946764", "0.7789421", "0.7785647", "0.7751615", "0.7748158", "0.7733781", "0.772398", "0.7692574", "0.768437", "0.76838076", "0.7666878", "0.76614916", "0.7626525", "0.76157874", "0.7588993", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7582448", "0.7580791", "0.7580791", "0.7580791", "0.7580791", "0.7580791", "0.7580791", "0.75773406", "0.7566974", "0.75646317", "0.755429", "0.7522616", "0.7522616", "0.7516387", "0.74976724", "0.70428187", "0.6884172", "0.6884172", "0.6821834", "0.6679648", "0.6674676", "0.6649355", "0.6639621", "0.6636976", "0.6579425", "0.65707815", "0.65499705", "0.65499705", "0.65499705", "0.65499705", "0.65499705", "0.65499705", "0.65468544", "0.6537403", "0.6532822", "0.6517154", "0.6512474", "0.6492474", "0.6481929", "0.6481929", "0.6423531", "0.6423531", "0.64139515", "0.6410558", "0.64087677", "0.6366317", "0.63626724", "0.63626724", "0.63626724", "0.63626724", "0.6338442", "0.62681276", "0.6240527", "0.6221537", "0.6218636", "0.6179662", "0.61458087", "0.6128425", "0.60076624", "0.6002589", "0.6002089", "0.6002089", "0.60001534", "0.5969825", "0.5960888", "0.5939343" ]
0.77317995
10
Set the endpoint address for the specified port name.
public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { setEndpointAddress(portName.getLocalPart(), address); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"dipp\".equals(portName)) {\n setdippEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"webservice_vasmanHttpPort\".equals(portName)) {\r\n setwebservice_vasmanHttpPortEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"JobSubmission2SOAP11port_http\".equals(portName)) {\n setJobSubmission2SOAP11port_httpEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"UploaderPort\".equals(portName)) {\n setUploaderPortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"OutboundServiceSessionEJBBeanServicePort\".equals(portName)) {\n setOutboundServiceSessionEJBBeanServicePortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n\n\t\tif (\"UDPService\".equals(portName)) {\n\t\t\tsetUDPServiceEndpointAddress(address);\n\t\t}\n\t\telse \n\t\t{ // Unknown Port Name\n\t\t\tthrow new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n\t\t}\n\t}", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"UGSRuntimeServiceXfireImplHttpPort\".equals(portName)) {\n setUGSRuntimeServiceXfireImplHttpPortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"EmpleadoServiciolmpl\".equals(portName)) {\r\n setEmpleadoServiciolmplEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"FeeCreateSOAP\".equals(portName)) {\n setFeeCreateSOAPEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"CenterServerImplPort\".equals(portName)) {\n setCenterServerImplPortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"PersonController\".equals(portName)) {\n setPersonControllerEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"NFEServices\".equals(portName)) {\n setNFEServicesEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"WSEmisionAgricolaPort\".equals(portName)) {\r\n setWSEmisionAgricolaPortEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"msgserviceHttpSoap11Endpoint\".equals(portName)) {\n setmsgserviceHttpSoap11EndpointEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"RemoteFacadeCfc\".equals(portName)) {\r\n setRemoteFacadeCfcEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"SliderSvcPort\".equals(portName)) {\n setSliderSvcPortEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n\n\t\tif (\"LinkIacWSSoap\".equals(portName)) {\n\t\t\tsetLinkIacWSSoapEndpointAddress(address);\n\t\t} else { // Unknown Port Name\n\t\t\tthrow new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n\t\t}\n\t}", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"PublishAPIServiceSoap\".equals(portName)) {\r\n setPublishAPIServiceSoapEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n \r\nif (\"WsUserServiceImpl\".equals(portName)) {\r\n setWsUserServiceImplEndpointAddress(address);\r\n }\r\n else \r\n{ // Unknown Port Name\r\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\r\n }\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"CancelIMSHuawei_pt\".equals(portName)) {\n setCancelIMSHuawei_ptEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\r\n setEndpointAddress(portName.getLocalPart(), address);\r\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"GarageSeller\".equals(portName)) {\n setGarageSellerEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"publicService\".equals(portName)) {\n setpublicServiceEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(QName portName, String address) throws ServiceException {\n setEndpointAddress(portName.getLocalPart(), address);\n }", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"WSExtensionService\".equals(portName)) {\n setWSExtensionServiceEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n\t\tsetEndpointAddress(portName.getLocalPart(), address);\n\t}", "public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n\t\tsetEndpointAddress(portName.getLocalPart(), address);\n\t}", "public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {\n \nif (\"OrderProcessingService\".equals(portName)) {\n setOrderProcessingServiceEndpointAddress(address);\n }\n else \n{ // Unknown Port Name\n throw new javax.xml.rpc.ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "public void setEndpointAddress(String portName, String address) throws ServiceException {\n\n if (\"SDKService\".equals(portName)) {\n setSDKServiceEndpointAddress(address);\n }\n else\n { // Unknown Port Name\n throw new ServiceException(\" Cannot set Endpoint Address for Unknown Port\" + portName);\n }\n }", "void setServicePort( int p );", "public void setPort(int port);", "public void setPort(int port);", "public void setPort(int port) throws SipParseException {\n\tif (LogWriter.needsLogging(LogWriter.TRACE_DEBUG))\n\t LogWriter.logMessage(LogWriter.TRACE_DEBUG,\"setPort()\" + port);\n Via via=(Via)sipHeader;\n \n if (port <= 0)\n throw new SipParseException\n (\"port is not accepted by implementation\");\n via.setPort(port);\n }", "public void setPort(int p_port) throws MalformedURIException {\n if (p_port >= 0 && p_port <= 65535) {\n if (m_host == null) {\n throw new MalformedURIException(\n \"Port cannot be set when host is null!\");\n }\n }\n else if (p_port != -1) {\n throw new MalformedURIException(\"Invalid port number!\");\n }\n m_port = p_port;\n }", "public void setPort(final String port){\n this.port=port;\n }", "public void setPort(int a_port)\n\t{\n\t\tif (!isValidPort(a_port))\n\t\t{\n\t\t\tm_iInetPort = -1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tm_iInetPort = a_port;\n\t\t}\n\t}", "Builder setPort(String port);", "public void setPort(String port) {\r\n this.port = port;\r\n }", "public void setPort(int port) {\r\n this.port = port;\r\n }", "final public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n this.port = port;\n }", "public void setPort(int port) {\n m_Port = port;\n }", "public void setPort (int port) {\n this.port = port;\n }", "public void setPortName(String portName){\n\t\tthis.portName = portName;\n\t}", "public void port (int port) {\n this.port = port;\n }", "public void setPort(final int p) {\n this.port = p;\n }", "public void setPort(final int p) {\n this.port = p;\n }", "public void setPort(int port) {\r\n\t\tthis.port = port;\r\n\t}", "public void setPort(int port) {\r\n\t\tthis.port = port;\r\n\t}", "public void setPort(int port) {\n\t\tthis.port = port;\n\t}", "public void setPort(int port) {\n\t\tthis.port = port;\n\t}", "public void setPort(int p) {\n\t\tport = p;\n\t}", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(int value) {\n this.port = value;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public void setPort(Integer port) {\n this.port = port;\n }", "public static void setPort(int port){\n catalogue.port = port;\n }", "@Override\n\tpublic void setPort(Integer port) {\n\t\tthis.port=port;\n\t}", "public Builder setPort(\n\t\t\t\t\t\tjava.lang.String value) {\n\t\t\t\t\tif (value == null) {\n\t\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t\t}\n\n\t\t\t\t\tport_ = value;\n\t\t\t\t\tonChanged();\n\t\t\t\t\treturn this;\n\t\t\t\t}", "private void setEndpoint(Node node, DescriptorEndpointInfo ep) {\n NamedNodeMap map = node.getAttributes();\n\n String epname = map.getNamedItem(\"endpoint-name\").getNodeValue();\n String sername = map.getNamedItem(\"service-name\").getNodeValue();\n String intername = map.getNamedItem(\"interface-name\").getNodeValue();\n ep.setServiceName(new QName(getNamespace(sername), getLocalName(sername)));\n ep.setInterfaceName(new QName(getNamespace(intername), getLocalName(intername)));\n ep.setEndpointName(epname);\n }", "public void setPort(int port) {\n this.port = port;\n prefs.putInt(\"AEUnicastOutput.port\", port);\n }", "public Builder setPort(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n port_ = value;\n onChanged();\n return this;\n }", "public NodeEndPoint(final String hostName, final int port) {\n this(hostName, null, port);\n }", "public com.example.DNSLog.Builder setPort(int value) {\n validate(fields()[6], value);\n this.port = value;\n fieldSetFlags()[6] = true;\n return this;\n }", "public NodeEndPoint(final String hostName, final String ipAddress, final int port) {\n this.hostName = hostName != null ? hostName.trim() : null;\n this.ipAddress = ipAddress != null ? ipAddress.trim() : null;\n this.port = port;\n }", "private void setPort(int value) {\n \n port_ = value;\n }", "private void setPort(int value) {\n \n port_ = value;\n }", "public CertAuthHost setPort(int port)\n\t\t{\n\t\t\tif (this.started)\n\t\t\t\tthrow new IllegalStateException(\"Server already started!\");\n\t\t\tthis.port = port;\n\t\t\treturn this;\n\t\t}", "public static void setNameServer(InetAddress ip, int port){\n nameServer.setIp(ip);\n nameServer.setPort(port);\n }", "public HttpClient setPort(Env env, NumberValue port) {\n client.setPort(port.toInt());\n return this;\n }", "protected void bind(InetAddress host, int port) throws IOException {\n localport = port;\n }", "void setEndpointParameter(Endpoint endpoint, String name, Object value) throws RuntimeCamelException;" ]
[ "0.7872648", "0.7811475", "0.7810562", "0.78015995", "0.7794188", "0.7789011", "0.77854115", "0.77507627", "0.7747865", "0.7733018", "0.7730949", "0.77233076", "0.7691807", "0.7684056", "0.7683615", "0.7666428", "0.7660855", "0.7626567", "0.76153535", "0.75877374", "0.75799686", "0.75799686", "0.75799686", "0.75799686", "0.75799686", "0.75799686", "0.75763655", "0.75668013", "0.756424", "0.7553976", "0.7521821", "0.7521821", "0.7516052", "0.7497088", "0.704153", "0.6881875", "0.6881875", "0.6818587", "0.66771495", "0.6671162", "0.66462964", "0.66378194", "0.663358", "0.6576104", "0.65673923", "0.6546614", "0.6546614", "0.6546614", "0.6546614", "0.6546614", "0.6546614", "0.6543242", "0.65339607", "0.65300506", "0.65140975", "0.65101004", "0.6490214", "0.647848", "0.647848", "0.6419942", "0.6419942", "0.64115554", "0.6407247", "0.6406602", "0.63628703", "0.635926", "0.635926", "0.635926", "0.635926", "0.6335205", "0.62646234", "0.6238678", "0.622228", "0.6215361", "0.6177991", "0.6145236", "0.61265445", "0.6007343", "0.60003334", "0.60003334", "0.5999838", "0.5998211", "0.5968211", "0.59591407", "0.594134" ]
0.7581609
35
$ANTLR end "T__13" $ANTLR start "T__14"
public final void mT__14() throws RecognitionException { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:12:7: ( '{' ) // InternalDSL.g:12:9: '{' { match('{'); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "private String tokenToGrammar(Token v) {\n\n if(v.getChVals().equals(\"$\")){\n return \"$\";\n }\n\n String type = v.getType();\n\n if(type.equals(\"keyword\")) {\n type = v.getChVals();\n }\n\n switch (type) {\n case \"begin\":\n return \"b\";\n case \"halt\":\n return \"t\";\n case \"cat\":\n return \"c\";\n case \"mouse\":\n return \"m\";\n case \"clockwise\":\n return \"l\";\n case \"move\":\n return \"o\";\n case \"north\":\n return \"n\";\n case \"south\":\n return \"s\";\n case \"east\":\n return \"e\";\n case \"west\":\n return \"w\";\n case \"hole\":\n return \"h\";\n case \"repeat\":\n return \"r\";\n case \"size\":\n return \"z\";\n case \"end\":\n return \"d\";\n case \"integer\":\n return \"i\";\n case \"variable\":\n return \"v\";\n default:\n return type;\n }\n }", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "public final void mT__14() throws RecognitionException {\n try {\n int _type = T__14;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:14:7: ( 'source: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:14:9: 'source: '\n {\n match(\"source: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface MetaVisitor\n{\n void atomicType(SequenceType node, QName name, SequenceType baseType);\n\n void atomicUrType(SequenceType node);\n\n void attributeType(SequenceType node, QName name, SequenceType type);\n\n void choiceType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void commentType(SequenceType node);\n\n void complexType(SequenceType node, QName name, SequenceType baseType);\n\n void complexUrType(SequenceType node);\n\n void concatType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void documentType(SequenceType node, SequenceType contentType);\n\n void elementType(SequenceType node, QName name, SequenceType type, boolean nillable);\n\n void emptyType(SequenceType node);\n\n void interleaveType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void multiplyType(SequenceType node, SequenceType argument, Quantifier multiplier);\n\n void namespaceType(SequenceType node);\n\n void noneType(SequenceType node);\n\n void processingInstructionType(SequenceType node, String name);\n\n void schemaAttributeType(SequenceType node, QName name);\n\n void schemaElementType(SequenceType type, QName name);\n\n void simpleUrType(SequenceType node);\n\n void textType(SequenceType node);\n}", "public final void mT__14() throws RecognitionException {\n try {\n int _type = T__14;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:7:7: ( ')' )\n // metamorph.runtime/src/antlr/Ast.g:7:9: ')'\n {\n match(')'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "Token next();", "public R visit(MoveStmt n) {\n R _ret=null;\n simple_exp=0;\n // System.out.print(\"MOVE \");\n String s0 = (String)n.f0.accept(this);\n String s1 = (String)n.f1.accept(this);\n String s = new String();\n s=(\"MOVE \"+s1+\" \");\n simple_exp=0;\n String s2 = (String)n.f2.accept(this);\n s=s+(s2+\" \");\n return (R)s;\n }", "@Test(timeout = 4000)\n public void test137() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(2, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifier();\n assertEquals(\"E\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(7, token2.getTokenType());\n assertEquals(\"<\", token2.getTokenText());\n }", "public interface Expression {\n \n enum ExpressivoGrammar {ROOT, SUM, PRODUCT, TOKEN, PRIMITIVE_1, PRIMITIVE_2, \n NUMBER, INT, DECIMAL, WHITESPACE, VARIABLE};\n \n public static Expression buildAST(ParseTree<ExpressivoGrammar> concreteSymbolTree) {\n \n if (concreteSymbolTree.getName() == ExpressivoGrammar.DECIMAL) {\n /* reached a double terminal */\n return new Num(Double.parseDouble(concreteSymbolTree.getContents())); \n }\n\n else if (concreteSymbolTree.getName() == ExpressivoGrammar.INT) {\n /* reached an int terminal */\n return new Num(Integer.parseInt(concreteSymbolTree.getContents()));\n }\n \n else if (concreteSymbolTree.getName() == ExpressivoGrammar.VARIABLE) {\n /* reached a terminal */\n return new Var(concreteSymbolTree.getContents());\n }\n \n else if (concreteSymbolTree.getName() == ExpressivoGrammar.ROOT || \n concreteSymbolTree.getName() == ExpressivoGrammar.TOKEN || \n concreteSymbolTree.getName() == ExpressivoGrammar.PRIMITIVE_1 || \n concreteSymbolTree.getName() == ExpressivoGrammar.PRIMITIVE_2 || \n concreteSymbolTree.getName() == ExpressivoGrammar.NUMBER) {\n \n /* non-terminals with only one child */\n for (ParseTree<ExpressivoGrammar> child: concreteSymbolTree.children()) {\n if (child.getName() != ExpressivoGrammar.WHITESPACE) \n return buildAST(child);\n }\n \n // should never reach here\n throw new IllegalArgumentException(\"error in parsing\");\n }\n \n else if (concreteSymbolTree.getName() == ExpressivoGrammar.SUM || concreteSymbolTree.getName() == ExpressivoGrammar.PRODUCT) {\n /* a sum or product node can have one or more children that need to be accumulated together */\n return accumulator(concreteSymbolTree, concreteSymbolTree.getName()); \n }\n \n else {\n throw new IllegalArgumentException(\"error in input: should never reach here\");\n }\n \n }\n \n /**\n * (1) Create parser using lib6005.parser from grammar file\n * (2) Parse string input into CST\n * (3) Build AST from this CST using buildAST()\n * @param input\n * @return Expression (AST)\n */\n public static Expression parse(String input) {\n \n try {\n Parser<ExpressivoGrammar> parser = GrammarCompiler.compile(\n new File(\"src/expressivo/Expression.g\"), ExpressivoGrammar.ROOT);\n ParseTree<ExpressivoGrammar> concreteSymbolTree = parser.parse(input);\n \n// tree.display();\n \n return buildAST(concreteSymbolTree);\n \n }\n \n catch (UnableToParseException e) {\n throw new IllegalArgumentException(\"Can't parse the expression...\");\n }\n catch (IOException e) {\n System.out.println(\"Cannot open file Expression.g\");\n throw new RuntimeException(\"Can't open the file with grammar...\");\n }\n }\n \n // helper methods\n public static Expression accumulator(ParseTree<ExpressivoGrammar> tree, ExpressivoGrammar grammarObj) {\n Expression expr = null;\n boolean first = true;\n List<ParseTree<ExpressivoGrammar>> children = tree.children();\n int len = children.size();\n for (int i = len-1; i >= 0; i--) {\n /* the first child */\n ParseTree<ExpressivoGrammar> child = children.get(i);\n if (first) {\n expr = buildAST(child);\n first = false;\n }\n \n /* accumulate this by creating a new binaryOp object with\n * expr as the leftOp and the result as rightOp\n **/\n \n else if (child.getName() == ExpressivoGrammar.WHITESPACE) continue;\n else {\n if (grammarObj == ExpressivoGrammar.SUM)\n expr = new Sum(buildAST(child), expr);\n else\n expr = new Product(buildAST(child), expr);\n }\n }\n \n return expr;\n \n }\n \n // ----------------- problems 3-4 -----------------\n \n public static Expression create(Expression leftExpr, Expression rightExpr, char op) {\n if (op == '+')\n return Sum.createSum(leftExpr, rightExpr);\n else\n return Product.createProduct(leftExpr, rightExpr);\n }\n\n public Expression differentiate(Var x);\n \n public Expression simplify(Map<String, Double> env);\n\n}", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public final void mT__14() throws RecognitionException {\n try {\n int _type = T__14;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:12:7: ( ';' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:12:9: ';'\n {\n match(';'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "@Override\n\tpublic void visit(Parenthesis arg0) {\n\t\t\n\t}", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "public void toGrammar() {\n System.out.println(\"<binary_expression> -> <arithmeitc_expression> <arithmetic_op> <arithmetic_expression>\");\n left.toGrammar();\n operator.toGrammar();\n right.toGrammar();\n prefix();\n }", "public final void mT14() throws RecognitionException {\n try {\n int _type = T14;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:12:5: ( ',' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:12:7: ','\n {\n match(','); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "@Override ASTSeq parse_impl(Exec E) {\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `from` argument.\");\n _from = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `from` expected to be a number.\");\n }\n // Get the to\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `to` argument.\");\n _to = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `to` expected to be a number.\");\n }\n // Get the by\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `by` argument.\");\n _by = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `by` expected to be a number.\");\n }\n\n if( _from >= _to ) throw new IllegalArgumentException(\"`from` >= `to`: \" + _from + \">=\" + _to);\n if( _by <= 0 ) throw new IllegalArgumentException(\"`by` must be >0: \" + _by + \" <=0\");\n\n E.eatEnd(); // eat the ending ')'\n // Finish the rest\n ASTSeq res = (ASTSeq) clone();\n res._asts = new AST[]{}; // in reverse order so they appear correctly on the stack.\n return res;\n }", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "@Test(timeout = 4000)\n public void test013() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.getPreviousToken();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(18, token0.getTokenType());\n }", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "AstroArg unpack(Astro litChars);", "@Override\n public Object visit(PhraseExpr node) {\n node.setExprType(SemanticTools.PHRASE);\n this.currentPhraseExpr = node;\n if (node.getInstrument() != null) {\n node.getInstrument().accept(this);\n if (!node.getInstrument().getExprType().equals(SemanticTools.STRING)) {\n errorHandler.register(\n errorHandler.SEMANT_ERROR,\n root.getScore().getFilename(),\n node.getLineNum(),\n \"Instrument must be a String\"\n );\n } else {\n if (!SemanticTools.isValidInstrument(\n ((ConstStringExpr) node.getInstrument()).getConstant())\n ) {\n errorHandler.register(\n errorHandler.SEMANT_ERROR,\n root.getScore().getFilename(),\n node.getLineNum(),\n \"Instrument must be of types: \" + SemanticTools.instruments\n );\n }\n }\n } else {\n // default value\n node.setInstrument(new ConstStringExpr(node.getLineNum(), \"piano\"));\n }\n if (node.getOctaveModifier() != null) {\n node.getOctaveModifier().accept(this);\n if (!node.getOctaveModifier().getExprType().equals(SemanticTools.INT)) {\n errorHandler.register(\n errorHandler.SEMANT_ERROR,\n root.getScore().getFilename(),\n node.getLineNum(),\n \"Octave modifiers must be of type \" + SemanticTools.INT\n );\n } else {\n int octave = Integer.parseInt(\n ((ConstIntExpr) node.getOctaveModifier()).getConstant()\n );\n\n if (octave > SemanticTools.MAX_OCT || octave < SemanticTools.MIN_OCT) {\n errorHandler.register(\n errorHandler.SEMANT_ERROR,\n root.getScore().getFilename(),\n node.getLineNum(),\n \"Octave modifiers must be within the range \"\n + SemanticTools.MIN_OCT + \" to \"\n + SemanticTools.MAX_OCT\n );\n }\n }\n } else {\n // default value\n node.setOctaveModifier(new ConstIntExpr(node.getLineNum(), \"0\"));\n }\n if (node.getVolume() != null) {\n node.getVolume().accept(this);\n if (!node.getVolume().getExprType().equals(SemanticTools.INT)) {\n errorHandler.register(\n errorHandler.SEMANT_ERROR,\n root.getScore().getFilename(),\n node.getLineNum(),\n \"Volume must be of type \" + SemanticTools.INT\n );\n } else {\n int vol = Integer.parseInt(\n ((ConstIntExpr) node.getVolume()).getConstant()\n );\n\n if (vol > 127 || vol < 0) {\n errorHandler.register(\n errorHandler.SEMANT_ERROR,\n root.getScore().getFilename(),\n node.getLineNum(),\n \"Volume must be in range 0-127\"\n );\n }\n }\n } else {\n //default value\n node.setVolume(new ConstIntExpr(node.getLineNum(), \"127\"));\n }\n node.getMeasureList().accept(this);\n return null;\n }", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int INT = 6;\n /** RegularExpression Id. */\n int REAL = 7;\n /** RegularExpression Id. */\n int BOOL = 8;\n /** RegularExpression Id. */\n int LIST = 9;\n /** RegularExpression Id. */\n int STR = 10;\n /** RegularExpression Id. */\n int CARACT = 11;\n /** RegularExpression Id. */\n int SE = 12;\n /** RegularExpression Id. */\n int SENAO = 13;\n /** RegularExpression Id. */\n int SENAOSE = 14;\n /** RegularExpression Id. */\n int ENQUANTO = 15;\n /** RegularExpression Id. */\n int PARA = 16;\n /** RegularExpression Id. */\n int VERDADEIRO = 17;\n /** RegularExpression Id. */\n int FALSO = 18;\n /** RegularExpression Id. */\n int IMPRIMIR = 19;\n /** RegularExpression Id. */\n int MAIS = 20;\n /** RegularExpression Id. */\n int MENOS = 21;\n /** RegularExpression Id. */\n int MULTIPLICAR = 22;\n /** RegularExpression Id. */\n int DIVIDIR = 23;\n /** RegularExpression Id. */\n int ATRIBUICAO = 24;\n /** RegularExpression Id. */\n int MAIOR = 25;\n /** RegularExpression Id. */\n int MENOR = 26;\n /** RegularExpression Id. */\n int MAIOR_IGUAL = 27;\n /** RegularExpression Id. */\n int MENOR_IGUAL = 28;\n /** RegularExpression Id. */\n int IGUAL = 29;\n /** RegularExpression Id. */\n int DIFERENTE = 30;\n /** RegularExpression Id. */\n int ABRE_PARENTESES = 31;\n /** RegularExpression Id. */\n int FECHA_PARENTESES = 32;\n /** RegularExpression Id. */\n int ABRE_CHAVES = 33;\n /** RegularExpression Id. */\n int FECHA_CHAVES = 34;\n /** RegularExpression Id. */\n int ABRE_COLCHETE = 35;\n /** RegularExpression Id. */\n int FECHA_COLCHETE = 36;\n /** RegularExpression Id. */\n int PONTO_VIRGULA = 37;\n /** RegularExpression Id. */\n int VIRGULA = 38;\n /** RegularExpression Id. */\n int PONTO = 39;\n /** RegularExpression Id. */\n int CONSTANTE_INT = 40;\n /** RegularExpression Id. */\n int CONSTANTE_REAL = 41;\n /** RegularExpression Id. */\n int DIGITO = 42;\n /** RegularExpression Id. */\n int VARIAVEL = 43;\n /** RegularExpression Id. */\n int CARACTERE = 44;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"INT\\\"\",\n \"\\\"REAL\\\"\",\n \"\\\"BOOL\\\"\",\n \"\\\"LIST\\\"\",\n \"\\\"STR\\\"\",\n \"\\\"CARACT\\\"\",\n \"\\\"SE\\\"\",\n \"\\\"SENAO\\\"\",\n \"\\\"SENAOSE\\\"\",\n \"\\\"ENQUANTO\\\"\",\n \"\\\"PARA\\\"\",\n \"\\\"VERDADEIRO\\\"\",\n \"\\\"FALSO\\\"\",\n \"\\\"IMPRIMIR\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\" >=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CONSTANTE_INT>\",\n \"<CONSTANTE_REAL>\",\n \"<DIGITO>\",\n \"<VARIAVEL>\",\n \"<CARACTERE>\",\n };\n\n}", "public final void mT__14() throws RecognitionException {\n try {\n int _type = T__14;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:12:7: ( '||' )\n // InternalSpeADL.g:12:9: '||'\n {\n match(\"||\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "@Override\n\tpublic void visit(Parenthesis arg0) {\n\n\t}", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "IGrammarComp getGrammar();", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t// Scanner scanner = new Scanner(System.in);\r\n\t\t\t//Grammar grammar = new Grammar(\"(i * i) * (i + i) - i\");\r\n\t\t\tGrammar grammar = new Grammar(\"i + i * i\");\r\n\t\t\tgrammar.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tgrammar.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tgrammar.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tgrammar.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tgrammar.addTerminal(\"DIVIDE\", TokenType.OPERATOR,\r\n\t\t\t\t\tOperatorType.DIVIDE);\r\n\t\t\tgrammar.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tgrammar.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tgrammar.setEpsilonName(\"epsilon\");\r\n\t\t\tString[] nons = new String[] {\r\n\t\t\t\t\t\"E\", \"E1\", \"T\", \"T1\", \"F\", \"A\", \"M\"\r\n\t\t\t};\r\n\t\t\tfor (String non : nons){\r\n\t\t\t\tgrammar.addNonTerminal(non);\r\n\t\t\t}\r\n\t\t\tgrammar.infer(\"E -> T E1\");\r\n\t\t\tgrammar.infer(\"E1 -> A T E1 | @epsilon\");\r\n\t\t\tgrammar.infer(\"T -> F T1\");\r\n\t\t\tgrammar.infer(\"T1 -> M F T1 | @epsilon\");\r\n\t\t\tgrammar.infer(\"F -> @LPA E @RPA | @SYMBOL\");\r\n\t\t\tgrammar.infer(\"A -> @PLUS | @MINUS\");\r\n\t\t\tgrammar.infer(\"M -> @TIMES | @DIVIDE\");\r\n\t\t\tgrammar.initialize(\"E\");\r\n\t\t\tSystem.out.println(grammar.toString());\r\n\t\t\tSystem.out.println(grammar.getPredictionString());\r\n\t\t\tgrammar.run();\r\n\t\t\tSystem.out.println(grammar.getTokenString());\r\n\t\t\t// scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \"\r\n\t\t\t\t\t+ e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (GrammarException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \"\r\n\t\t\t\t\t+ e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "E13Rule createE13Rule();", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "@Test(timeout = 4000)\n public void test138() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.plus();\n assertEquals(5, token0.getTokenType());\n assertEquals(\":\", token0.getTokenText());\n \n Token token1 = xPathLexer0.pipe();\n assertEquals(\"E\", token1.getTokenText());\n assertEquals(17, token1.getTokenType());\n \n Token token2 = xPathLexer0.not();\n assertEquals(23, token2.getTokenType());\n assertEquals(\"<\", token2.getTokenText());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(\";\", token3.getTokenText());\n }", "public final void mT__14() throws RecognitionException {\n try {\n int _type = T__14;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:12:7: ( ';' )\n // InternalMyDsl.g:12:9: ';'\n {\n match(';'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "public Snippet visit(DotNext n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this, argu);\n\t // return new Snippet(\"\", _ret.returnTemp+\".next()\", new X10Place(), false);\n\t return new Snippet(\"\", \"0\", new X10Place(), false);\n\t }", "private MultiRecognizerGrammarMatch(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public static void main(String[] args) {\n\t\t\n//\t\t//PA4 a\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"S\");rhs11.add(\"a\");\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"b\");\t\t\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\n//\t\tRule r1 = new Rule(\"S\", rhs1); // S -> Aa | b\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\t\t\n//\t\t//PA4 b\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"S\");rhs11.add(\"a\");rhs11.add(\"b\");\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"c\");rhs12.add(\"d\");\t\t\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\n//\t\tRule r1 = new Rule(\"S\", rhs1); // S -> Aa | b\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\t\t\n//\t\t//PA4 c\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"S\");rhs11.add(\"U\");rhs11.add(\"S\");\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"S\");rhs12.add(\"S\");\t\t\n//\t\tArrayList<String> rhs13 = new ArrayList<>();\n//\t\trhs13.add(\"S\");rhs13.add(\"*\");\n//\t\tArrayList<String> rhs14 = new ArrayList<>();\n//\t\trhs14.add(\"(\");rhs14.add(\"S\");rhs14.add(\")\");\n//\t\tArrayList<String> rhs15 = new ArrayList<>();\n//\t\trhs15.add(\"a\");\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\t\trhs1.add(rhs13);\n//\t\trhs1.add(rhs14);\n//\t\trhs1.add(rhs15);\n//\n//\n//\t\tRule r1 = new Rule(\"S\", rhs1); // S -> Aa | b\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\t\t\n\t\t\n//\t\t//PA-3 d\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"rexpr\");rhs11.add(\"U\");rhs11.add(\"rterm\");\t\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"rterm\");\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\t\tRule r1 = new Rule(\"rexpr\", rhs1);\n//\n//\t\tArrayList<ArrayList<String>> rhs2 = new ArrayList<>();\n//\t\tArrayList<String> rhs21 = new ArrayList<>();\n//\t\trhs21.add(\"rterm\");rhs21.add(\"r factor\");\n//\t\tArrayList<String> rhs22 = new ArrayList<>();\n//\t\trhs22.add(\"r factor\");\n//\t\trhs2.add(rhs21);\n//\t\trhs2.add(rhs22);\n//\t\tRule r2 = new Rule(\"rterm\", rhs2);\n//\n//\t\tArrayList<ArrayList<String>> rhs3 = new ArrayList<>();\n//\t\tArrayList<String> rhs31 = new ArrayList<>();\n//\t\trhs31.add(\"r factor\");rhs31.add(\"*\");\n//\t\tArrayList<String> rhs32 = new ArrayList<>();\n//\t\trhs32.add(\"rprimary\");\n//\t\trhs3.add(rhs31);\n//\t\trhs3.add(rhs32);\n//\t\tRule r3 = new Rule(\"r factor\", rhs3);\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs4 = new ArrayList<>();\n//\t\tArrayList<String> rhs41 = new ArrayList<>();\n//\t\trhs41.add(\"a\");\n//\t\tArrayList<String> rhs42 = new ArrayList<>();\n//\t\trhs42.add(\"b\");\n//\t\trhs4.add(rhs41);\n//\t\trhs4.add(rhs42);\n//\t\tRule r4 = new Rule(\"rprimary\", rhs4);\n//\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\trules.add(r2);\n//\t\trules.add(r3);\n//\t\trules.add(r4);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\t\n\t\t\t\n//\t\t//PA-3 e\t\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"0\");\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"T\");rhs12.add(\"1\");\t\t\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs2 = new ArrayList<>();\n//\t\tArrayList<String> rhs21 = new ArrayList<>();\n//\t\trhs21.add(\"1\");\n//\t\tArrayList<String> rhs22 = new ArrayList<>();\n//\t\trhs22.add(\"A\");rhs22.add(\"0\");\t\t\n//\t\trhs2.add(rhs21);\n//\t\trhs2.add(rhs22);\n//\n//\t\tRule r1 = new Rule(\"A\", rhs1);\n//\t\tRule r2 = new Rule(\"T\", rhs2);\n//\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\trules.add(r2);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\n\n\t\t\n//\t\t//PA-3 f\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"B\");rhs11.add(\"C\");\t\n//\t\trhs1.add(rhs11);\n//\t\tRule r1 = new Rule(\"A\", rhs1);\n//\n//\t\tArrayList<ArrayList<String>> rhs2 = new ArrayList<>();\n//\t\tArrayList<String> rhs21 = new ArrayList<>();\n//\t\trhs21.add(\"B\");rhs21.add(\"b\");\n//\t\tArrayList<String> rhs22 = new ArrayList<>();\n//\t\trhs22.add(\"e\");\n//\t\trhs2.add(rhs21);\n//\t\trhs2.add(rhs22);\n//\t\tRule r2 = new Rule(\"B\", rhs2);\n//\n//\t\tArrayList<ArrayList<String>> rhs3 = new ArrayList<>();\n//\t\tArrayList<String> rhs31 = new ArrayList<>();\n//\t\trhs31.add(\"A\");rhs31.add(\"C\");\n//\t\tArrayList<String> rhs32 = new ArrayList<>();\n//\t\trhs32.add(\"a\");\n//\t\trhs3.add(rhs31);\n//\t\trhs3.add(rhs32);\n//\t\tRule r3 = new Rule(\"C\", rhs3);\n//\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\trules.add(r2);\n//\t\trules.add(r3);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tSystem.out.println(g);\n//\t\tg.eliminateEpsilonRule();\n//\t\tSystem.out.println(g);\n//\n//\t\tg.eliminateLR();\n//\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\n\t}", "@Test(timeout = 4000)\n public void test151() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"9M4i+yR.T\");\n Token token0 = xPathLexer0.number();\n assertEquals(\"9\", token0.getTokenText());\n assertEquals(30, token0.getTokenType());\n \n Token token1 = xPathLexer0.dollar();\n assertEquals(26, token1.getTokenType());\n assertEquals(\"M\", token1.getTokenText());\n \n Token token2 = xPathLexer0.at();\n assertEquals(16, token2.getTokenType());\n assertEquals(\"4\", token2.getTokenText());\n \n Token token3 = xPathLexer0.not();\n assertEquals(\"i\", token3.getTokenText());\n assertEquals(23, token3.getTokenType());\n \n Token token4 = xPathLexer0.nextToken();\n assertEquals(\"+\", token4.getTokenText());\n assertEquals(5, token4.getTokenType());\n \n Token token5 = xPathLexer0.nextToken();\n assertEquals(\"yR.T\", token5.getTokenText());\n assertEquals(15, token5.getTokenType());\n }", "public static ParseAction<Located<Void>> parse4EqualsOrMore(){\n\t\treturn sequence(\n\t\t\t\tdrop(skipWhitespaceAndTLAComments()),\n\t\t\t\tdrop(matchPattern(TLA_4_EQUALS_OR_MORE))\n\t\t).map(seq -> new Located<>(seq.getLocation(), null));\n\t}", "boolean tokenCanEnd(Token token)\r\n {\r\n if (token == null)\r\n return false;\r\n int type = token.getType();\r\n switch (type) {\r\n \tcase MExprANTLRParserTokenTypes.NOT:\r\n \tcase MExprANTLRParserTokenTypes.NOTNOT:\r\n case MExprANTLRParserTokenTypes.RBRACE:\r\n case MExprANTLRParserTokenTypes.RBRACKET:\r\n case MExprANTLRParserTokenTypes.RPAREN:\r\n case MExprANTLRParserTokenTypes.INT: \r\n case MExprANTLRParserTokenTypes.REAL:\r\n case MExprANTLRParserTokenTypes.ID:\r\n case MExprANTLRParserTokenTypes.NULLID:\r\n case MExprANTLRParserTokenTypes.POSTFIXID:\r\n case MExprANTLRParserTokenTypes.STRING:\r\n case MExprANTLRParserTokenTypes.BLANK1:\r\n case MExprANTLRParserTokenTypes.IDBLANK1:\r\n case MExprANTLRParserTokenTypes.BLANKID1:\r\n case MExprANTLRParserTokenTypes.IDBLANKID1:\r\n case MExprANTLRParserTokenTypes.BLANK2:\r\n case MExprANTLRParserTokenTypes.IDBLANK2:\r\n case MExprANTLRParserTokenTypes.BLANKID2:\r\n case MExprANTLRParserTokenTypes.IDBLANKID2:\r\n case MExprANTLRParserTokenTypes.BLANK3:\r\n case MExprANTLRParserTokenTypes.IDBLANK3:\r\n case MExprANTLRParserTokenTypes.BLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKDOT:\r\n case MExprANTLRParserTokenTypes.BLANKDOT:\r\n case MExprANTLRParserTokenTypes.SLOT: \r\n case MExprANTLRParserTokenTypes.TYPESETEXPR:\r\n case MExprANTLRParserTokenTypes.GET:\r\n case MExprANTLRParserTokenTypes.PUT:\r\n case MExprANTLRParserTokenTypes.PERCENT:\r\n case MExprANTLRParserTokenTypes.PERCENTNUMBER:\r\n \t return true;\r\n }\r\n\r\n return false;\r\n }", "public interface QuotedL1Node {\n\n}", "public final void mT__14() throws RecognitionException {\r\n try {\r\n int _type = T__14;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:12:7: ( ';' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:12:9: ';'\r\n {\r\n match(';'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public abstract CharSequence mo2161g();", "private boolean grammar() {\r\n return skip() && rules() && MARK(END_OF_TEXT) && EOT();\r\n }", "public final Token emit() {\n \tANTLR3LocationToken ret = null;\n ITokenFactory<? extends ANTLR3LocationToken> tokenFactory = getTokenFactory();\n ret = tokenFactory.createToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1);\n \t ret.setLine(state.tokenStartLine);\n String newtext = input.substring(state.tokenStartCharIndex,getCharIndex()-1);\n ret.setText(newtext); // sets the text as exactly what has been read\n ret.setCharPositionInLine(state.tokenStartCharPositionInLine);\n ret.setEndLine(getLine());\n ret.setEndColumn(getCharPositionInLine());\n emit(ret);\n return ret;\n }", "public static void main(String[] args) throws Exception {\n\n SimpleCalcLexer lex = new SimpleCalcLexer(new ANTLRFileStream(args[0]));\n \tCommonTokenStream tokens = new CommonTokenStream(lex);\n\n // \tCommonTokenStream tokens = new CommonTokenStream(lexer);\n\n SimpleCalcParser parser = new SimpleCalcParser(tokens);\n\n try {\n parser.expr();\n } catch (RecognitionException e) {\n e.printStackTrace();\n }\n }", "protected LR1_Grammar(Grammar grammar) {\n\t\tsuper(grammar);\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "@Test\r\n\tpublic void typeParserTest() {\n\t\tvalidateTypeParse(\r\n\t\t\t\t\"(function that takes a number and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number and a (function that takes a number)\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number, a string, and an element_of_type_3\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\"(function that takes a number)\");\r\n\t\t// assertEquals(\"procedure\", cdLoopType(\"function\"));\r\n\t\t// validateTypeParse(\"(function that outputs a number)\");\r\n\t\t// validateTypeParse(\"procedure\");\r\n\t}", "public static void parse()\r\n {\r\n int initial;\r\n initial=expression();\r\n stateList.get(0).setNext1(initial);\r\n stateList.get(0).setNext2(initial);\r\n if(index<=expression.length()-1)\r\n {\r\n error();\r\n }\r\n else\r\n {\r\n state st=new state(state,\"END\",-1,-1);\r\n stateList.add(st);\r\n }\r\n }", "AstroArg seq(AstroArg first,\n AstroArg second,\n AstroArg third,\n AstroArg fourth);", "@Test(timeout = 4000)\n public void test139() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(18, token0.getTokenType());\n assertEquals(\":\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"E\", token1.getTokenText());\n }", "@Override\n\tpublic void visit(Matches arg0) {\n\t\t\n\t}", "@Override\n public R visit(GraphGraphPattern n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.varOrIRIref.accept(this, argu);\n n.groupGraphPattern.accept(this, argu);\n return _ret;\n }", "void endSequence(GroupSG group) throws SAXException;", "final public Token IdentifierOrReserved() throws ParseException {\n /*@bgen(jjtree) IdentifierOrReserved */\n SimpleNode jjtn000 = new SimpleNode(JJTIDENTIFIERORRESERVED);\n boolean jjtc000 = true;\n jjtree.openNodeScope(jjtn000);Token t1;\n log.trace(\"Entering IdentifierOrReserved\");\n try {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case DEFINE:\n t1 = jj_consume_token(DEFINE);\n break;\n case LOAD:\n t1 = jj_consume_token(LOAD);\n break;\n case FILTER:\n t1 = jj_consume_token(FILTER);\n break;\n case FOREACH:\n t1 = jj_consume_token(FOREACH);\n break;\n case MATCHES:\n t1 = jj_consume_token(MATCHES);\n break;\n case ORDER:\n t1 = jj_consume_token(ORDER);\n break;\n case ARRANGE:\n t1 = jj_consume_token(ARRANGE);\n break;\n case DISTINCT:\n t1 = jj_consume_token(DISTINCT);\n break;\n case COGROUP:\n t1 = jj_consume_token(COGROUP);\n break;\n case JOIN:\n t1 = jj_consume_token(JOIN);\n break;\n case CROSS:\n t1 = jj_consume_token(CROSS);\n break;\n case UNION:\n t1 = jj_consume_token(UNION);\n break;\n case SPLIT:\n t1 = jj_consume_token(SPLIT);\n break;\n case INTO:\n t1 = jj_consume_token(INTO);\n break;\n case IF:\n t1 = jj_consume_token(IF);\n break;\n case ALL:\n t1 = jj_consume_token(ALL);\n break;\n case ANY:\n t1 = jj_consume_token(ANY);\n break;\n case AS:\n t1 = jj_consume_token(AS);\n break;\n case BY:\n t1 = jj_consume_token(BY);\n break;\n case USING:\n t1 = jj_consume_token(USING);\n break;\n case INNER:\n t1 = jj_consume_token(INNER);\n break;\n case OUTER:\n t1 = jj_consume_token(OUTER);\n break;\n case PARALLEL:\n t1 = jj_consume_token(PARALLEL);\n break;\n case GROUP:\n t1 = jj_consume_token(GROUP);\n break;\n case AND:\n t1 = jj_consume_token(AND);\n break;\n case OR:\n t1 = jj_consume_token(OR);\n break;\n case NOT:\n t1 = jj_consume_token(NOT);\n break;\n case GENERATE:\n t1 = jj_consume_token(GENERATE);\n break;\n case FLATTEN:\n t1 = jj_consume_token(FLATTEN);\n break;\n case EVAL:\n t1 = jj_consume_token(EVAL);\n break;\n case ASC:\n t1 = jj_consume_token(ASC);\n break;\n case DESC:\n t1 = jj_consume_token(DESC);\n break;\n case INT:\n t1 = jj_consume_token(INT);\n break;\n case LONG:\n t1 = jj_consume_token(LONG);\n break;\n case FLOAT:\n t1 = jj_consume_token(FLOAT);\n break;\n case DOUBLE:\n t1 = jj_consume_token(DOUBLE);\n break;\n case CHARARRAY:\n t1 = jj_consume_token(CHARARRAY);\n break;\n case BYTEARRAY:\n t1 = jj_consume_token(BYTEARRAY);\n break;\n case BAG:\n t1 = jj_consume_token(BAG);\n break;\n case TUPLE:\n t1 = jj_consume_token(TUPLE);\n break;\n case MAP:\n t1 = jj_consume_token(MAP);\n break;\n case IS:\n t1 = jj_consume_token(IS);\n break;\n case NULL:\n t1 = jj_consume_token(NULL);\n break;\n case STREAM:\n t1 = jj_consume_token(STREAM);\n break;\n case THROUGH:\n t1 = jj_consume_token(THROUGH);\n break;\n case STORE:\n t1 = jj_consume_token(STORE);\n break;\n case SHIP:\n t1 = jj_consume_token(SHIP);\n break;\n case CACHE:\n t1 = jj_consume_token(CACHE);\n break;\n case INPUT:\n t1 = jj_consume_token(INPUT);\n break;\n case OUTPUT:\n t1 = jj_consume_token(OUTPUT);\n break;\n case ERROR:\n t1 = jj_consume_token(ERROR);\n break;\n case STDIN:\n t1 = jj_consume_token(STDIN);\n break;\n case STDOUT:\n t1 = jj_consume_token(STDOUT);\n break;\n case LIMIT:\n t1 = jj_consume_token(LIMIT);\n break;\n case SAMPLE:\n t1 = jj_consume_token(SAMPLE);\n break;\n case IDENTIFIER:\n t1 = jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[7] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n jjtree.closeNodeScope(jjtn000, true);\n jjtc000 = false;\n {if (true) return t1;}\n } finally {\n if (jjtc000) {\n jjtree.closeNodeScope(jjtn000, true);\n }\n }\n throw new Error(\"Missing return statement in function\");\n }", "public final void mT__13() throws RecognitionException {\n try {\n int _type = T__13;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:13:7: ( '}' )\n // InternalIotLuaXtext.g:13:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface BiomedicalParseSym {\n /* terminals */\n public static final int OR_OP = 6;\n public static final int String = 4;\n public static final int RPAREN = 3;\n public static final int error = 1;\n public static final int AND_OP = 5;\n public static final int NOT_OP = 7;\n public static final int LPAREN = 2;\n public static final int EOF = 0;\n}", "speech.multilang.Params.MultiRecognizerGrammarMatchList.MultiRecognizerGrammarMatch getGrammarMatch(int index);", "private TraceParser genParser() throws ParseException {\n TraceParser parser = new TraceParser();\n parser.addRegex(\"^(?<VTIME>)(?<TYPE>)$\");\n parser.addPartitionsSeparator(\"^--$\");\n return parser;\n }", "private Token matchEOF() throws SyntaxException {\n\t\tif (t.kind == EOF) {\n\t\t\treturn t;\n\t\t}\n\t\tString message = \"Expected EOL at \" + t.line + \":\" + t.pos_in_line;\n\t\tthrow new SyntaxException(t, message);\n\t}", "@Test(timeout = 4000)\n public void test135() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"d>%NV0\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(\"d\", token0.getTokenText());\n assertEquals(1, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\">\", token1.getTokenText());\n assertEquals(9, token1.getTokenType());\n \n Token token2 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token2.getTokenType());\n assertEquals(\"\", token2.getTokenText());\n }", "@Test\n\tpublic void generateTest(){\n\t\tSemanticActions actions = new SemanticActions();\n\t\tQuadruples quads = actions.getQuads();\n\t\tactions.generate(\"hello\");\n\t\tassertTrue(quads.getNextQuad() == 1);\n\t\tassertArrayEquals(new String[] {\"hello\"}, quads.getQuad(0));\n\t\t\n\t\tVariableEntry varE = new VariableEntry(\"A\", TokenType.IDENTIFIER);\n\t\tvarE.setAddress(1);\n\t\tactions.generate(\"move\", new ConstantEntry(\"100\"), varE);\n\t\tassertTrue(quads.getNextQuad()==3);\n\t\tassertArrayEquals(new String[] {\"move\", \"100\", \"_0\"}, quads.getQuad(1));\n\t\tassertArrayEquals(new String[]{\"move\", \"_0\", \"_1\"}, quads.getQuad(2));\n\t\t\n\t\tactions.generate(\"PROCBEGIN\", new ProcedureEntry(\"MAIN\"));\n\t\tassertTrue(quads.getNextQuad() == 4);\n\t\tassertArrayEquals(new String[] {\"PROCBEGIN\", \"main\"}, quads.getQuad(3));\n\t}", "public interface DefccConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int MODULE_TKN = 11;\n /** RegularExpression Id. */\n int CLASS_TKN = 12;\n /** RegularExpression Id. */\n int INCLUDE_TKN = 13;\n /** RegularExpression Id. */\n int BYTE_TKN = 14;\n /** RegularExpression Id. */\n int BOOLEAN_TKN = 15;\n /** RegularExpression Id. */\n int INT_TKN = 16;\n /** RegularExpression Id. */\n int LONG_TKN = 17;\n /** RegularExpression Id. */\n int FLOAT_TKN = 18;\n /** RegularExpression Id. */\n int DOUBLE_TKN = 19;\n /** RegularExpression Id. */\n int STRING_TKN = 20;\n /** RegularExpression Id. */\n int BUFFER_TKN = 21;\n /** RegularExpression Id. */\n int VECTOR_TKN = 22;\n /** RegularExpression Id. */\n int MAP_TKN = 23;\n /** RegularExpression Id. */\n int LBRACE_TKN = 24;\n /** RegularExpression Id. */\n int RBRACE_TKN = 25;\n /** RegularExpression Id. */\n int LT_TKN = 26;\n /** RegularExpression Id. */\n int GT_TKN = 27;\n /** RegularExpression Id. */\n int SEMICOLON_TKN = 28;\n /** RegularExpression Id. */\n int COMMA_TKN = 29;\n /** RegularExpression Id. */\n int DOT_TKN = 30;\n /** RegularExpression Id. */\n int CSTRING_TKN = 31;\n /** RegularExpression Id. */\n int IDENT_TKN = 32;\n /** RegularExpression Id. */\n int IDENT_TKN_W_DOT = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int WithinOneLineComment = 1;\n /** Lexical state. */\n int WithinMultiLineComment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"module\\\"\",\n \"\\\"class\\\"\",\n \"\\\"include\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"int\\\"\",\n \"\\\"long\\\"\",\n \"\\\"float\\\"\",\n \"\\\"double\\\"\",\n \"\\\"string\\\"\",\n \"\\\"buffer\\\"\",\n \"\\\"vector\\\"\",\n \"\\\"map\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CSTRING_TKN>\",\n \"<IDENT_TKN>\",\n \"<IDENT_TKN_W_DOT>\",\n };\n\n}", "Expression getActionSentence();", "public static void main(String[] args) throws IOException {\n\t\tCharStream input = CharStreams.fromFileName(\"C:\\\\Users\\\\User\\\\eclipse-workspace\\\\Compilateur-Aisha-Liliya\\\\src\\\\test\\\\test0.txt\");\n\t\tLangageLexer lexer = new LangageLexer( input);\n\t\tLangageParser parser = new \tLangageParser(new CommonTokenStream(lexer));\n\t\tListener l =new Listener();\n\t\tparser.addParseListener(l);\n\t\t\n\t\tParseTree tree = parser.code();\n\tl.s.printTE();\n\tl.s.printTS();\n\tl.s.printQuad();\n\tl.s.printCODEOBJET();\n\t}", "@Override\n\tpublic void notationDecl(String arg0, String arg1, String arg2)\n\t\t\tthrows SAXException {\n\n\t}", "@Test(timeout = 4000)\n public void test001() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"hN!SM~8ux(wB\");\n xPathLexer0.dollar();\n xPathLexer0.not();\n xPathLexer0.nextToken();\n xPathLexer0.leftParen();\n xPathLexer0.whitespace();\n xPathLexer0.plus();\n Token token0 = xPathLexer0.or();\n assertNull(token0);\n }", "public interface AstIncreUnaryExpression extends AstUnaryExpression {\r\n}", "@Test\n\tpublic void testSequence(){\n\t\tVariable x = new Variable(\"x\");\n\t\tOperator plus = new Operator(\"+\");\n\t\tExpression one = f.createNumNode(1);\n\t\tExpression two = f.createNumNode(2);\n\t\tExpression exp = f.createInfixNode(plus, one, two);\n\t\tStatement decl = f.createDeclNode(x);\n\t\tStatement assign = f.createAssignNode(x,exp);\n\t\tStatement seq = f.createSequenceNode(decl, assign);\n\t\tassertEquals(seq.textRepresentation(), \"var x; x = 1 + 2;\");\n\n\t\tASTNodeCountVisitor v = new ASTNodeCountVisitor();\n\t\tseq.accept(v);\n\t\tassertEquals(\"sequence test1 fail\", v.numCount, 2);\n\t\tassertEquals(\"sequence test2 fail\", v.infixCount, 1);\n\t\tassertEquals(\"sequence test3 fail\", v.decCount, 1);\n\t\tassertEquals(\"sequence test4 fail\", v.seqCount, 1);\n\t\tassertEquals(\"sequence test5 fail\", v.assignCount, 1);\n\t\tassertEquals(\"sequence test6 fail\", v.varCount, 0);\n\t\tassertEquals(\"sequence test7 fail\", v.strCount, 0);\n\t\tassertEquals(\"sequence test8 fail\", v.prefixCount, 0);\n\t}", "@Override\n\tpublic void visitXmatch(Xmatch p) {\n\n\t}", "@Override\n public R visit(Bind n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n n.expression.accept(this, argu);\n n.nodeToken2.accept(this, argu);\n n.var.accept(this, argu);\n n.nodeToken3.accept(this, argu);\n return _ret;\n }", "public final void mT__14() throws RecognitionException {\n try {\n int _type = T__14;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:12:7: ( '{' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:12:9: '{'\n {\n match('{'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final Token output() throws RecognitionException {\n\t\tToken token = null;\n\n\n\t\tToken STRING11=null;\n\t\tToken ML_STRING12=null;\n\t\tToken AST13=null;\n\t\tToken ACTION14=null;\n\n\t\ttry {\n\t\t\t// org/antlr/gunit/gUnit.g:160:2: ( STRING | ML_STRING | AST | ACTION )\n\t\t\tint alt12=4;\n\t\t\tswitch ( input.LA(1) ) {\n\t\t\tcase STRING:\n\t\t\t\t{\n\t\t\t\talt12=1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase ML_STRING:\n\t\t\t\t{\n\t\t\t\talt12=2;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase AST:\n\t\t\t\t{\n\t\t\t\talt12=3;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase ACTION:\n\t\t\t\t{\n\t\t\t\talt12=4;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 12, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\t\t\tswitch (alt12) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:160:4: STRING\n\t\t\t\t\t{\n\t\t\t\t\tSTRING11=(Token)match(input,STRING,FOLLOW_STRING_in_output359); \n\n\t\t\t\t\t\t\tSTRING11.setText((STRING11!=null?STRING11.getText():null).replace(\"\\\\n\", \"\\n\").replace(\"\\\\r\", \"\\r\").replace(\"\\\\t\", \"\\t\")\n\t\t\t\t\t\t\t.replace(\"\\\\b\", \"\\b\").replace(\"\\\\f\", \"\\f\").replace(\"\\\\\\\"\", \"\\\"\").replace(\"\\\\'\", \"\\'\").replace(\"\\\\\\\\\", \"\\\\\"));\n\t\t\t\t\t\t\ttoken = STRING11;\n\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:166:4: ML_STRING\n\t\t\t\t\t{\n\t\t\t\t\tML_STRING12=(Token)match(input,ML_STRING,FOLLOW_ML_STRING_in_output369); \n\t\t\t\t\ttoken = ML_STRING12;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:167:4: AST\n\t\t\t\t\t{\n\t\t\t\t\tAST13=(Token)match(input,AST,FOLLOW_AST_in_output376); \n\t\t\t\t\ttoken = AST13;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:168:4: ACTION\n\t\t\t\t\t{\n\t\t\t\t\tACTION14=(Token)match(input,ACTION,FOLLOW_ACTION_in_output383); \n\t\t\t\t\ttoken = ACTION14;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn token;\n\t}", "@Override\n\tpublic void visit(Matches arg0) {\n\n\t}", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "private String syntax(ArrayList<String> tokens){\r\n String tkn=\"Done\";\r\n boolean VarDeclFlag = true;\r\n boolean exitFlag = false;\r\n ArrayList<String> temp = new ArrayList<>();\r\n //TODO return error\r\n //TODO return error method\r\n for(int i=0; i<tokens.size(); i++){\r\n if(VarDeclFlag){ \r\n if(isId(tokens.get(i))){\r\n tokensDef.add(\"Var\");\r\n i++;\r\n if(isLeftParen(tokens.get(i))){\r\n VarDeclFlag=false;\r\n tokensDef.add(\"LeftParen\");\r\n i++;\r\n while(!isRightParen(tokens.get(i)) && exitFlag){\r\n if(exitFlag && !isRightParen(tokens.get(i))){\r\n return \"error\";\r\n }\r\n if(tokens.get(i).endsWith(\",\")){\r\n\t\t\t\t\t\t\t\t\t\r\n if(isId(removeLast(tokens.get(i)))){\r\n tokensDef.add(\"Var\");\r\n i++;\r\n }\r\n }\r\n else{\r\n if(isId(tokens.get(i))){\r\n exitFlag = true;\r\n tokensDef.add(\"Var\");\r\n i++; \r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n\t\tif(isId(tokens.get(i))){\r\n tokensDef.add(\"Var\");\r\n i++;\r\n if(isLeftParen(tokens.get(i))){\r\n VarDeclFlag=false;\r\n\t\t\ttokensDef.add(\"LeftParen\");\r\n i++;\r\n if(!isRightParen(tokens.get(i))){\r\n while(!isRightParen(tokens.get(i))){\r\n if(exitFlag && !isRightParen(tokens.get(i))){\r\n return \"error\";\r\n }\r\n if(tokens.get(i).endsWith(\",\")){\r\n if(isId(removeLast(tokens.get(i)))){\r\n tokensDef.add(\"Var\");\r\n i++;\r\n if(isRightParen(tokens.get(i))){\r\n return \"error\";\r\n }\r\n }\r\n else \r\n return \"error\";\r\n }\r\n else{\r\n if(isId(tokens.get(i))){\r\n tokensDef.add(\"Var\");\r\n i++;\r\n if(isRightParen(tokens.get(i))){\r\n tokensDef.add(\"RightParen\");\r\n i++;\r\n }\r\n else\r\n return \"error\";\r\n }\r\n }\r\n \r\n }\r\n }\r\n else{\r\n tokensDef.add(\"RightParen\");\r\n i++;\r\n } \r\n }\r\n }\r\n }\r\n }\r\n\t\t\r\n return tkn;\r\n \r\n }", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "public interface LogoParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int PROC = 6;\r\n /** RegularExpression Id. */\r\n int END = 7;\r\n /** RegularExpression Id. */\r\n int MAKE = 8;\r\n /** RegularExpression Id. */\r\n int VARNAME = 9;\r\n /** RegularExpression Id. */\r\n int RPT = 10;\r\n /** RegularExpression Id. */\r\n int RT = 11;\r\n /** RegularExpression Id. */\r\n int FD = 12;\r\n /** RegularExpression Id. */\r\n int ID = 13;\r\n /** RegularExpression Id. */\r\n int DECPOINT = 14;\r\n /** RegularExpression Id. */\r\n int PLUS = 15;\r\n /** RegularExpression Id. */\r\n int MINUS = 16;\r\n /** RegularExpression Id. */\r\n int TIMES = 17;\r\n /** RegularExpression Id. */\r\n int DIVIDE = 18;\r\n /** RegularExpression Id. */\r\n int COLON = 19;\r\n /** RegularExpression Id. */\r\n int COMMA = 20;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 21;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 22;\r\n /** RegularExpression Id. */\r\n int LSQR = 23;\r\n /** RegularExpression Id. */\r\n int RSQR = 24;\r\n /** RegularExpression Id. */\r\n int NUMBER = 25;\r\n /** RegularExpression Id. */\r\n int DIGIT = 26;\r\n /** RegularExpression Id. */\r\n int ALPHA = 27;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\r\\\\n\\\"\",\r\n \"\\\"proc\\\"\",\r\n \"\\\"end\\\"\",\r\n \"\\\"make\\\"\",\r\n \"<VARNAME>\",\r\n \"\\\"rpt\\\"\",\r\n \"\\\"rt\\\"\",\r\n \"\\\"fd\\\"\",\r\n \"<ID>\",\r\n \"\\\".\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\":\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"<NUMBER>\",\r\n \"<DIGIT>\",\r\n \"<ALPHA>\",\r\n };\r\n\r\n}", "@Override\n public R visit(RegexExpression n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n n.expression.accept(this, argu);\n n.nodeToken2.accept(this, argu);\n n.expression1.accept(this, argu);\n n.nodeOptional.accept(this, argu);\n n.nodeToken3.accept(this, argu);\n return _ret;\n }" ]
[ "0.59097934", "0.5756192", "0.5647446", "0.5452024", "0.540297", "0.53268164", "0.53002805", "0.5277781", "0.5252899", "0.5229431", "0.5218618", "0.5148663", "0.51359826", "0.5123393", "0.5084293", "0.5075232", "0.5071891", "0.50696284", "0.5067868", "0.5050399", "0.5037949", "0.5019879", "0.50156355", "0.4982822", "0.49759367", "0.495609", "0.49411303", "0.49286473", "0.4926785", "0.49240765", "0.49037713", "0.49010614", "0.4899199", "0.48834828", "0.4879257", "0.48765466", "0.48763642", "0.4865045", "0.48641917", "0.48567754", "0.48554698", "0.48477647", "0.48347327", "0.48283577", "0.48202026", "0.4817908", "0.48055086", "0.4799213", "0.47937313", "0.4790711", "0.4788342", "0.4788194", "0.4765993", "0.47563502", "0.47419885", "0.4733499", "0.4725389", "0.47200215", "0.4712196", "0.47099707", "0.47095576", "0.4709257", "0.46969822", "0.4692609", "0.46905282", "0.46899027", "0.4689817", "0.4687541", "0.46820328", "0.4682024", "0.46813408", "0.46742064", "0.46687955", "0.46621966", "0.46431428", "0.46410117", "0.46376944", "0.46322793", "0.46307364", "0.46282598", "0.46245775", "0.46203992", "0.461513", "0.46098247", "0.46071708", "0.46034637", "0.46012235", "0.46007362", "0.45995304", "0.45960915", "0.45960686", "0.45941046", "0.4592573", "0.45917302", "0.45877993", "0.45820323", "0.4576335", "0.4576232", "0.45726436", "0.45719373", "0.4566714" ]
0.0
-1
$ANTLR end "T__14" $ANTLR start "T__15"
public final void mT__15() throws RecognitionException { try { int _type = T__15; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:13:7: ( 'name' ) // InternalDSL.g:13:9: 'name' { match("name"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public R visit(MoveStmt n) {\n R _ret=null;\n simple_exp=0;\n // System.out.print(\"MOVE \");\n String s0 = (String)n.f0.accept(this);\n String s1 = (String)n.f1.accept(this);\n String s = new String();\n s=(\"MOVE \"+s1+\" \");\n simple_exp=0;\n String s2 = (String)n.f2.accept(this);\n s=s+(s2+\" \");\n return (R)s;\n }", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "public interface MetaVisitor\n{\n void atomicType(SequenceType node, QName name, SequenceType baseType);\n\n void atomicUrType(SequenceType node);\n\n void attributeType(SequenceType node, QName name, SequenceType type);\n\n void choiceType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void commentType(SequenceType node);\n\n void complexType(SequenceType node, QName name, SequenceType baseType);\n\n void complexUrType(SequenceType node);\n\n void concatType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void documentType(SequenceType node, SequenceType contentType);\n\n void elementType(SequenceType node, QName name, SequenceType type, boolean nillable);\n\n void emptyType(SequenceType node);\n\n void interleaveType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void multiplyType(SequenceType node, SequenceType argument, Quantifier multiplier);\n\n void namespaceType(SequenceType node);\n\n void noneType(SequenceType node);\n\n void processingInstructionType(SequenceType node, String name);\n\n void schemaAttributeType(SequenceType node, QName name);\n\n void schemaElementType(SequenceType type, QName name);\n\n void simpleUrType(SequenceType node);\n\n void textType(SequenceType node);\n}", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "Token next();", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "public interface AstIncreUnaryExpression extends AstUnaryExpression {\r\n}", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public interface DefccConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int MODULE_TKN = 11;\n /** RegularExpression Id. */\n int CLASS_TKN = 12;\n /** RegularExpression Id. */\n int INCLUDE_TKN = 13;\n /** RegularExpression Id. */\n int BYTE_TKN = 14;\n /** RegularExpression Id. */\n int BOOLEAN_TKN = 15;\n /** RegularExpression Id. */\n int INT_TKN = 16;\n /** RegularExpression Id. */\n int LONG_TKN = 17;\n /** RegularExpression Id. */\n int FLOAT_TKN = 18;\n /** RegularExpression Id. */\n int DOUBLE_TKN = 19;\n /** RegularExpression Id. */\n int STRING_TKN = 20;\n /** RegularExpression Id. */\n int BUFFER_TKN = 21;\n /** RegularExpression Id. */\n int VECTOR_TKN = 22;\n /** RegularExpression Id. */\n int MAP_TKN = 23;\n /** RegularExpression Id. */\n int LBRACE_TKN = 24;\n /** RegularExpression Id. */\n int RBRACE_TKN = 25;\n /** RegularExpression Id. */\n int LT_TKN = 26;\n /** RegularExpression Id. */\n int GT_TKN = 27;\n /** RegularExpression Id. */\n int SEMICOLON_TKN = 28;\n /** RegularExpression Id. */\n int COMMA_TKN = 29;\n /** RegularExpression Id. */\n int DOT_TKN = 30;\n /** RegularExpression Id. */\n int CSTRING_TKN = 31;\n /** RegularExpression Id. */\n int IDENT_TKN = 32;\n /** RegularExpression Id. */\n int IDENT_TKN_W_DOT = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int WithinOneLineComment = 1;\n /** Lexical state. */\n int WithinMultiLineComment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"module\\\"\",\n \"\\\"class\\\"\",\n \"\\\"include\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"int\\\"\",\n \"\\\"long\\\"\",\n \"\\\"float\\\"\",\n \"\\\"double\\\"\",\n \"\\\"string\\\"\",\n \"\\\"buffer\\\"\",\n \"\\\"vector\\\"\",\n \"\\\"map\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CSTRING_TKN>\",\n \"<IDENT_TKN>\",\n \"<IDENT_TKN_W_DOT>\",\n };\n\n}", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int INT = 6;\n /** RegularExpression Id. */\n int REAL = 7;\n /** RegularExpression Id. */\n int BOOL = 8;\n /** RegularExpression Id. */\n int LIST = 9;\n /** RegularExpression Id. */\n int STR = 10;\n /** RegularExpression Id. */\n int CARACT = 11;\n /** RegularExpression Id. */\n int SE = 12;\n /** RegularExpression Id. */\n int SENAO = 13;\n /** RegularExpression Id. */\n int SENAOSE = 14;\n /** RegularExpression Id. */\n int ENQUANTO = 15;\n /** RegularExpression Id. */\n int PARA = 16;\n /** RegularExpression Id. */\n int VERDADEIRO = 17;\n /** RegularExpression Id. */\n int FALSO = 18;\n /** RegularExpression Id. */\n int IMPRIMIR = 19;\n /** RegularExpression Id. */\n int MAIS = 20;\n /** RegularExpression Id. */\n int MENOS = 21;\n /** RegularExpression Id. */\n int MULTIPLICAR = 22;\n /** RegularExpression Id. */\n int DIVIDIR = 23;\n /** RegularExpression Id. */\n int ATRIBUICAO = 24;\n /** RegularExpression Id. */\n int MAIOR = 25;\n /** RegularExpression Id. */\n int MENOR = 26;\n /** RegularExpression Id. */\n int MAIOR_IGUAL = 27;\n /** RegularExpression Id. */\n int MENOR_IGUAL = 28;\n /** RegularExpression Id. */\n int IGUAL = 29;\n /** RegularExpression Id. */\n int DIFERENTE = 30;\n /** RegularExpression Id. */\n int ABRE_PARENTESES = 31;\n /** RegularExpression Id. */\n int FECHA_PARENTESES = 32;\n /** RegularExpression Id. */\n int ABRE_CHAVES = 33;\n /** RegularExpression Id. */\n int FECHA_CHAVES = 34;\n /** RegularExpression Id. */\n int ABRE_COLCHETE = 35;\n /** RegularExpression Id. */\n int FECHA_COLCHETE = 36;\n /** RegularExpression Id. */\n int PONTO_VIRGULA = 37;\n /** RegularExpression Id. */\n int VIRGULA = 38;\n /** RegularExpression Id. */\n int PONTO = 39;\n /** RegularExpression Id. */\n int CONSTANTE_INT = 40;\n /** RegularExpression Id. */\n int CONSTANTE_REAL = 41;\n /** RegularExpression Id. */\n int DIGITO = 42;\n /** RegularExpression Id. */\n int VARIAVEL = 43;\n /** RegularExpression Id. */\n int CARACTERE = 44;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"INT\\\"\",\n \"\\\"REAL\\\"\",\n \"\\\"BOOL\\\"\",\n \"\\\"LIST\\\"\",\n \"\\\"STR\\\"\",\n \"\\\"CARACT\\\"\",\n \"\\\"SE\\\"\",\n \"\\\"SENAO\\\"\",\n \"\\\"SENAOSE\\\"\",\n \"\\\"ENQUANTO\\\"\",\n \"\\\"PARA\\\"\",\n \"\\\"VERDADEIRO\\\"\",\n \"\\\"FALSO\\\"\",\n \"\\\"IMPRIMIR\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\" >=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CONSTANTE_INT>\",\n \"<CONSTANTE_REAL>\",\n \"<DIGITO>\",\n \"<VARIAVEL>\",\n \"<CARACTERE>\",\n };\n\n}", "@Override\n\tpublic void visit(Parenthesis arg0) {\n\t\t\n\t}", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "public final void mT__14() throws RecognitionException {\n try {\n int _type = T__14;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:7:7: ( ')' )\n // metamorph.runtime/src/antlr/Ast.g:7:9: ')'\n {\n match(')'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "@Override\n\tpublic void visit(Parenthesis arg0) {\n\n\t}", "AstroArg unpack(Astro litChars);", "@Override ASTSeq parse_impl(Exec E) {\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `from` argument.\");\n _from = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `from` expected to be a number.\");\n }\n // Get the to\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `to` argument.\");\n _to = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `to` expected to be a number.\");\n }\n // Get the by\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `by` argument.\");\n _by = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `by` expected to be a number.\");\n }\n\n if( _from >= _to ) throw new IllegalArgumentException(\"`from` >= `to`: \" + _from + \">=\" + _to);\n if( _by <= 0 ) throw new IllegalArgumentException(\"`by` must be >0: \" + _by + \" <=0\");\n\n E.eatEnd(); // eat the ending ')'\n // Finish the rest\n ASTSeq res = (ASTSeq) clone();\n res._asts = new AST[]{}; // in reverse order so they appear correctly on the stack.\n return res;\n }", "@Override\n public R visit(BaseDecl n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n return _ret;\n }", "private String node(String name) { return prefix + \"AST\" + name + \"Node\"; }", "@Test(timeout = 4000)\n public void test151() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"9M4i+yR.T\");\n Token token0 = xPathLexer0.number();\n assertEquals(\"9\", token0.getTokenText());\n assertEquals(30, token0.getTokenType());\n \n Token token1 = xPathLexer0.dollar();\n assertEquals(26, token1.getTokenType());\n assertEquals(\"M\", token1.getTokenText());\n \n Token token2 = xPathLexer0.at();\n assertEquals(16, token2.getTokenType());\n assertEquals(\"4\", token2.getTokenText());\n \n Token token3 = xPathLexer0.not();\n assertEquals(\"i\", token3.getTokenText());\n assertEquals(23, token3.getTokenType());\n \n Token token4 = xPathLexer0.nextToken();\n assertEquals(\"+\", token4.getTokenText());\n assertEquals(5, token4.getTokenType());\n \n Token token5 = xPathLexer0.nextToken();\n assertEquals(\"yR.T\", token5.getTokenText());\n assertEquals(15, token5.getTokenType());\n }", "@Test\n\tpublic void testSequence(){\n\t\tVariable x = new Variable(\"x\");\n\t\tOperator plus = new Operator(\"+\");\n\t\tExpression one = f.createNumNode(1);\n\t\tExpression two = f.createNumNode(2);\n\t\tExpression exp = f.createInfixNode(plus, one, two);\n\t\tStatement decl = f.createDeclNode(x);\n\t\tStatement assign = f.createAssignNode(x,exp);\n\t\tStatement seq = f.createSequenceNode(decl, assign);\n\t\tassertEquals(seq.textRepresentation(), \"var x; x = 1 + 2;\");\n\n\t\tASTNodeCountVisitor v = new ASTNodeCountVisitor();\n\t\tseq.accept(v);\n\t\tassertEquals(\"sequence test1 fail\", v.numCount, 2);\n\t\tassertEquals(\"sequence test2 fail\", v.infixCount, 1);\n\t\tassertEquals(\"sequence test3 fail\", v.decCount, 1);\n\t\tassertEquals(\"sequence test4 fail\", v.seqCount, 1);\n\t\tassertEquals(\"sequence test5 fail\", v.assignCount, 1);\n\t\tassertEquals(\"sequence test6 fail\", v.varCount, 0);\n\t\tassertEquals(\"sequence test7 fail\", v.strCount, 0);\n\t\tassertEquals(\"sequence test8 fail\", v.prefixCount, 0);\n\t}", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public final void mT__14() throws RecognitionException {\n try {\n int _type = T__14;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:14:7: ( 'source: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:14:9: 'source: '\n {\n match(\"source: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT15() throws RecognitionException {\n try {\n int _type = T15;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:13:5: ( '}' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:13:7: '}'\n {\n match('}'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test137() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(2, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifier();\n assertEquals(\"E\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(7, token2.getTokenType());\n assertEquals(\"<\", token2.getTokenText());\n }", "public interface Expression {\n \n enum ExpressivoGrammar {ROOT, SUM, PRODUCT, TOKEN, PRIMITIVE_1, PRIMITIVE_2, \n NUMBER, INT, DECIMAL, WHITESPACE, VARIABLE};\n \n public static Expression buildAST(ParseTree<ExpressivoGrammar> concreteSymbolTree) {\n \n if (concreteSymbolTree.getName() == ExpressivoGrammar.DECIMAL) {\n /* reached a double terminal */\n return new Num(Double.parseDouble(concreteSymbolTree.getContents())); \n }\n\n else if (concreteSymbolTree.getName() == ExpressivoGrammar.INT) {\n /* reached an int terminal */\n return new Num(Integer.parseInt(concreteSymbolTree.getContents()));\n }\n \n else if (concreteSymbolTree.getName() == ExpressivoGrammar.VARIABLE) {\n /* reached a terminal */\n return new Var(concreteSymbolTree.getContents());\n }\n \n else if (concreteSymbolTree.getName() == ExpressivoGrammar.ROOT || \n concreteSymbolTree.getName() == ExpressivoGrammar.TOKEN || \n concreteSymbolTree.getName() == ExpressivoGrammar.PRIMITIVE_1 || \n concreteSymbolTree.getName() == ExpressivoGrammar.PRIMITIVE_2 || \n concreteSymbolTree.getName() == ExpressivoGrammar.NUMBER) {\n \n /* non-terminals with only one child */\n for (ParseTree<ExpressivoGrammar> child: concreteSymbolTree.children()) {\n if (child.getName() != ExpressivoGrammar.WHITESPACE) \n return buildAST(child);\n }\n \n // should never reach here\n throw new IllegalArgumentException(\"error in parsing\");\n }\n \n else if (concreteSymbolTree.getName() == ExpressivoGrammar.SUM || concreteSymbolTree.getName() == ExpressivoGrammar.PRODUCT) {\n /* a sum or product node can have one or more children that need to be accumulated together */\n return accumulator(concreteSymbolTree, concreteSymbolTree.getName()); \n }\n \n else {\n throw new IllegalArgumentException(\"error in input: should never reach here\");\n }\n \n }\n \n /**\n * (1) Create parser using lib6005.parser from grammar file\n * (2) Parse string input into CST\n * (3) Build AST from this CST using buildAST()\n * @param input\n * @return Expression (AST)\n */\n public static Expression parse(String input) {\n \n try {\n Parser<ExpressivoGrammar> parser = GrammarCompiler.compile(\n new File(\"src/expressivo/Expression.g\"), ExpressivoGrammar.ROOT);\n ParseTree<ExpressivoGrammar> concreteSymbolTree = parser.parse(input);\n \n// tree.display();\n \n return buildAST(concreteSymbolTree);\n \n }\n \n catch (UnableToParseException e) {\n throw new IllegalArgumentException(\"Can't parse the expression...\");\n }\n catch (IOException e) {\n System.out.println(\"Cannot open file Expression.g\");\n throw new RuntimeException(\"Can't open the file with grammar...\");\n }\n }\n \n // helper methods\n public static Expression accumulator(ParseTree<ExpressivoGrammar> tree, ExpressivoGrammar grammarObj) {\n Expression expr = null;\n boolean first = true;\n List<ParseTree<ExpressivoGrammar>> children = tree.children();\n int len = children.size();\n for (int i = len-1; i >= 0; i--) {\n /* the first child */\n ParseTree<ExpressivoGrammar> child = children.get(i);\n if (first) {\n expr = buildAST(child);\n first = false;\n }\n \n /* accumulate this by creating a new binaryOp object with\n * expr as the leftOp and the result as rightOp\n **/\n \n else if (child.getName() == ExpressivoGrammar.WHITESPACE) continue;\n else {\n if (grammarObj == ExpressivoGrammar.SUM)\n expr = new Sum(buildAST(child), expr);\n else\n expr = new Product(buildAST(child), expr);\n }\n }\n \n return expr;\n \n }\n \n // ----------------- problems 3-4 -----------------\n \n public static Expression create(Expression leftExpr, Expression rightExpr, char op) {\n if (op == '+')\n return Sum.createSum(leftExpr, rightExpr);\n else\n return Product.createProduct(leftExpr, rightExpr);\n }\n\n public Expression differentiate(Var x);\n \n public Expression simplify(Map<String, Double> env);\n\n}", "Token match(Kind... kinds) throws SyntaxException {\r\n\t\tToken tmp = t;\r\n\t\tif (isKind(kinds)) {\r\n\t\t\tconsume();\r\n\t\t\treturn tmp;\r\n\t\t}\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tfor (Kind kind1 : kinds) {\r\n\t\t\tsb.append(kind1).append(kind1).append(\" \");\r\n\t\t}\r\n\t\terror(kinds);\r\n\t\treturn null; // unreachable\r\n\t}", "void genAst();", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "@Override\n public R visit(RegexExpression n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n n.expression.accept(this, argu);\n n.nodeToken2.accept(this, argu);\n n.expression1.accept(this, argu);\n n.nodeOptional.accept(this, argu);\n n.nodeToken3.accept(this, argu);\n return _ret;\n }", "public final void mT__14() throws RecognitionException {\n try {\n int _type = T__14;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:12:7: ( ';' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:12:9: ';'\n {\n match(';'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LogoParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int PROC = 6;\r\n /** RegularExpression Id. */\r\n int END = 7;\r\n /** RegularExpression Id. */\r\n int MAKE = 8;\r\n /** RegularExpression Id. */\r\n int VARNAME = 9;\r\n /** RegularExpression Id. */\r\n int RPT = 10;\r\n /** RegularExpression Id. */\r\n int RT = 11;\r\n /** RegularExpression Id. */\r\n int FD = 12;\r\n /** RegularExpression Id. */\r\n int ID = 13;\r\n /** RegularExpression Id. */\r\n int DECPOINT = 14;\r\n /** RegularExpression Id. */\r\n int PLUS = 15;\r\n /** RegularExpression Id. */\r\n int MINUS = 16;\r\n /** RegularExpression Id. */\r\n int TIMES = 17;\r\n /** RegularExpression Id. */\r\n int DIVIDE = 18;\r\n /** RegularExpression Id. */\r\n int COLON = 19;\r\n /** RegularExpression Id. */\r\n int COMMA = 20;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 21;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 22;\r\n /** RegularExpression Id. */\r\n int LSQR = 23;\r\n /** RegularExpression Id. */\r\n int RSQR = 24;\r\n /** RegularExpression Id. */\r\n int NUMBER = 25;\r\n /** RegularExpression Id. */\r\n int DIGIT = 26;\r\n /** RegularExpression Id. */\r\n int ALPHA = 27;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\r\\\\n\\\"\",\r\n \"\\\"proc\\\"\",\r\n \"\\\"end\\\"\",\r\n \"\\\"make\\\"\",\r\n \"<VARNAME>\",\r\n \"\\\"rpt\\\"\",\r\n \"\\\"rt\\\"\",\r\n \"\\\"fd\\\"\",\r\n \"<ID>\",\r\n \"\\\".\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\":\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"<NUMBER>\",\r\n \"<DIGIT>\",\r\n \"<ALPHA>\",\r\n };\r\n\r\n}", "public final void mT__15() throws RecognitionException {\n try {\n int _type = T__15;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:15:7: ( '}' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:15:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "static void match(TokenType ttype) throws IOException {\n if(ttype == curr_type) {\n getToken();\n }\n else {\n cout.println(\"Match Error: \" + ttype);\n System.exit(1);\n }\n }", "@Override\n\tpublic void visit(Matches arg0) {\n\t\t\n\t}", "Expression getActionSentence();", "public final void mT__15() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__15;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// src/aofC/AspectParser/AOC.g:16:7: ( ';' )\n\t\t\t// src/aofC/AspectParser/AOC.g:16:9: ';'\n\t\t\t{\n\t\t\tmatch(';'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "@Test\n public void jUnitTest05(){\n TigerLexer lex;\n try {\n lex = new TigerLexer(new ANTLRFileStream(\"test/jUnitTests/jUnitTest05.tig\", \"UTF8\"));\n CommonTokenStream tokens = new CommonTokenStream(lex);\n TigerParser parser = new TigerParser(tokens);\n SemantVisitor visitor = new SemantVisitor();\n parser.prog();\n boolean resp = (parser.getNumberOfSyntaxErrors() == 0 && visitor.getNumberOfSemanticErrors() == 0);\n assertTrue(resp);\n } catch (IOException ex) {\n Logger.getLogger(TesteGlobal.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public interface Visitor<R> {\n\n //Lists\n public <T extends IRNode> R visit(List<T> ns);\n\n //IRStms\n public R visit(CJUMP n);\n\n public R visit(CMOVE n);\n\n public R visit(EXP n);\n\n public R visit(JUMP n);\n\n public R visit(LABEL n);\n\n public R visit(MOVE n);\n\n public R visit(SEQ n);\n\n //Types\n public R visit(BINOP n);\n\n public R visit(CALL n);\n\n public R visit(CONST n);\n\n public R visit(ESEQ n);\n\n //Statements\n public R visit(MEM n);\n\n public R visit(NAME n);\n\n public R visit(TEMP n);\n}", "private String tokenToGrammar(Token v) {\n\n if(v.getChVals().equals(\"$\")){\n return \"$\";\n }\n\n String type = v.getType();\n\n if(type.equals(\"keyword\")) {\n type = v.getChVals();\n }\n\n switch (type) {\n case \"begin\":\n return \"b\";\n case \"halt\":\n return \"t\";\n case \"cat\":\n return \"c\";\n case \"mouse\":\n return \"m\";\n case \"clockwise\":\n return \"l\";\n case \"move\":\n return \"o\";\n case \"north\":\n return \"n\";\n case \"south\":\n return \"s\";\n case \"east\":\n return \"e\";\n case \"west\":\n return \"w\";\n case \"hole\":\n return \"h\";\n case \"repeat\":\n return \"r\";\n case \"size\":\n return \"z\";\n case \"end\":\n return \"d\";\n case \"integer\":\n return \"i\";\n case \"variable\":\n return \"v\";\n default:\n return type;\n }\n }", "@Test(timeout = 4000)\n public void test003() throws Throwable {\n StringReader stringReader0 = new StringReader(\"void\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.MoreLexicalActions();\n }", "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "public interface QuotedL1Node {\n\n}", "public interface PerlTokenSets extends PerlElementTypes, MooseElementTypes {\n TokenSet OPERATORS_TOKENSET = TokenSet.create(\n OPERATOR_CMP_NUMERIC,\n OPERATOR_LT_NUMERIC,\n OPERATOR_GT_NUMERIC,\n\n OPERATOR_CMP_STR,\n OPERATOR_LE_STR,\n OPERATOR_GE_STR,\n OPERATOR_EQ_STR,\n OPERATOR_NE_STR,\n OPERATOR_LT_STR,\n OPERATOR_GT_STR,\n\n OPERATOR_HELLIP,\n OPERATOR_FLIP_FLOP,\n OPERATOR_CONCAT,\n\n OPERATOR_PLUS_PLUS,\n OPERATOR_MINUS_MINUS,\n OPERATOR_POW,\n\n OPERATOR_RE,\n OPERATOR_NOT_RE,\n\n //\t\t\tOPERATOR_HEREDOC, // this is an artificial operator, not the real one; fixme uncommenting breaks parsing of print $of <<EOM\n OPERATOR_SHIFT_LEFT,\n OPERATOR_SHIFT_RIGHT,\n\n OPERATOR_AND,\n OPERATOR_OR,\n OPERATOR_OR_DEFINED,\n OPERATOR_NOT,\n\n OPERATOR_ASSIGN,\n\n QUESTION,\n COLON,\n\n OPERATOR_REFERENCE,\n\n OPERATOR_DIV,\n OPERATOR_MUL,\n OPERATOR_MOD,\n OPERATOR_PLUS,\n OPERATOR_MINUS,\n\n OPERATOR_BITWISE_NOT,\n OPERATOR_BITWISE_AND,\n OPERATOR_BITWISE_OR,\n OPERATOR_BITWISE_XOR,\n\n OPERATOR_AND_LP,\n OPERATOR_OR_LP,\n OPERATOR_XOR_LP,\n OPERATOR_NOT_LP,\n\n COMMA,\n FAT_COMMA,\n\n OPERATOR_DEREFERENCE,\n\n OPERATOR_X,\n OPERATOR_FILETEST,\n\n // syntax operators\n OPERATOR_POW_ASSIGN,\n OPERATOR_PLUS_ASSIGN,\n OPERATOR_MINUS_ASSIGN,\n OPERATOR_MUL_ASSIGN,\n OPERATOR_DIV_ASSIGN,\n OPERATOR_MOD_ASSIGN,\n OPERATOR_CONCAT_ASSIGN,\n OPERATOR_X_ASSIGN,\n OPERATOR_BITWISE_AND_ASSIGN,\n OPERATOR_BITWISE_OR_ASSIGN,\n OPERATOR_BITWISE_XOR_ASSIGN,\n OPERATOR_SHIFT_LEFT_ASSIGN,\n OPERATOR_SHIFT_RIGHT_ASSIGN,\n OPERATOR_AND_ASSIGN,\n OPERATOR_OR_ASSIGN,\n OPERATOR_OR_DEFINED_ASSIGN,\n\n OPERATOR_GE_NUMERIC,\n OPERATOR_LE_NUMERIC,\n OPERATOR_EQ_NUMERIC,\n OPERATOR_NE_NUMERIC,\n OPERATOR_SMARTMATCH\n );\n\n TokenSet DEFAULT_KEYWORDS_TOKENSET = TokenSet.create(\n RESERVED_MY,\n RESERVED_OUR,\n RESERVED_STATE,\n RESERVED_LOCAL,\n RESERVED_ELSIF,\n RESERVED_ELSE,\n RESERVED_GIVEN,\n RESERVED_DEFAULT,\n RESERVED_CONTINUE,\n RESERVED_FORMAT,\n RESERVED_SUB,\n RESERVED_PACKAGE,\n RESERVED_USE,\n RESERVED_NO,\n RESERVED_REQUIRE,\n RESERVED_UNDEF,\n RESERVED_PRINT,\n RESERVED_PRINTF,\n RESERVED_SAY,\n RESERVED_GREP,\n RESERVED_MAP,\n RESERVED_SORT,\n RESERVED_DO,\n RESERVED_EVAL,\n RESERVED_GOTO,\n RESERVED_REDO,\n RESERVED_NEXT,\n RESERVED_LAST,\n RESERVED_RETURN,\n\n RESERVED_Y,\n RESERVED_TR,\n RESERVED_Q,\n RESERVED_S,\n RESERVED_M,\n RESERVED_QW,\n RESERVED_QQ,\n RESERVED_QR,\n RESERVED_QX,\n\n RESERVED_IF,\n RESERVED_UNTIL,\n RESERVED_UNLESS,\n RESERVED_FOR,\n RESERVED_FOREACH,\n RESERVED_WHEN,\n RESERVED_WHILE\n );\n\n TokenSet TRY_CATCH_KEYWORDS_TOKENSET = TokenSet.create(\n RESERVED_TRY,\n RESERVED_CATCH,\n RESERVED_FINALLY,\n RESERVED_CATCH_WITH,\n RESERVED_EXCEPT,\n RESERVED_OTHERWISE,\n RESERVED_CONTINUATION\n );\n\n TokenSet METHOD_SIGNATURES_KEYWORDS_TOKENSET = TokenSet.create(\n RESERVED_METHOD,\n RESERVED_FUNC\n );\n\n TokenSet KEYWORDS_TOKENSET = TokenSet.orSet(\n DEFAULT_KEYWORDS_TOKENSET,\n MOOSE_RESERVED_TOKENSET,\n METHOD_SIGNATURES_KEYWORDS_TOKENSET,\n TRY_CATCH_KEYWORDS_TOKENSET\n );\n\n TokenSet ANNOTATIONS_KEYS = TokenSet.create(\n ANNOTATION_DEPRECATED_KEY,\n ANNOTATION_RETURNS_KEY,\n ANNOTATION_OVERRIDE_KEY,\n ANNOTATION_METHOD_KEY,\n ANNOTATION_ABSTRACT_KEY,\n ANNOTATION_INJECT_KEY,\n ANNOTATION_NOINSPECTION_KEY,\n ANNOTATION_TYPE_KEY\n\n );\n\n TokenSet STRING_CONTENT_TOKENSET = TokenSet.create(\n STRING_CONTENT,\n STRING_CONTENT_XQ,\n STRING_CONTENT_QQ\n );\n\n TokenSet HEREDOC_BODIES_TOKENSET = TokenSet.create(\n HEREDOC,\n HEREDOC_QQ,\n HEREDOC_QX\n );\n\n\n TokenSet QUOTE_MIDDLE = TokenSet.create(REGEX_QUOTE, REGEX_QUOTE_E);\n\n TokenSet QUOTE_OPEN_ANY = TokenSet.orSet(\n TokenSet.create(REGEX_QUOTE_OPEN, REGEX_QUOTE_OPEN_E),\n PerlParserUtil.OPEN_QUOTES,\n QUOTE_MIDDLE\n );\n\n TokenSet QUOTE_CLOSE_FIRST_ANY = TokenSet.orSet(\n TokenSet.create(REGEX_QUOTE_CLOSE),\n QUOTE_MIDDLE,\n CLOSE_QUOTES\n );\n\n TokenSet QUOTE_CLOSE_PAIRED = TokenSet.orSet(\n CLOSE_QUOTES,\n TokenSet.create(REGEX_QUOTE_CLOSE)\n );\n\n TokenSet SIGILS = TokenSet.create(\n SIGIL_SCALAR, SIGIL_ARRAY, SIGIL_HASH, SIGIL_GLOB, SIGIL_CODE, SIGIL_SCALAR_INDEX\n );\n\n TokenSet STATEMENTS = TokenSet.create(\n STATEMENT, USE_STATEMENT, NO_STATEMENT\n );\n\n TokenSet LAZY_CODE_BLOCKS = TokenSet.create(LP_CODE_BLOCK, LP_CODE_BLOCK_WITH_TRYCATCH);\n\n TokenSet LAZY_PARSABLE_REGEXPS = TokenSet.create(\n LP_REGEX_REPLACEMENT,\n LP_REGEX,\n LP_REGEX_X,\n LP_REGEX_XX\n );\n\n TokenSet HEREDOC_ENDS = TokenSet.create(HEREDOC_END, HEREDOC_END_INDENTABLE);\n /**\n * Quote openers with three or four quotes\n */\n TokenSet COMPLEX_QUOTE_OPENERS = TokenSet.create(\n RESERVED_S,\n RESERVED_TR,\n RESERVED_Y\n );\n TokenSet SIMPLE_QUOTE_OPENERS = TokenSet.create(\n RESERVED_Q,\n RESERVED_QQ,\n RESERVED_QX,\n RESERVED_QW,\n RESERVED_QR,\n RESERVED_M\n );\n}", "public final Token emit() {\n \tANTLR3LocationToken ret = null;\n ITokenFactory<? extends ANTLR3LocationToken> tokenFactory = getTokenFactory();\n ret = tokenFactory.createToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1);\n \t ret.setLine(state.tokenStartLine);\n String newtext = input.substring(state.tokenStartCharIndex,getCharIndex()-1);\n ret.setText(newtext); // sets the text as exactly what has been read\n ret.setCharPositionInLine(state.tokenStartCharPositionInLine);\n ret.setEndLine(getLine());\n ret.setEndColumn(getCharPositionInLine());\n emit(ret);\n return ret;\n }", "public final void mT__15() throws RecognitionException {\n try {\n int _type = T__15;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:13:7: ( 'from' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:13:9: 'from'\n {\n match(\"from\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\n public void jUnitTest10(){\n TigerLexer lex;\n try {\n lex = new TigerLexer(new ANTLRFileStream(\"test/jUnitTests/jUnitTest10.tig\", \"UTF8\"));\n CommonTokenStream tokens = new CommonTokenStream(lex);\n TigerParser parser = new TigerParser(tokens);\n SemantVisitor visitor = new SemantVisitor();\n parser.prog();\n boolean resp = (parser.getNumberOfSyntaxErrors() == 0 && visitor.getNumberOfSemanticErrors() == 0);\n assertTrue(resp);\n } catch (IOException ex) {\n Logger.getLogger(TesteGlobal.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public interface AstFactory\n{\n\tIdNode IdNode(Token t, String text);\n\tExtIdNode ExtIdNode(Token t, String text);\n\n\tAmbigNameNode AmbigNameNode(Token t, String text);\t // Deprecate? Never need to make ambigname \"manually\" via af? (constructed only by ScribbleParser)\n\tDataParamNode DataParamNode(Token t, String text);\n\tOpNode OpNode(Token t, String text);\n\tRecVarNode RecVarNode(Token t, String text);\n\tRoleNode RoleNode(Token t, String text);\n\tSigParamNode SigParamNode(Token t, String text);\n\n\tDataNameNode DataNameNode(Token t, List<IdNode> elems);\n\tGProtoNameNode GProtoNameNode(Token t, List<IdNode> elems);\n\tLProtoNameNode LProtoNameNode(Token t, List<IdNode> elems);\n\tModuleNameNode ModuleNameNode(Token t, List<IdNode> elems);\n\tSigNameNode SigNameNode(Token t, List<IdNode> elems);\n\t\n\tModule Module(Token t, ModuleDecl mdecl,\n\t\t\tList<? extends ImportDecl<?>> imports,\n\t\t\tList<? extends NonProtoDecl<?>> nonprotos,\n\t\t\tList<? extends ProtoDecl<?>> protos);\n\n\tModuleDecl ModuleDecl(Token t, ModuleNameNode fullname);\n\tImportModule ImportModule(Token t, ModuleNameNode modname,\n\t\t\tModuleNameNode alias); // alias == null for no alias (child not added)\n\n\tDataDecl DataDecl(Token t, IdNode schema, ExtIdNode extName,\n\t\t\tExtIdNode extSource, DataNameNode name);\n\tSigDecl SigDecl(Token t, IdNode schema, ExtIdNode extName,\n\t\t\tExtIdNode extSource, SigNameNode name);\n\tGProtoDecl GProtoDecl(Token t, ProtoModList mods, GProtoHeader header,\n\t\t\tGProtoDef def);\n\n\t// TODO: refactor to use ProtoModList, etc.\n\tProtoModList ProtoModList(Token t, List<ProtoModNode> mods);\n\tAuxMod AuxMod(Token t);\n\tExplicitMod ExplicitMod(Token t);\n\n\tGProtoHeader GProtocolHeader(Token t, GProtoNameNode name, RoleDeclList rs,\n\t\t\tNonRoleParamDeclList ps);\n\tRoleDeclList RoleDeclList(Token t, List<RoleDecl> ds);\n\tRoleDecl RoleDecl(Token t, RoleNode r);\n\tNonRoleParamDeclList NonRoleParamDeclList(Token t, \n\t\t\tList<NonRoleParamDecl<? extends NonRoleParamKind>> ds);\n\tDataParamDecl DataParamDecl(Token t, DataParamNode p);\n\tSigParamDecl SigParamDecl(Token t, SigParamNode p);\n\n\tGProtoDef GProtoDef(Token t, GProtoBlock block);\n\tGProtoBlock GProtoBlock(Token t, GInteractionSeq seq);\n\tGInteractionSeq GInteractionSeq(Token t, List<GSessionNode> elems); // CHECKME: ? extends GSessionNode ? -- and similar others?\n\n\tSigLitNode SigLitNode(Token t, OpNode op, PayElemList pay);\n\tPayElemList PayElemList(Token t, List<PayElem<?>> elems);\n\t<K extends PayElemKind> UnaryPayElem<K> UnaryPayElem(Token t, \n\t\t\tPayElemNameNode<K> name);\n\tGDelegPayElem GDelegPayElem(Token t, GProtoNameNode name, RoleNode r);\n\n\tGMsgTransfer GMsgTransfer(Token t, RoleNode src, MsgNode msg,\n\t\t\tList<RoleNode> dsts);\n\tGConnect GConnect(Token t, RoleNode src, MsgNode msg, RoleNode dst);\n\tGDisconnect GDisconnect(Token t, RoleNode left, RoleNode right);\n\tGWrap GWrap(Token t, RoleNode client, RoleNode server);\n\n\tGContinue GContinue(Token t, RecVarNode rv);\n\tGDo GDo(Token t, GProtoNameNode proto, NonRoleArgList args, RoleArgList rs);\n\n\tRoleArgList RoleArgList(Token t, List<RoleArg> rs);\n\tRoleArg RoleArg(Token t, RoleNode r);\n\tNonRoleArgList NonRoleArgList(Token t, List<NonRoleArg> args);\n\tNonRoleArg NonRoleArg(Token t, NonRoleArgNode arg);\n\n\tGChoice GChoice(Token t, RoleNode subj, List<GProtoBlock> blocks);\n\tGRecursion GRecursion(Token t, RecVarNode rv, GProtoBlock block);\n\n\t/*LProtoDecl LProtoDecl(Token t, ProtoModList mods,\n\t\t\tLProtoHeader header, LProtoDef def); // Not currently used -- local protos not yet parsed, only projected*/\n\n\tLProjectionDecl LProjectionDecl(Token t, ProtoModList mods,\n\t\t\tLProtoHeader header, LProtoDef def, GProtoNameNode fullname,\n\t\t\tRoleNode self); // del extends that of LProtoDecl\n\n\tLProtoHeader LProtoHeader(Token t, LProtoNameNode name, RoleDeclList rs,\n\t\t\tNonRoleParamDeclList ps);\n\tLSelfDecl LSelfDecl(Token t, RoleNode r);\n\n\tLProtoDef LProtoDef(Token t, LProtoBlock block);\n\tLProtoBlock LProtoBlock(Token t, LInteractionSeq seq);\n\tLInteractionSeq LInteractionSeq(Token t, List<LSessionNode> elems);\n\n\t// Following take \"self\" param in case of parsed Token (not actually supported yet)\n\tLSend LSend(Token t, RoleNode self, MsgNode msg, RoleNode dst);\n\tLRecv LRecv(Token t, RoleNode src, MsgNode msg, RoleNode self);\n\tLAcc LAcc(Token t, RoleNode src, MsgNode msg, RoleNode self);\n\tLReq LReq(Token t, RoleNode self, MsgNode msg, RoleNode dst);\n\tLDisconnect LDisconnect(Token t, RoleNode self, RoleNode peer); \n\tLClientWrap LClientWrap(Token t, RoleNode client, RoleNode server);\n\tLServerWrap LServerWrap(Token t, RoleNode client, RoleNode server);\n\n\tLContinue LContinue(Token t, RecVarNode rv); \n\tLDo LDo(Token t, LProtoNameNode proto, NonRoleArgList as, RoleArgList rs);\n\n\tLChoice LChoice(Token t, RoleNode subj, List<LProtoBlock> blocks);\n\tLRecursion LRecursion(Token t, RecVarNode rv, LProtoBlock block);\n}", "private TraceParser genParser() throws ParseException {\n TraceParser parser = new TraceParser();\n parser.addRegex(\"^(?<VTIME>)(?<TYPE>)$\");\n parser.addPartitionsSeparator(\"^--$\");\n return parser;\n }", "public interface BiomedicalParseSym {\n /* terminals */\n public static final int OR_OP = 6;\n public static final int String = 4;\n public static final int RPAREN = 3;\n public static final int error = 1;\n public static final int AND_OP = 5;\n public static final int NOT_OP = 7;\n public static final int LPAREN = 2;\n public static final int EOF = 0;\n}", "@Override\n public R visit(Bind n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n n.expression.accept(this, argu);\n n.nodeToken2.accept(this, argu);\n n.var.accept(this, argu);\n n.nodeToken3.accept(this, argu);\n return _ret;\n }", "public final void mT__14() throws RecognitionException {\r\n try {\r\n int _type = T__14;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:12:7: ( ';' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:12:9: ';'\r\n {\r\n match(';'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public static ParseAction<Located<Void>> parse4EqualsOrMore(){\n\t\treturn sequence(\n\t\t\t\tdrop(skipWhitespaceAndTLAComments()),\n\t\t\t\tdrop(matchPattern(TLA_4_EQUALS_OR_MORE))\n\t\t).map(seq -> new Located<>(seq.getLocation(), null));\n\t}", "public String visit(Goal n, String argu) {\n n.f0.accept(this, null);\n n.f1.accept(this, null);\n \t return \" DONE!\"; \n }", "boolean tokenCanEnd(Token token)\r\n {\r\n if (token == null)\r\n return false;\r\n int type = token.getType();\r\n switch (type) {\r\n \tcase MExprANTLRParserTokenTypes.NOT:\r\n \tcase MExprANTLRParserTokenTypes.NOTNOT:\r\n case MExprANTLRParserTokenTypes.RBRACE:\r\n case MExprANTLRParserTokenTypes.RBRACKET:\r\n case MExprANTLRParserTokenTypes.RPAREN:\r\n case MExprANTLRParserTokenTypes.INT: \r\n case MExprANTLRParserTokenTypes.REAL:\r\n case MExprANTLRParserTokenTypes.ID:\r\n case MExprANTLRParserTokenTypes.NULLID:\r\n case MExprANTLRParserTokenTypes.POSTFIXID:\r\n case MExprANTLRParserTokenTypes.STRING:\r\n case MExprANTLRParserTokenTypes.BLANK1:\r\n case MExprANTLRParserTokenTypes.IDBLANK1:\r\n case MExprANTLRParserTokenTypes.BLANKID1:\r\n case MExprANTLRParserTokenTypes.IDBLANKID1:\r\n case MExprANTLRParserTokenTypes.BLANK2:\r\n case MExprANTLRParserTokenTypes.IDBLANK2:\r\n case MExprANTLRParserTokenTypes.BLANKID2:\r\n case MExprANTLRParserTokenTypes.IDBLANKID2:\r\n case MExprANTLRParserTokenTypes.BLANK3:\r\n case MExprANTLRParserTokenTypes.IDBLANK3:\r\n case MExprANTLRParserTokenTypes.BLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKDOT:\r\n case MExprANTLRParserTokenTypes.BLANKDOT:\r\n case MExprANTLRParserTokenTypes.SLOT: \r\n case MExprANTLRParserTokenTypes.TYPESETEXPR:\r\n case MExprANTLRParserTokenTypes.GET:\r\n case MExprANTLRParserTokenTypes.PUT:\r\n case MExprANTLRParserTokenTypes.PERCENT:\r\n case MExprANTLRParserTokenTypes.PERCENTNUMBER:\r\n \t return true;\r\n }\r\n\r\n return false;\r\n }", "public static void imprimirAST(NodoBase raiz){\n\t\t sangria+=2;\n\t\t while (raiz != null) {\n\t\t printSpaces();\n\t\t if (raiz instanceof NodoIf)\n\t\t \tSystem.out.println(\"If\");\n\t\t else if (raiz instanceof NodoRepeat)\n\t\t \tSystem.out.println(\"Repeat\");\n else if (raiz instanceof NodoFor)\n System.out.println(\"For\");\n else if (raiz instanceof NodoDeclaracion)\n System.out.println(\"Declaracion\");\n\t\t else if (raiz instanceof NodoLeer) \n\t\t \tSystem.out.println(\"Lectura: \"+((NodoLeer)raiz).getIdentificador());\n\t\t else if (raiz instanceof NodoEscribir)\n\t\t \tSystem.out.println(\"Escribir\");\n else if (raiz instanceof NodoEstructura)\n System.out.println(\"Estructura\");\n else if (raiz instanceof NodoFuncionRetorna){\n System.out.println(\"Funcion con Retorno\"); }\n else if (raiz instanceof NodoFuncionSinRetorna)\n System.out.println(\"Funcion sin Retorno\");\n else if (raiz instanceof NodoParametro)\n System.out.println(\"Parametro\");\n\t\t else \n if (raiz instanceof NodoAsignacion)\n {\n if(((NodoAsignacion)raiz).getPosicion()!=null) //vector\n System.out.println(\"Asignacion a: \"+((NodoAsignacion)raiz).getIdentificador()+\"[\"+((NodoAsignacion)raiz).getPosicion()+\"]\"); \n else\n System.out.println(\"Asignacion a: \"+((NodoAsignacion)raiz).getIdentificador());\n }\n else if (raiz instanceof NodoCall)\n {\n if(((NodoCall)raiz).getArgumentos()!=null) //vector\n System.out.println(\"Llamada a la funcion: \"+((NodoCall)raiz).getIdentificador()); \n else\n System.out.println(\"Llamada a la funcion: \"+((NodoCall)raiz).getIdentificador()+\"(\"+\")\");\n }\n else if (raiz instanceof NodoOperacion\n\t\t \t\t|| raiz instanceof NodoValor\n\t\t \t\t|| raiz instanceof NodoIdentificador )\n\t\t \timprimirNodo(raiz);\n \n else if (raiz instanceof NodoVariable)\n {\n if(((NodoVariable)raiz).getNumero()!=null)\n System.out.println(((NodoVariable)raiz).getIdentificador()+\"[\"+((NodoVariable)raiz).getNumero()+\"]\");\n else\n System.out.println(((NodoVariable)raiz).getIdentificador());\n }\n\t\t else System.out.println(\"Tipo de nodo desconocido\");\n\t\t \n\t\t \n /* Hago el recorrido recursivo */\n \n if (raiz instanceof NodoEstructura){\n printSpaces();\n System.out.println(\"**Funcion**\");\n imprimirAST(((NodoEstructura)raiz).getFuncion());\n printSpaces();\n System.out.println(\"**Main**\");\n imprimirAST(((NodoEstructura)raiz).getBloque());\n }\n \n if (raiz instanceof NodoFuncionRetorna){\n printSpaces();\n System.out.println(\"**Funcion con Retorno**\");\n imprimirAST(((NodoFuncionRetorna)raiz).getTipo());\n \n printSpaces();\n System.out.println(\" ID, \"+((NodoFuncionRetorna)raiz).getIdentificador());\n \n if(((NodoFuncionRetorna)raiz).getParametros()!=null){\n printSpaces();\n System.out.println(\"parametros\");\n imprimirAST(((NodoFuncionRetorna)raiz).getParametros());\n }\n printSpaces();\n System.out.println(\"cuerpo\");\n imprimirAST(((NodoFuncionRetorna)raiz).getSecuencias());\n \n printSpaces();\n System.out.println(\"retorno\");\n imprimirAST(((NodoFuncionRetorna)raiz).getExpresion());\n }\n \n if (raiz instanceof NodoFuncionSinRetorna){\n printSpaces();\n System.out.println(\"**Funcion sin Retorno**\");\n System.out.println(\"VOID\");\n \n printSpaces();\n System.out.println(\" ID, \"+((NodoFuncionSinRetorna)raiz).getIdentificador());\n \n if(((NodoFuncionSinRetorna)raiz).getParametros()!=null){\n printSpaces();\n System.out.println(\"parametros\");\n imprimirAST(((NodoFuncionSinRetorna)raiz).getParametros());\n }\n printSpaces();\n System.out.println(\"cuerpo\");\n imprimirAST(((NodoFuncionSinRetorna)raiz).getSecuencias());\n \n }\n \n if (raiz instanceof NodoParametro){\n printSpaces();\n System.out.println(\"**Parametros**\");\n imprimirAST(((NodoParametro)raiz).getTipo());\n \n System.out.println(\"\\tID, \"+((NodoParametro)raiz).getIdentificador());\n }\n \n if (raiz instanceof NodoCall){\n printSpaces();\n if(((NodoCall)raiz).getArgumentos()!=null)\n System.out.println(\"**argumentos**\");\n imprimirAST(((NodoCall)raiz).getArgumentos());\n }\n \n if (raiz instanceof NodoDeclaracion){\n printSpaces();\n System.out.println(\"**Declaracion**\");\n imprimirAST(((NodoDeclaracion)raiz).getTipo());\n imprimirAST(((NodoDeclaracion)raiz).getLis_asig());\n }\n \n if (raiz instanceof NodoIf){\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Prueba IF**\");\n\t\t \timprimirAST(((NodoIf)raiz).getPrueba());\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Then IF**\");\n\t\t \timprimirAST(((NodoIf)raiz).getParteThen());\n\t\t \tif(((NodoIf)raiz).getParteElse()!=null){\n\t\t \t\tprintSpaces();\n\t\t \t\tSystem.out.println(\"**Else IF**\");\n\t\t \t\timprimirAST(((NodoIf)raiz).getParteElse());\n\t\t \t}\n\t\t }\n\t\t else if (raiz instanceof NodoRepeat){\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Cuerpo REPEAT**\");\n\t\t \timprimirAST(((NodoRepeat)raiz).getCuerpo());\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Prueba REPEAT**\");\n\t\t \timprimirAST(((NodoRepeat)raiz).getPrueba());\n\t\t }\n else if (raiz instanceof NodoFor){\n printSpaces();\n System.out.println(\"**Asignacion For**\");\n imprimirAST(((NodoFor)raiz).getAsignacion());\n printSpaces();\n System.out.println(\"**Comprobacion FOR**\");\n imprimirAST(((NodoFor)raiz).getPrueba());\n printSpaces();\n System.out.println(\"**Acumulador FOR**\");\n imprimirAST(((NodoFor)raiz).getAcumulador());\n printSpaces();\n System.out.println(\"**Cuerpo FOR**\");\n imprimirAST(((NodoFor)raiz).getCuerpo());\n \n }\n\t\t else \n \n if (raiz instanceof NodoAsignacion)\n\t\t \timprimirAST(((NodoAsignacion)raiz).getExpresion());\n\t\t else \n \n if (raiz instanceof NodoEscribir)\n\t\t \timprimirAST(((NodoEscribir)raiz).getExpresion());\n\t\t else \n \n \n if (raiz instanceof NodoOperacion){\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Expr Izquierda Operacion**\");\n\t\t \timprimirAST(((NodoOperacion)raiz).getOpIzquierdo());\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Expr Derecha Operacion**\");\t\t \t\n\t\t \timprimirAST(((NodoOperacion)raiz).getOpDerecho());\n\t\t }\n\t\t raiz = raiz.getHermanoDerecha();\n\t\t }\n\t\t sangria-=2;\n\t\t}", "public R visit(Operator n) {\n R _ret=null;\n int which = n.f0.which;\n String s = \" \";\n switch (which)\n {\n case 0 : {s=\"LT\"; break;}\n case 1 : {s= \"PLUS\"; break;}\n case 2 : {s= \"MINUS\";break;}\n case 3 : {s= \"TIMES\"; break;}\n }\n \t return (R)s;\n }", "@Override\n\tpublic void visit(Matches arg0) {\n\n\t}", "final public IASTLiteralTextNode Argument() throws ParseException {\r\n IASTLiteralTextNode node = null;\r\n Token lastToken = null;\r\n Token equalToken = null;\r\n Token firstToken = null;\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case INT:\r\n firstToken = jj_consume_token(INT);\r\n if (jj_2_3(2147483647)) {\r\n equalToken = jj_consume_token(EQUAL);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case MINUS:\r\n jj_consume_token(MINUS);\r\n break;\r\n default:\r\n jj_la1[16] = jj_gen;\r\n ;\r\n }\r\n lastToken = jj_consume_token(INT);\r\n } else {\r\n ;\r\n }\r\n if (equalToken == null) {\r\n lastToken = firstToken;\r\n }\r\n break;\r\n case ASTERISK:\r\n case WORD:\r\n case STRING:\r\n case PACKAGE_OPTION:\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ASTERISK:\r\n firstToken = jj_consume_token(ASTERISK);\r\n break;\r\n case PACKAGE_OPTION:\r\n firstToken = jj_consume_token(PACKAGE_OPTION);\r\n break;\r\n case WORD:\r\n firstToken = jj_consume_token(WORD);\r\n break;\r\n case STRING:\r\n firstToken = jj_consume_token(STRING);\r\n break;\r\n default:\r\n jj_la1[17] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n lastToken = firstToken;\r\n break;\r\n default:\r\n jj_la1[18] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n node = getRawLiteralTextNodeSpanning(firstToken, lastToken);\r\n {if (true) return node;}\r\n throw new Error(\"Missing return statement in function\");\r\n }", "public interface ExpressionVisitor{\n\n void handel(BracketExpression bracketExpression);\n\n void handel(NaturalNumber naturalNumber);\n\n\n void handel(Sum sum);\n void handel(Difference difference);\n void handel(Product product);\n void handel(Quotient quotient);\n\n void handel(VariableExpression variableExpression);\n}", "public void visit(Literal literal) {}", "@Override\n public String visit(MoveStmt n) {\n String _ret = null;\n String r1 = this.reg[n.f1.f0.which];\n int which = n.f2.f0.which;\n if (which == 0) {\n /* 0 MOVE r1 HALLOCATE SimpleExp */\n this.save_a0v0(r1);\n n.f2.accept(this);\n Global.outputString += \"move $\" + r1 + \", $v0\\n\";\n this.load_a0v0(r1);\n } else {\n /* 1 MOVE r1 Operator Reg SimpleExp */\n /* 2 MOVE r1 SimpleExp */\n this.moveReg = r1;\n n.f2.accept(this);\n this.moveReg = null;\n }\n return _ret;\n }", "public final void synpred47_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_typePar_2_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: (otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5\n {\n otherlv_1=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_synpred47_InternalMitraParser3552); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1892:1: ( (lv_typePar_2_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1894:3: lv_typePar_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCollectionTypeAccess().getTypeParTypeParserRuleCall_1_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred47_InternalMitraParser3572);\n lv_typePar_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_synpred47_InternalMitraParser3585); if (state.failed) return ;\n\n }\n }", "void visit(Text node);", "@Test(timeout = 4000)\n public void test139() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(18, token0.getTokenType());\n assertEquals(\":\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"E\", token1.getTokenText());\n }", "final public Token IdentifierOrReserved() throws ParseException {\n /*@bgen(jjtree) IdentifierOrReserved */\n SimpleNode jjtn000 = new SimpleNode(JJTIDENTIFIERORRESERVED);\n boolean jjtc000 = true;\n jjtree.openNodeScope(jjtn000);Token t1;\n log.trace(\"Entering IdentifierOrReserved\");\n try {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case DEFINE:\n t1 = jj_consume_token(DEFINE);\n break;\n case LOAD:\n t1 = jj_consume_token(LOAD);\n break;\n case FILTER:\n t1 = jj_consume_token(FILTER);\n break;\n case FOREACH:\n t1 = jj_consume_token(FOREACH);\n break;\n case MATCHES:\n t1 = jj_consume_token(MATCHES);\n break;\n case ORDER:\n t1 = jj_consume_token(ORDER);\n break;\n case ARRANGE:\n t1 = jj_consume_token(ARRANGE);\n break;\n case DISTINCT:\n t1 = jj_consume_token(DISTINCT);\n break;\n case COGROUP:\n t1 = jj_consume_token(COGROUP);\n break;\n case JOIN:\n t1 = jj_consume_token(JOIN);\n break;\n case CROSS:\n t1 = jj_consume_token(CROSS);\n break;\n case UNION:\n t1 = jj_consume_token(UNION);\n break;\n case SPLIT:\n t1 = jj_consume_token(SPLIT);\n break;\n case INTO:\n t1 = jj_consume_token(INTO);\n break;\n case IF:\n t1 = jj_consume_token(IF);\n break;\n case ALL:\n t1 = jj_consume_token(ALL);\n break;\n case ANY:\n t1 = jj_consume_token(ANY);\n break;\n case AS:\n t1 = jj_consume_token(AS);\n break;\n case BY:\n t1 = jj_consume_token(BY);\n break;\n case USING:\n t1 = jj_consume_token(USING);\n break;\n case INNER:\n t1 = jj_consume_token(INNER);\n break;\n case OUTER:\n t1 = jj_consume_token(OUTER);\n break;\n case PARALLEL:\n t1 = jj_consume_token(PARALLEL);\n break;\n case GROUP:\n t1 = jj_consume_token(GROUP);\n break;\n case AND:\n t1 = jj_consume_token(AND);\n break;\n case OR:\n t1 = jj_consume_token(OR);\n break;\n case NOT:\n t1 = jj_consume_token(NOT);\n break;\n case GENERATE:\n t1 = jj_consume_token(GENERATE);\n break;\n case FLATTEN:\n t1 = jj_consume_token(FLATTEN);\n break;\n case EVAL:\n t1 = jj_consume_token(EVAL);\n break;\n case ASC:\n t1 = jj_consume_token(ASC);\n break;\n case DESC:\n t1 = jj_consume_token(DESC);\n break;\n case INT:\n t1 = jj_consume_token(INT);\n break;\n case LONG:\n t1 = jj_consume_token(LONG);\n break;\n case FLOAT:\n t1 = jj_consume_token(FLOAT);\n break;\n case DOUBLE:\n t1 = jj_consume_token(DOUBLE);\n break;\n case CHARARRAY:\n t1 = jj_consume_token(CHARARRAY);\n break;\n case BYTEARRAY:\n t1 = jj_consume_token(BYTEARRAY);\n break;\n case BAG:\n t1 = jj_consume_token(BAG);\n break;\n case TUPLE:\n t1 = jj_consume_token(TUPLE);\n break;\n case MAP:\n t1 = jj_consume_token(MAP);\n break;\n case IS:\n t1 = jj_consume_token(IS);\n break;\n case NULL:\n t1 = jj_consume_token(NULL);\n break;\n case STREAM:\n t1 = jj_consume_token(STREAM);\n break;\n case THROUGH:\n t1 = jj_consume_token(THROUGH);\n break;\n case STORE:\n t1 = jj_consume_token(STORE);\n break;\n case SHIP:\n t1 = jj_consume_token(SHIP);\n break;\n case CACHE:\n t1 = jj_consume_token(CACHE);\n break;\n case INPUT:\n t1 = jj_consume_token(INPUT);\n break;\n case OUTPUT:\n t1 = jj_consume_token(OUTPUT);\n break;\n case ERROR:\n t1 = jj_consume_token(ERROR);\n break;\n case STDIN:\n t1 = jj_consume_token(STDIN);\n break;\n case STDOUT:\n t1 = jj_consume_token(STDOUT);\n break;\n case LIMIT:\n t1 = jj_consume_token(LIMIT);\n break;\n case SAMPLE:\n t1 = jj_consume_token(SAMPLE);\n break;\n case IDENTIFIER:\n t1 = jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[7] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n jjtree.closeNodeScope(jjtn000, true);\n jjtc000 = false;\n {if (true) return t1;}\n } finally {\n if (jjtc000) {\n jjtree.closeNodeScope(jjtn000, true);\n }\n }\n throw new Error(\"Missing return statement in function\");\n }", "@Test\n public void jUnitTest04(){\n TigerLexer lex;\n try {\n lex = new TigerLexer(new ANTLRFileStream(\"test/jUnitTests/jUnitTest04.tig\", \"UTF8\"));\n CommonTokenStream tokens = new CommonTokenStream(lex);\n TigerParser parser = new TigerParser(tokens);\n SemantVisitor visitor = new SemantVisitor();\n parser.prog();\n boolean resp = (parser.getNumberOfSyntaxErrors() == 0 && visitor.getNumberOfSemanticErrors() == 0);\n assertTrue(resp);\n } catch (IOException ex) {\n Logger.getLogger(TesteGlobal.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "@Test(timeout = 4000)\n public void test001() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"hN!SM~8ux(wB\");\n xPathLexer0.dollar();\n xPathLexer0.not();\n xPathLexer0.nextToken();\n xPathLexer0.leftParen();\n xPathLexer0.whitespace();\n xPathLexer0.plus();\n Token token0 = xPathLexer0.or();\n assertNull(token0);\n }", "public interface PhpTokenTypes extends TokenType\n{\n\tIElementType PHP_OPENING_TAG = new PhpElementType(\"php opening tag\"); // <?php or <?\n\tIElementType PHP_ECHO_OPENING_TAG = new PhpElementType(\"php echo opening tag\"); // <?=\n\tIElementType PHP_CLOSING_TAG = new PhpElementType(\"php closing tag\"); // ?>\n\tIElementType UNKNOWN_SYMBOL = new PhpElementType(\"dunno what's that\");\n\tIElementType SYNTAX_ERROR = new PhpElementType(\"syntax error\");\n\n\tIElementType HTML = new PhpElementType(\"html\");\n\n\tIElementType kwIF = new PhpElementType(\"if\");\n\tIElementType kwELSEIF = new PhpElementType(\"elseif\");\n\tIElementType kwELSE = new PhpElementType(\"else\");\n\tIElementType kwFOR = new PhpElementType(\"for\");\n\tIElementType kwFOREACH = new PhpElementType(\"foreach keyword\");\n\tIElementType kwWHILE = new PhpElementType(\"while\");\n\tIElementType kwDO = new PhpElementType(\"do\");\n\tIElementType kwSWITCH = new PhpElementType(\"switch\");\n\tIElementType kwCASE = new PhpElementType(\"case\");\n\tIElementType kwDEFAULT = new PhpElementType(\"default keyword\");\n\tIElementType kwTRY = new PhpElementType(\"try\");\n\tIElementType kwCATCH = new PhpElementType(\"catch\");\n\tIElementType FINALLY_KEYWORD = new PhpElementType(\"FINALLY_KEYWORD\");\n\tIElementType kwDECLARE = new PhpElementType(\"declare\");\n\tIElementType kwBREAK = new PhpElementType(\"break\");\n\tIElementType kwENDIF = new PhpElementType(\"endif\");\n\tIElementType kwENDFOR = new PhpElementType(\"endfor\");\n\tIElementType kwENDFOREACH = new PhpElementType(\"endforeach\");\n\tIElementType kwENDWHILE = new PhpElementType(\"endwhile\");\n\tIElementType kwENDSWITCH = new PhpElementType(\"endswitch\");\n\tIElementType kwENDDECLARE = new PhpElementType(\"enddeclare\");\n\n\tIElementType kwEXIT = new PhpElementType(\"exit\");\n\tIElementType NAMESPACE_KEYWORD = new PhpElementType(\"NAMESPACE_KEYWORD\");\n\tIElementType USE_KEYWORD = new PhpElementType(\"USE_KEYWORD\");\n\tIElementType PRIVATE_KEYWORD = new PhpElementType(\"PRIVATE_KEYWORD\");\n\tIElementType kwFUNCTION = new PhpElementType(\"FUNCTION_KEYWORD\");\n\tIElementType kwNEW = new PhpElementType(\"new\");\n\tIElementType kwINSTANCEOF = new PhpElementType(\"instanceof\");\n\tIElementType kwCONST = new PhpElementType(\"CONST_KEYWORD\");\n\tIElementType kwLIST = new PhpElementType(\"list\");\n\tIElementType kwIMPLEMENTS = new PhpElementType(\"implements\");\n\tIElementType kwEVAL = new PhpElementType(\"eval\");\n\tIElementType FINAL_KEYWORD = new PhpElementType(\"final\");\n\tIElementType kwAS = new PhpElementType(\"as\");\n\tIElementType kwTHROW = new PhpElementType(\"throw\");\n\tIElementType kwEXCEPTION = new PhpElementType(\"exception\");\n\tIElementType kwINCLUDE_ONCE = new PhpElementType(\"include once\");\n\tIElementType kwCLASS = new PhpElementType(\"class\");\n\tIElementType ABSTRACT_KEYWORD = new PhpElementType(\"ABSTRACT_KEYWORD\");\n\tIElementType INTERFACE_KEYWORD = new PhpElementType(\"INTERFACE_KEYWORD\");\n\tIElementType TRAIT_KEYWORD = new PhpElementType(\"TRAIT_KEYWORD\");\n\tIElementType PUBLIC_KEYWORD = new PhpElementType(\"PUBLIC_KEYWORD\");\n\tIElementType STATIC_KEYWORD = new PhpElementType(\"STATIC_KEYWORD\");\n\tIElementType YIELD_KEYWORD = new PhpElementType(\"YIELD_KEYWORD\");\n\tIElementType FROM_KEYWORD = new PhpElementType(\"FROM_KEYWORD\");\n\tIElementType kwCLONE = new PhpElementType(\"clone keyword\");\n\tIElementType kwISSET = new PhpElementType(\"isset keyword\");\n\tIElementType kwEMPTY = new PhpElementType(\"empty keyword\");\n\tIElementType kwRETURN = new PhpElementType(\"return\");\n\tIElementType kwVAR = new PhpElementType(\"var\");\n\tIElementType kwPHP_USER_FILTER = new PhpElementType(\"php user filter\");\n\tIElementType kwCONTINUE = new PhpElementType(\"continue\");\n\tIElementType kwDIE = new PhpElementType(\"die\");\n\tIElementType PROTECTED_KEYWORD = new PhpElementType(\"PROTECTED_KEYWORD\");\n\tIElementType kwPRINT = new PhpElementType(\"print\");\n\tIElementType kwECHO = new PhpElementType(\"echo\");\n\tIElementType kwINCLUDE = new PhpElementType(\"include\");\n\tIElementType kwGLOBAL = new PhpElementType(\"global\");\n\tIElementType kwEXTENDS = new PhpElementType(\"extends\");\n\tIElementType kwUNSET = new PhpElementType(\"unset\");\n\tIElementType kwREQUIRE_ONCE = new PhpElementType(\"require once\");\n\tIElementType kwARRAY = new PhpElementType(\"array\");\n\tIElementType kwREQUIRE = new PhpElementType(\"require\");\n\n\n\tIElementType LINE_COMMENT = new PhpElementType(\"line comment\");\n\t//\tIElementType DOC_COMMENT = new PhpElementType(\"doc comment\");\n\tIElementType C_STYLE_COMMENT = new PhpElementType(\"C style comment\");\n\tIElementType VARIABLE = new PhpElementType(\"variable\");\n\tIElementType VARIABLE_NAME = new PhpElementType(\"variable name\"); // ???\n\tIElementType VARIABLE_OFFSET_NUMBER = new PhpElementType(\"array index\"); // ???\n\tIElementType DOLLAR_LBRACE = new PhpElementType(\"${\"); // ???\n\tIElementType IDENTIFIER = new PhpElementType(\"identifier\");\n\tIElementType ARROW = new PhpElementType(\"arrow\");\n\tIElementType SCOPE_RESOLUTION = new PhpElementType(\"scope resolution\");\n\tIElementType FLOAT_LITERAL = new PhpElementType(\"float\");\n\tIElementType INTEGER_LITERAL = new PhpElementType(\"integer\");\n\tIElementType BINARY_LITERAL = new PhpElementType(\"BINARY_LITERAL\");\n\tIElementType STRING_LITERAL = new PhpElementType(\"string\");\n\tIElementType STRING_LITERAL_SINGLE_QUOTE = new PhpElementType(\"single quoted string\");\n\tIElementType EXEC_COMMAND = new PhpElementType(\"exec command\");\n\tIElementType ESCAPE_SEQUENCE = new PhpElementType(\"escape sequence\");\n\tIElementType HEREDOC_START = new PhpElementType(\"HEREDOC_START\");\n\tIElementType HEREDOC_CONTENTS = new PhpElementType(\"HEREDOC_CONTENTS\");\n\tIElementType HEREDOC_END = new PhpElementType(\"HEREDOC_END\");\n\n\n\tIElementType chDOUBLE_QUOTE = new PhpElementType(\"double quote\");\n\tIElementType chSINGLE_QUOTE = new PhpElementType(\"single quote\");\n\tIElementType chBACKTRICK = new PhpElementType(\"backtrick\");\n\tIElementType LBRACE = new PhpElementType(\"{\");\n\tIElementType RBRACE = new PhpElementType(\"}\");\n\tIElementType LPAREN = new PhpElementType(\"(\");\n\tIElementType RPAREN = new PhpElementType(\")\");\n\tIElementType LBRACKET = new PhpElementType(\"[\");\n\tIElementType RBRACKET = new PhpElementType(\"]\");\n\tIElementType ELVIS = new PhpElementType(\"ELVIS\");\n\n\n\tIElementType opPLUS = new PhpElementType(\"plus\"); //+\n\tIElementType opUNARY_PLUS = new PhpElementType(\"unary plus\"); //+\n\tIElementType opMINUS = new PhpElementType(\"minus\"); //-\n\tIElementType opNEGATE = new PhpElementType(\"negate\"); //-\n\tIElementType opINCREMENT = new PhpElementType(\"increment\"); //++\n\tIElementType opDECREMENT = new PhpElementType(\"decrement\"); //--\n\tIElementType opASGN = new PhpElementType(\"assign\"); //=\n\tIElementType opNOT = new PhpElementType(\"not\"); //!\n\tIElementType opQUEST = new PhpElementType(\"ternary\"); //?\n\tIElementType opCOMMA = new PhpElementType(\"comma\"); //,\n\tIElementType opCONCAT = new PhpElementType(\"dot\"); //.\n\tIElementType opCOLON = new PhpElementType(\"colon\"); //:\n\tIElementType opSEMICOLON = new PhpElementType(\"semicolon\"); //;\n\tIElementType opBIT_AND = new PhpElementType(\"bit and\"); //&\n\tIElementType opBIT_OR = new PhpElementType(\"bit or\"); //|\n\tIElementType opBIT_XOR = new PhpElementType(\"bit xor\"); //^\n\tIElementType opBIT_NOT = new PhpElementType(\"bit not\"); //~\n\tIElementType opLIT_AND = new PhpElementType(\"literal and\"); //and\n\tIElementType opLIT_OR = new PhpElementType(\"literal or\"); //or\n\tIElementType opLIT_XOR = new PhpElementType(\"literal xor\"); //xor\n\tIElementType opEQUAL = new PhpElementType(\"equals\"); //==\n\tIElementType opNOT_EQUAL = new PhpElementType(\"not equals\"); //!=\n\tIElementType opIDENTICAL = new PhpElementType(\"identical\"); //===\n\tIElementType opNOT_IDENTICAL = new PhpElementType(\"not identical\"); //!==\n\tIElementType opPLUS_ASGN = new PhpElementType(\"plus assign\"); //+=\n\tIElementType opMINUS_ASGN = new PhpElementType(\"minus assign\"); //-=\n\tIElementType opMUL_ASGN = new PhpElementType(\"multiply assign\"); //*=\n\tIElementType opDIV_ASGN = new PhpElementType(\"division assign\"); ///=\n\tIElementType opREM_ASGN = new PhpElementType(\"division remainder assign\"); //%=\n\tIElementType opSHIFT_RIGHT = new PhpElementType(\"shift right\"); //>>\n\tIElementType opSHIFT_RIGHT_ASGN = new PhpElementType(\"shift right assign\"); //>>=\n\tIElementType opSHIFT_LEFT = new PhpElementType(\"shift left\"); //<<\n\tIElementType opSHIFT_LEFT_ASGN = new PhpElementType(\"shift left assign\"); //<<=\n\tIElementType opAND_ASGN = new PhpElementType(\"and assign\"); //&&=\n\tIElementType opOR_ASGN = new PhpElementType(\"or assign\"); //||=\n\tIElementType opBIT_AND_ASGN = new PhpElementType(\"bit and assign\"); //&=\n\tIElementType opBIT_OR_ASGN = new PhpElementType(\"bit or assign\"); //|=\n\tIElementType opBIT_XOR_ASGN = new PhpElementType(\"bit xor assign\"); //^=\n\tIElementType opAND = new PhpElementType(\"and\"); //&&\n\tIElementType opOR = new PhpElementType(\"or\"); //||\n\tIElementType opLESS = new PhpElementType(\"less than\"); //<\n\tIElementType opLESS_OR_EQUAL = new PhpElementType(\"less than or equal\"); //<=\n\tIElementType opGREATER = new PhpElementType(\"greater than\"); //>\n\tIElementType opGREATER_OR_EQUAL = new PhpElementType(\"greater than or equal\"); //>=\n\tIElementType opCONCAT_ASGN = new PhpElementType(\"concatenation assign\"); //.=\n\tIElementType opSILENCE = new PhpElementType(\"error silence\"); //@\n\tIElementType opDIV = new PhpElementType(\"division\"); ///\n\tIElementType SLASH = new PhpElementType(\"SLASH\"); // \\\n\tIElementType opMUL = new PhpElementType(\"multiply\"); //*\n\tIElementType opREM = new PhpElementType(\"remainder\"); //%\n\tIElementType HASH_ARRAY = new PhpElementType(\"HASH_ARRAY\"); //=>\n\tIElementType ELLIPSIS = new PhpElementType(\"ELLIPSIS\"); //...\n\n\t//casting\n\tIElementType opINTEGER_CAST = new PhpElementType(\"integer cast\");\n\tIElementType opFLOAT_CAST = new PhpElementType(\"float cast\");\n\tIElementType opBOOLEAN_CAST = new PhpElementType(\"boolean cast\");\n\tIElementType opSTRING_CAST = new PhpElementType(\"string cast\");\n\tIElementType opARRAY_CAST = new PhpElementType(\"array cast\");\n\tIElementType opOBJECT_CAST = new PhpElementType(\"object cast\");\n\tIElementType opUNSET_CAST = new PhpElementType(\"unset cast\");\n\n\tIElementType DOLLAR = new PhpElementType(\"dollar\");\n\n\tIElementType EXPR_SUBST_BEGIN = new PhpElementType(\"expression substitution begin\");\n\tIElementType EXPR_SUBST_END = new PhpElementType(\"expression substitution end\");\n\n\n\tTokenSet tsPHP_OPENING_TAGS = TokenSet.create(PHP_OPENING_TAG, PHP_ECHO_OPENING_TAG);\n\n\tTokenSet tsSTATEMENT_PRIMARY = TokenSet.create(kwIF, kwFOR, kwFOREACH, kwWHILE, kwDO, kwBREAK, kwCONTINUE, kwECHO, kwGLOBAL, kwFUNCTION, kwUNSET, kwSWITCH, kwTRY\n\n\t);\n\n\tTokenSet SOFT_KEYWORDS = TokenSet.create(FROM_KEYWORD);\n\n\tTokenSet KEYWORDS = TokenSet.orSet(tsSTATEMENT_PRIMARY, TokenSet.create(ABSTRACT_KEYWORD, kwARRAY, kwAS, kwBREAK, kwCASE, kwCATCH, kwCLASS, TRAIT_KEYWORD, kwCLONE, kwCONST, kwCONTINUE,\n\t\t\tkwDEFAULT, kwDIE, kwECHO, kwELSE, kwELSEIF, kwEMPTY, kwENDDECLARE, kwENDFOR, kwENDFOREACH, kwENDIF, kwENDSWITCH, kwENDWHILE, kwEVAL, kwEXCEPTION, kwEXIT, kwEXTENDS, FINAL_KEYWORD,\n\t\t\tkwFUNCTION, kwGLOBAL, kwIMPLEMENTS, kwINCLUDE, kwINCLUDE_ONCE, INTERFACE_KEYWORD, kwISSET, kwLIST, kwPHP_USER_FILTER, kwPRINT, PRIVATE_KEYWORD, PROTECTED_KEYWORD, PUBLIC_KEYWORD,\n\t\t\tkwREQUIRE, kwREQUIRE_ONCE, kwRETURN, STATIC_KEYWORD, kwTHROW, kwUNSET, kwVAR, kwNEW, kwINSTANCEOF, NAMESPACE_KEYWORD, USE_KEYWORD, FINALLY_KEYWORD, YIELD_KEYWORD));\n\n\tTokenSet tsMATH_OPS = TokenSet.create(opPLUS, opMINUS, opMUL, opDIV, opNEGATE, opREM);\n\n\tTokenSet tsBIT_OPS = TokenSet.create(opBIT_AND, opBIT_NOT, opBIT_OR, opBIT_XOR, opSHIFT_LEFT, opSHIFT_RIGHT);\n\n\tTokenSet tsASGN_OPS = TokenSet.create(opAND_ASGN, opBIT_AND_ASGN, opBIT_OR_ASGN, opBIT_XOR_ASGN, opCONCAT_ASGN, opMINUS_ASGN, opMUL_ASGN, opOR_ASGN, opPLUS_ASGN, opSHIFT_RIGHT_ASGN,\n\t\t\topSHIFT_LEFT_ASGN, opREM_ASGN, opASGN);\n\n\tTokenSet tsCAST_OPS = TokenSet.create(opINTEGER_CAST, opFLOAT_CAST, opBOOLEAN_CAST, opSTRING_CAST, opARRAY_CAST, opOBJECT_CAST, opUNSET_CAST);\n\n\tTokenSet tsUNARY_PREFIX_OPS = TokenSet.orSet(TokenSet.create(opNOT, opDECREMENT, opINCREMENT, opNEGATE, opBIT_NOT, opSILENCE, opUNARY_PLUS, kwNEW, kwPRINT), tsCAST_OPS);\n\n\tTokenSet tsUNARY_POSTFIX_OPS = TokenSet.create(opDECREMENT, opINCREMENT);\n\n\tTokenSet tsUNARY_OPS = TokenSet.orSet(tsUNARY_PREFIX_OPS, tsUNARY_POSTFIX_OPS);\n\n\tTokenSet tsCOMPARE_OPS = TokenSet.create(opEQUAL, opNOT_EQUAL, opIDENTICAL, opNOT_IDENTICAL, opGREATER, opLESS, opGREATER_OR_EQUAL, opLESS_OR_EQUAL);\n\n\tTokenSet tsLOGICAL_OPS = TokenSet.create(opAND, opOR);\n\n\tTokenSet tsTERNARY_OPS = TokenSet.create(opQUEST/*, opCOLON*/);\n\n\tTokenSet tsBINARY_OPS = TokenSet.orSet(TokenSet.create(opLIT_AND, opLIT_OR, opLIT_XOR, opCONCAT, kwINSTANCEOF), tsASGN_OPS, tsBIT_OPS, tsCOMPARE_OPS, tsMATH_OPS, tsLOGICAL_OPS, tsTERNARY_OPS);\n\n\tTokenSet tsOPERATORS = TokenSet.orSet(tsBINARY_OPS, tsUNARY_OPS);\n\n\tTokenSet tsNUMBERS = TokenSet.create(INTEGER_LITERAL, BINARY_LITERAL, FLOAT_LITERAL);\n\n\tTokenSet tsSTRINGS = TokenSet.create(STRING_LITERAL, STRING_LITERAL_SINGLE_QUOTE);\n\n\tTokenSet tsSTRING_EDGE = TokenSet.create(chDOUBLE_QUOTE, chSINGLE_QUOTE, chBACKTRICK);\n\n\tTokenSet tsEXPR_SUBST_MARKS = TokenSet.create(EXPR_SUBST_BEGIN, EXPR_SUBST_END);\n\n\tTokenSet tsOPENING_BRACKETS = TokenSet.create(LBRACE, LBRACKET, LPAREN);\n\n\tTokenSet tsCLOSING_BRACKETS = TokenSet.create(RBRACE, RBRACKET, RPAREN);\n\n\tTokenSet tsBRACKETS = TokenSet.orSet(tsOPENING_BRACKETS, tsCLOSING_BRACKETS);\n\n\tTokenSet tsREFERENCE_FIRST_TOKENS = TokenSet.create(VARIABLE, IDENTIFIER, DOLLAR);\n\n\tTokenSet tsOPERAND_FIRST_TOKENS = TokenSet.orSet(tsREFERENCE_FIRST_TOKENS, tsNUMBERS, tsSTRING_EDGE, TokenSet.create(kwARRAY, kwEMPTY, kwEXIT, kwISSET));\n\n\tTokenSet tsPRIMARY_TOKENS = TokenSet.orSet(tsOPERAND_FIRST_TOKENS, tsUNARY_OPS, TokenSet.create(LPAREN));\n\n\tTokenSet tsTERMINATOR = TokenSet.create(opSEMICOLON, PHP_CLOSING_TAG);\n\n\tTokenSet tsHEREDOC_IDS = TokenSet.create(HEREDOC_START, HEREDOC_END);\n\n\tTokenSet tsCOMMON_SCALARS = TokenSet.orSet(tsNUMBERS, TokenSet.create(STRING_LITERAL, STRING_LITERAL_SINGLE_QUOTE));\n\n\tTokenSet tsJUNKS = TokenSet.create(HTML, PHP_OPENING_TAG, PHP_ECHO_OPENING_TAG);\n\n\tTokenSet tsMODIFIERS = TokenSet.create(PRIVATE_KEYWORD, PROTECTED_KEYWORD, PUBLIC_KEYWORD, ABSTRACT_KEYWORD, FINAL_KEYWORD, STATIC_KEYWORD);\n\n\tTokenSet tsVARIABLE_MODIFIERS = TokenSet.orSet(tsMODIFIERS, TokenSet.create(kwVAR));\n\n\tTokenSet tsEXPRESSION_FIRST_TOKENS = TokenSet.orSet(tsCOMMON_SCALARS, tsCAST_OPS, TokenSet.create(kwPRINT, kwARRAY, kwEXIT, kwREQUIRE, kwREQUIRE_ONCE, kwINCLUDE, kwINCLUDE_ONCE, kwEVAL, kwEMPTY,\n\t\t\tkwISSET, kwNEW, kwCLONE, kwLIST), TokenSet.create(VARIABLE, VARIABLE_NAME, DOLLAR, IDENTIFIER, opINCREMENT, opDECREMENT, opPLUS, opMINUS, opNOT, opBIT_NOT, opSILENCE, LPAREN,\n\t\t\tchDOUBLE_QUOTE, chBACKTRICK, HEREDOC_START));\n\n\tTokenSet tsSTATEMENT_FIRST_TOKENS = TokenSet.create(kwIF, kwWHILE, kwDO, kwFOR, kwSWITCH, kwBREAK, kwCONTINUE, kwRETURN, kwGLOBAL, STATIC_KEYWORD, kwECHO, kwUNSET, kwFOREACH, kwDECLARE, kwTRY,\n\t\t\tkwTHROW);\n}", "@Test(timeout = 4000)\n public void test117() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"_V)2V93#c=~\\\")I\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(1, token0.getTokenType());\n assertEquals(\"_\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"V\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "public String visit(MoveStmt n, Object argu) \r\n\t {\t \r\n\t int RegRtNum = n.f1.f0.which; \r\n\t\t if(n.f2.f0.which == 0)\r\n\t\t {\r\n\t\t\t n.f2.f0.accept(this,argu);\r\n\t\t\t MipsOutPut.add(MipsOutPut.Space+\"jal \" + \"_halloc \\n\");\r\n\t\t\t MipsOutPut.add(MipsOutPut.Space+\"move \"+ Regs.RegList[RegRtNum] + \" $v0 \\n\");\r\n\t\t\t MipsOutPut.add(MipsOutPut.Space+\"move $a0 $t9 \\n\");//因为涉及到mips调用函数halloc,这个函数不是从kanga翻译出来的,这里用a0传参数,但要先用t9保存a0,调用完成之后用t9恢复a0\r\n\t\t }\r\n\t\t if(n.f2.f0.which == 1)\r\n\t\t {\r\n\t\t\t BinOp p = ((BinOp)n.f2.f0.choice);\r\n\t\t\t int RegRsNum = p.f1.f0.which;\r\n\t\t\t String val2 = p.f2.accept(this,argu);\r\n\t\t\t String val1 = p.accept(this,argu);\r\n\t\t\t MipsOutPut.add(MipsOutPut.Space+val1 +\" \" +Regs.RegList[RegRtNum] +\", \"+ Regs.RegList[RegRsNum] + \", \" + val2 + \"\\n\");\r\n\t\t }\r\n\t\t else if(n.f2.f0.which == 2)\r\n\t\t {\r\n\t\t\t SimpleExp Exp = ((SimpleExp)n.f2.f0.choice);\r\n\t\t\t String exp = Exp.accept(this,argu);\r\n switch(Exp.f0.which)\r\n\t\t {//如果move的第二个操作数是标号或者整数,需要先li或者la到$t9里,再move到第一个操作数里\r\n\t\t case 0:MipsOutPut.add(MipsOutPut.Space+\"move \" + Regs.RegList[RegRtNum] + \" \"+ exp + \"\\n\");break;\r\n\t\t case 1:MipsOutPut.add(MipsOutPut.Space+\"li $t9 \" + exp + \"\\n\");\r\n\t\t MipsOutPut.add(MipsOutPut.Space+\"move \" + Regs.RegList[RegRtNum] + \" $t9 \\n\");break;\r\n\t\t case 2:MipsOutPut.add(MipsOutPut.Space+\"la $t9 \"+exp + \"\\n\");\r\n\t\t MipsOutPut.add(MipsOutPut.Space+\"move \" +Regs.RegList[RegRtNum] +\" $t9 \\n\");break;\r\n\t\t default:break;\r\n\t\t }\r\n\t\t }\r\n\t return null;\r\n\t }", "AstroArg seq(AstroArg first,\n AstroArg second,\n AstroArg third,\n AstroArg fourth);", "public Snippet visit(DotNext n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this, argu);\n\t // return new Snippet(\"\", _ret.returnTemp+\".next()\", new X10Place(), false);\n\t return new Snippet(\"\", \"0\", new X10Place(), false);\n\t }", "@Test\n public void jUnitTest09(){\n TigerLexer lex;\n try {\n lex = new TigerLexer(new ANTLRFileStream(\"test/jUnitTests/jUnitTest09.tig\", \"UTF8\"));\n CommonTokenStream tokens = new CommonTokenStream(lex);\n TigerParser parser = new TigerParser(tokens);\n SemantVisitor visitor = new SemantVisitor();\n parser.prog();\n boolean resp = (parser.getNumberOfSyntaxErrors() == 0 && visitor.getNumberOfSemanticErrors() == 0);\n assertTrue(resp);\n } catch (IOException ex) {\n Logger.getLogger(TesteGlobal.class.getName()).log(Level.SEVERE, null, ex);\n }\n }" ]
[ "0.5969021", "0.5789207", "0.56466156", "0.5468788", "0.543641", "0.5429261", "0.53688055", "0.53061557", "0.5252152", "0.52256", "0.5180524", "0.51624197", "0.51333296", "0.5127565", "0.5117649", "0.5074993", "0.5071525", "0.5061325", "0.5023568", "0.5004345", "0.5003871", "0.4998305", "0.49938655", "0.49819311", "0.49809188", "0.4967162", "0.49661124", "0.4954139", "0.49480385", "0.4946749", "0.49448887", "0.49328893", "0.49192634", "0.48842204", "0.48711622", "0.4870406", "0.48553252", "0.4853786", "0.48484918", "0.48327667", "0.48310632", "0.48273066", "0.480952", "0.48086286", "0.48075524", "0.47980136", "0.47974095", "0.47852853", "0.4784021", "0.47707915", "0.47704664", "0.47645155", "0.47571662", "0.47525874", "0.47494623", "0.47474322", "0.4745011", "0.47382566", "0.47374013", "0.47286335", "0.47155532", "0.4711591", "0.47112194", "0.47063875", "0.4697853", "0.46975943", "0.4691944", "0.46885422", "0.46829197", "0.4682891", "0.46805254", "0.46698073", "0.46695384", "0.4669036", "0.46679792", "0.46651623", "0.46642023", "0.46625456", "0.46592233", "0.46493337", "0.46417204", "0.46415463", "0.46391016", "0.46362448", "0.4635988", "0.4634851", "0.46342078", "0.46271297", "0.46251744", "0.46212694", "0.4618511", "0.46156213", "0.46140388", "0.46057212", "0.46023607", "0.4599133", "0.45980844", "0.4596361", "0.45942244", "0.4593571", "0.45909083" ]
0.0
-1
$ANTLR end "T__15" $ANTLR start "T__16"
public final void mT__16() throws RecognitionException { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:14:7: ( '=' ) // InternalDSL.g:14:9: '=' { match('='); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:14:7: ( '(' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:14:9: '('\n {\n match('('); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "Token next();", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "public R visit(MoveStmt n) {\n R _ret=null;\n simple_exp=0;\n // System.out.print(\"MOVE \");\n String s0 = (String)n.f0.accept(this);\n String s1 = (String)n.f1.accept(this);\n String s = new String();\n s=(\"MOVE \"+s1+\" \");\n simple_exp=0;\n String s2 = (String)n.f2.accept(this);\n s=s+(s2+\" \");\n return (R)s;\n }", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "AstroArg unpack(Astro litChars);", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "Token match(Kind... kinds) throws SyntaxException {\r\n\t\tToken tmp = t;\r\n\t\tif (isKind(kinds)) {\r\n\t\t\tconsume();\r\n\t\t\treturn tmp;\r\n\t\t}\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tfor (Kind kind1 : kinds) {\r\n\t\t\tsb.append(kind1).append(kind1).append(\" \");\r\n\t\t}\r\n\t\terror(kinds);\r\n\t\treturn null; // unreachable\r\n\t}", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public interface DefccConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int MODULE_TKN = 11;\n /** RegularExpression Id. */\n int CLASS_TKN = 12;\n /** RegularExpression Id. */\n int INCLUDE_TKN = 13;\n /** RegularExpression Id. */\n int BYTE_TKN = 14;\n /** RegularExpression Id. */\n int BOOLEAN_TKN = 15;\n /** RegularExpression Id. */\n int INT_TKN = 16;\n /** RegularExpression Id. */\n int LONG_TKN = 17;\n /** RegularExpression Id. */\n int FLOAT_TKN = 18;\n /** RegularExpression Id. */\n int DOUBLE_TKN = 19;\n /** RegularExpression Id. */\n int STRING_TKN = 20;\n /** RegularExpression Id. */\n int BUFFER_TKN = 21;\n /** RegularExpression Id. */\n int VECTOR_TKN = 22;\n /** RegularExpression Id. */\n int MAP_TKN = 23;\n /** RegularExpression Id. */\n int LBRACE_TKN = 24;\n /** RegularExpression Id. */\n int RBRACE_TKN = 25;\n /** RegularExpression Id. */\n int LT_TKN = 26;\n /** RegularExpression Id. */\n int GT_TKN = 27;\n /** RegularExpression Id. */\n int SEMICOLON_TKN = 28;\n /** RegularExpression Id. */\n int COMMA_TKN = 29;\n /** RegularExpression Id. */\n int DOT_TKN = 30;\n /** RegularExpression Id. */\n int CSTRING_TKN = 31;\n /** RegularExpression Id. */\n int IDENT_TKN = 32;\n /** RegularExpression Id. */\n int IDENT_TKN_W_DOT = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int WithinOneLineComment = 1;\n /** Lexical state. */\n int WithinMultiLineComment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"module\\\"\",\n \"\\\"class\\\"\",\n \"\\\"include\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"int\\\"\",\n \"\\\"long\\\"\",\n \"\\\"float\\\"\",\n \"\\\"double\\\"\",\n \"\\\"string\\\"\",\n \"\\\"buffer\\\"\",\n \"\\\"vector\\\"\",\n \"\\\"map\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CSTRING_TKN>\",\n \"<IDENT_TKN>\",\n \"<IDENT_TKN_W_DOT>\",\n };\n\n}", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "public final void mT__16() throws RecognitionException {\r\n try {\r\n int _type = T__16;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:13:7: ( '.*' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:13:9: '.*'\r\n {\r\n match(\".*\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public void visit(Literal literal) {}", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:14:7: ( '+=' )\n // InternalSpeADL.g:14:9: '+='\n {\n match(\"+=\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "public final void mT__16() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__16;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:7:7: ( '&&' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:7:9: '&&'\n\t\t\t{\n\t\t\tmatch(\"&&\"); \n\n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "@Override\n public R visit(BaseDecl n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n return _ret;\n }", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:15:7: ( '}' )\n // InternalStateMachine.g:15:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:15:7: ( 'To' )\n // InternalReqLNG.g:15:9: 'To'\n {\n match(\"To\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "static void match(TokenType ttype) throws IOException {\n if(ttype == curr_type) {\n getToken();\n }\n else {\n cout.println(\"Match Error: \" + ttype);\n System.exit(1);\n }\n }", "boolean tokenCanEnd(Token token)\r\n {\r\n if (token == null)\r\n return false;\r\n int type = token.getType();\r\n switch (type) {\r\n \tcase MExprANTLRParserTokenTypes.NOT:\r\n \tcase MExprANTLRParserTokenTypes.NOTNOT:\r\n case MExprANTLRParserTokenTypes.RBRACE:\r\n case MExprANTLRParserTokenTypes.RBRACKET:\r\n case MExprANTLRParserTokenTypes.RPAREN:\r\n case MExprANTLRParserTokenTypes.INT: \r\n case MExprANTLRParserTokenTypes.REAL:\r\n case MExprANTLRParserTokenTypes.ID:\r\n case MExprANTLRParserTokenTypes.NULLID:\r\n case MExprANTLRParserTokenTypes.POSTFIXID:\r\n case MExprANTLRParserTokenTypes.STRING:\r\n case MExprANTLRParserTokenTypes.BLANK1:\r\n case MExprANTLRParserTokenTypes.IDBLANK1:\r\n case MExprANTLRParserTokenTypes.BLANKID1:\r\n case MExprANTLRParserTokenTypes.IDBLANKID1:\r\n case MExprANTLRParserTokenTypes.BLANK2:\r\n case MExprANTLRParserTokenTypes.IDBLANK2:\r\n case MExprANTLRParserTokenTypes.BLANKID2:\r\n case MExprANTLRParserTokenTypes.IDBLANKID2:\r\n case MExprANTLRParserTokenTypes.BLANK3:\r\n case MExprANTLRParserTokenTypes.IDBLANK3:\r\n case MExprANTLRParserTokenTypes.BLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKDOT:\r\n case MExprANTLRParserTokenTypes.BLANKDOT:\r\n case MExprANTLRParserTokenTypes.SLOT: \r\n case MExprANTLRParserTokenTypes.TYPESETEXPR:\r\n case MExprANTLRParserTokenTypes.GET:\r\n case MExprANTLRParserTokenTypes.PUT:\r\n case MExprANTLRParserTokenTypes.PERCENT:\r\n case MExprANTLRParserTokenTypes.PERCENTNUMBER:\r\n \t return true;\r\n }\r\n\r\n return false;\r\n }", "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"|OLg_Eyu;i\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(17, token0.getTokenType());\n assertEquals(\"|\", token0.getTokenText());\n }", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:16:7: ( 'IDREF' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:16:9: 'IDREF'\n {\n match(\"IDREF\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:16:7: ( 'Attacker' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:16:9: 'Attacker'\n {\n match(\"Attacker\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void synpred47_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_typePar_2_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: (otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5\n {\n otherlv_1=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_synpred47_InternalMitraParser3552); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1892:1: ( (lv_typePar_2_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1894:3: lv_typePar_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCollectionTypeAccess().getTypeParTypeParserRuleCall_1_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred47_InternalMitraParser3572);\n lv_typePar_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_synpred47_InternalMitraParser3585); if (state.failed) return ;\n\n }\n }", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "@Test\r\n\tpublic void testInvalid04() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid04\");\r\n\t}", "void isToken(String p) {\r\n\t\tint n = 0;\r\n\t\t// switch statement that finds lexemes and tokens and add them to an arrayList\r\n\t\tString x = p;\r\n\t\tswitch (x) {\r\n\r\n\t\tcase \"int\":\r\n\t\t\tlexemes.add(\"int\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"double\":\r\n\t\t\tlexemes.add(\"double\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"<\":\r\n\t\t\tlexemes.add(\"<\");\r\n\t\t\ttokens.add(\"LESS_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"{\":\r\n\t\t\tlexemes.add(\"{\");\r\n\t\t\ttokens.add(\"OPEN_CURLB\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"String\":\r\n\t\t\tlexemes.add(\"String\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"char\":\r\n\t\t\tlexemes.add(\"char\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"=\":\r\n\t\t\tlexemes.add(\"=\");\r\n\t\t\ttokens.add(\"ASSIGN_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"float\":\r\n\t\t\tlexemes.add(\"float\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"-\":\r\n\t\t\tlexemes.add(\"-\");\r\n\t\t\ttokens.add(\"SUB_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"+\":\r\n\t\t\tlexemes.add(\"+\");\r\n\t\t\ttokens.add(\"ADD_OPP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"*\":\r\n\t\t\tlexemes.add(\"*\");\r\n\t\t\ttokens.add(\"MUL_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"/\":\r\n\t\t\tlexemes.add(\"/\");\r\n\t\t\ttokens.add(\"DIV_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"%\":\r\n\t\t\tlexemes.add(\"%\");\r\n\t\t\ttokens.add(\"MOD_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \">\":\r\n\t\t\tlexemes.add(\">\");\r\n\t\t\ttokens.add(\"GREAT_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"}\":\r\n\t\t\tlexemes.add(\"}\");\r\n\t\t\ttokens.add(\"CLOSE_CULRB\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"[\":\r\n\t\t\tlexemes.add(\"[\");\r\n\t\t\ttokens.add(\"OPEN_BRACK\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \":\":\r\n\t\t\tlexemes.add(\":\");\r\n\t\t\ttokens.add(\"COLON\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"]\":\r\n\t\t\tlexemes.add(\"]\");\r\n\t\t\ttokens.add(\"CLOSED_BRACK\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"(\":\r\n\t\t\tlexemes.add(\"(\");\r\n\t\t\ttokens.add(\"OPEN_PAR\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \",\":\r\n\t\t\tlexemes.add(\",\");\r\n\t\t\ttokens.add(\"COMMA\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \")\":\r\n\t\t\tlexemes.add(\")\");\r\n\t\t\ttokens.add(\"CLOSED_PAR\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \";\":\r\n\t\t\tlexemes.add(\";\");\r\n\t\t\ttokens.add(\"SEMICOLON\");\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tlexemes.add(x);\r\n\t\t\ttokens.add(\"IDENT\");\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "public final void mT__16() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__16;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// src/aofC/AspectParser/AOC.g:17:7: ( '[' )\n\t\t\t// src/aofC/AspectParser/AOC.g:17:9: '['\n\t\t\t{\n\t\t\tmatch('['); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "public R visit(Temp n) {\n R _ret=null;\n n.f0.accept(this);\n n.f1.accept(this);\n Integer temp = Integer.parseInt(((String)n.f1.f0.tokenImage));\n //new\n \n if(inCall){\n \t magicNumber++;\n \t ArrayList<Integer> newHold = use.get(statementNumber);\n \t newHold.add(temp);\n \t use.put(statementNumber, newHold);\n }\n \n //new\n \n \n if(temp >= arguments){\n\t if(inCall){\n\t \t ArrayList<Integer> hold = live.get(temp);\n\t \t hold.add(statementNumber);\n\t \t live.put(temp, hold);\n\t }\n }\n _ret = (R)temp;\n return _ret;\n }", "public Snippet visit(DotNext n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this, argu);\n\t // return new Snippet(\"\", _ret.returnTemp+\".next()\", new X10Place(), false);\n\t return new Snippet(\"\", \"0\", new X10Place(), false);\n\t }", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public final java_cup.runtime.Symbol CUP$A4Parser$do_action(\n int CUP$A4Parser$act_num,\n java_cup.runtime.lr_parser CUP$A4Parser$parser,\n java.util.Stack CUP$A4Parser$stack,\n int CUP$A4Parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$A4Parser$result;\n\n /* select the action based on the action number */\n switch (CUP$A4Parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // type ::= STRING \n {\n String RESULT = null;\n\t\t RESULT = \"String\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(21/*type*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // type ::= REAL \n {\n String RESULT = null;\n\t\t RESULT = \"double\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(21/*type*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // type ::= INT \n {\n String RESULT = null;\n\t\t RESULT = \"int\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(21/*type*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // EPActualParams ::= \n {\n String RESULT = null;\n\t\t RESULT = \"\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(18/*EPActualParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // EPActualParams ::= COMMA expr EPActualParams \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \", \" + x1 + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(18/*EPActualParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // ActualParams ::= expr EPActualParams \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(17/*ActualParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // expr ::= INTNUMBER \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // expr ::= REALNUMBER \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // expr ::= IDENTIFIER LPAREN ActualParams RPAREN \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = x1 + \"(\" + x2 + \")\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // expr ::= IDENTIFIER \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // expr ::= LPAREN expr RPAREN \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = \"(\" + x1 + \")\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // expr ::= expr DIVIDE expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"/\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // expr ::= expr TIMES expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"*\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // expr ::= expr MINUS expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"-\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // expr ::= expr PLUS expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"+\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // BoolExpression ::= expr ISNOTEQUAL expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"!=\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(20/*BoolExpression*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // BoolExpression ::= expr ISEQUAL expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"==\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(20/*BoolExpression*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // ReadStmt ::= READ LPAREN IDENTIFIER COMMA QUOTE RPAREN SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\t RESULT = \"$br = new BufferedReader(new FileReader(\" + x2 + \"));\" + x1 + \"=new Integer($br.readLine()).intValue();\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(16/*ReadStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // WriteStmt ::= WRITE LPAREN expr COMMA QUOTE RPAREN SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\t RESULT = \"$tmp_real=\" + x1 + \";\\n$bw=new BufferedWriter(new FileWriter(\" + x2 + \"));\\n$bw.write(\\\"\\\" + $tmp_real);\\n$bw.close();\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(15/*WriteStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // IfStmt ::= IF LPAREN BoolExpression RPAREN Statment ELSE Statment \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x3left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x3right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x3 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"if (\" + x1 + \")\" + x2 + \" else \" + x3; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(14/*IfStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // IfStmt ::= IF LPAREN BoolExpression RPAREN Statment \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"if (\" + x1 + \")\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(14/*IfStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // ReturnStmt ::= RETURN expr SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = \"return \" + x1 + \";\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(13/*ReturnStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // AssignStmt ::= IDENTIFIER EQUAL QUOTE SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = x1 + \"=\" + x2 + \";\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(12/*AssignStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // AssignStmt ::= IDENTIFIER EQUAL expr SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = x1 + \"=\" + x2 + \";\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(12/*AssignStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // LocalVarDecl ::= type AssignStmt \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(11/*LocalVarDecl*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // LocalVarDecl ::= type IDENTIFIER SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = x1 + \" \" + x2 + \";\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(11/*LocalVarDecl*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // Statment ::= ReadStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // Statment ::= WriteStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // Statment ::= IfStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // Statment ::= ReturnStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // Statment ::= AssignStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // Statment ::= LocalVarDecl \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // Statment ::= Block \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // Statements ::= Statment \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(9/*Statements*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // Statements ::= Statment Statements \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(9/*Statements*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // Block ::= BEGIN Statements END \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = \"{\" + x1 + \"}\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(8/*Block*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // FormalParam ::= type IDENTIFIER \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(5/*FormalParam*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // EPFormalParams ::= \n {\n String RESULT = null;\n\t\t RESULT = \"\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(7/*EPFormalParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // EPFormalParams ::= COMMA FormalParam EPFormalParams \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \", \" + x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(7/*EPFormalParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // FormalParams ::= \n {\n String RESULT = null;\n\t\t RESULT = \"\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(6/*FormalParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // FormalParams ::= FormalParam EPFormalParams \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(6/*FormalParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // MethodDecl ::= type IDENTIFIER LPAREN FormalParams RPAREN Block \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-5)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-5)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-5)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x3left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x3right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x3 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x4left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x4right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x4 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"public static \" + x1 + \" \" + x2 + \"(\" + x3 + \")\" + x4; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(4/*MethodDecl*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-5)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // MethodDecl ::= type MAIN IDENTIFIER LPAREN FormalParams RPAREN Block \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x3left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x3right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x3 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x4left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x4right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x4 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"public static void main (String[] args) throws Exception\" + x4; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(4/*MethodDecl*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // Program ::= MethodDecl Program \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(3/*Program*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // Program ::= MethodDecl \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(3/*Program*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // $START ::= Program2 EOF \n {\n Object RESULT = null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString start_val = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$A4Parser$result = new java_cup.runtime.Symbol(0/*$START*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n /* ACCEPT */\n CUP$A4Parser$parser.done_parsing();\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // Program2 ::= Program \n {\n String RESULT = null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString e = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"import java.io.*;\\npublic class A4 {\\n static BufferedReader $br;\\nstatic BufferedWriter $bw;\\nstatic double $tmp_real;\\n\" + e + \"}\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(22/*Program2*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number found in internal parse table\");\n\n }\n }", "speech_formatting.SegmentedTextOuterClass.TokenSegment getTokenSegment(int index);", "public String visit(MoveStmt n, Object argu) \r\n\t {\t \r\n\t int RegRtNum = n.f1.f0.which; \r\n\t\t if(n.f2.f0.which == 0)\r\n\t\t {\r\n\t\t\t n.f2.f0.accept(this,argu);\r\n\t\t\t MipsOutPut.add(MipsOutPut.Space+\"jal \" + \"_halloc \\n\");\r\n\t\t\t MipsOutPut.add(MipsOutPut.Space+\"move \"+ Regs.RegList[RegRtNum] + \" $v0 \\n\");\r\n\t\t\t MipsOutPut.add(MipsOutPut.Space+\"move $a0 $t9 \\n\");//因为涉及到mips调用函数halloc,这个函数不是从kanga翻译出来的,这里用a0传参数,但要先用t9保存a0,调用完成之后用t9恢复a0\r\n\t\t }\r\n\t\t if(n.f2.f0.which == 1)\r\n\t\t {\r\n\t\t\t BinOp p = ((BinOp)n.f2.f0.choice);\r\n\t\t\t int RegRsNum = p.f1.f0.which;\r\n\t\t\t String val2 = p.f2.accept(this,argu);\r\n\t\t\t String val1 = p.accept(this,argu);\r\n\t\t\t MipsOutPut.add(MipsOutPut.Space+val1 +\" \" +Regs.RegList[RegRtNum] +\", \"+ Regs.RegList[RegRsNum] + \", \" + val2 + \"\\n\");\r\n\t\t }\r\n\t\t else if(n.f2.f0.which == 2)\r\n\t\t {\r\n\t\t\t SimpleExp Exp = ((SimpleExp)n.f2.f0.choice);\r\n\t\t\t String exp = Exp.accept(this,argu);\r\n switch(Exp.f0.which)\r\n\t\t {//如果move的第二个操作数是标号或者整数,需要先li或者la到$t9里,再move到第一个操作数里\r\n\t\t case 0:MipsOutPut.add(MipsOutPut.Space+\"move \" + Regs.RegList[RegRtNum] + \" \"+ exp + \"\\n\");break;\r\n\t\t case 1:MipsOutPut.add(MipsOutPut.Space+\"li $t9 \" + exp + \"\\n\");\r\n\t\t MipsOutPut.add(MipsOutPut.Space+\"move \" + Regs.RegList[RegRtNum] + \" $t9 \\n\");break;\r\n\t\t case 2:MipsOutPut.add(MipsOutPut.Space+\"la $t9 \"+exp + \"\\n\");\r\n\t\t MipsOutPut.add(MipsOutPut.Space+\"move \" +Regs.RegList[RegRtNum] +\" $t9 \\n\");break;\r\n\t\t default:break;\r\n\t\t }\r\n\t\t }\r\n\t return null;\r\n\t }", "public R visit(Operator n) {\n R _ret=null;\n int which = n.f0.which;\n String s = \" \";\n switch (which)\n {\n case 0 : {s=\"LT\"; break;}\n case 1 : {s= \"PLUS\"; break;}\n case 2 : {s= \"MINUS\";break;}\n case 3 : {s= \"TIMES\"; break;}\n }\n \t return (R)s;\n }", "@Override\n\tpublic void visit(Matches arg0) {\n\t\t\n\t}", "public String visit(Procedure n, Object argu) \r\n\t{\r\n\t\t\r\n\t\tMipsOutPut.add(MipsOutPut.Space+\".text \\n\");\r\n\t\tMipsOutPut.add(n.f0.f0.tokenImage+\": \\n\");\r\n\t MipsOutPut.add(MipsOutPut.Space+\"sw $fp, -8($sp) \\n\");\r\n\t\tMipsOutPut.add(MipsOutPut.Space+\"move $fp, $sp \\n\");\r\n int stackLength = (Integer.parseInt(n.f5.f0.tokenImage)+2)*4;\r\n MipsOutPut.add(MipsOutPut.Space+\"subu $sp, $sp, \" +stackLength +\"\\n\");\r\n\t\tMipsOutPut.add(MipsOutPut.Space+\"sw $ra, -4($fp) \\n\");\r\n\t\tn.f10.accept(this,argu);\r\n\t\tMipsOutPut.add(MipsOutPut.Space+\"lw $ra, -4($fp) \\n\");\r\n\t\tMipsOutPut.add(MipsOutPut.Space+\"lw $fp, -8($fp) \\n\");\r\n\t\tMipsOutPut.add(MipsOutPut.Space+\"addu $sp, $sp, \" +stackLength +\"\\n\");\r\n\t\tMipsOutPut.add(MipsOutPut.Space+\"j $ra \\n\");\r\n\t\treturn null;\r\n\t}", "abstract protected void parseNextToken();", "private String node(String name) { return prefix + \"AST\" + name + \"Node\"; }", "private void parseStmt() throws IOException, FSException,RetException {\n\n\n switch(tok.ttype) {\n\n case LexAnn.TT_DEFINT:\n case LexAnn.TT_DEFSTRING:\n case LexAnn.TT_DEFDOUBLE:\n case LexAnn.TT_DEFOBJECT: {\n parseVarDef();\n break;\n }\n\n case LexAnn.TT_IF: {\n parseIf();\n break;\n }\n case LexAnn.TT_WHILE: {\n parseWhile();\n break;\n }\n case LexAnn.TT_RETURN: {\n parseReturn();\n break;\n }\n case LexAnn.TT_DEFFUNC: {\n parseFunctionDef();\n break;\n }\n case LexAnn.TT_EDEFFUNC: {\n parseFunctionEnd();\n break;\n }\n case LexAnn.TT_EIF:\n throw new FSException(\"unexpected endif\");\n case LexAnn.TT_EWHILE:\n throw new FSException(\"unexpected endwhile\");\n\n case LexAnn.TT_FUNC: {\n parseFunc();\n break;\n }\n case LexAnn.TT_ARRAY: {\n parseArrayAssign();\n break;\n }\n case LexAnn.TT_WORD: {\n parseAssign();\n break;\n }\n case LexAnn.TT_EOL: {\n tok.nextToken();\n break;\n }\n case LexAnn.TT_EOF: {\n // all done\n break;\n }\n default: {\n parseError(\"Expected identifier \"+tok);\n\n }\n }\n\n }", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "public interface MetaVisitor\n{\n void atomicType(SequenceType node, QName name, SequenceType baseType);\n\n void atomicUrType(SequenceType node);\n\n void attributeType(SequenceType node, QName name, SequenceType type);\n\n void choiceType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void commentType(SequenceType node);\n\n void complexType(SequenceType node, QName name, SequenceType baseType);\n\n void complexUrType(SequenceType node);\n\n void concatType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void documentType(SequenceType node, SequenceType contentType);\n\n void elementType(SequenceType node, QName name, SequenceType type, boolean nillable);\n\n void emptyType(SequenceType node);\n\n void interleaveType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void multiplyType(SequenceType node, SequenceType argument, Quantifier multiplier);\n\n void namespaceType(SequenceType node);\n\n void noneType(SequenceType node);\n\n void processingInstructionType(SequenceType node, String name);\n\n void schemaAttributeType(SequenceType node, QName name);\n\n void schemaElementType(SequenceType type, QName name);\n\n void simpleUrType(SequenceType node);\n\n void textType(SequenceType node);\n}", "@Override\n public String visit(Label n) {\n // 注意进入这里的只会有开头的标识 Label\n // 屏蔽 Procedure/CJUMP/JUMP/SimpleExp\n String _ret = null;\n Global.outputString += n.f0.tokenImage + \":\";\n return _ret;\n }", "@Test(timeout = 4000)\n public void test003() throws Throwable {\n StringReader stringReader0 = new StringReader(\"void\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.MoreLexicalActions();\n }", "public void visit(Literal n) {\n n.f0.accept(this);\n }", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "@Override\n public String visit(AStoreStmt n) {\n String r1 = this.reg[n.f2.f0.which];\n int offset = Integer.parseInt(n.f1.f1.f0.tokenImage);\n Global.outputString += \"sw $\" + r1 + \", -\" + ((offset + 3) * 4)\n + \"($fp)\\n\";\n return null;\n }", "@Test(timeout = 4000)\n public void test151() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"9M4i+yR.T\");\n Token token0 = xPathLexer0.number();\n assertEquals(\"9\", token0.getTokenText());\n assertEquals(30, token0.getTokenType());\n \n Token token1 = xPathLexer0.dollar();\n assertEquals(26, token1.getTokenType());\n assertEquals(\"M\", token1.getTokenText());\n \n Token token2 = xPathLexer0.at();\n assertEquals(16, token2.getTokenType());\n assertEquals(\"4\", token2.getTokenText());\n \n Token token3 = xPathLexer0.not();\n assertEquals(\"i\", token3.getTokenText());\n assertEquals(23, token3.getTokenType());\n \n Token token4 = xPathLexer0.nextToken();\n assertEquals(\"+\", token4.getTokenText());\n assertEquals(5, token4.getTokenType());\n \n Token token5 = xPathLexer0.nextToken();\n assertEquals(\"yR.T\", token5.getTokenText());\n assertEquals(15, token5.getTokenType());\n }", "@Override\n public String visit(MoveStmt n) {\n String _ret = null;\n String r1 = this.reg[n.f1.f0.which];\n int which = n.f2.f0.which;\n if (which == 0) {\n /* 0 MOVE r1 HALLOCATE SimpleExp */\n this.save_a0v0(r1);\n n.f2.accept(this);\n Global.outputString += \"move $\" + r1 + \", $v0\\n\";\n this.load_a0v0(r1);\n } else {\n /* 1 MOVE r1 Operator Reg SimpleExp */\n /* 2 MOVE r1 SimpleExp */\n this.moveReg = r1;\n n.f2.accept(this);\n this.moveReg = null;\n }\n return _ret;\n }", "public abstract void mo2153a(CharSequence charSequence);", "@Test(timeout = 4000)\n public void test045() throws Throwable {\n StringReader stringReader0 = new StringReader(\"extends\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.SkipLexicalActions(token0);\n assertEquals(6, javaCharStream0.bufpos);\n assertEquals(\"extends\", token0.toString());\n }", "@Override\n public R visit(Bind n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n n.expression.accept(this, argu);\n n.nodeToken2.accept(this, argu);\n n.var.accept(this, argu);\n n.nodeToken3.accept(this, argu);\n return _ret;\n }", "public final void mT__24() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__24;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('>');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "@Override\r\n public void visit(MoveStmt n, Graph argu) {\r\n n.f2.accept(this, argu);\r\n cur.addDef(Integer.parseInt(n.f1.f1.f0.tokenImage)); // Temp is defined\r\n argu.addStatement(cur, true);\r\n }", "public final void mT16() throws RecognitionException {\n try {\n int _type = T16;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:14:5: ( 'type' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:14:7: 'type'\n {\n match(\"type\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public static ParseAction<Located<Void>> parse4EqualsOrMore(){\n\t\treturn sequence(\n\t\t\t\tdrop(skipWhitespaceAndTLAComments()),\n\t\t\t\tdrop(matchPattern(TLA_4_EQUALS_OR_MORE))\n\t\t).map(seq -> new Located<>(seq.getLocation(), null));\n\t}", "private String tokenToGrammar(Token v) {\n\n if(v.getChVals().equals(\"$\")){\n return \"$\";\n }\n\n String type = v.getType();\n\n if(type.equals(\"keyword\")) {\n type = v.getChVals();\n }\n\n switch (type) {\n case \"begin\":\n return \"b\";\n case \"halt\":\n return \"t\";\n case \"cat\":\n return \"c\";\n case \"mouse\":\n return \"m\";\n case \"clockwise\":\n return \"l\";\n case \"move\":\n return \"o\";\n case \"north\":\n return \"n\";\n case \"south\":\n return \"s\";\n case \"east\":\n return \"e\";\n case \"west\":\n return \"w\";\n case \"hole\":\n return \"h\";\n case \"repeat\":\n return \"r\";\n case \"size\":\n return \"z\";\n case \"end\":\n return \"d\";\n case \"integer\":\n return \"i\";\n case \"variable\":\n return \"v\";\n default:\n return type;\n }\n }", "@Test(timeout = 4000)\n public void test137() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(2, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifier();\n assertEquals(\"E\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(7, token2.getTokenType());\n assertEquals(\"<\", token2.getTokenText());\n }", "public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int INT = 6;\n /** RegularExpression Id. */\n int REAL = 7;\n /** RegularExpression Id. */\n int BOOL = 8;\n /** RegularExpression Id. */\n int LIST = 9;\n /** RegularExpression Id. */\n int STR = 10;\n /** RegularExpression Id. */\n int CARACT = 11;\n /** RegularExpression Id. */\n int SE = 12;\n /** RegularExpression Id. */\n int SENAO = 13;\n /** RegularExpression Id. */\n int SENAOSE = 14;\n /** RegularExpression Id. */\n int ENQUANTO = 15;\n /** RegularExpression Id. */\n int PARA = 16;\n /** RegularExpression Id. */\n int VERDADEIRO = 17;\n /** RegularExpression Id. */\n int FALSO = 18;\n /** RegularExpression Id. */\n int IMPRIMIR = 19;\n /** RegularExpression Id. */\n int MAIS = 20;\n /** RegularExpression Id. */\n int MENOS = 21;\n /** RegularExpression Id. */\n int MULTIPLICAR = 22;\n /** RegularExpression Id. */\n int DIVIDIR = 23;\n /** RegularExpression Id. */\n int ATRIBUICAO = 24;\n /** RegularExpression Id. */\n int MAIOR = 25;\n /** RegularExpression Id. */\n int MENOR = 26;\n /** RegularExpression Id. */\n int MAIOR_IGUAL = 27;\n /** RegularExpression Id. */\n int MENOR_IGUAL = 28;\n /** RegularExpression Id. */\n int IGUAL = 29;\n /** RegularExpression Id. */\n int DIFERENTE = 30;\n /** RegularExpression Id. */\n int ABRE_PARENTESES = 31;\n /** RegularExpression Id. */\n int FECHA_PARENTESES = 32;\n /** RegularExpression Id. */\n int ABRE_CHAVES = 33;\n /** RegularExpression Id. */\n int FECHA_CHAVES = 34;\n /** RegularExpression Id. */\n int ABRE_COLCHETE = 35;\n /** RegularExpression Id. */\n int FECHA_COLCHETE = 36;\n /** RegularExpression Id. */\n int PONTO_VIRGULA = 37;\n /** RegularExpression Id. */\n int VIRGULA = 38;\n /** RegularExpression Id. */\n int PONTO = 39;\n /** RegularExpression Id. */\n int CONSTANTE_INT = 40;\n /** RegularExpression Id. */\n int CONSTANTE_REAL = 41;\n /** RegularExpression Id. */\n int DIGITO = 42;\n /** RegularExpression Id. */\n int VARIAVEL = 43;\n /** RegularExpression Id. */\n int CARACTERE = 44;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"INT\\\"\",\n \"\\\"REAL\\\"\",\n \"\\\"BOOL\\\"\",\n \"\\\"LIST\\\"\",\n \"\\\"STR\\\"\",\n \"\\\"CARACT\\\"\",\n \"\\\"SE\\\"\",\n \"\\\"SENAO\\\"\",\n \"\\\"SENAOSE\\\"\",\n \"\\\"ENQUANTO\\\"\",\n \"\\\"PARA\\\"\",\n \"\\\"VERDADEIRO\\\"\",\n \"\\\"FALSO\\\"\",\n \"\\\"IMPRIMIR\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\" >=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CONSTANTE_INT>\",\n \"<CONSTANTE_REAL>\",\n \"<DIGITO>\",\n \"<VARIAVEL>\",\n \"<CARACTERE>\",\n };\n\n}", "@Test(timeout = 4000)\n public void test087() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"zO=t1k%z[\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"zO\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "public String visit(Goal n, String argu) {\n n.f0.accept(this, null);\n n.f1.accept(this, null);\n \t return \" DONE!\"; \n }", "public abstract CharSequence mo2161g();", "@Override\n\tpublic void visit(Matches arg0) {\n\n\t}", "@Test(timeout = 4000)\n public void test013() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.getPreviousToken();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(18, token0.getTokenType());\n }", "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "@Test\r\n\tpublic void testInvalid05() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid05\");\r\n\t}" ]
[ "0.5840532", "0.5561643", "0.5425133", "0.5348449", "0.5328451", "0.5323792", "0.52979255", "0.5269819", "0.5260021", "0.52074957", "0.5203844", "0.5202711", "0.51163936", "0.50577736", "0.5038865", "0.50354415", "0.50190055", "0.50169855", "0.50103754", "0.5005932", "0.5001845", "0.49945086", "0.4988952", "0.4986302", "0.49691188", "0.49584746", "0.4940952", "0.4933658", "0.48999318", "0.48964328", "0.48875758", "0.48688194", "0.4867085", "0.4846256", "0.48402262", "0.48371288", "0.48324335", "0.48220184", "0.48150337", "0.48115054", "0.481092", "0.48079908", "0.47864616", "0.47787377", "0.47745585", "0.47705287", "0.47674415", "0.47535244", "0.4743647", "0.47395104", "0.4729344", "0.4725759", "0.47234356", "0.47180367", "0.47167408", "0.47159433", "0.47002244", "0.46876377", "0.46865204", "0.46864614", "0.46822086", "0.4681824", "0.46781898", "0.4675346", "0.46728468", "0.46719718", "0.46709576", "0.4668207", "0.46652377", "0.46637866", "0.46512386", "0.46512386", "0.46512386", "0.46512386", "0.46512386", "0.46512386", "0.46512386", "0.46512386", "0.46512386", "0.46512386", "0.46468955", "0.46466246", "0.46435297", "0.46319383", "0.46302024", "0.4629661", "0.46228978", "0.4622789", "0.46154732", "0.46089587", "0.4608191", "0.4607697", "0.46069318", "0.4601524", "0.46006942", "0.46002612", "0.45999804", "0.45977122", "0.45973298", "0.45955592", "0.45949274" ]
0.0
-1
$ANTLR end "T__16" $ANTLR start "T__17"
public final void mT__17() throws RecognitionException { try { int _type = T__17; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:15:7: ( 'description' ) // InternalDSL.g:15:9: 'description' { match("description"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mT__17() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__17;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:8:7: ( '(' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:8:9: '('\n\t\t\t{\n\t\t\tmatch('('); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__17() throws RecognitionException {\n try {\n int _type = T__17;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:15:7: ( ')' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:15:9: ')'\n {\n match(')'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "public final void mT__17() throws RecognitionException {\n try {\n int _type = T__17;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:16:7: ( '(' )\n // InternalStateMachine.g:16:9: '('\n {\n match('('); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void mT__17() throws RecognitionException {\n try {\n int _type = T__17;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:10:7: ( 'index' )\n // metamorph.runtime/src/antlr/Ast.g:10:9: 'index'\n {\n match(\"index\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:14:7: ( '(' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:14:9: '('\n {\n match('('); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "AstroArg unpack(Astro litChars);", "Token next();", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "public R visit(MoveStmt n) {\n R _ret=null;\n simple_exp=0;\n // System.out.print(\"MOVE \");\n String s0 = (String)n.f0.accept(this);\n String s1 = (String)n.f1.accept(this);\n String s = new String();\n s=(\"MOVE \"+s1+\" \");\n simple_exp=0;\n String s2 = (String)n.f2.accept(this);\n s=s+(s2+\" \");\n return (R)s;\n }", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "public final void mT__16() throws RecognitionException {\r\n try {\r\n int _type = T__16;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:13:7: ( '.*' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:13:9: '.*'\r\n {\r\n match(\".*\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "@Test(timeout = 4000)\n public void test045() throws Throwable {\n StringReader stringReader0 = new StringReader(\"extends\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.SkipLexicalActions(token0);\n assertEquals(6, javaCharStream0.bufpos);\n assertEquals(\"extends\", token0.toString());\n }", "@Test\r\n\tpublic void testInvalid04() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid04\");\r\n\t}", "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"|OLg_Eyu;i\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(17, token0.getTokenType());\n assertEquals(\"|\", token0.getTokenText());\n }", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "private String tokenToGrammar(Token v) {\n\n if(v.getChVals().equals(\"$\")){\n return \"$\";\n }\n\n String type = v.getType();\n\n if(type.equals(\"keyword\")) {\n type = v.getChVals();\n }\n\n switch (type) {\n case \"begin\":\n return \"b\";\n case \"halt\":\n return \"t\";\n case \"cat\":\n return \"c\";\n case \"mouse\":\n return \"m\";\n case \"clockwise\":\n return \"l\";\n case \"move\":\n return \"o\";\n case \"north\":\n return \"n\";\n case \"south\":\n return \"s\";\n case \"east\":\n return \"e\";\n case \"west\":\n return \"w\";\n case \"hole\":\n return \"h\";\n case \"repeat\":\n return \"r\";\n case \"size\":\n return \"z\";\n case \"end\":\n return \"d\";\n case \"integer\":\n return \"i\";\n case \"variable\":\n return \"v\";\n default:\n return type;\n }\n }", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__24;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('>');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "@Test(timeout = 4000)\n public void test075() throws Throwable {\n StringReader stringReader0 = new StringReader(\"<?ep_cuW)AS/}\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 0, (-1));\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals(88, token0.kind);\n }", "void isToken(String p) {\r\n\t\tint n = 0;\r\n\t\t// switch statement that finds lexemes and tokens and add them to an arrayList\r\n\t\tString x = p;\r\n\t\tswitch (x) {\r\n\r\n\t\tcase \"int\":\r\n\t\t\tlexemes.add(\"int\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"double\":\r\n\t\t\tlexemes.add(\"double\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"<\":\r\n\t\t\tlexemes.add(\"<\");\r\n\t\t\ttokens.add(\"LESS_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"{\":\r\n\t\t\tlexemes.add(\"{\");\r\n\t\t\ttokens.add(\"OPEN_CURLB\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"String\":\r\n\t\t\tlexemes.add(\"String\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"char\":\r\n\t\t\tlexemes.add(\"char\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"=\":\r\n\t\t\tlexemes.add(\"=\");\r\n\t\t\ttokens.add(\"ASSIGN_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"float\":\r\n\t\t\tlexemes.add(\"float\");\r\n\t\t\ttokens.add(\"DATA_TYPE\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"-\":\r\n\t\t\tlexemes.add(\"-\");\r\n\t\t\ttokens.add(\"SUB_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"+\":\r\n\t\t\tlexemes.add(\"+\");\r\n\t\t\ttokens.add(\"ADD_OPP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"*\":\r\n\t\t\tlexemes.add(\"*\");\r\n\t\t\ttokens.add(\"MUL_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"/\":\r\n\t\t\tlexemes.add(\"/\");\r\n\t\t\ttokens.add(\"DIV_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"%\":\r\n\t\t\tlexemes.add(\"%\");\r\n\t\t\ttokens.add(\"MOD_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \">\":\r\n\t\t\tlexemes.add(\">\");\r\n\t\t\ttokens.add(\"GREAT_OP\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"}\":\r\n\t\t\tlexemes.add(\"}\");\r\n\t\t\ttokens.add(\"CLOSE_CULRB\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"[\":\r\n\t\t\tlexemes.add(\"[\");\r\n\t\t\ttokens.add(\"OPEN_BRACK\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \":\":\r\n\t\t\tlexemes.add(\":\");\r\n\t\t\ttokens.add(\"COLON\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"]\":\r\n\t\t\tlexemes.add(\"]\");\r\n\t\t\ttokens.add(\"CLOSED_BRACK\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"(\":\r\n\t\t\tlexemes.add(\"(\");\r\n\t\t\ttokens.add(\"OPEN_PAR\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \",\":\r\n\t\t\tlexemes.add(\",\");\r\n\t\t\ttokens.add(\"COMMA\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \")\":\r\n\t\t\tlexemes.add(\")\");\r\n\t\t\ttokens.add(\"CLOSED_PAR\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \";\":\r\n\t\t\tlexemes.add(\";\");\r\n\t\t\ttokens.add(\"SEMICOLON\");\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tlexemes.add(x);\r\n\t\t\ttokens.add(\"IDENT\");\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "String getShortToken();", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public abstract void mo2153a(CharSequence charSequence);", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "@Override\n public String visit(AStoreStmt n) {\n String r1 = this.reg[n.f2.f0.which];\n int offset = Integer.parseInt(n.f1.f1.f0.tokenImage);\n Global.outputString += \"sw $\" + r1 + \", -\" + ((offset + 3) * 4)\n + \"($fp)\\n\";\n return null;\n }", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "@Test(timeout = 4000)\n public void test082() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\") (\");\n Token token0 = xPathLexer0.minus();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(6, token0.getTokenType());\n assertEquals(\")\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "private int parseWord(Token token, char[] buffer, int offset, int type){\nfromStart:\n for(int i=offset; i<buffer.length; ++i){\n for(int x=0; x < characters[type].length; ++x){\n if(buffer[i] == characters[type][x]){\n token.identifier += buffer[i];\n continue fromStart;\n }\n }\n // If it gets here, the character currently parsed isn't of the same type \n return i;\n }\n // Found end of file\n return offset+buffer.length;\n }", "public final void mT__17() throws RecognitionException {\r\n try {\r\n int _type = T__17;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:15:7: ( 'extends' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:15:9: 'extends'\r\n {\r\n match(\"extends\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:15:7: ( '}' )\n // InternalStateMachine.g:15:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "static void lookUp() throws IOException {\n switch (curr_char) {\n case 124:\n curr_type = TokenType.VERT;\n break;\n case 42:\n curr_type = TokenType.STAR;\n break;\n case 43:\n curr_type = TokenType.PLUS;\n break;\n case 63:\n curr_type = TokenType.QMARK;\n break;\n case 40:\n curr_type = TokenType.LPAREN;\n break;\n case 41:\n curr_type = TokenType.RPAREN;\n break;\n case 46:\n curr_type = TokenType.PERIOD;\n break;\n case 92:\n curr_type = TokenType.BSLASH;\n break;\n case 91:\n int temp = 0;\n temp = pbIn.read();\n if(temp == 94) {\n curr_type = TokenType.LNEGSET;\n }\n else {\n pbIn.unread(temp);\n curr_type = TokenType.LPOSSET;\n }\n break;\n case 93:\n curr_type = TokenType.RSET;\n break;\n case 60:\n curr_type = TokenType.LANGLE;\n break;\n case 62:\n curr_type = TokenType.RANGLE;\n break;\n case 13:\n int checkCRLF;\n curr_type = TokenType.EOL;\n checkCRLF = pbIn.read();\n if(checkCRLF != 10)\n {\n pbIn.unread(checkCRLF);\n }\n break;\n default:\n if(Character.isDigit((char)curr_char) || Character.isLetter((char)curr_char) || curr_char == 94 || curr_char == 47)\n {\n curr_type = TokenType.CHAR;\n }\n else {\n curr_type = TokenType.ERROR;\n }\n }\n }", "public Snippet visit(DotNext n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this, argu);\n\t // return new Snippet(\"\", _ret.returnTemp+\".next()\", new X10Place(), false);\n\t return new Snippet(\"\", \"0\", new X10Place(), false);\n\t }", "@Test(timeout = 4000)\n public void test003() throws Throwable {\n StringReader stringReader0 = new StringReader(\"void\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.MoreLexicalActions();\n }", "private static boolean isAnyVerb(AnalyzedTokenReadings[] tokens, int n) {\n return tokens[n].hasPosTagStartingWith(\"VER:\")\n || (n < tokens.length - 1\n && ((tokens[n].getToken().equals(\"zu\") && tokens[n+1].hasPosTagStartingWith(\"VER:INF:\"))\n || (tokens[n].hasPosTag(\"NEG\") && tokens[n+1].hasPosTagStartingWith(\"VER:\"))));\n }", "public BindingLexer() {;}", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "public final void mT__17() throws RecognitionException {\r\n try {\r\n int _type = T__17;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:14:7: ( './' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:14:9: './'\r\n {\r\n match(\"./\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void synpred47_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_typePar_2_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: (otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5\n {\n otherlv_1=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_synpred47_InternalMitraParser3552); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1892:1: ( (lv_typePar_2_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1894:3: lv_typePar_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCollectionTypeAccess().getTypeParTypeParserRuleCall_1_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred47_InternalMitraParser3572);\n lv_typePar_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_synpred47_InternalMitraParser3585); if (state.failed) return ;\n\n }\n }", "@Test\r\n\tpublic void testInvalid02() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid02\");\r\n\t}", "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "private static boolean isVerb(AnalyzedTokenReadings[] tokens, int n) {\n return (tokens[n].matchesPosTagRegex(\"(VER:[1-3]:|VER:.*:[1-3]:).*\")\n && !tokens[n].matchesPosTagRegex(\"(ZAL|ADJ|ADV|ART|SUB|PRO:POS).*\")\n && (!tokens[n].hasPosTagStartingWith(\"VER:INF:\") || !tokens[n-1].getToken().equals(\"zu\"))\n && !tokens[n].isImmunized()\n );\n }", "public final void mT__17() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__17;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// src/aofC/AspectParser/AOC.g:18:7: ( ']' )\n\t\t\t// src/aofC/AspectParser/AOC.g:18:9: ']'\n\t\t\t{\n\t\t\tmatch(']'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "@Test\r\n\tpublic void testInvalid05() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid05\");\r\n\t}", "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:7: ( 'port: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:9: 'port: '\n {\n match(\"port: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void visit(Literal literal) {}", "@Test\r\n\tpublic void testInvalid09() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid09\");\r\n\t}", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:16:7: ( 'IDREF' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:16:9: 'IDREF'\n {\n match(\"IDREF\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:16:7: ( 'Attacker' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:16:9: 'Attacker'\n {\n match(\"Attacker\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test019() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.relationalOperator();\n assertNotNull(token0);\n assertEquals(\">\", token0.getTokenText());\n assertEquals(9, token0.getTokenType());\n \n Token token1 = xPathLexer0.rightParen();\n assertEquals(2, token1.getTokenType());\n assertEquals(\"6\", token1.getTokenText());\n \n char char0 = xPathLexer0.LA(0);\n assertEquals('6', char0);\n }", "public void setVar17(java.lang.CharSequence value) {\n this.var17 = value;\n }", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "@Test(timeout = 4000)\n public void test079() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\") (\");\n Token token0 = xPathLexer0.at();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\")\", token0.getTokenText());\n assertEquals(16, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public String toStringAST()\r\n/* 75: */ {\r\n/* 76: 94 */ StringBuilder s = new StringBuilder();\r\n/* 77: */ \r\n/* 78: 96 */ s.append('{');\r\n/* 79: 97 */ int count = getChildCount();\r\n/* 80: 98 */ for (int c = 0; c < count; c++)\r\n/* 81: */ {\r\n/* 82: 99 */ if (c > 0) {\r\n/* 83:100 */ s.append(',');\r\n/* 84: */ }\r\n/* 85:102 */ s.append(getChild(c).toStringAST());\r\n/* 86: */ }\r\n/* 87:104 */ s.append('}');\r\n/* 88:105 */ return s.toString();\r\n/* 89: */ }", "public final void mT__16() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__16;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// src/aofC/AspectParser/AOC.g:17:7: ( '[' )\n\t\t\t// src/aofC/AspectParser/AOC.g:17:9: '['\n\t\t\t{\n\t\t\tmatch('['); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mT__17() throws RecognitionException {\n try {\n int _type = T__17;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:17:7: ( 'MaliciousRequest' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:17:9: 'MaliciousRequest'\n {\n match(\"MaliciousRequest\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test117() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"_V)2V93#c=~\\\")I\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(1, token0.getTokenType());\n assertEquals(\"_\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"V\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "private void parseStmt() throws IOException, FSException,RetException {\n\n\n switch(tok.ttype) {\n\n case LexAnn.TT_DEFINT:\n case LexAnn.TT_DEFSTRING:\n case LexAnn.TT_DEFDOUBLE:\n case LexAnn.TT_DEFOBJECT: {\n parseVarDef();\n break;\n }\n\n case LexAnn.TT_IF: {\n parseIf();\n break;\n }\n case LexAnn.TT_WHILE: {\n parseWhile();\n break;\n }\n case LexAnn.TT_RETURN: {\n parseReturn();\n break;\n }\n case LexAnn.TT_DEFFUNC: {\n parseFunctionDef();\n break;\n }\n case LexAnn.TT_EDEFFUNC: {\n parseFunctionEnd();\n break;\n }\n case LexAnn.TT_EIF:\n throw new FSException(\"unexpected endif\");\n case LexAnn.TT_EWHILE:\n throw new FSException(\"unexpected endwhile\");\n\n case LexAnn.TT_FUNC: {\n parseFunc();\n break;\n }\n case LexAnn.TT_ARRAY: {\n parseArrayAssign();\n break;\n }\n case LexAnn.TT_WORD: {\n parseAssign();\n break;\n }\n case LexAnn.TT_EOL: {\n tok.nextToken();\n break;\n }\n case LexAnn.TT_EOF: {\n // all done\n break;\n }\n default: {\n parseError(\"Expected identifier \"+tok);\n\n }\n }\n\n }", "@Test(timeout = 4000)\n public void test110() throws Throwable {\n StringReader stringReader0 = new StringReader(\"RaLz,<NBG_}Q[P4}\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 20, 0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(3, javaCharStream0.bufpos);\n assertEquals(74, token0.kind);\n }", "private void parseStatementTokens(ArrayList<String> tokens) {\r\n Accessibility accessibility = Accessibility.PACKAGE;\r\n boolean isFinal = false, isStatic = false;\r\n for (int i = 0, numTokens = tokens.size(); i < numTokens; ++i) {\r\n String token = tokens.get(i);\r\n switch (token) {\r\n // Look for accessibility modifiers.\r\n case \"public\":\r\n accessibility = Accessibility.PUBLIC;\r\n break;\r\n case \"private\":\r\n accessibility = Accessibility.PRIVATE;\r\n break;\r\n case \"protected\":\r\n accessibility = Accessibility.PROTECTED;\r\n break;\r\n // Check if it is static.\r\n case \"static\":\r\n isStatic = true;\r\n break;\r\n // Check if it is final.\r\n case \"final\":\r\n isFinal = true;\r\n break;\r\n // Keep track of the package.\r\n case \"package\":\r\n // Set package if there is a token after 'package'.\r\n if (++i < numTokens)\r\n currentPackage = tokens.get(i);\r\n break;\r\n // Keep track of imports.\r\n case \"import\":\r\n // Import type if there is a token after 'import'.\r\n if (++i < numTokens) {\r\n String fullName = tokens.get(i);\r\n int dotIndex = fullName.lastIndexOf('.');\r\n if (dotIndex >= 0) {\r\n // Let the part after the final dot be the 'nickname'.\r\n String shortName = fullName.substring(fullName.lastIndexOf('.') + 1);\r\n imports.put(shortName, fullName);\r\n }\r\n }\r\n break;\r\n // Start parsing a new class, enum or interface.\r\n case \"class\":\r\n case \"enum\":\r\n case \"interface\":\r\n if (++i < numTokens) {\r\n String className = tokens.get(i);\r\n // Back up information to return to after parsing the class (helps\r\n // deal with nested classes).\r\n int endIndex = index;\r\n HashMap<String, String> outerImports = imports;\r\n ClassBuilder outerClass = currentClass;\r\n String previousPackage = currentPackage;\r\n // Make imports for this class separate from the imports for the outer class\r\n // (this is convenient because inner class resolution is dealt with by\r\n // treating the definition as an \"import\").\r\n imports = new HashMap<>();\r\n imports.putAll(outerImports);\r\n // Go inside the current class (so a class within an outer class would have\r\n // a full name like package.OuterClass.InnerClass).\r\n currentPackage += \".\" + className;\r\n // Go to the code inside the brackets (where the class fields and such are).\r\n index = insideBracketsIndex;\r\n // Start building the new class (at this point 'currentPackage' is the full\r\n // name of the class).\r\n currentClass = new ClassBuilder(this, currentPackage, token);\r\n imports.put(className, currentPackage);\r\n currentClass.addImports(imports);\r\n // If this is an inner class, then add a relation for that.\r\n if (outerClass != null) {\r\n currentClass.setOuterClassName(outerClass.getName());\r\n outerClass.addImport(className, currentPackage);\r\n currentClass.addImports(outerClass);\r\n }\r\n if (++i < numTokens && tokens.get(i).equals(\"extends\") && ++i < numTokens) {\r\n // Check for the extends keyword to add a superclass.\r\n currentClass.setSuperClassName(tokens.get(i));\r\n } else {\r\n --i;\r\n }\r\n if (++i < numTokens && tokens.get(i).equals(\"implements\") && ++i < numTokens) {\r\n // Check for the implements keyword to add an interface.\r\n for (String interfaceName : tokens.get(i).split(\",\")) {\r\n currentClass.addInterfaceName(interfaceName);\r\n }\r\n }\r\n // Start parsing the class.\r\n parse();\r\n // Finish building the class and register it.\r\n ClassInfo classInfo = currentClass.toClassInfo();\r\n classes.add(classInfo);\r\n classMap.put(classInfo.getFullName(), classInfo);\r\n // Return to parsing the outer class, if any.\r\n index = endIndex;\r\n currentPackage = previousPackage;\r\n currentClass = outerClass;\r\n imports = outerImports;\r\n }\r\n break;\r\n default:\r\n if (inMethod) {\r\n if (i == 0 && IGNORED_KEYWORDS.contains(token)) {\r\n // Ignore the entire statement if it's inside a method and starts\r\n // with a keyword.\r\n return;\r\n }\r\n } else if (IGNORED_KEYWORDS.contains(token)) {\r\n // If not inside a method, then ignore certain keywords regardless of\r\n // position, but don't end the statement.\r\n break;\r\n }\r\n // Look for type or member name (identifier).\r\n // Members are only relevant inside classes.\r\n if (currentClass != null) {\r\n if (numTokens == 1) {\r\n // Add enum values, which may be separated by a ','.\r\n if (inMethod) {\r\n // Methods don't have enum values, so ignore the statement if the parser\r\n // is currently looking for variables in a method.\r\n return;\r\n }\r\n for (String enumValue : token.split(\",\")) {\r\n // Represent fields as enums with no type.\r\n currentClass.addField(Accessibility.PUBLIC, enumValue, null, false, false);\r\n }\r\n } else {\r\n String memberTypeName = token;\r\n String memberName;\r\n ArrayList<ParameterInfo> parameters = null;\r\n if (++i < numTokens) {\r\n token = tokens.get(i);\r\n if (\"(\".equals(token)) {\r\n // If the identifier is followed directly by '(', it has no return type\r\n // (it's a constructor).\r\n memberName = memberTypeName;\r\n memberTypeName = null;\r\n --i;\r\n } else {\r\n // Otherwise, the previous token was the return type or field type, meaning\r\n // the next one is the name of the method or field.\r\n memberName = token;\r\n }\r\n if (++i < numTokens && \"(\".equals(tokens.get(i))) {\r\n // If the next token exists and is '(', then parse the parameters.\r\n if (inMethod) {\r\n // But if it's already inside a method, then ignore the statement (as\r\n // it's a method call instead of a definition).\r\n return;\r\n }\r\n parameters = new ArrayList<>();\r\n // Keep going until end of statement or if ')' is found.\r\n while (++i < numTokens && !\")\".equals(token = tokens.get(i))) {\r\n boolean isParameterFinal = token.equals(\"final\");\r\n if (isParameterFinal) {\r\n // Go to the next token and stop if it was the final token.\r\n if (++i >= numTokens)\r\n break;\r\n token = tokens.get(i);\r\n }\r\n String parameterName = null, parameterTypeName = null;\r\n int varargIndex = token.indexOf(\"...\");\r\n if (varargIndex != -1) {\r\n // The tokenizer incorrectly turns things like \"String... args\"\r\n // into a single token (\"String...args\"). Split them up again if\r\n // that is the case.\r\n parameterTypeName = token.substring(0, varargIndex + 3);\r\n parameterName = token.substring(varargIndex + 3);\r\n } else if (++i < numTokens) {\r\n // Otherwise, the parameter name is the next token.\r\n parameterTypeName = token;\r\n parameterName = tokens.get(i);\r\n }\r\n if (parameterName != null) {\r\n // Add the parameter.\r\n parameters.add(new ParameterInfo(parameterName, parameterTypeName, isParameterFinal));\r\n }\r\n }\r\n }\r\n if (parameters == null) {\r\n // If no parameter list was found, then add fields instead, which may\r\n // be separated by a ',' if multiple fields are declared at once (Like\r\n // \"int var1, var2, var3;\"\r\n for (String fieldName : memberName.split(\",\")) {\r\n if (isJavaIdentifier(fieldName)) {\r\n currentClass.addField(accessibility, fieldName, memberTypeName, isFinal, isStatic);\r\n }\r\n }\r\n } else {\r\n // Otherwise, add a method with the parameters that were found.\r\n int endIndex = index;\r\n index = insideBracketsIndex;\r\n inMethod = true;\r\n ClassBuilder outerClass = currentClass;\r\n currentClass = new ClassBuilder(this, \"<variable search>\", null);\r\n currentClass.addImports(outerClass);\r\n curlyBracketsLevel = 0;\r\n parse();\r\n ValueInfo[] variables = currentClass.getFieldsAsVariables();\r\n currentClass = outerClass;\r\n currentClass.addMethod(accessibility, memberName, memberTypeName, parameters, variables, isFinal, isStatic);\r\n inMethod = false;\r\n index = endIndex;\r\n }\r\n return;\r\n }\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n }", "@Test\r\n\tpublic void typeParserTest() {\n\t\tvalidateTypeParse(\r\n\t\t\t\t\"(function that takes a number and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number and a (function that takes a number)\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number, a string, and an element_of_type_3\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\"(function that takes a number)\");\r\n\t\t// assertEquals(\"procedure\", cdLoopType(\"function\"));\r\n\t\t// validateTypeParse(\"(function that outputs a number)\");\r\n\t\t// validateTypeParse(\"procedure\");\r\n\t}", "private String node(String name) { return prefix + \"AST\" + name + \"Node\"; }", "public void ParseTokens() throws IOException\n\t{\t\n\t\tboolean result = isValidProgram();\n\t\tSystem.out.println(result);\n\t}", "public final void mT__16() throws RecognitionException {\n try {\n int _type = T__16;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:14:7: ( '+=' )\n // InternalSpeADL.g:14:9: '+='\n {\n match(\"+=\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public static void imprimirAST(NodoBase raiz){\n\t\t sangria+=2;\n\t\t while (raiz != null) {\n\t\t printSpaces();\n\t\t if (raiz instanceof NodoIf)\n\t\t \tSystem.out.println(\"If\");\n\t\t else if (raiz instanceof NodoRepeat)\n\t\t \tSystem.out.println(\"Repeat\");\n else if (raiz instanceof NodoFor)\n System.out.println(\"For\");\n else if (raiz instanceof NodoDeclaracion)\n System.out.println(\"Declaracion\");\n\t\t else if (raiz instanceof NodoLeer) \n\t\t \tSystem.out.println(\"Lectura: \"+((NodoLeer)raiz).getIdentificador());\n\t\t else if (raiz instanceof NodoEscribir)\n\t\t \tSystem.out.println(\"Escribir\");\n else if (raiz instanceof NodoEstructura)\n System.out.println(\"Estructura\");\n else if (raiz instanceof NodoFuncionRetorna){\n System.out.println(\"Funcion con Retorno\"); }\n else if (raiz instanceof NodoFuncionSinRetorna)\n System.out.println(\"Funcion sin Retorno\");\n else if (raiz instanceof NodoParametro)\n System.out.println(\"Parametro\");\n\t\t else \n if (raiz instanceof NodoAsignacion)\n {\n if(((NodoAsignacion)raiz).getPosicion()!=null) //vector\n System.out.println(\"Asignacion a: \"+((NodoAsignacion)raiz).getIdentificador()+\"[\"+((NodoAsignacion)raiz).getPosicion()+\"]\"); \n else\n System.out.println(\"Asignacion a: \"+((NodoAsignacion)raiz).getIdentificador());\n }\n else if (raiz instanceof NodoCall)\n {\n if(((NodoCall)raiz).getArgumentos()!=null) //vector\n System.out.println(\"Llamada a la funcion: \"+((NodoCall)raiz).getIdentificador()); \n else\n System.out.println(\"Llamada a la funcion: \"+((NodoCall)raiz).getIdentificador()+\"(\"+\")\");\n }\n else if (raiz instanceof NodoOperacion\n\t\t \t\t|| raiz instanceof NodoValor\n\t\t \t\t|| raiz instanceof NodoIdentificador )\n\t\t \timprimirNodo(raiz);\n \n else if (raiz instanceof NodoVariable)\n {\n if(((NodoVariable)raiz).getNumero()!=null)\n System.out.println(((NodoVariable)raiz).getIdentificador()+\"[\"+((NodoVariable)raiz).getNumero()+\"]\");\n else\n System.out.println(((NodoVariable)raiz).getIdentificador());\n }\n\t\t else System.out.println(\"Tipo de nodo desconocido\");\n\t\t \n\t\t \n /* Hago el recorrido recursivo */\n \n if (raiz instanceof NodoEstructura){\n printSpaces();\n System.out.println(\"**Funcion**\");\n imprimirAST(((NodoEstructura)raiz).getFuncion());\n printSpaces();\n System.out.println(\"**Main**\");\n imprimirAST(((NodoEstructura)raiz).getBloque());\n }\n \n if (raiz instanceof NodoFuncionRetorna){\n printSpaces();\n System.out.println(\"**Funcion con Retorno**\");\n imprimirAST(((NodoFuncionRetorna)raiz).getTipo());\n \n printSpaces();\n System.out.println(\" ID, \"+((NodoFuncionRetorna)raiz).getIdentificador());\n \n if(((NodoFuncionRetorna)raiz).getParametros()!=null){\n printSpaces();\n System.out.println(\"parametros\");\n imprimirAST(((NodoFuncionRetorna)raiz).getParametros());\n }\n printSpaces();\n System.out.println(\"cuerpo\");\n imprimirAST(((NodoFuncionRetorna)raiz).getSecuencias());\n \n printSpaces();\n System.out.println(\"retorno\");\n imprimirAST(((NodoFuncionRetorna)raiz).getExpresion());\n }\n \n if (raiz instanceof NodoFuncionSinRetorna){\n printSpaces();\n System.out.println(\"**Funcion sin Retorno**\");\n System.out.println(\"VOID\");\n \n printSpaces();\n System.out.println(\" ID, \"+((NodoFuncionSinRetorna)raiz).getIdentificador());\n \n if(((NodoFuncionSinRetorna)raiz).getParametros()!=null){\n printSpaces();\n System.out.println(\"parametros\");\n imprimirAST(((NodoFuncionSinRetorna)raiz).getParametros());\n }\n printSpaces();\n System.out.println(\"cuerpo\");\n imprimirAST(((NodoFuncionSinRetorna)raiz).getSecuencias());\n \n }\n \n if (raiz instanceof NodoParametro){\n printSpaces();\n System.out.println(\"**Parametros**\");\n imprimirAST(((NodoParametro)raiz).getTipo());\n \n System.out.println(\"\\tID, \"+((NodoParametro)raiz).getIdentificador());\n }\n \n if (raiz instanceof NodoCall){\n printSpaces();\n if(((NodoCall)raiz).getArgumentos()!=null)\n System.out.println(\"**argumentos**\");\n imprimirAST(((NodoCall)raiz).getArgumentos());\n }\n \n if (raiz instanceof NodoDeclaracion){\n printSpaces();\n System.out.println(\"**Declaracion**\");\n imprimirAST(((NodoDeclaracion)raiz).getTipo());\n imprimirAST(((NodoDeclaracion)raiz).getLis_asig());\n }\n \n if (raiz instanceof NodoIf){\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Prueba IF**\");\n\t\t \timprimirAST(((NodoIf)raiz).getPrueba());\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Then IF**\");\n\t\t \timprimirAST(((NodoIf)raiz).getParteThen());\n\t\t \tif(((NodoIf)raiz).getParteElse()!=null){\n\t\t \t\tprintSpaces();\n\t\t \t\tSystem.out.println(\"**Else IF**\");\n\t\t \t\timprimirAST(((NodoIf)raiz).getParteElse());\n\t\t \t}\n\t\t }\n\t\t else if (raiz instanceof NodoRepeat){\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Cuerpo REPEAT**\");\n\t\t \timprimirAST(((NodoRepeat)raiz).getCuerpo());\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Prueba REPEAT**\");\n\t\t \timprimirAST(((NodoRepeat)raiz).getPrueba());\n\t\t }\n else if (raiz instanceof NodoFor){\n printSpaces();\n System.out.println(\"**Asignacion For**\");\n imprimirAST(((NodoFor)raiz).getAsignacion());\n printSpaces();\n System.out.println(\"**Comprobacion FOR**\");\n imprimirAST(((NodoFor)raiz).getPrueba());\n printSpaces();\n System.out.println(\"**Acumulador FOR**\");\n imprimirAST(((NodoFor)raiz).getAcumulador());\n printSpaces();\n System.out.println(\"**Cuerpo FOR**\");\n imprimirAST(((NodoFor)raiz).getCuerpo());\n \n }\n\t\t else \n \n if (raiz instanceof NodoAsignacion)\n\t\t \timprimirAST(((NodoAsignacion)raiz).getExpresion());\n\t\t else \n \n if (raiz instanceof NodoEscribir)\n\t\t \timprimirAST(((NodoEscribir)raiz).getExpresion());\n\t\t else \n \n \n if (raiz instanceof NodoOperacion){\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Expr Izquierda Operacion**\");\n\t\t \timprimirAST(((NodoOperacion)raiz).getOpIzquierdo());\n\t\t \tprintSpaces();\n\t\t \tSystem.out.println(\"**Expr Derecha Operacion**\");\t\t \t\n\t\t \timprimirAST(((NodoOperacion)raiz).getOpDerecho());\n\t\t }\n\t\t raiz = raiz.getHermanoDerecha();\n\t\t }\n\t\t sangria-=2;\n\t\t}", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "public final void mT__16() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__16;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:7:7: ( '&&' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:7:9: '&&'\n\t\t\t{\n\t\t\tmatch(\"&&\"); \n\n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mT__17() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__17;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:7:7: ( '!=' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:7:9: '!='\r\n\t\t\t{\r\n\t\t\tmatch(\"!=\"); \r\n\r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public static void main(String[] args) {\r\n\r\n\tAlternation a = new Alternation();\r\n\t\r\n\ta.add(new Literal(\"steaming\"));\r\n\ta.add(new Literal(\"hot\"));\r\n\r\n\tRepetition adjectives = new Repetition(a);\r\n\r\n\tTokenAssembly ta = \r\n\t\tnew TokenAssembly(\"hot hot steaming hot coffee\");\r\n\t\r\n\tSystem.out.println(adjectives.bestMatch(ta));\r\n}", "public abstract void mo24206b(@C5937f C12292n0<? super T> n0Var);", "@Test(timeout = 4000)\n public void test41() throws Throwable {\n StringReader stringReader0 = new StringReader(\"0(Hu\");\n StreamTokenizer streamTokenizer0 = new StreamTokenizer(stringReader0);\n StreamTokenizer streamTokenizer1 = new StreamTokenizer(stringReader0);\n StreamTokenizer streamTokenizer2 = new StreamTokenizer(stringReader0);\n JSTerm jSTerm0 = new JSTerm(streamTokenizer0);\n stringReader0.reset();\n StreamTokenizer streamTokenizer3 = new StreamTokenizer(stringReader0);\n StreamTokenizer streamTokenizer4 = new StreamTokenizer(stringReader0);\n StreamTokenizer streamTokenizer5 = new StreamTokenizer(stringReader0);\n streamTokenizer0.commentChar((-4));\n StreamTokenizer streamTokenizer6 = new StreamTokenizer(stringReader0);\n streamTokenizer6.ordinaryChars((-1), (-322070664));\n streamTokenizer1.parseNumbers();\n StreamTokenizer streamTokenizer7 = new StreamTokenizer(stringReader0);\n streamTokenizer7.pushBack();\n streamTokenizer1.nextToken();\n StreamTokenizer streamTokenizer8 = new StreamTokenizer(stringReader0);\n streamTokenizer2.slashSlashComments(false);\n JSTerm jSTerm1 = new JSTerm(streamTokenizer5);\n streamTokenizer1.slashStarComments(false);\n streamTokenizer3.eolIsSignificant(false);\n streamTokenizer7.commentChar((-4));\n StreamTokenizer streamTokenizer9 = new StreamTokenizer(stringReader0);\n JSSubstitution jSSubstitution0 = new JSSubstitution();\n jSSubstitution0.listIterator();\n JSSubstitution jSSubstitution1 = jSTerm1.matches((JSPredicateForm) jSTerm0, jSSubstitution0);\n assertTrue(jSSubstitution1.fail());\n }", "@Test(timeout = 4000)\n public void test020() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":_]J_/L!uFQ7%)BrL\");\n Token token0 = xPathLexer0.literal();\n assertNull(token0);\n \n char char0 = xPathLexer0.LA((-1));\n assertEquals('r', char0);\n }", "public final void synpred3_Binding_fragment() throws RecognitionException { \n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2956:9: ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2956:11: INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' )\n {\n mINT(); if (state.failed) return ;\n match('.'); if (state.failed) return ;\n if ( (input.LA(1)>='\\u0000' && input.LA(1)<='-')||(input.LA(1)>='/' && input.LA(1)<='@')||(input.LA(1)>='[' && input.LA(1)<='^')||input.LA(1)=='`'||(input.LA(1)>='{' && input.LA(1)<='\\u00BF')||input.LA(1)=='\\u00D7'||input.LA(1)=='\\u00F7'||(input.LA(1)>='\\u0100' && input.LA(1)<='\\uFFFF') ) {\n input.consume();\n state.failed=false;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n }" ]
[ "0.56538415", "0.5595839", "0.55224425", "0.54279435", "0.51943195", "0.5125088", "0.5059194", "0.502547", "0.49820226", "0.4932447", "0.49087578", "0.4880974", "0.4866698", "0.48638102", "0.4843413", "0.48293194", "0.48221722", "0.48220614", "0.48177257", "0.4814212", "0.4808935", "0.48050845", "0.47989428", "0.4798176", "0.47917706", "0.47818562", "0.47757474", "0.4770686", "0.47548008", "0.47498298", "0.4734738", "0.47166026", "0.47071713", "0.47061542", "0.46885", "0.46885", "0.46885", "0.46885", "0.46885", "0.46885", "0.46885", "0.46885", "0.46885", "0.46885", "0.46615967", "0.4651733", "0.464826", "0.4646264", "0.46459937", "0.46453172", "0.4637803", "0.46371406", "0.46281523", "0.46254358", "0.461755", "0.4616409", "0.46038043", "0.46018475", "0.4600873", "0.45988256", "0.45969504", "0.45938048", "0.45929247", "0.4591119", "0.45772704", "0.4576741", "0.4574187", "0.45652553", "0.4564533", "0.45638892", "0.45634693", "0.45617682", "0.45612407", "0.45606256", "0.45602494", "0.45538655", "0.45484507", "0.45479426", "0.45470688", "0.45417902", "0.45380875", "0.453797", "0.45377973", "0.4535464", "0.45353803", "0.45316306", "0.453001", "0.4526199", "0.45226836", "0.45219603", "0.45176777", "0.4516388", "0.45155433", "0.45138928", "0.45136848", "0.4501786", "0.45001248", "0.4495091", "0.44936588", "0.44910225", "0.4487803" ]
0.0
-1
$ANTLR end "T__17" $ANTLR start "T__18"
public final void mT__18() throws RecognitionException { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:16:7: ( '}' ) // InternalDSL.g:16:9: '}' { match('}'); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mT__18() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__18;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:9:7: ( ')' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:9:9: ')'\n\t\t\t{\n\t\t\tmatch(')'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__17() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__17;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:8:7: ( '(' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:8:9: '('\n\t\t\t{\n\t\t\tmatch('('); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mT__18() throws RecognitionException {\r\n try {\r\n int _type = T__18;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:15:7: ( '+' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:15:9: '+'\r\n {\r\n match('+'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:18:7: ( 'destination: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:18:9: 'destination: '\n {\n match(\"destination: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT18() throws RecognitionException {\n try {\n int _type = T18;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:16:5: ( ';' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:16:7: ';'\n {\n match(';'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mT__17() throws RecognitionException {\n try {\n int _type = T__17;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:15:7: ( ')' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:15:9: ')'\n {\n match(')'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:17:7: ( 'A' )\n // InternalReqLNG.g:17:9: 'A'\n {\n match('A'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:11:7: ( 'line' )\n // metamorph.runtime/src/antlr/Ast.g:11:9: 'line'\n {\n match(\"line\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // Office.g:23:7: ( '}' )\n // Office.g:23:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:7: ( 'port: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:9: 'port: '\n {\n match(\"port: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:12:7: ( '{' )\n // InternalEsm.g:12:9: '{'\n {\n match('{'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:17:7: ( '}' )\n // InternalMyDsl.g:17:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__18() throws RecognitionException {\r\n try {\r\n int _type = T__18;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:16:7: ( '{' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:16:9: '{'\r\n {\r\n match('{'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "public final void mT__18() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__18;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:8:7: ( '&&' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:8:9: '&&'\r\n\t\t\t{\r\n\t\t\tmatch(\"&&\"); \r\n\r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:16:7: ( 'to' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:16:9: 'to'\n {\n match(\"to\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public final void mT__17() throws RecognitionException {\n try {\n int _type = T__17;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:16:7: ( '(' )\n // InternalStateMachine.g:16:9: '('\n {\n match('('); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "public final void mT__17() throws RecognitionException {\n try {\n int _type = T__17;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // Office.g:22:7: ( '{' )\n // Office.g:22:9: '{'\n {\n match('{'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "@Test(timeout = 4000)\n public void test045() throws Throwable {\n StringReader stringReader0 = new StringReader(\"extends\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.SkipLexicalActions(token0);\n assertEquals(6, javaCharStream0.bufpos);\n assertEquals(\"extends\", token0.toString());\n }", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "public interface C1803l extends C1813t {\n /* renamed from: b */\n C1803l mo7382b(C2778au auVar);\n\n /* renamed from: f */\n List<C1700ar> mo7233f();\n\n /* renamed from: g */\n C2841w mo7234g();\n\n /* renamed from: q */\n C1800i mo7384q();\n}", "private String tokenToGrammar(Token v) {\n\n if(v.getChVals().equals(\"$\")){\n return \"$\";\n }\n\n String type = v.getType();\n\n if(type.equals(\"keyword\")) {\n type = v.getChVals();\n }\n\n switch (type) {\n case \"begin\":\n return \"b\";\n case \"halt\":\n return \"t\";\n case \"cat\":\n return \"c\";\n case \"mouse\":\n return \"m\";\n case \"clockwise\":\n return \"l\";\n case \"move\":\n return \"o\";\n case \"north\":\n return \"n\";\n case \"south\":\n return \"s\";\n case \"east\":\n return \"e\";\n case \"west\":\n return \"w\";\n case \"hole\":\n return \"h\";\n case \"repeat\":\n return \"r\";\n case \"size\":\n return \"z\";\n case \"end\":\n return \"d\";\n case \"integer\":\n return \"i\";\n case \"variable\":\n return \"v\";\n default:\n return type;\n }\n }", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "@Test\r\n\tpublic void testInvalid04() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid04\");\r\n\t}", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "Token next();", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:17:7: ( '}' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:17:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:17:7: ( '{' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:17:9: '{'\n {\n match('{'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:18:7: ( '[' )\n // InternalIotLuaXtext.g:18:9: '['\n {\n match('['); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\r\n try {\r\n int _type = T__19;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:17:7: ( '}' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:17:9: '}'\r\n {\r\n match('}'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "static void lookUp() throws IOException {\n switch (curr_char) {\n case 124:\n curr_type = TokenType.VERT;\n break;\n case 42:\n curr_type = TokenType.STAR;\n break;\n case 43:\n curr_type = TokenType.PLUS;\n break;\n case 63:\n curr_type = TokenType.QMARK;\n break;\n case 40:\n curr_type = TokenType.LPAREN;\n break;\n case 41:\n curr_type = TokenType.RPAREN;\n break;\n case 46:\n curr_type = TokenType.PERIOD;\n break;\n case 92:\n curr_type = TokenType.BSLASH;\n break;\n case 91:\n int temp = 0;\n temp = pbIn.read();\n if(temp == 94) {\n curr_type = TokenType.LNEGSET;\n }\n else {\n pbIn.unread(temp);\n curr_type = TokenType.LPOSSET;\n }\n break;\n case 93:\n curr_type = TokenType.RSET;\n break;\n case 60:\n curr_type = TokenType.LANGLE;\n break;\n case 62:\n curr_type = TokenType.RANGLE;\n break;\n case 13:\n int checkCRLF;\n curr_type = TokenType.EOL;\n checkCRLF = pbIn.read();\n if(checkCRLF != 10)\n {\n pbIn.unread(checkCRLF);\n }\n break;\n default:\n if(Character.isDigit((char)curr_char) || Character.isLetter((char)curr_char) || curr_char == 94 || curr_char == 47)\n {\n curr_type = TokenType.CHAR;\n }\n else {\n curr_type = TokenType.ERROR;\n }\n }\n }", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "AstroArg unpack(Astro litChars);", "public final void mT__24() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__24;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('>');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:18:7: ( ')' )\n // InternalStateMachine.g:18:9: ')'\n {\n match(')'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:13:7: ( 'Scenario:' )\n // InternalCucumber.g:13:9: 'Scenario:'\n {\n match(\"Scenario:\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "private int parseWord(Token token, char[] buffer, int offset, int type){\nfromStart:\n for(int i=offset; i<buffer.length; ++i){\n for(int x=0; x < characters[type].length; ++x){\n if(buffer[i] == characters[type][x]){\n token.identifier += buffer[i];\n continue fromStart;\n }\n }\n // If it gets here, the character currently parsed isn't of the same type \n return i;\n }\n // Found end of file\n return offset+buffer.length;\n }", "public BindingLexer() {;}", "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "public void setVar18(java.lang.CharSequence value) {\n this.var18 = value;\n }", "public final void mT__17() throws RecognitionException {\r\n try {\r\n int _type = T__17;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:15:7: ( 'extends' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:15:9: 'extends'\r\n {\r\n match(\"extends\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "@Test\r\n\tpublic void typeParserTest() {\n\t\tvalidateTypeParse(\r\n\t\t\t\t\"(function that takes a number and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number and a (function that takes a number)\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number, a string, and an element_of_type_3\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\"(function that takes a number)\");\r\n\t\t// assertEquals(\"procedure\", cdLoopType(\"function\"));\r\n\t\t// validateTypeParse(\"(function that outputs a number)\");\r\n\t\t// validateTypeParse(\"procedure\");\r\n\t}", "public final void mT__19() throws RecognitionException {\r\n try {\r\n int _type = T__19;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:16:7: ( '-' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:16:9: '-'\r\n {\r\n match('-'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void synpred47_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_typePar_2_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: (otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5\n {\n otherlv_1=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_synpred47_InternalMitraParser3552); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1892:1: ( (lv_typePar_2_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1894:3: lv_typePar_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCollectionTypeAccess().getTypeParTypeParserRuleCall_1_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred47_InternalMitraParser3572);\n lv_typePar_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_synpred47_InternalMitraParser3585); if (state.failed) return ;\n\n }\n }", "@Test(timeout = 4000)\n public void test082() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\") (\");\n Token token0 = xPathLexer0.minus();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(6, token0.getTokenType());\n assertEquals(\")\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "@JvmName(name = \"ı\")\n /* renamed from: ı reason: contains not printable characters */\n public final void m3562(C2219.C2221 r4) {\n this.f2891.m2404(this, f2885[2], r4);\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:18:7: ( 'a' )\n // InternalReqLNG.g:18:9: 'a'\n {\n match('a'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "@Test\r\n\tpublic void testInvalid02() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid02\");\r\n\t}", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public interface LexicalStates\n{\n\t/** lexical states */\n\tpublic static final int LEX_NORMAL =\t\t10; /* normal code (ie not within \"...\") */\n\tpublic static final int LEX_INTERPNORMAL = 9; /* code within a string, eg \"$foo[$x+1]\" */\n\tpublic static final int LEX_INTERPCASEMOD = 8; /* expecting a \\U, \\Q or \\E etc */\n\tpublic static final int LEX_INTERPPUSH =\t 7; /* starting a new sublex parse level */\n\tpublic static final int LEX_INTERPSTART\t= \t 6; /* expecting the start of a $var */\n\n\t/* at end of code, eg \"$x\" followed by: */\n\tpublic static final int LEX_INTERPEND = \t 5; /* ... eg not one of [, { or -> */\n\tpublic static final int LEX_INTERPENDMAYBE = 4; /* ... eg one of [, { or -> */\n\n\tpublic static final int LEX_INTERPCONCAT =\t 3; /* expecting anything, eg at start of\n\t\t\t\t\tstring or after \\E, $foo, etc */\n\tpublic static final int LEX_INTERPCONST =\t 2; /* NOT USED */\n\tpublic static final int LEX_FORMLINE =\t\t 1; /* expecting a format line */\n\tpublic static final int LEX_KNOWNEXT =\t\t 0; /* next token known; just return it */\n\n}", "public final void mT__19() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__19;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:9:7: ( '*' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:9:9: '*'\r\n\t\t\t{\r\n\t\t\tmatch('*'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public void ParseTokens() throws IOException\n\t{\t\n\t\tboolean result = isValidProgram();\n\t\tSystem.out.println(result);\n\t}", "public final void mT__17() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__17;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// src/aofC/AspectParser/AOC.g:18:7: ( ']' )\n\t\t\t// src/aofC/AspectParser/AOC.g:18:9: ']'\n\t\t\t{\n\t\t\tmatch(']'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "private static boolean isVerb(AnalyzedTokenReadings[] tokens, int n) {\n return (tokens[n].matchesPosTagRegex(\"(VER:[1-3]:|VER:.*:[1-3]:).*\")\n && !tokens[n].matchesPosTagRegex(\"(ZAL|ADJ|ADV|ART|SUB|PRO:POS).*\")\n && (!tokens[n].hasPosTagStartingWith(\"VER:INF:\") || !tokens[n-1].getToken().equals(\"zu\"))\n && !tokens[n].isImmunized()\n );\n }", "public final void mT__18() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__18;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// sell/input/Matrix.g:14:7: ( 'e' )\n\t\t\t// sell/input/Matrix.g:14:9: 'e'\n\t\t\t{\n\t\t\tmatch('e'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public interface C1493a<D> {\n @C0193h0\n @C0187e0\n /* renamed from: a */\n C1502c<D> mo6550a(int i, @C0195i0 Bundle bundle);\n\n @C0187e0\n /* renamed from: a */\n void mo6551a(@C0193h0 C1502c<D> cVar);\n\n @C0187e0\n /* renamed from: a */\n void mo6552a(@C0193h0 C1502c<D> cVar, D d);\n }", "@Test(timeout = 4000)\n public void test003() throws Throwable {\n StringReader stringReader0 = new StringReader(\"void\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.MoreLexicalActions();\n }", "public java.lang.CharSequence getVar18() {\n return var18;\n }", "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"|OLg_Eyu;i\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(17, token0.getTokenType());\n assertEquals(\"|\", token0.getTokenText());\n }", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "public final void synpred49_InternalMyDsl_fragment() throws RecognitionException { \n Token otherlv_13=null;\n Token otherlv_15=null;\n Token otherlv_16=null;\n Token otherlv_18=null;\n Token otherlv_19=null;\n EObject lv_expression_14_0 = null;\n\n EObject lv_count_17_0 = null;\n\n\n // InternalMyDsl.g:2136:3: ( ( () otherlv_13= '(' ( (lv_expression_14_0= ruleRepeatedSERE ) ) otherlv_15= '[' otherlv_16= '*' ( (lv_count_17_0= ruleCount ) )? otherlv_18= ']' otherlv_19= ')' ) )\n // InternalMyDsl.g:2136:3: ( () otherlv_13= '(' ( (lv_expression_14_0= ruleRepeatedSERE ) ) otherlv_15= '[' otherlv_16= '*' ( (lv_count_17_0= ruleCount ) )? otherlv_18= ']' otherlv_19= ')' )\n {\n // InternalMyDsl.g:2136:3: ( () otherlv_13= '(' ( (lv_expression_14_0= ruleRepeatedSERE ) ) otherlv_15= '[' otherlv_16= '*' ( (lv_count_17_0= ruleCount ) )? otherlv_18= ']' otherlv_19= ')' )\n // InternalMyDsl.g:2137:4: () otherlv_13= '(' ( (lv_expression_14_0= ruleRepeatedSERE ) ) otherlv_15= '[' otherlv_16= '*' ( (lv_count_17_0= ruleCount ) )? otherlv_18= ']' otherlv_19= ')'\n {\n // InternalMyDsl.g:2137:4: ()\n // InternalMyDsl.g:2138:5: \n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t/* */\n \t\t\t\t\n }\n\n }\n\n otherlv_13=(Token)match(input,20,FOLLOW_16); if (state.failed) return ;\n // InternalMyDsl.g:2151:4: ( (lv_expression_14_0= ruleRepeatedSERE ) )\n // InternalMyDsl.g:2152:5: (lv_expression_14_0= ruleRepeatedSERE )\n {\n // InternalMyDsl.g:2152:5: (lv_expression_14_0= ruleRepeatedSERE )\n // InternalMyDsl.g:2153:6: lv_expression_14_0= ruleRepeatedSERE\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getRepeatedSEREAccess().getExpressionRepeatedSEREParserRuleCall_2_2_0());\n \t\t\t\t\t\n }\n pushFollow(FOLLOW_24);\n lv_expression_14_0=ruleRepeatedSERE();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_15=(Token)match(input,38,FOLLOW_30); if (state.failed) return ;\n otherlv_16=(Token)match(input,44,FOLLOW_31); if (state.failed) return ;\n // InternalMyDsl.g:2178:4: ( (lv_count_17_0= ruleCount ) )?\n int alt156=2;\n int LA156_0 = input.LA(1);\n\n if ( (LA156_0==RULE_INT) ) {\n alt156=1;\n }\n switch (alt156) {\n case 1 :\n // InternalMyDsl.g:2179:5: (lv_count_17_0= ruleCount )\n {\n // InternalMyDsl.g:2179:5: (lv_count_17_0= ruleCount )\n // InternalMyDsl.g:2180:6: lv_count_17_0= ruleCount\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getRepeatedSEREAccess().getCountCountParserRuleCall_2_5_0());\n \t\t\t\t\t\n }\n pushFollow(FOLLOW_26);\n lv_count_17_0=ruleCount();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n break;\n\n }\n\n otherlv_18=(Token)match(input,39,FOLLOW_8); if (state.failed) return ;\n otherlv_19=(Token)match(input,21,FOLLOW_2); if (state.failed) return ;\n\n }\n\n\n }\n }", "@Test\r\n\tpublic void testInvalid03() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid03\");\r\n\t}", "@Test(timeout = 4000)\n public void test019() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.relationalOperator();\n assertNotNull(token0);\n assertEquals(\">\", token0.getTokenText());\n assertEquals(9, token0.getTokenType());\n \n Token token1 = xPathLexer0.rightParen();\n assertEquals(2, token1.getTokenType());\n assertEquals(\"6\", token1.getTokenText());\n \n char char0 = xPathLexer0.LA(0);\n assertEquals('6', char0);\n }", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "private static boolean isAnyVerb(AnalyzedTokenReadings[] tokens, int n) {\n return tokens[n].hasPosTagStartingWith(\"VER:\")\n || (n < tokens.length - 1\n && ((tokens[n].getToken().equals(\"zu\") && tokens[n+1].hasPosTagStartingWith(\"VER:INF:\"))\n || (tokens[n].hasPosTag(\"NEG\") && tokens[n+1].hasPosTagStartingWith(\"VER:\"))));\n }", "@Test\r\n\tpublic void testInvalid09() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid09\");\r\n\t}", "@Test\r\n\tpublic void testInvalid05() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid05\");\r\n\t}", "public final void mT__23() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__23;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('<');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public java.lang.CharSequence getVar18() {\n return var18;\n }", "public void b(gy ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public void a(gy ☃) {}", "@Test\r\n\tpublic void testInvalid06() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid06\");\r\n\t}", "void gobble() {\n while( level > 0 &&\n !is(TK.LPAREN) &&\n !is(TK.ID) &&\n !is(TK.NUM) &&\n !is(TK.EOF) ) {\n scan();\n }\n }", "public final void mT__17() throws RecognitionException {\n try {\n int _type = T__17;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:17:7: ( 'MaliciousRequest' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:17:9: 'MaliciousRequest'\n {\n match(\"MaliciousRequest\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void parse(StreamTokenizer st, Visitor v, Transitions tr) {\n\t\t\ttry {\n\t\t\t\tint tokType;\n\n\t\t\t\twhile (_state != States.end) {\n\t\t\t\t\ttokType = st.nextToken();\n\n\t\t\t\t\tif (tokType == StreamTokenizer.TT_EOF) {\n\t\t\t\t\t\tthrow new Exception(\n\t\t\t\t\t\t\t\t\"Clauses: premature EOF in TransitionsParser\");\n\t\t\t\t\t}\n\t\t\t\t\tswitch (_state) {\n\t\t\t\t\tcase start:\n\t\t\t\t\t\tif (!isActionId(st)) {\n\t\t\t\t\t\t\tthrow new Exception(\n\t\t\t\t\t\t\t\t\t\"Clauses: head of clause was not an action id (lowercase word): \"\n\t\t\t\t\t\t\t\t\t\t\t+ st.sval);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// For example, the \"a\" in \"a -> B\"\n\t\t\t\t\t\t_lastAction = st.sval;\n\t\t\t\t\t\t_state = States.head;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase head:\n\t\t\t\t\t\tif ('-' != tokType) {\n\t\t\t\t\t\t\tthrow new Exception(\n\t\t\t\t\t\t\t\t\t\"Clauses: arrow did not follow head of clause: \"\n\t\t\t\t\t\t\t\t\t\t\t+ st.sval);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ttokType = st.nextToken();\n\t\t\t\t\t\t\tif ('>' != tokType) {\n\t\t\t\t\t\t\t\tthrow new Exception(\n\t\t\t\t\t\t\t\t\t\t\"Clauses: arrow did not follow head of clause: -\"\n\t\t\t\t\t\t\t\t\t\t\t\t+ st.sval);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// The \"->\" in \"a -> B\"\n\t\t\t\t\t\t_state = States.tail;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase tail:\n\t\t\t\t\t\tif (!isStateId(st)) {\n\t\t\t\t\t\t\tthrow new Exception(\n\t\t\t\t\t\t\t\t\t\"Clauses: head of clause was not a state identifier (uppercase word): \"\n\t\t\t\t\t\t\t\t\t\t\t+ st.sval);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// The \"B\" in \"a -> B\"\n\t\t\t\t\t\t_state = States.clause;\n\t\t\t\t\t\tv.setTransition(tr._stateName, _lastAction, st.sval);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase clause:\n\t\t\t\t\t\tif ('|' == tokType) {\n\t\t\t\t\t\t\t_state = States.start;\n\t\t\t\t\t\t} else if (')' == tokType) {\n\t\t\t\t\t\t\tst.pushBack();\n\t\t\t\t\t\t\t_state = States.end;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthrow new Exception(\n\t\t\t\t\t\t\t\t\t\"Clauses: did not find '|' or end of clause: \"\n\t\t\t\t\t\t\t\t\t\t\t+ st.sval);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tthrow new Exception(\"Clauses: unhandled state: \"\n\t\t\t\t\t\t\t\t+ _state);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (IOException ex) {\n\t\t\t\tthrow new Exception(\n\t\t\t\t\t\t\"Clauses: IOException while getting next clause token\",\n\t\t\t\t\t\tex);\n\t\t\t}\n\t\t}", "private int handleStateTransition(int r18, int r19, java.lang.String r20, java.lang.String r21) {\n /*\n r17 = this;\n r1 = r17\n r0 = r18\n r2 = r19\n r3 = r20\n r4 = r21\n com.thoughtworks.xstream.core.util.FastStack r5 = r1.stack\n int r5 = r5.size()\n com.thoughtworks.xstream.core.util.FastStack r6 = r1.stack\n java.lang.Object r6 = r6.peek()\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$StackElement r6 = (com.thoughtworks.xstream.io.json.AbstractJsonWriter.StackElement) r6\n java.lang.Class r6 = r6.type\n r7 = 0\n r8 = 1\n if (r5 <= r8) goto L_0x0026\n boolean r9 = r1.isArray(r6)\n if (r9 == 0) goto L_0x0026\n r9 = 1\n goto L_0x0027\n L_0x0026:\n r9 = 0\n L_0x0027:\n if (r5 <= r8) goto L_0x003c\n com.thoughtworks.xstream.core.util.FastStack r10 = r1.stack\n int r11 = r5 + -2\n java.lang.Object r10 = r10.get(r11)\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$StackElement r10 = (com.thoughtworks.xstream.io.json.AbstractJsonWriter.StackElement) r10\n java.lang.Class r10 = r10.type\n boolean r10 = r1.isArray(r10)\n if (r10 == 0) goto L_0x003c\n r7 = 1\n L_0x003c:\n r10 = 64\n r11 = 4\n if (r0 == r8) goto L_0x0353\n r13 = 128(0x80, float:1.794E-43)\n r14 = 2\n if (r0 == r14) goto L_0x0326\n r15 = 8\n r14 = 32\n r12 = 16\n r8 = 512(0x200, float:7.175E-43)\n if (r0 == r11) goto L_0x02c9\n java.lang.String r16 = \"@\"\n java.lang.String r11 = \"\"\n if (r0 == r15) goto L_0x01e9\n if (r0 == r12) goto L_0x01eb\n r12 = 256(0x100, float:3.59E-43)\n if (r0 == r14) goto L_0x01ca\n if (r0 == r10) goto L_0x0111\n if (r0 == r13) goto L_0x00b5\n if (r0 == r12) goto L_0x009c\n if (r0 != r8) goto L_0x0096\n r4 = 1\n if (r2 == r4) goto L_0x0087\n if (r2 == r13) goto L_0x007d\n if (r2 != r12) goto L_0x0077\n int r0 = r1.mode\n r3 = 4\n r0 = r0 & r3\n if (r0 != 0) goto L_0x0076\n if (r9 == 0) goto L_0x0076\n r17.endArray()\n L_0x0076:\n return r2\n L_0x0077:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x007d:\n r3 = 0\n int r0 = r1.handleStateTransition(r0, r12, r3, r3)\n r4 = 2\n r1.handleStateTransition(r0, r4, r3, r3)\n return r2\n L_0x0087:\n r3 = 0\n r4 = 2\n int r0 = r1.handleStateTransition(r0, r12, r3, r3)\n int r0 = r1.handleStateTransition(r0, r4, r3, r3)\n r4 = 1\n r1.handleStateTransition(r0, r4, r3, r3)\n return r2\n L_0x0096:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x009c:\n r4 = 2\n if (r2 != r4) goto L_0x00af\n int r0 = r1.mode\n r3 = 4\n r0 = r0 & r3\n if (r0 == 0) goto L_0x00ae\n r17.endArray()\n r17.endArray()\n r17.endObject()\n L_0x00ae:\n return r2\n L_0x00af:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x00b5:\n r10 = 1\n if (r2 == r10) goto L_0x0106\n r10 = 2\n if (r2 == r10) goto L_0x00d3\n r10 = 4\n if (r2 == r10) goto L_0x00d5\n if (r2 == r13) goto L_0x00d3\n if (r2 != r12) goto L_0x00cd\n int r0 = r1.mode\n r0 = r0 & r10\n if (r0 != 0) goto L_0x00cc\n if (r9 == 0) goto L_0x00cc\n r17.endArray()\n L_0x00cc:\n return r2\n L_0x00cd:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x00d3:\n r3 = 0\n goto L_0x00f2\n L_0x00d5:\n r17.nextElement()\n if (r7 != 0) goto L_0x0111\n int r10 = r1.mode\n r14 = 4\n r10 = r10 & r14\n if (r10 != 0) goto L_0x0111\n java.lang.String r0 = r1.encodeNode(r3)\n r1.addLabel(r0)\n int r0 = r1.mode\n r0 = r0 & r14\n if (r0 != 0) goto L_0x00f1\n if (r9 == 0) goto L_0x00f1\n r17.startArray()\n L_0x00f1:\n return r2\n L_0x00f2:\n int r0 = r1.handleStateTransition(r0, r12, r3, r3)\n r10 = 2\n r1.handleStateTransition(r0, r10, r3, r3)\n int r0 = r1.mode\n r3 = 4\n r0 = r0 & r3\n if (r0 != 0) goto L_0x0105\n if (r9 != 0) goto L_0x0105\n r17.endObject()\n L_0x0105:\n return r2\n L_0x0106:\n r3 = 0\n r10 = 2\n int r0 = r1.handleStateTransition(r0, r10, r3, r3)\n r4 = 1\n r1.handleStateTransition(r0, r4, r3, r3)\n return r2\n L_0x0111:\n r10 = 2\n r14 = 4\n if (r2 == r14) goto L_0x0192\n if (r2 == r13) goto L_0x0182\n if (r2 == r12) goto L_0x0182\n if (r2 != r8) goto L_0x017c\n int r0 = r1.mode\n r0 = r0 & r10\n if (r0 == 0) goto L_0x012b\n if (r5 == r10) goto L_0x0123\n goto L_0x012b\n L_0x0123:\n com.thoughtworks.xstream.converters.ConversionException r0 = new com.thoughtworks.xstream.converters.ConversionException\n java.lang.String r2 = \"Single value cannot be root element\"\n r0.<init>((java.lang.String) r2)\n throw r0\n L_0x012b:\n if (r4 != 0) goto L_0x0148\n java.lang.Class<com.thoughtworks.xstream.mapper.Mapper$Null> r0 = com.thoughtworks.xstream.mapper.Mapper.Null.class\n if (r6 != r0) goto L_0x0139\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$Type r0 = com.thoughtworks.xstream.io.json.AbstractJsonWriter.Type.NULL\n java.lang.String r3 = \"null\"\n r1.addValue(r3, r0)\n goto L_0x017b\n L_0x0139:\n int r0 = r1.mode\n r3 = 4\n r0 = r0 & r3\n if (r0 != 0) goto L_0x017b\n if (r9 != 0) goto L_0x017b\n r17.startObject()\n r17.endObject()\n goto L_0x017b\n L_0x0148:\n int r0 = r1.mode\n r0 = r0 & r15\n if (r0 == 0) goto L_0x0174\n java.lang.Class r0 = java.lang.Long.TYPE\n if (r6 == r0) goto L_0x0155\n java.lang.Class<java.lang.Long> r0 = java.lang.Long.class\n if (r6 != r0) goto L_0x0174\n L_0x0155:\n long r7 = java.lang.Long.parseLong(r21)\n r9 = 9007199254740992(0x20000000000000, double:4.450147717014403E-308)\n int r0 = (r7 > r9 ? 1 : (r7 == r9 ? 0 : -1))\n if (r0 > 0) goto L_0x016e\n r9 = -9007199254740992(0xffe0000000000000, double:-8.98846567431158E307)\n int r0 = (r7 > r9 ? 1 : (r7 == r9 ? 0 : -1))\n if (r0 >= 0) goto L_0x0166\n goto L_0x016e\n L_0x0166:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$Type r0 = r1.getType(r6)\n r1.addValue(r4, r0)\n goto L_0x017b\n L_0x016e:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$Type r0 = com.thoughtworks.xstream.io.json.AbstractJsonWriter.Type.STRING\n r1.addValue(r4, r0)\n goto L_0x017b\n L_0x0174:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$Type r0 = r1.getType(r6)\n r1.addValue(r4, r0)\n L_0x017b:\n return r2\n L_0x017c:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x0182:\n int r0 = r1.mode\n r3 = 4\n r0 = r0 & r3\n if (r0 != 0) goto L_0x0191\n if (r9 == 0) goto L_0x018e\n r17.endArray()\n goto L_0x0191\n L_0x018e:\n r17.endObject()\n L_0x0191:\n return r2\n L_0x0192:\n int r0 = r1.mode\n r6 = 1\n r0 = r0 & r6\n if (r0 == 0) goto L_0x019e\n r0 = 2\n if (r5 <= r0) goto L_0x019c\n goto L_0x019e\n L_0x019c:\n r3 = 4\n goto L_0x01bf\n L_0x019e:\n if (r7 == 0) goto L_0x01a6\n int r0 = r1.mode\n r5 = 4\n r0 = r0 & r5\n if (r0 == 0) goto L_0x01b6\n L_0x01a6:\n boolean r0 = r11.equals(r4)\n if (r0 != 0) goto L_0x01af\n r17.startObject()\n L_0x01af:\n java.lang.String r0 = r1.encodeNode(r3)\n r1.addLabel(r0)\n L_0x01b6:\n int r0 = r1.mode\n r3 = 4\n r0 = r0 & r3\n if (r0 == 0) goto L_0x01bf\n r17.startArray()\n L_0x01bf:\n int r0 = r1.mode\n r0 = r0 & r3\n if (r0 != 0) goto L_0x01c9\n if (r9 == 0) goto L_0x01c9\n r17.startArray()\n L_0x01c9:\n return r2\n L_0x01ca:\n r4 = 2\n if (r2 == r4) goto L_0x01df\n if (r2 != r10) goto L_0x01d9\n int r0 = r1.mode\n r3 = 4\n r0 = r0 & r3\n if (r0 != 0) goto L_0x01e8\n r17.nextElement()\n goto L_0x01e8\n L_0x01d9:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x01df:\n r0 = 0\n int r3 = r1.handleStateTransition(r10, r12, r0, r0)\n r4 = 2\n r1.handleStateTransition(r3, r4, r0, r0)\n L_0x01e8:\n return r2\n L_0x01e9:\n if (r2 == r12) goto L_0x02a0\n L_0x01eb:\n r5 = 1\n if (r2 == r5) goto L_0x0291\n r5 = 4\n if (r2 == r5) goto L_0x01f9\n if (r2 == r12) goto L_0x0220\n if (r2 == r14) goto L_0x020b\n if (r2 == r13) goto L_0x0201\n if (r2 != r8) goto L_0x01fb\n L_0x01f9:\n r5 = 0\n goto L_0x0250\n L_0x01fb:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x0201:\n r3 = 0\n int r0 = r1.handleStateTransition(r0, r14, r3, r3)\n r4 = 2\n r1.handleStateTransition(r0, r4, r3, r3)\n return r2\n L_0x020b:\n int r3 = r1.mode\n r4 = 4\n r3 = r3 & r4\n if (r3 == 0) goto L_0x021f\n if (r0 != r12) goto L_0x0216\n r17.endObject()\n L_0x0216:\n r17.endArray()\n r17.nextElement()\n r17.startArray()\n L_0x021f:\n return r2\n L_0x0220:\n if (r9 == 0) goto L_0x0229\n int r0 = r1.mode\n r5 = 4\n r0 = r0 & r5\n if (r0 == 0) goto L_0x024f\n goto L_0x022a\n L_0x0229:\n r5 = 4\n L_0x022a:\n r17.nextElement()\n java.lang.StringBuilder r0 = new java.lang.StringBuilder\n r0.<init>()\n int r6 = r1.mode\n r5 = r5 & r6\n if (r5 != 0) goto L_0x0239\n r11 = r16\n L_0x0239:\n r0.append(r11)\n r0.append(r3)\n java.lang.String r0 = r0.toString()\n java.lang.String r0 = r1.encodeAttribute(r0)\n r1.addLabel(r0)\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$Type r0 = com.thoughtworks.xstream.io.json.AbstractJsonWriter.Type.STRING\n r1.addValue(r4, r0)\n L_0x024f:\n return r2\n L_0x0250:\n int r0 = r1.handleStateTransition(r0, r14, r5, r5)\n int r0 = r1.handleStateTransition(r0, r10, r5, r5)\n r5 = 2\n if (r2 == r5) goto L_0x0287\n r5 = 4\n if (r2 == r5) goto L_0x027c\n if (r2 == r8) goto L_0x0261\n goto L_0x0290\n L_0x0261:\n int r3 = r1.mode\n r3 = r3 & r5\n if (r3 != 0) goto L_0x026f\n java.lang.String r3 = \"$\"\n java.lang.String r3 = r1.encodeNode(r3)\n r1.addLabel(r3)\n L_0x026f:\n r3 = 0\n r1.handleStateTransition(r0, r8, r3, r4)\n int r0 = r1.mode\n r0 = r0 & r5\n if (r0 != 0) goto L_0x0290\n r17.endObject()\n goto L_0x0290\n L_0x027c:\n int r4 = r1.mode\n r4 = r4 & r5\n if (r4 != 0) goto L_0x0282\n goto L_0x0283\n L_0x0282:\n r11 = 0\n L_0x0283:\n r1.handleStateTransition(r0, r5, r3, r11)\n goto L_0x0290\n L_0x0287:\n r3 = 0\n int r0 = r1.handleStateTransition(r0, r8, r3, r3)\n r4 = 2\n r1.handleStateTransition(r0, r4, r3, r3)\n L_0x0290:\n return r2\n L_0x0291:\n r3 = 0\n r4 = 2\n int r0 = r1.handleStateTransition(r0, r14, r3, r3)\n int r0 = r1.handleStateTransition(r0, r4, r3, r3)\n r4 = 1\n r1.handleStateTransition(r0, r4, r3, r3)\n return r2\n L_0x02a0:\n if (r3 == 0) goto L_0x02c8\n java.lang.StringBuilder r0 = new java.lang.StringBuilder\n r0.<init>()\n int r5 = r1.mode\n r6 = 4\n r5 = r5 & r6\n if (r5 != 0) goto L_0x02af\n r11 = r16\n L_0x02af:\n r0.append(r11)\n r0.append(r3)\n java.lang.String r0 = r0.toString()\n r17.startObject()\n java.lang.String r0 = r1.encodeAttribute(r0)\n r1.addLabel(r0)\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$Type r0 = com.thoughtworks.xstream.io.json.AbstractJsonWriter.Type.STRING\n r1.addValue(r4, r0)\n L_0x02c8:\n return r2\n L_0x02c9:\n r5 = 1\n if (r2 == r5) goto L_0x02f9\n r6 = 4\n if (r2 == r6) goto L_0x02fa\n if (r2 == r15) goto L_0x02f0\n if (r2 == r12) goto L_0x02de\n if (r2 == r13) goto L_0x02fa\n if (r2 != r8) goto L_0x02d8\n goto L_0x02fa\n L_0x02d8:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x02de:\n int r5 = r1.mode\n r5 = r5 & r6\n if (r5 != 0) goto L_0x02e7\n if (r9 != 0) goto L_0x02e6\n goto L_0x02e7\n L_0x02e6:\n return r6\n L_0x02e7:\n r5 = 0\n int r0 = r1.handleStateTransition(r0, r15, r5, r5)\n r1.handleStateTransition(r0, r12, r3, r4)\n return r2\n L_0x02f0:\n int r0 = r1.mode\n r0 = r0 & r6\n if (r0 == 0) goto L_0x02f8\n r17.startArray()\n L_0x02f8:\n return r2\n L_0x02f9:\n r6 = 4\n L_0x02fa:\n if (r7 == 0) goto L_0x0304\n int r5 = r1.mode\n r5 = r5 & r6\n if (r5 == 0) goto L_0x0302\n goto L_0x0304\n L_0x0302:\n r5 = 0\n goto L_0x030c\n L_0x0304:\n r5 = 0\n int r0 = r1.handleStateTransition(r0, r15, r5, r5)\n r1.handleStateTransition(r0, r14, r5, r5)\n L_0x030c:\n r0 = 1\n if (r2 == r0) goto L_0x031e\n if (r2 == r6) goto L_0x031a\n if (r2 == r13) goto L_0x031e\n if (r2 == r8) goto L_0x0316\n goto L_0x0325\n L_0x0316:\n r1.handleStateTransition(r10, r8, r5, r4)\n goto L_0x0325\n L_0x031a:\n r1.handleStateTransition(r10, r6, r3, r5)\n goto L_0x0325\n L_0x031e:\n int r0 = r1.handleStateTransition(r10, r8, r5, r5)\n r1.handleStateTransition(r0, r2, r5, r5)\n L_0x0325:\n return r2\n L_0x0326:\n r6 = 4\n r4 = 1\n if (r2 == r4) goto L_0x0341\n if (r2 == r6) goto L_0x0338\n if (r2 != r13) goto L_0x0332\n r17.nextElement()\n return r2\n L_0x0332:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x0338:\n r4 = 0\n int r0 = r1.handleStateTransition(r0, r13, r4, r4)\n r1.handleStateTransition(r0, r6, r3, r4)\n return r2\n L_0x0341:\n int r0 = r1.mode\n r3 = 1\n r0 = r0 & r3\n if (r0 == 0) goto L_0x034a\n r0 = 2\n if (r5 <= r0) goto L_0x0352\n L_0x034a:\n int r0 = r1.mode\n r0 = r0 & r6\n if (r0 != 0) goto L_0x0352\n r17.endObject()\n L_0x0352:\n return r2\n L_0x0353:\n r6 = 4\n if (r2 != r6) goto L_0x035b\n r0 = 0\n r1.handleStateTransition(r10, r6, r3, r0) // Catch:{ Throwable -> 0x0361 }\n return r2\n L_0x035b:\n com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException r4 = new com.thoughtworks.xstream.io.json.AbstractJsonWriter$IllegalWriterStateException\n r4.<init>(r0, r2, r3)\n throw r4\n L_0x0361:\n r0 = move-exception\n r2 = r0\n throw r2\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.thoughtworks.xstream.io.json.AbstractJsonWriter.handleStateTransition(int, int, java.lang.String, java.lang.String):int\");\n }", "public final void mo37836u_() {\n }", "public void visit(Literal literal) {}", "@Test(timeout = 4000)\n public void test020() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":_]J_/L!uFQ7%)BrL\");\n Token token0 = xPathLexer0.literal();\n assertNull(token0);\n \n char char0 = xPathLexer0.LA((-1));\n assertEquals('r', char0);\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:18:7: ( '}' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:18:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void Case18(){\n\n }", "public final void mT__20() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__20;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:10:7: ( '+' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:10:9: '+'\r\n\t\t\t{\r\n\t\t\tmatch('+'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}" ]
[ "0.5657776", "0.5463262", "0.5303981", "0.53027374", "0.5268349", "0.5253264", "0.5207674", "0.5201156", "0.5194693", "0.51893914", "0.50879693", "0.5041919", "0.5033286", "0.49904922", "0.49864528", "0.49758795", "0.49652463", "0.49643153", "0.49587023", "0.4881794", "0.4871409", "0.48537445", "0.48497236", "0.4849565", "0.48416346", "0.48286283", "0.48124945", "0.48071134", "0.47800407", "0.47728696", "0.47632974", "0.4749534", "0.47436813", "0.47392368", "0.47105414", "0.47103882", "0.46966872", "0.4691276", "0.4689499", "0.4687357", "0.4674059", "0.4670297", "0.46591082", "0.46561205", "0.4651369", "0.4650466", "0.4647882", "0.46474603", "0.4647326", "0.4642418", "0.46325794", "0.462619", "0.46215644", "0.46142524", "0.46029857", "0.4585273", "0.45844105", "0.4581722", "0.45813486", "0.45808807", "0.45775393", "0.45756975", "0.45707294", "0.4554984", "0.4550364", "0.45431793", "0.45426133", "0.45390293", "0.45368907", "0.4536606", "0.45330948", "0.45295137", "0.45166433", "0.45156384", "0.45094636", "0.4508641", "0.44988403", "0.44954276", "0.4495182", "0.44943404", "0.44912773", "0.44898617", "0.44860554", "0.44801092", "0.4478377", "0.44783625", "0.44744915", "0.4473049", "0.44637474", "0.44627768", "0.4462727", "0.44590098", "0.44581166", "0.44563937", "0.44542775", "0.4451621", "0.44447497", "0.44386888", "0.44367316", "0.44265816" ]
0.50285524
13
$ANTLR end "T__18" $ANTLR start "T__19"
public final void mT__19() throws RecognitionException { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:17:7: ( 'INPUTS' ) // InternalDSL.g:17:9: 'INPUTS' { match("INPUTS"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:7: ( 'port: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:9: 'port: '\n {\n match(\"port: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:17:7: ( '}' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:17:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:18:7: ( 'a' )\n // InternalReqLNG.g:18:9: 'a'\n {\n match('a'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__19() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__19;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:9:7: ( '*' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:9:9: '*'\r\n\t\t\t{\r\n\t\t\tmatch('*'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:17:7: ( '{' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:17:9: '{'\n {\n match('{'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\r\n try {\r\n int _type = T__19;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:17:7: ( '}' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:17:9: '}'\r\n {\r\n match('}'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mT__19() throws RecognitionException {\r\n try {\r\n int _type = T__19;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:16:7: ( '-' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:16:9: '-'\r\n {\r\n match('-'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:18:7: ( ')' )\n // InternalStateMachine.g:18:9: ')'\n {\n match(')'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__19;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:10:7: ( '*' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:10:9: '*'\n\t\t\t{\n\t\t\tmatch('*'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:18:7: ( ':' )\n // InternalMyDsl.g:18:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT19() throws RecognitionException {\n try {\n int _type = T19;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:17:5: ( 'record' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:17:7: 'record'\n {\n match(\"record\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mT__18() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__18;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:9:7: ( ')' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:9:9: ')'\n\t\t\t{\n\t\t\tmatch(')'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:19:7: ( 'Int' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:19:9: 'Int'\n {\n match(\"Int\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:17:7: ( 'A' )\n // InternalReqLNG.g:17:9: 'A'\n {\n match('A'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:19:7: ( ']' )\n // InternalIotLuaXtext.g:19:9: ']'\n {\n match(']'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__18() throws RecognitionException {\r\n try {\r\n int _type = T__18;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:15:7: ( '+' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:15:9: '+'\r\n {\r\n match('+'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:18:7: ( '>' )\n // InternalMyDsl.g:18:9: '>'\n {\n match('>'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:12:7: ( 'text' )\n // metamorph.runtime/src/antlr/Ast.g:12:9: 'text'\n {\n match(\"text\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public final void mT18() throws RecognitionException {\n try {\n int _type = T18;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:16:5: ( ';' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:16:7: ';'\n {\n match(';'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "AstroArg unpack(Astro litChars);", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "public final void mKEYWORD_19() throws RecognitionException {\n try {\n int _type = KEYWORD_19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:47:12: ( '>' '=' )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:47:14: '>' '='\n {\n match('>'); \n match('='); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void testInvalid04() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid04\");\r\n\t}", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "public BindingLexer() {;}", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "@Test(timeout = 4000)\n public void test019() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.relationalOperator();\n assertNotNull(token0);\n assertEquals(\">\", token0.getTokenText());\n assertEquals(9, token0.getTokenType());\n \n Token token1 = xPathLexer0.rightParen();\n assertEquals(2, token1.getTokenType());\n assertEquals(\"6\", token1.getTokenText());\n \n char char0 = xPathLexer0.LA(0);\n assertEquals('6', char0);\n }", "@Test\r\n\tpublic void testInvalid09() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid09\");\r\n\t}", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // Office.g:23:7: ( '}' )\n // Office.g:23:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "@Test(timeout = 4000)\n public void test020() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":_]J_/L!uFQ7%)BrL\");\n Token token0 = xPathLexer0.literal();\n assertNull(token0);\n \n char char0 = xPathLexer0.LA((-1));\n assertEquals('r', char0);\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16:7: ( '}' )\n // InternalDSL.g:16:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:18:7: ( '}' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:18:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "public interface BibtexConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int COMMENT = 5;\r\n /** RegularExpression Id. */\r\n int COMMENT_START = 6;\r\n /** RegularExpression Id. */\r\n int PREAMBLE_START = 7;\r\n /** RegularExpression Id. */\r\n int STRING_START = 8;\r\n /** RegularExpression Id. */\r\n int COMMENT_ENTRY = 9;\r\n /** RegularExpression Id. */\r\n int OPEN_ENTRY = 11;\r\n /** RegularExpression Id. */\r\n int CLOSE_ENTRY = 12;\r\n /** RegularExpression Id. */\r\n int START_B_CONTENT = 14;\r\n /** RegularExpression Id. */\r\n int CLOSE_B_CONTENT = 15;\r\n /** RegularExpression Id. */\r\n int START_Q_CONTENT = 18;\r\n /** RegularExpression Id. */\r\n int CLOSE_Q_CONTENT = 19;\r\n /** RegularExpression Id. */\r\n int CONTENT_TEXT = 20;\r\n /** RegularExpression Id. */\r\n int ID = 21;\r\n /** RegularExpression Id. */\r\n int SEPARATOR = 22;\r\n /** RegularExpression Id. */\r\n int EQUALS = 23;\r\n /** RegularExpression Id. */\r\n int NUMBER = 24;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_ENTRY = 1;\r\n /** Lexical state. */\r\n int IN_ENTRY_TYPE = 2;\r\n /** Lexical state. */\r\n int IN_COMMENT_ENTRY = 3;\r\n /** Lexical state. */\r\n int IN_PREAMBLE = 4;\r\n /** Lexical state. */\r\n int IN_BRACED_CONTENT = 5;\r\n /** Lexical state. */\r\n int IN_BRACED_NESTED_CONTENT = 6;\r\n /** Lexical state. */\r\n int IN_QUOTED_CONTENT = 7;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"<COMMENT>\",\r\n \"\\\"comment\\\"\",\r\n \"\\\"preamble\\\"\",\r\n \"\\\"string\\\"\",\r\n \"<COMMENT_ENTRY>\",\r\n \"<token of kind 10>\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"<token of kind 13>\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"\\\\\\\"\\\"\",\r\n \"\\\"\\\\\\\"\\\"\",\r\n \"<CONTENT_TEXT>\",\r\n \"<ID>\",\r\n \"\\\",\\\"\",\r\n \"\\\"=\\\"\",\r\n \"<NUMBER>\",\r\n \"\\\"#\\\"\",\r\n };\r\n\r\n}", "public void visit(Literal literal) {}", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:17:7: ( '}' )\n // InternalMyDsl.g:17:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "static void lookUp() throws IOException {\n switch (curr_char) {\n case 124:\n curr_type = TokenType.VERT;\n break;\n case 42:\n curr_type = TokenType.STAR;\n break;\n case 43:\n curr_type = TokenType.PLUS;\n break;\n case 63:\n curr_type = TokenType.QMARK;\n break;\n case 40:\n curr_type = TokenType.LPAREN;\n break;\n case 41:\n curr_type = TokenType.RPAREN;\n break;\n case 46:\n curr_type = TokenType.PERIOD;\n break;\n case 92:\n curr_type = TokenType.BSLASH;\n break;\n case 91:\n int temp = 0;\n temp = pbIn.read();\n if(temp == 94) {\n curr_type = TokenType.LNEGSET;\n }\n else {\n pbIn.unread(temp);\n curr_type = TokenType.LPOSSET;\n }\n break;\n case 93:\n curr_type = TokenType.RSET;\n break;\n case 60:\n curr_type = TokenType.LANGLE;\n break;\n case 62:\n curr_type = TokenType.RANGLE;\n break;\n case 13:\n int checkCRLF;\n curr_type = TokenType.EOL;\n checkCRLF = pbIn.read();\n if(checkCRLF != 10)\n {\n pbIn.unread(checkCRLF);\n }\n break;\n default:\n if(Character.isDigit((char)curr_char) || Character.isLetter((char)curr_char) || curr_char == 94 || curr_char == 47)\n {\n curr_type = TokenType.CHAR;\n }\n else {\n curr_type = TokenType.ERROR;\n }\n }\n }", "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:14:7: ( 'Scenario Outline:' )\n // InternalCucumber.g:14:9: 'Scenario Outline:'\n {\n match(\"Scenario Outline:\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test139() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(18, token0.getTokenType());\n assertEquals(\":\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"E\", token1.getTokenText());\n }", "private int parseWord(Token token, char[] buffer, int offset, int type){\nfromStart:\n for(int i=offset; i<buffer.length; ++i){\n for(int x=0; x < characters[type].length; ++x){\n if(buffer[i] == characters[type][x]){\n token.identifier += buffer[i];\n continue fromStart;\n }\n }\n // If it gets here, the character currently parsed isn't of the same type \n return i;\n }\n // Found end of file\n return offset+buffer.length;\n }", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13:7: ( 'state' )\n // InternalEsm.g:13:9: 'state'\n {\n match(\"state\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void testInvalid02() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid02\");\r\n\t}", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:18:7: ( 'destination: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:18:9: 'destination: '\n {\n match(\"destination: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "void gobble() {\n while( level > 0 &&\n !is(TK.LPAREN) &&\n !is(TK.ID) &&\n !is(TK.NUM) &&\n !is(TK.EOF) ) {\n scan();\n }\n }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:12:7: ( '{' )\n // InternalEsm.g:12:9: '{'\n {\n match('{'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void testInvalid03() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid03\");\r\n\t}", "@JvmName(name = \"ı\")\n /* renamed from: ı reason: contains not printable characters */\n public final void m3562(C2219.C2221 r4) {\n this.f2891.m2404(this, f2885[2], r4);\n }", "Token next();", "public final void mT__20() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__20;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:10:7: ( '+' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:10:9: '+'\r\n\t\t\t{\r\n\t\t\tmatch('+'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "@Test(timeout = 4000)\n public void test045() throws Throwable {\n StringReader stringReader0 = new StringReader(\"extends\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.SkipLexicalActions(token0);\n assertEquals(6, javaCharStream0.bufpos);\n assertEquals(\"extends\", token0.toString());\n }", "public final void mT__18() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__18;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:8:7: ( '&&' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:8:9: '&&'\r\n\t\t\t{\r\n\t\t\tmatch(\"&&\"); \r\n\r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "private String tokenToGrammar(Token v) {\n\n if(v.getChVals().equals(\"$\")){\n return \"$\";\n }\n\n String type = v.getType();\n\n if(type.equals(\"keyword\")) {\n type = v.getChVals();\n }\n\n switch (type) {\n case \"begin\":\n return \"b\";\n case \"halt\":\n return \"t\";\n case \"cat\":\n return \"c\";\n case \"mouse\":\n return \"m\";\n case \"clockwise\":\n return \"l\";\n case \"move\":\n return \"o\";\n case \"north\":\n return \"n\";\n case \"south\":\n return \"s\";\n case \"east\":\n return \"e\";\n case \"west\":\n return \"w\";\n case \"hole\":\n return \"h\";\n case \"repeat\":\n return \"r\";\n case \"size\":\n return \"z\";\n case \"end\":\n return \"d\";\n case \"integer\":\n return \"i\";\n case \"variable\":\n return \"v\";\n default:\n return type;\n }\n }", "public void testNUMWORDS19() throws Exception {\n\t\tObject retval = execLexer(\"NUMWORDS\", 264, \"twenty\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"NUMWORDS\", expecting, actual);\n\t}", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "public final void mKEYWORD_20() throws RecognitionException {\n try {\n int _type = KEYWORD_20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:49:12: ( ( 'O' | 'o' ) ( 'R' | 'r' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:49:14: ( 'O' | 'o' ) ( 'R' | 'r' )\n {\n if ( input.LA(1)=='O'||input.LA(1)=='o' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='R'||input.LA(1)=='r' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public interface C1803l extends C1813t {\n /* renamed from: b */\n C1803l mo7382b(C2778au auVar);\n\n /* renamed from: f */\n List<C1700ar> mo7233f();\n\n /* renamed from: g */\n C2841w mo7234g();\n\n /* renamed from: q */\n C1800i mo7384q();\n}", "public final void mT__35() throws RecognitionException {\n try {\n int _type = T__35;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:35:7: ( 'end' )\n // InternalIotLuaXtext.g:35:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface BiomedicalParseSym {\n /* terminals */\n public static final int OR_OP = 6;\n public static final int String = 4;\n public static final int RPAREN = 3;\n public static final int error = 1;\n public static final int AND_OP = 5;\n public static final int NOT_OP = 7;\n public static final int LPAREN = 2;\n public static final int EOF = 0;\n}", "public final void mRANGE_OR_INT() throws RecognitionException {\n try {\n int _type = RANGE_OR_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:5: ( ( INT '..' )=> INT | ( INT '.' NAME )=> INT | ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT | INT )\n int alt12=4;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='0' && LA12_0<='9')) ) {\n int LA12_1 = input.LA(2);\n\n if ( ((LA12_1>='0' && LA12_1<='9')) && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (LA12_1=='.') && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (synpred1_Binding()) ) {\n alt12=1;\n }\n else if ( (synpred2_Binding()) ) {\n alt12=2;\n }\n else if ( (true) ) {\n alt12=4;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 1, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 0, input);\n\n throw nvae;\n }\n switch (alt12) {\n case 1 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:9: ( INT '..' )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 2 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2955:7: ( INT '.' NAME )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 3 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2956:9: ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT\n {\n mFLOAT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = FLOAT; \n }\n\n }\n break;\n case 4 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2963:9: INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n\n }\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void typeParserTest() {\n\t\tvalidateTypeParse(\r\n\t\t\t\t\"(function that takes a number and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number and a (function that takes a number)\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number, a string, and an element_of_type_3\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\"(function that takes a number)\");\r\n\t\t// assertEquals(\"procedure\", cdLoopType(\"function\"));\r\n\t\t// validateTypeParse(\"(function that outputs a number)\");\r\n\t\t// validateTypeParse(\"procedure\");\r\n\t}", "public void b(gy ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public void a(gy ☃) {}", "public interface QuotedL1Node {\n\n}", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "Rule Inheritance() {\n return Sequence(\"extends \", Identifier());\n }", "public final void mT__20() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__20;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:11:7: ( '+' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:11:9: '+'\n\t\t\t{\n\t\t\tmatch('+'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public interface LexicalStates\n{\n\t/** lexical states */\n\tpublic static final int LEX_NORMAL =\t\t10; /* normal code (ie not within \"...\") */\n\tpublic static final int LEX_INTERPNORMAL = 9; /* code within a string, eg \"$foo[$x+1]\" */\n\tpublic static final int LEX_INTERPCASEMOD = 8; /* expecting a \\U, \\Q or \\E etc */\n\tpublic static final int LEX_INTERPPUSH =\t 7; /* starting a new sublex parse level */\n\tpublic static final int LEX_INTERPSTART\t= \t 6; /* expecting the start of a $var */\n\n\t/* at end of code, eg \"$x\" followed by: */\n\tpublic static final int LEX_INTERPEND = \t 5; /* ... eg not one of [, { or -> */\n\tpublic static final int LEX_INTERPENDMAYBE = 4; /* ... eg one of [, { or -> */\n\n\tpublic static final int LEX_INTERPCONCAT =\t 3; /* expecting anything, eg at start of\n\t\t\t\t\tstring or after \\E, $foo, etc */\n\tpublic static final int LEX_INTERPCONST =\t 2; /* NOT USED */\n\tpublic static final int LEX_FORMLINE =\t\t 1; /* expecting a format line */\n\tpublic static final int LEX_KNOWNEXT =\t\t 0; /* next token known; just return it */\n\n}", "public interface LLkGrammarAnalyzer extends GrammarAnalyzer {\n\n\n public boolean deterministic(AlternativeBlock blk);\n\n public boolean deterministic(OneOrMoreBlock blk);\n\n public boolean deterministic(ZeroOrMoreBlock blk);\n\n public Lookahead FOLLOW(int k, RuleEndElement end);\n\n public Lookahead look(int k, ActionElement action);\n\n public Lookahead look(int k, AlternativeBlock blk);\n\n public Lookahead look(int k, BlockEndElement end);\n\n public Lookahead look(int k, CharLiteralElement atom);\n\n public Lookahead look(int k, CharRangeElement end);\n\n public Lookahead look(int k, GrammarAtom atom);\n\n public Lookahead look(int k, OneOrMoreBlock blk);\n\n public Lookahead look(int k, RuleBlock blk);\n\n public Lookahead look(int k, RuleEndElement end);\n\n public Lookahead look(int k, RuleRefElement rr);\n\n public Lookahead look(int k, StringLiteralElement atom);\n\n public Lookahead look(int k, SynPredBlock blk);\n\n public Lookahead look(int k, TokenRangeElement end);\n\n public Lookahead look(int k, TreeElement end);\n\n public Lookahead look(int k, WildcardElement wc);\n\n public Lookahead look(int k, ZeroOrMoreBlock blk);\n\n public Lookahead look(int k, String rule);\n\n public void setGrammar(Grammar g);\n\n public boolean subruleCanBeInverted(AlternativeBlock blk, boolean forLexer);\n}", "@Test\r\n\tpublic void testInvalid05() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid05\");\r\n\t}", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "public abstract void match(ReaderBuffer buffer, TokenMatch match)\n throws IOException;", "public static void main(String[] args) throws IOException {\n\t\tCharStream input = CharStreams.fromFileName(\"C:\\\\Users\\\\User\\\\eclipse-workspace\\\\Compilateur-Aisha-Liliya\\\\src\\\\test\\\\test0.txt\");\n\t\tLangageLexer lexer = new LangageLexer( input);\n\t\tLangageParser parser = new \tLangageParser(new CommonTokenStream(lexer));\n\t\tListener l =new Listener();\n\t\tparser.addParseListener(l);\n\t\t\n\t\tParseTree tree = parser.code();\n\tl.s.printTE();\n\tl.s.printTS();\n\tl.s.printQuad();\n\tl.s.printCODEOBJET();\n\t}", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "public final void mT__18() throws RecognitionException {\n try {\n int _type = T__18;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:11:7: ( 'line' )\n // metamorph.runtime/src/antlr/Ast.g:11:9: 'line'\n {\n match(\"line\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public interface BiGULReplace extends BiGULStatement\n{\n}", "public final void synpred47_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_typePar_2_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: (otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5\n {\n otherlv_1=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_synpred47_InternalMitraParser3552); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1892:1: ( (lv_typePar_2_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1894:3: lv_typePar_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCollectionTypeAccess().getTypeParTypeParserRuleCall_1_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred47_InternalMitraParser3572);\n lv_typePar_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_synpred47_InternalMitraParser3585); if (state.failed) return ;\n\n }\n }", "final public void parse() throws ParseException {\n\t\tToken x = null;\n\t\tjj_consume_token(20);\n\t\tgetColumns(true);\n\t\tjj_consume_token(REFER);\n\n\t\tx = jj_consume_token(ID);\n\t\tm_refcatalog = x.image;\n\t\tjj_consume_token(21);\n\t\tx = jj_consume_token(ID);\n\t\tm_reftable = x.image;\n\t\tjj_consume_token(20);\n\t\tgetColumns(false);\n\t\tgetActions();\n\t}", "@Test(timeout = 4000)\n public void test003() throws Throwable {\n StringReader stringReader0 = new StringReader(\"void\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.MoreLexicalActions();\n }", "protected LR1_Grammar(Grammar grammar) {\n\t\tsuper(grammar);\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}" ]
[ "0.5791475", "0.56199855", "0.5563283", "0.5542747", "0.5481265", "0.5447758", "0.54188526", "0.53809", "0.5344454", "0.53161025", "0.5312945", "0.52506655", "0.5231438", "0.522025", "0.5186572", "0.5124322", "0.5073389", "0.5067876", "0.5047933", "0.49749124", "0.49678496", "0.4939733", "0.49142185", "0.48822826", "0.4879885", "0.48700953", "0.48696467", "0.4860942", "0.48399222", "0.48297226", "0.48262924", "0.4809812", "0.48040602", "0.48022237", "0.47942603", "0.47892505", "0.4771385", "0.47569755", "0.47453144", "0.47449037", "0.47193068", "0.4711037", "0.47008926", "0.46991217", "0.46881068", "0.4687164", "0.46804684", "0.46767756", "0.46708983", "0.46637276", "0.4659981", "0.46516836", "0.46461466", "0.4635123", "0.46326137", "0.46297514", "0.46274614", "0.4620358", "0.46162114", "0.4615258", "0.4613596", "0.4596961", "0.45803785", "0.45771664", "0.45770565", "0.45677033", "0.456295", "0.45556226", "0.45544705", "0.454751", "0.45467982", "0.45397776", "0.45136467", "0.4513497", "0.45116618", "0.45093867", "0.45078114", "0.44990042", "0.4484903", "0.44787353", "0.44781885", "0.4477991", "0.4476776", "0.44762734", "0.44730836", "0.44649097", "0.44560486", "0.4455904", "0.44539925", "0.44526535", "0.4448859", "0.44474113", "0.44430026", "0.4442582", "0.44353434", "0.44352397", "0.44329107", "0.44280085", "0.44249982", "0.44155833", "0.44154868" ]
0.0
-1
$ANTLR end "T__19" $ANTLR start "T__20"
public final void mT__20() throws RecognitionException { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:18:7: ( 'TEST' ) // InternalDSL.g:18:9: 'TEST' { match("TEST"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mT__20() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__20;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:10:7: ( '+' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:10:9: '+'\r\n\t\t\t{\r\n\t\t\tmatch('+'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__20() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__20;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:11:7: ( '+' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:11:9: '+'\n\t\t\t{\n\t\t\tmatch('+'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mT__20() throws RecognitionException {\r\n try {\r\n int _type = T__20;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:17:7: ( '.+' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:17:9: '.+'\r\n {\r\n match(\".+\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:20:7: ( 'data: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:20:9: 'data: '\n {\n match(\"data: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT20() throws RecognitionException {\n try {\n int _type = T20;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:18:5: ( ':' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:18:7: ':'\n {\n match(':'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:18:7: ( ':' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:18:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:18:7: ( '}' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:18:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:7: ( 'port: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:9: 'port: '\n {\n match(\"port: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public final void mKEYWORD_20() throws RecognitionException {\n try {\n int _type = KEYWORD_20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:49:12: ( ( 'O' | 'o' ) ( 'R' | 'r' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:49:14: ( 'O' | 'o' ) ( 'R' | 'r' )\n {\n if ( input.LA(1)=='O'||input.LA(1)=='o' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='R'||input.LA(1)=='r' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "@Test(timeout = 4000)\n public void test020() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":_]J_/L!uFQ7%)BrL\");\n Token token0 = xPathLexer0.literal();\n assertNull(token0);\n \n char char0 = xPathLexer0.LA((-1));\n assertEquals('r', char0);\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:19:7: ( ';' )\n // InternalStateMachine.g:19:9: ';'\n {\n match(';'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\r\n try {\r\n int _type = T__19;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:16:7: ( '-' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:16:9: '-'\r\n {\r\n match('-'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:19:7: ( 'the' )\n // InternalReqLNG.g:19:9: 'the'\n {\n match(\"the\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__19;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:9:7: ( '*' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:9:9: '*'\r\n\t\t\t{\r\n\t\t\tmatch('*'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "final public void parse() throws ParseException {\n\t\tToken x = null;\n\t\tjj_consume_token(20);\n\t\tgetColumns(true);\n\t\tjj_consume_token(REFER);\n\n\t\tx = jj_consume_token(ID);\n\t\tm_refcatalog = x.image;\n\t\tjj_consume_token(21);\n\t\tx = jj_consume_token(ID);\n\t\tm_reftable = x.image;\n\t\tjj_consume_token(20);\n\t\tgetColumns(false);\n\t\tgetActions();\n\t}", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "public final void mT__19() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__19;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:10:7: ( '*' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:10:9: '*'\n\t\t\t{\n\t\t\tmatch('*'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "Token next();", "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return lexer.nextToken(); \n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:18:7: ( '%=' )\n // InternalSpeADL.g:18:9: '%='\n {\n match(\"%=\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:18:7: ( 'a' )\n // InternalReqLNG.g:18:9: 'a'\n {\n match('a'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "public void visit(Literal literal) {}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:17:7: ( '}' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:17:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:20:7: ( ':' )\n // InternalVizualizer.g:20:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "AstroArg unpack(Astro litChars);", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:13:7: ( 'type' )\n // metamorph.runtime/src/antlr/Ast.g:13:9: 'type'\n {\n match(\"type\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "private void parseStmt() throws IOException, FSException,RetException {\n\n\n switch(tok.ttype) {\n\n case LexAnn.TT_DEFINT:\n case LexAnn.TT_DEFSTRING:\n case LexAnn.TT_DEFDOUBLE:\n case LexAnn.TT_DEFOBJECT: {\n parseVarDef();\n break;\n }\n\n case LexAnn.TT_IF: {\n parseIf();\n break;\n }\n case LexAnn.TT_WHILE: {\n parseWhile();\n break;\n }\n case LexAnn.TT_RETURN: {\n parseReturn();\n break;\n }\n case LexAnn.TT_DEFFUNC: {\n parseFunctionDef();\n break;\n }\n case LexAnn.TT_EDEFFUNC: {\n parseFunctionEnd();\n break;\n }\n case LexAnn.TT_EIF:\n throw new FSException(\"unexpected endif\");\n case LexAnn.TT_EWHILE:\n throw new FSException(\"unexpected endwhile\");\n\n case LexAnn.TT_FUNC: {\n parseFunc();\n break;\n }\n case LexAnn.TT_ARRAY: {\n parseArrayAssign();\n break;\n }\n case LexAnn.TT_WORD: {\n parseAssign();\n break;\n }\n case LexAnn.TT_EOL: {\n tok.nextToken();\n break;\n }\n case LexAnn.TT_EOF: {\n // all done\n break;\n }\n default: {\n parseError(\"Expected identifier \"+tok);\n\n }\n }\n\n }", "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "public final void mT__20() throws RecognitionException {\r\n try {\r\n int _type = T__20;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:21:7: ( '+' )\r\n // InternalSpringConfigDsl.g:21:9: '+'\r\n {\r\n match('+'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final ANTLRv3Parser.atom_return atom() throws RecognitionException {\r\n ANTLRv3Parser.atom_return retval = new ANTLRv3Parser.atom_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token op=null;\r\n Token RULE_REF110=null;\r\n Token ARG_ACTION111=null;\r\n ANTLRv3Parser.terminal_return terminal107 =null;\r\n\r\n ANTLRv3Parser.range_return range108 =null;\r\n\r\n ANTLRv3Parser.notSet_return notSet109 =null;\r\n\r\n\r\n CommonTree op_tree=null;\r\n CommonTree RULE_REF110_tree=null;\r\n CommonTree ARG_ACTION111_tree=null;\r\n RewriteRuleTokenStream stream_BANG=new RewriteRuleTokenStream(adaptor,\"token BANG\");\r\n RewriteRuleTokenStream stream_ROOT=new RewriteRuleTokenStream(adaptor,\"token ROOT\");\r\n RewriteRuleTokenStream stream_RULE_REF=new RewriteRuleTokenStream(adaptor,\"token RULE_REF\");\r\n RewriteRuleTokenStream stream_ARG_ACTION=new RewriteRuleTokenStream(adaptor,\"token ARG_ACTION\");\r\n RewriteRuleSubtreeStream stream_range=new RewriteRuleSubtreeStream(adaptor,\"rule range\");\r\n RewriteRuleSubtreeStream stream_notSet=new RewriteRuleSubtreeStream(adaptor,\"rule notSet\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:255:5: ( terminal | range ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range ) | notSet ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet ) | RULE_REF ( ARG_ACTION )? ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) ) )\r\n int alt54=4;\r\n switch ( input.LA(1) ) {\r\n case CHAR_LITERAL:\r\n {\r\n int LA54_1 = input.LA(2);\r\n\r\n if ( (LA54_1==RANGE) ) {\r\n alt54=2;\r\n }\r\n else if ( (LA54_1==ACTION||LA54_1==BANG||LA54_1==CHAR_LITERAL||(LA54_1 >= REWRITE && LA54_1 <= ROOT)||LA54_1==RULE_REF||LA54_1==SEMPRED||LA54_1==STRING_LITERAL||(LA54_1 >= TOKEN_REF && LA54_1 <= TREE_BEGIN)||(LA54_1 >= 68 && LA54_1 <= 71)||LA54_1==73||(LA54_1 >= 76 && LA54_1 <= 77)||LA54_1==80||LA54_1==91||LA54_1==93) ) {\r\n alt54=1;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 54, 1, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n }\r\n break;\r\n case STRING_LITERAL:\r\n case TOKEN_REF:\r\n case 73:\r\n {\r\n alt54=1;\r\n }\r\n break;\r\n case 93:\r\n {\r\n alt54=3;\r\n }\r\n break;\r\n case RULE_REF:\r\n {\r\n alt54=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 54, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n\r\n switch (alt54) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:255:9: terminal\r\n {\r\n root_0 = (CommonTree)adaptor.nil();\r\n\r\n\r\n pushFollow(FOLLOW_terminal_in_atom1800);\r\n terminal107=terminal();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) adaptor.addChild(root_0, terminal107.getTree());\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:256:4: range ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range )\r\n {\r\n pushFollow(FOLLOW_range_in_atom1805);\r\n range108=range();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_range.add(range108.getTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:3: ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range )\r\n int alt48=2;\r\n int LA48_0 = input.LA(1);\r\n\r\n if ( (LA48_0==BANG||LA48_0==ROOT) ) {\r\n alt48=1;\r\n }\r\n else if ( (LA48_0==ACTION||LA48_0==CHAR_LITERAL||LA48_0==REWRITE||LA48_0==RULE_REF||LA48_0==SEMPRED||LA48_0==STRING_LITERAL||(LA48_0 >= TOKEN_REF && LA48_0 <= TREE_BEGIN)||(LA48_0 >= 68 && LA48_0 <= 71)||LA48_0==73||LA48_0==76||LA48_0==80||LA48_0==91||LA48_0==93) ) {\r\n alt48=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 48, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt48) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:5: (op= '^' |op= '!' )\r\n int alt47=2;\r\n int LA47_0 = input.LA(1);\r\n\r\n if ( (LA47_0==ROOT) ) {\r\n alt47=1;\r\n }\r\n else if ( (LA47_0==BANG) ) {\r\n alt47=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 47, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt47) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1815); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1819); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: range, op\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 257:21: -> ^( $op range )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:24: ^( $op range )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, stream_range.nextTree());\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:258:9: \r\n {\r\n // AST REWRITE\r\n // elements: range\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 258:9: -> range\r\n {\r\n adaptor.addChild(root_0, stream_range.nextTree());\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:260:7: notSet ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet )\r\n {\r\n pushFollow(FOLLOW_notSet_in_atom1853);\r\n notSet109=notSet();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_notSet.add(notSet109.getTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:3: ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet )\r\n int alt50=2;\r\n int LA50_0 = input.LA(1);\r\n\r\n if ( (LA50_0==BANG||LA50_0==ROOT) ) {\r\n alt50=1;\r\n }\r\n else if ( (LA50_0==ACTION||LA50_0==CHAR_LITERAL||LA50_0==REWRITE||LA50_0==RULE_REF||LA50_0==SEMPRED||LA50_0==STRING_LITERAL||(LA50_0 >= TOKEN_REF && LA50_0 <= TREE_BEGIN)||(LA50_0 >= 68 && LA50_0 <= 71)||LA50_0==73||LA50_0==76||LA50_0==80||LA50_0==91||LA50_0==93) ) {\r\n alt50=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 50, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt50) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:5: (op= '^' |op= '!' )\r\n int alt49=2;\r\n int LA49_0 = input.LA(1);\r\n\r\n if ( (LA49_0==ROOT) ) {\r\n alt49=1;\r\n }\r\n else if ( (LA49_0==BANG) ) {\r\n alt49=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 49, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt49) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1862); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1866); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: notSet, op\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 261:21: -> ^( $op notSet )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:24: ^( $op notSet )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, stream_notSet.nextTree());\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:262:9: \r\n {\r\n // AST REWRITE\r\n // elements: notSet\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 262:9: -> notSet\r\n {\r\n adaptor.addChild(root_0, stream_notSet.nextTree());\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:9: RULE_REF ( ARG_ACTION )? ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) )\r\n {\r\n RULE_REF110=(Token)match(input,RULE_REF,FOLLOW_RULE_REF_in_atom1902); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_RULE_REF.add(RULE_REF110);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:18: ( ARG_ACTION )?\r\n int alt51=2;\r\n int LA51_0 = input.LA(1);\r\n\r\n if ( (LA51_0==ARG_ACTION) ) {\r\n alt51=1;\r\n }\r\n switch (alt51) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:18: ARG_ACTION\r\n {\r\n ARG_ACTION111=(Token)match(input,ARG_ACTION,FOLLOW_ARG_ACTION_in_atom1904); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ARG_ACTION.add(ARG_ACTION111);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:3: ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) )\r\n int alt53=2;\r\n int LA53_0 = input.LA(1);\r\n\r\n if ( (LA53_0==BANG||LA53_0==ROOT) ) {\r\n alt53=1;\r\n }\r\n else if ( (LA53_0==ACTION||LA53_0==CHAR_LITERAL||LA53_0==REWRITE||LA53_0==RULE_REF||LA53_0==SEMPRED||LA53_0==STRING_LITERAL||(LA53_0 >= TOKEN_REF && LA53_0 <= TREE_BEGIN)||(LA53_0 >= 68 && LA53_0 <= 71)||LA53_0==73||LA53_0==76||LA53_0==80||LA53_0==91||LA53_0==93) ) {\r\n alt53=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 53, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt53) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:5: (op= '^' |op= '!' )\r\n int alt52=2;\r\n int LA52_0 = input.LA(1);\r\n\r\n if ( (LA52_0==ROOT) ) {\r\n alt52=1;\r\n }\r\n else if ( (LA52_0==BANG) ) {\r\n alt52=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 52, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt52) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1914); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1918); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: ARG_ACTION, op, RULE_REF\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 265:21: -> ^( $op RULE_REF ( ARG_ACTION )? )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:24: ^( $op RULE_REF ( ARG_ACTION )? )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, \r\n stream_RULE_REF.nextNode()\r\n );\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:39: ( ARG_ACTION )?\r\n if ( stream_ARG_ACTION.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_ARG_ACTION.nextNode()\r\n );\r\n\r\n }\r\n stream_ARG_ACTION.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:9: \r\n {\r\n // AST REWRITE\r\n // elements: ARG_ACTION, RULE_REF\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 266:9: -> ^( RULE_REF ( ARG_ACTION )? )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:12: ^( RULE_REF ( ARG_ACTION )? )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(\r\n stream_RULE_REF.nextNode()\r\n , root_1);\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:23: ( ARG_ACTION )?\r\n if ( stream_ARG_ACTION.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_ARG_ACTION.nextNode()\r\n );\r\n\r\n }\r\n stream_ARG_ACTION.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:15:7: ( 'Examples:' )\n // InternalCucumber.g:15:9: 'Examples:'\n {\n match(\"Examples:\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "public BindingLexer() {;}", "public interface BiomedicalParseSym {\n /* terminals */\n public static final int OR_OP = 6;\n public static final int String = 4;\n public static final int RPAREN = 3;\n public static final int error = 1;\n public static final int AND_OP = 5;\n public static final int NOT_OP = 7;\n public static final int LPAREN = 2;\n public static final int EOF = 0;\n}", "public final void mRANGE_OR_INT() throws RecognitionException {\n try {\n int _type = RANGE_OR_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:5: ( ( INT '..' )=> INT | ( INT '.' NAME )=> INT | ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT | INT )\n int alt12=4;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='0' && LA12_0<='9')) ) {\n int LA12_1 = input.LA(2);\n\n if ( ((LA12_1>='0' && LA12_1<='9')) && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (LA12_1=='.') && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (synpred1_Binding()) ) {\n alt12=1;\n }\n else if ( (synpred2_Binding()) ) {\n alt12=2;\n }\n else if ( (true) ) {\n alt12=4;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 1, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 0, input);\n\n throw nvae;\n }\n switch (alt12) {\n case 1 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:9: ( INT '..' )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 2 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2955:7: ( INT '.' NAME )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 3 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2956:9: ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT\n {\n mFLOAT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = FLOAT; \n }\n\n }\n break;\n case 4 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2963:9: INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n\n }\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "abstract protected void parseNextToken();", "public void testNUMWORDS20() throws Exception {\n\t\tObject retval = execLexer(\"NUMWORDS\", 265, \"thirty\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"NUMWORDS\", expecting, actual);\n\t}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:17:7: ( '{' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:17:9: '{'\n {\n match('{'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:18:7: ( ':' )\n // InternalMyDsl.g:18:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:19:7: ( 'sum' )\n // InternalMyDsl.g:19:9: 'sum'\n {\n match(\"sum\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "@Test(timeout = 4000)\n public void test19() throws Throwable {\n ClassWriter classWriter0 = new ClassWriter(5679);\n FieldWriter fieldWriter0 = new FieldWriter(classWriter0, 642, \"of)xo*\", \"g)_Yx/_KT\", \"X\", \"g)_Yx/_KT\");\n fieldWriter0.visitEnd();\n }", "boolean tokenCanEnd(Token token)\r\n {\r\n if (token == null)\r\n return false;\r\n int type = token.getType();\r\n switch (type) {\r\n \tcase MExprANTLRParserTokenTypes.NOT:\r\n \tcase MExprANTLRParserTokenTypes.NOTNOT:\r\n case MExprANTLRParserTokenTypes.RBRACE:\r\n case MExprANTLRParserTokenTypes.RBRACKET:\r\n case MExprANTLRParserTokenTypes.RPAREN:\r\n case MExprANTLRParserTokenTypes.INT: \r\n case MExprANTLRParserTokenTypes.REAL:\r\n case MExprANTLRParserTokenTypes.ID:\r\n case MExprANTLRParserTokenTypes.NULLID:\r\n case MExprANTLRParserTokenTypes.POSTFIXID:\r\n case MExprANTLRParserTokenTypes.STRING:\r\n case MExprANTLRParserTokenTypes.BLANK1:\r\n case MExprANTLRParserTokenTypes.IDBLANK1:\r\n case MExprANTLRParserTokenTypes.BLANKID1:\r\n case MExprANTLRParserTokenTypes.IDBLANKID1:\r\n case MExprANTLRParserTokenTypes.BLANK2:\r\n case MExprANTLRParserTokenTypes.IDBLANK2:\r\n case MExprANTLRParserTokenTypes.BLANKID2:\r\n case MExprANTLRParserTokenTypes.IDBLANKID2:\r\n case MExprANTLRParserTokenTypes.BLANK3:\r\n case MExprANTLRParserTokenTypes.IDBLANK3:\r\n case MExprANTLRParserTokenTypes.BLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKDOT:\r\n case MExprANTLRParserTokenTypes.BLANKDOT:\r\n case MExprANTLRParserTokenTypes.SLOT: \r\n case MExprANTLRParserTokenTypes.TYPESETEXPR:\r\n case MExprANTLRParserTokenTypes.GET:\r\n case MExprANTLRParserTokenTypes.PUT:\r\n case MExprANTLRParserTokenTypes.PERCENT:\r\n case MExprANTLRParserTokenTypes.PERCENTNUMBER:\r\n \t return true;\r\n }\r\n\r\n return false;\r\n }", "public final void mT__19() throws RecognitionException {\r\n try {\r\n int _type = T__19;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:17:7: ( '}' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:17:9: '}'\r\n {\r\n match('}'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "void gobble() {\n while( level > 0 &&\n !is(TK.LPAREN) &&\n !is(TK.ID) &&\n !is(TK.NUM) &&\n !is(TK.EOF) ) {\n scan();\n }\n }", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "public interface BibtexConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int COMMENT = 5;\r\n /** RegularExpression Id. */\r\n int COMMENT_START = 6;\r\n /** RegularExpression Id. */\r\n int PREAMBLE_START = 7;\r\n /** RegularExpression Id. */\r\n int STRING_START = 8;\r\n /** RegularExpression Id. */\r\n int COMMENT_ENTRY = 9;\r\n /** RegularExpression Id. */\r\n int OPEN_ENTRY = 11;\r\n /** RegularExpression Id. */\r\n int CLOSE_ENTRY = 12;\r\n /** RegularExpression Id. */\r\n int START_B_CONTENT = 14;\r\n /** RegularExpression Id. */\r\n int CLOSE_B_CONTENT = 15;\r\n /** RegularExpression Id. */\r\n int START_Q_CONTENT = 18;\r\n /** RegularExpression Id. */\r\n int CLOSE_Q_CONTENT = 19;\r\n /** RegularExpression Id. */\r\n int CONTENT_TEXT = 20;\r\n /** RegularExpression Id. */\r\n int ID = 21;\r\n /** RegularExpression Id. */\r\n int SEPARATOR = 22;\r\n /** RegularExpression Id. */\r\n int EQUALS = 23;\r\n /** RegularExpression Id. */\r\n int NUMBER = 24;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_ENTRY = 1;\r\n /** Lexical state. */\r\n int IN_ENTRY_TYPE = 2;\r\n /** Lexical state. */\r\n int IN_COMMENT_ENTRY = 3;\r\n /** Lexical state. */\r\n int IN_PREAMBLE = 4;\r\n /** Lexical state. */\r\n int IN_BRACED_CONTENT = 5;\r\n /** Lexical state. */\r\n int IN_BRACED_NESTED_CONTENT = 6;\r\n /** Lexical state. */\r\n int IN_QUOTED_CONTENT = 7;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"<COMMENT>\",\r\n \"\\\"comment\\\"\",\r\n \"\\\"preamble\\\"\",\r\n \"\\\"string\\\"\",\r\n \"<COMMENT_ENTRY>\",\r\n \"<token of kind 10>\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"<token of kind 13>\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"\\\\\\\"\\\"\",\r\n \"\\\"\\\\\\\"\\\"\",\r\n \"<CONTENT_TEXT>\",\r\n \"<ID>\",\r\n \"\\\",\\\"\",\r\n \"\\\"=\\\"\",\r\n \"<NUMBER>\",\r\n \"\\\"#\\\"\",\r\n };\r\n\r\n}", "public R visit(MoveStmt n) {\n R _ret=null;\n simple_exp=0;\n // System.out.print(\"MOVE \");\n String s0 = (String)n.f0.accept(this);\n String s1 = (String)n.f1.accept(this);\n String s = new String();\n s=(\"MOVE \"+s1+\" \");\n simple_exp=0;\n String s2 = (String)n.f2.accept(this);\n s=s+(s2+\" \");\n return (R)s;\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:19:7: ( 'Int' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:19:9: 'Int'\n {\n match(\"Int\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT40() throws RecognitionException {\n try {\n int _type = T40;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:38:5: ( 'let' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:38:7: 'let'\n {\n match(\"let\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return s.next_token(); \n }", "public final void insn_format20t() throws RecognitionException {\n CommonTree INSTRUCTION_FORMAT20t116 = null;\n Label label_ref117 = null;\n\n try {\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:810:3: ( ^( I_STATEMENT_FORMAT20t INSTRUCTION_FORMAT20t label_ref ) )\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:811:5: ^( I_STATEMENT_FORMAT20t INSTRUCTION_FORMAT20t label_ref )\n {\n match(input, I_STATEMENT_FORMAT20t, FOLLOW_I_STATEMENT_FORMAT20t_in_insn_format20t2196);\n match(input, Token.DOWN, null);\n INSTRUCTION_FORMAT20t116 = (CommonTree) match(input, INSTRUCTION_FORMAT20t, FOLLOW_INSTRUCTION_FORMAT20t_in_insn_format20t2198);\n pushFollow(FOLLOW_label_ref_in_insn_format20t2200);\n label_ref117 = label_ref();\n state._fsp--;\n\n match(input, Token.UP, null);\n\n\n Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT20t116 != null ? INSTRUCTION_FORMAT20t116.getText() : null));\n method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction20t(opcode, label_ref117));\n\n }\n\n } catch (RecognitionException re) {\n reportError(re);\n recover(input, re);\n } finally {\n // do for sure before leaving\n }\n }", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "public final void mT__40() throws RecognitionException {\n try {\n int _type = T__40;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:19:7: ( 'parser' )\n // InternalUniMapperGenerator.g:19:9: 'parser'\n {\n match(\"parser\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private int parseWord(Token token, char[] buffer, int offset, int type){\nfromStart:\n for(int i=offset; i<buffer.length; ++i){\n for(int x=0; x < characters[type].length; ++x){\n if(buffer[i] == characters[type][x]){\n token.identifier += buffer[i];\n continue fromStart;\n }\n }\n // If it gets here, the character currently parsed isn't of the same type \n return i;\n }\n // Found end of file\n return offset+buffer.length;\n }", "public final void mT19() throws RecognitionException {\n try {\n int _type = T19;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:17:5: ( 'record' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:17:7: 'record'\n {\n match(\"record\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test139() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(18, token0.getTokenType());\n assertEquals(\":\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"E\", token1.getTokenText());\n }", "@Test(timeout = 4000)\n public void test019() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.relationalOperator();\n assertNotNull(token0);\n assertEquals(\">\", token0.getTokenText());\n assertEquals(9, token0.getTokenType());\n \n Token token1 = xPathLexer0.rightParen();\n assertEquals(2, token1.getTokenType());\n assertEquals(\"6\", token1.getTokenText());\n \n char char0 = xPathLexer0.LA(0);\n assertEquals('6', char0);\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:12:7: ( 'text' )\n // metamorph.runtime/src/antlr/Ast.g:12:9: 'text'\n {\n match(\"text\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public final void mT__20() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__20;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// sell/input/Matrix.g:16:7: ( 'graphic' )\n\t\t\t// sell/input/Matrix.g:16:9: 'graphic'\n\t\t\t{\n\t\t\tmatch(\"graphic\"); \n\n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "@Test\r\n\tpublic void testInvalid02() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid02\");\r\n\t}", "@Test(timeout = 4000)\n public void test156() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"II%oBQL*c\");\n Token token0 = xPathLexer0.not();\n assertEquals(23, token0.getTokenType());\n assertEquals(\"I\", token0.getTokenText());\n \n Token token1 = xPathLexer0.star();\n assertEquals(\"I\", token1.getTokenText());\n assertEquals(20, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(\"%oBQL*c\", token2.getTokenText());\n assertEquals((-1), token2.getTokenType());\n }", "public void b(gy ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public void a(gy ☃) {}", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public static void main(String[] args) {\r\n\r\n\tAlternation a = new Alternation();\r\n\t\r\n\ta.add(new Literal(\"steaming\"));\r\n\ta.add(new Literal(\"hot\"));\r\n\r\n\tRepetition adjectives = new Repetition(a);\r\n\r\n\tTokenAssembly ta = \r\n\t\tnew TokenAssembly(\"hot hot steaming hot coffee\");\r\n\t\r\n\tSystem.out.println(adjectives.bestMatch(ta));\r\n}", "protected LR1_Grammar(Grammar grammar) {\n\t\tsuper(grammar);\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "private AddressLiteralTagToken.Kind scanToken() throws ParseException {\n if (ALPHA.isSatisfiedBy(currentChar)) {\n scanStandardizedTag();\n return Kind.STANDARDIZED_TAG;\n } else if (CharClasses.DIGIT.isSatisfiedBy(currentChar)) {\n return Kind.DIGIT;\n } else {\n throw currentCharToken.syntaxException(\"The first digit of an \"\n + \"IPv4 address, or an address type tag, like 'IPv6'\");\n }\n }", "@Test(timeout = 4000)\n public void test003() throws Throwable {\n StringReader stringReader0 = new StringReader(\"void\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.MoreLexicalActions();\n }", "public abstract void match(ReaderBuffer buffer, TokenMatch match)\n throws IOException;", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:18:7: ( ')' )\n // InternalStateMachine.g:18:9: ')'\n {\n match(')'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"|OLg_Eyu;i\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(17, token0.getTokenType());\n assertEquals(\"|\", token0.getTokenText());\n }", "@Test\r\n\tpublic void testInvalid09() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid09\");\r\n\t}" ]
[ "0.5809071", "0.57350385", "0.5686911", "0.5656772", "0.5546672", "0.54524297", "0.542286", "0.53853136", "0.53631395", "0.53610116", "0.5308249", "0.5272791", "0.52670866", "0.5244659", "0.521178", "0.5081923", "0.5076915", "0.50426865", "0.50228304", "0.5010274", "0.5003628", "0.49911955", "0.4985609", "0.4943895", "0.49370643", "0.4917751", "0.4915255", "0.48796368", "0.4871878", "0.4866046", "0.48645997", "0.48589206", "0.48433527", "0.4842968", "0.4822372", "0.48165143", "0.47852594", "0.47790205", "0.4777014", "0.47743323", "0.47732058", "0.4772187", "0.4744302", "0.47383535", "0.4734618", "0.47129", "0.47071022", "0.47049594", "0.46847963", "0.468234", "0.46814793", "0.46804962", "0.46781126", "0.4673975", "0.46705735", "0.46528977", "0.46479145", "0.4630208", "0.46271542", "0.4623203", "0.46164748", "0.46151012", "0.4611505", "0.46114635", "0.46019953", "0.46007365", "0.45887592", "0.45840964", "0.45781517", "0.45748767", "0.45616275", "0.45480713", "0.4544933", "0.45414677", "0.45407888", "0.45397058", "0.45381254", "0.45273307", "0.45132646", "0.45123547", "0.45046797", "0.449949", "0.44973692", "0.44969738", "0.44913727", "0.4488949", "0.44874606", "0.4484052", "0.44819468", "0.4475245", "0.44740227", "0.44704673", "0.44581348", "0.44580668", "0.44558862", "0.4454386", "0.44398302", "0.44391933", "0.443406", "0.4433513" ]
0.48907265
27
$ANTLR end "T__20" $ANTLR start "T__21"
public final void mT__21() throws RecognitionException { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:19:7: ( 'EXPECTS' ) // InternalDSL.g:19:9: 'EXPECTS' { match("EXPECTS"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void mT__20() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__20;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:10:7: ( '+' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:10:9: '+'\r\n\t\t\t{\r\n\t\t\tmatch('+'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "public final void mT__20() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__20;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:11:7: ( '+' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:11:9: '+'\n\t\t\t{\n\t\t\tmatch('+'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mT__20() throws RecognitionException {\r\n try {\r\n int _type = T__20;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:17:7: ( '.+' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:17:9: '.+'\r\n {\r\n match(\".+\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:19:7: ( ':' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:19:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "Token next();", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public final void mT__21() throws RecognitionException {\r\n try {\r\n int _type = T__21;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:18:7: ( '.-' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:18:9: '.-'\r\n {\r\n match(\".-\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:20:7: ( 'data: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:20:9: 'data: '\n {\n match(\"data: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:18:7: ( ':' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:18:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:19:7: ( '<-' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:19:9: '<-'\n {\n match(\"<-\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private void parseStmt() throws IOException, FSException,RetException {\n\n\n switch(tok.ttype) {\n\n case LexAnn.TT_DEFINT:\n case LexAnn.TT_DEFSTRING:\n case LexAnn.TT_DEFDOUBLE:\n case LexAnn.TT_DEFOBJECT: {\n parseVarDef();\n break;\n }\n\n case LexAnn.TT_IF: {\n parseIf();\n break;\n }\n case LexAnn.TT_WHILE: {\n parseWhile();\n break;\n }\n case LexAnn.TT_RETURN: {\n parseReturn();\n break;\n }\n case LexAnn.TT_DEFFUNC: {\n parseFunctionDef();\n break;\n }\n case LexAnn.TT_EDEFFUNC: {\n parseFunctionEnd();\n break;\n }\n case LexAnn.TT_EIF:\n throw new FSException(\"unexpected endif\");\n case LexAnn.TT_EWHILE:\n throw new FSException(\"unexpected endwhile\");\n\n case LexAnn.TT_FUNC: {\n parseFunc();\n break;\n }\n case LexAnn.TT_ARRAY: {\n parseArrayAssign();\n break;\n }\n case LexAnn.TT_WORD: {\n parseAssign();\n break;\n }\n case LexAnn.TT_EOL: {\n tok.nextToken();\n break;\n }\n case LexAnn.TT_EOF: {\n // all done\n break;\n }\n default: {\n parseError(\"Expected identifier \"+tok);\n\n }\n }\n\n }", "public R visit(MoveStmt n) {\n R _ret=null;\n simple_exp=0;\n // System.out.print(\"MOVE \");\n String s0 = (String)n.f0.accept(this);\n String s1 = (String)n.f1.accept(this);\n String s = new String();\n s=(\"MOVE \"+s1+\" \");\n simple_exp=0;\n String s2 = (String)n.f2.accept(this);\n s=s+(s2+\" \");\n return (R)s;\n }", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "final public void parse() throws ParseException {\n\t\tToken x = null;\n\t\tjj_consume_token(20);\n\t\tgetColumns(true);\n\t\tjj_consume_token(REFER);\n\n\t\tx = jj_consume_token(ID);\n\t\tm_refcatalog = x.image;\n\t\tjj_consume_token(21);\n\t\tx = jj_consume_token(ID);\n\t\tm_reftable = x.image;\n\t\tjj_consume_token(20);\n\t\tgetColumns(false);\n\t\tgetActions();\n\t}", "public final void mT20() throws RecognitionException {\n try {\n int _type = T20;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:18:5: ( ':' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:18:7: ':'\n {\n match(':'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test020() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":_]J_/L!uFQ7%)BrL\");\n Token token0 = xPathLexer0.literal();\n assertNull(token0);\n \n char char0 = xPathLexer0.LA((-1));\n assertEquals('r', char0);\n }", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:20:7: ( 'The' )\n // InternalReqLNG.g:20:9: 'The'\n {\n match(\"The\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mKEYWORD_20() throws RecognitionException {\n try {\n int _type = KEYWORD_20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:49:12: ( ( 'O' | 'o' ) ( 'R' | 'r' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:49:14: ( 'O' | 'o' ) ( 'R' | 'r' )\n {\n if ( input.LA(1)=='O'||input.LA(1)=='o' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='R'||input.LA(1)=='r' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private int parseWord(Token token, char[] buffer, int offset, int type){\nfromStart:\n for(int i=offset; i<buffer.length; ++i){\n for(int x=0; x < characters[type].length; ++x){\n if(buffer[i] == characters[type][x]){\n token.identifier += buffer[i];\n continue fromStart;\n }\n }\n // If it gets here, the character currently parsed isn't of the same type \n return i;\n }\n // Found end of file\n return offset+buffer.length;\n }", "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "public BindingLexer() {;}", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "public final void mT__21() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__21;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:12:7: ( ',' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:12:9: ','\n\t\t\t{\n\t\t\tmatch(','); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "abstract protected void parseNextToken();", "AstroArg unpack(Astro litChars);", "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "boolean tokenCanEnd(Token token)\r\n {\r\n if (token == null)\r\n return false;\r\n int type = token.getType();\r\n switch (type) {\r\n \tcase MExprANTLRParserTokenTypes.NOT:\r\n \tcase MExprANTLRParserTokenTypes.NOTNOT:\r\n case MExprANTLRParserTokenTypes.RBRACE:\r\n case MExprANTLRParserTokenTypes.RBRACKET:\r\n case MExprANTLRParserTokenTypes.RPAREN:\r\n case MExprANTLRParserTokenTypes.INT: \r\n case MExprANTLRParserTokenTypes.REAL:\r\n case MExprANTLRParserTokenTypes.ID:\r\n case MExprANTLRParserTokenTypes.NULLID:\r\n case MExprANTLRParserTokenTypes.POSTFIXID:\r\n case MExprANTLRParserTokenTypes.STRING:\r\n case MExprANTLRParserTokenTypes.BLANK1:\r\n case MExprANTLRParserTokenTypes.IDBLANK1:\r\n case MExprANTLRParserTokenTypes.BLANKID1:\r\n case MExprANTLRParserTokenTypes.IDBLANKID1:\r\n case MExprANTLRParserTokenTypes.BLANK2:\r\n case MExprANTLRParserTokenTypes.IDBLANK2:\r\n case MExprANTLRParserTokenTypes.BLANKID2:\r\n case MExprANTLRParserTokenTypes.IDBLANKID2:\r\n case MExprANTLRParserTokenTypes.BLANK3:\r\n case MExprANTLRParserTokenTypes.IDBLANK3:\r\n case MExprANTLRParserTokenTypes.BLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKDOT:\r\n case MExprANTLRParserTokenTypes.BLANKDOT:\r\n case MExprANTLRParserTokenTypes.SLOT: \r\n case MExprANTLRParserTokenTypes.TYPESETEXPR:\r\n case MExprANTLRParserTokenTypes.GET:\r\n case MExprANTLRParserTokenTypes.PUT:\r\n case MExprANTLRParserTokenTypes.PERCENT:\r\n case MExprANTLRParserTokenTypes.PERCENTNUMBER:\r\n \t return true;\r\n }\r\n\r\n return false;\r\n }", "public final ANTLRv3Parser.atom_return atom() throws RecognitionException {\r\n ANTLRv3Parser.atom_return retval = new ANTLRv3Parser.atom_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token op=null;\r\n Token RULE_REF110=null;\r\n Token ARG_ACTION111=null;\r\n ANTLRv3Parser.terminal_return terminal107 =null;\r\n\r\n ANTLRv3Parser.range_return range108 =null;\r\n\r\n ANTLRv3Parser.notSet_return notSet109 =null;\r\n\r\n\r\n CommonTree op_tree=null;\r\n CommonTree RULE_REF110_tree=null;\r\n CommonTree ARG_ACTION111_tree=null;\r\n RewriteRuleTokenStream stream_BANG=new RewriteRuleTokenStream(adaptor,\"token BANG\");\r\n RewriteRuleTokenStream stream_ROOT=new RewriteRuleTokenStream(adaptor,\"token ROOT\");\r\n RewriteRuleTokenStream stream_RULE_REF=new RewriteRuleTokenStream(adaptor,\"token RULE_REF\");\r\n RewriteRuleTokenStream stream_ARG_ACTION=new RewriteRuleTokenStream(adaptor,\"token ARG_ACTION\");\r\n RewriteRuleSubtreeStream stream_range=new RewriteRuleSubtreeStream(adaptor,\"rule range\");\r\n RewriteRuleSubtreeStream stream_notSet=new RewriteRuleSubtreeStream(adaptor,\"rule notSet\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:255:5: ( terminal | range ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range ) | notSet ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet ) | RULE_REF ( ARG_ACTION )? ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) ) )\r\n int alt54=4;\r\n switch ( input.LA(1) ) {\r\n case CHAR_LITERAL:\r\n {\r\n int LA54_1 = input.LA(2);\r\n\r\n if ( (LA54_1==RANGE) ) {\r\n alt54=2;\r\n }\r\n else if ( (LA54_1==ACTION||LA54_1==BANG||LA54_1==CHAR_LITERAL||(LA54_1 >= REWRITE && LA54_1 <= ROOT)||LA54_1==RULE_REF||LA54_1==SEMPRED||LA54_1==STRING_LITERAL||(LA54_1 >= TOKEN_REF && LA54_1 <= TREE_BEGIN)||(LA54_1 >= 68 && LA54_1 <= 71)||LA54_1==73||(LA54_1 >= 76 && LA54_1 <= 77)||LA54_1==80||LA54_1==91||LA54_1==93) ) {\r\n alt54=1;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 54, 1, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n }\r\n break;\r\n case STRING_LITERAL:\r\n case TOKEN_REF:\r\n case 73:\r\n {\r\n alt54=1;\r\n }\r\n break;\r\n case 93:\r\n {\r\n alt54=3;\r\n }\r\n break;\r\n case RULE_REF:\r\n {\r\n alt54=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 54, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n\r\n switch (alt54) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:255:9: terminal\r\n {\r\n root_0 = (CommonTree)adaptor.nil();\r\n\r\n\r\n pushFollow(FOLLOW_terminal_in_atom1800);\r\n terminal107=terminal();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) adaptor.addChild(root_0, terminal107.getTree());\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:256:4: range ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range )\r\n {\r\n pushFollow(FOLLOW_range_in_atom1805);\r\n range108=range();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_range.add(range108.getTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:3: ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range )\r\n int alt48=2;\r\n int LA48_0 = input.LA(1);\r\n\r\n if ( (LA48_0==BANG||LA48_0==ROOT) ) {\r\n alt48=1;\r\n }\r\n else if ( (LA48_0==ACTION||LA48_0==CHAR_LITERAL||LA48_0==REWRITE||LA48_0==RULE_REF||LA48_0==SEMPRED||LA48_0==STRING_LITERAL||(LA48_0 >= TOKEN_REF && LA48_0 <= TREE_BEGIN)||(LA48_0 >= 68 && LA48_0 <= 71)||LA48_0==73||LA48_0==76||LA48_0==80||LA48_0==91||LA48_0==93) ) {\r\n alt48=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 48, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt48) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:5: (op= '^' |op= '!' )\r\n int alt47=2;\r\n int LA47_0 = input.LA(1);\r\n\r\n if ( (LA47_0==ROOT) ) {\r\n alt47=1;\r\n }\r\n else if ( (LA47_0==BANG) ) {\r\n alt47=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 47, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt47) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1815); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1819); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: range, op\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 257:21: -> ^( $op range )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:24: ^( $op range )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, stream_range.nextTree());\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:258:9: \r\n {\r\n // AST REWRITE\r\n // elements: range\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 258:9: -> range\r\n {\r\n adaptor.addChild(root_0, stream_range.nextTree());\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:260:7: notSet ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet )\r\n {\r\n pushFollow(FOLLOW_notSet_in_atom1853);\r\n notSet109=notSet();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_notSet.add(notSet109.getTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:3: ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet )\r\n int alt50=2;\r\n int LA50_0 = input.LA(1);\r\n\r\n if ( (LA50_0==BANG||LA50_0==ROOT) ) {\r\n alt50=1;\r\n }\r\n else if ( (LA50_0==ACTION||LA50_0==CHAR_LITERAL||LA50_0==REWRITE||LA50_0==RULE_REF||LA50_0==SEMPRED||LA50_0==STRING_LITERAL||(LA50_0 >= TOKEN_REF && LA50_0 <= TREE_BEGIN)||(LA50_0 >= 68 && LA50_0 <= 71)||LA50_0==73||LA50_0==76||LA50_0==80||LA50_0==91||LA50_0==93) ) {\r\n alt50=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 50, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt50) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:5: (op= '^' |op= '!' )\r\n int alt49=2;\r\n int LA49_0 = input.LA(1);\r\n\r\n if ( (LA49_0==ROOT) ) {\r\n alt49=1;\r\n }\r\n else if ( (LA49_0==BANG) ) {\r\n alt49=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 49, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt49) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1862); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1866); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: notSet, op\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 261:21: -> ^( $op notSet )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:24: ^( $op notSet )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, stream_notSet.nextTree());\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:262:9: \r\n {\r\n // AST REWRITE\r\n // elements: notSet\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 262:9: -> notSet\r\n {\r\n adaptor.addChild(root_0, stream_notSet.nextTree());\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:9: RULE_REF ( ARG_ACTION )? ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) )\r\n {\r\n RULE_REF110=(Token)match(input,RULE_REF,FOLLOW_RULE_REF_in_atom1902); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_RULE_REF.add(RULE_REF110);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:18: ( ARG_ACTION )?\r\n int alt51=2;\r\n int LA51_0 = input.LA(1);\r\n\r\n if ( (LA51_0==ARG_ACTION) ) {\r\n alt51=1;\r\n }\r\n switch (alt51) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:18: ARG_ACTION\r\n {\r\n ARG_ACTION111=(Token)match(input,ARG_ACTION,FOLLOW_ARG_ACTION_in_atom1904); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ARG_ACTION.add(ARG_ACTION111);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:3: ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) )\r\n int alt53=2;\r\n int LA53_0 = input.LA(1);\r\n\r\n if ( (LA53_0==BANG||LA53_0==ROOT) ) {\r\n alt53=1;\r\n }\r\n else if ( (LA53_0==ACTION||LA53_0==CHAR_LITERAL||LA53_0==REWRITE||LA53_0==RULE_REF||LA53_0==SEMPRED||LA53_0==STRING_LITERAL||(LA53_0 >= TOKEN_REF && LA53_0 <= TREE_BEGIN)||(LA53_0 >= 68 && LA53_0 <= 71)||LA53_0==73||LA53_0==76||LA53_0==80||LA53_0==91||LA53_0==93) ) {\r\n alt53=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 53, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt53) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:5: (op= '^' |op= '!' )\r\n int alt52=2;\r\n int LA52_0 = input.LA(1);\r\n\r\n if ( (LA52_0==ROOT) ) {\r\n alt52=1;\r\n }\r\n else if ( (LA52_0==BANG) ) {\r\n alt52=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 52, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt52) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1914); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1918); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: ARG_ACTION, op, RULE_REF\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 265:21: -> ^( $op RULE_REF ( ARG_ACTION )? )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:24: ^( $op RULE_REF ( ARG_ACTION )? )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, \r\n stream_RULE_REF.nextNode()\r\n );\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:39: ( ARG_ACTION )?\r\n if ( stream_ARG_ACTION.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_ARG_ACTION.nextNode()\r\n );\r\n\r\n }\r\n stream_ARG_ACTION.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:9: \r\n {\r\n // AST REWRITE\r\n // elements: ARG_ACTION, RULE_REF\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 266:9: -> ^( RULE_REF ( ARG_ACTION )? )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:12: ^( RULE_REF ( ARG_ACTION )? )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(\r\n stream_RULE_REF.nextNode()\r\n , root_1);\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:23: ( ARG_ACTION )?\r\n if ( stream_ARG_ACTION.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_ARG_ACTION.nextNode()\r\n );\r\n\r\n }\r\n stream_ARG_ACTION.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:7: ( 'port: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:9: 'port: '\n {\n match(\"port: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "public void visit(Literal literal) {}", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:18:7: ( '}' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:18:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface DefccConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int MODULE_TKN = 11;\n /** RegularExpression Id. */\n int CLASS_TKN = 12;\n /** RegularExpression Id. */\n int INCLUDE_TKN = 13;\n /** RegularExpression Id. */\n int BYTE_TKN = 14;\n /** RegularExpression Id. */\n int BOOLEAN_TKN = 15;\n /** RegularExpression Id. */\n int INT_TKN = 16;\n /** RegularExpression Id. */\n int LONG_TKN = 17;\n /** RegularExpression Id. */\n int FLOAT_TKN = 18;\n /** RegularExpression Id. */\n int DOUBLE_TKN = 19;\n /** RegularExpression Id. */\n int STRING_TKN = 20;\n /** RegularExpression Id. */\n int BUFFER_TKN = 21;\n /** RegularExpression Id. */\n int VECTOR_TKN = 22;\n /** RegularExpression Id. */\n int MAP_TKN = 23;\n /** RegularExpression Id. */\n int LBRACE_TKN = 24;\n /** RegularExpression Id. */\n int RBRACE_TKN = 25;\n /** RegularExpression Id. */\n int LT_TKN = 26;\n /** RegularExpression Id. */\n int GT_TKN = 27;\n /** RegularExpression Id. */\n int SEMICOLON_TKN = 28;\n /** RegularExpression Id. */\n int COMMA_TKN = 29;\n /** RegularExpression Id. */\n int DOT_TKN = 30;\n /** RegularExpression Id. */\n int CSTRING_TKN = 31;\n /** RegularExpression Id. */\n int IDENT_TKN = 32;\n /** RegularExpression Id. */\n int IDENT_TKN_W_DOT = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int WithinOneLineComment = 1;\n /** Lexical state. */\n int WithinMultiLineComment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"module\\\"\",\n \"\\\"class\\\"\",\n \"\\\"include\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"int\\\"\",\n \"\\\"long\\\"\",\n \"\\\"float\\\"\",\n \"\\\"double\\\"\",\n \"\\\"string\\\"\",\n \"\\\"buffer\\\"\",\n \"\\\"vector\\\"\",\n \"\\\"map\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CSTRING_TKN>\",\n \"<IDENT_TKN>\",\n \"<IDENT_TKN_W_DOT>\",\n };\n\n}", "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:19:7: ( ';' )\n // InternalStateMachine.g:19:9: ';'\n {\n match(';'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public static void parse()\r\n {\r\n int initial;\r\n initial=expression();\r\n stateList.get(0).setNext1(initial);\r\n stateList.get(0).setNext2(initial);\r\n if(index<=expression.length()-1)\r\n {\r\n error();\r\n }\r\n else\r\n {\r\n state st=new state(state,\"END\",-1,-1);\r\n stateList.add(st);\r\n }\r\n }", "TupleLiteralExp createTupleLiteralExp();", "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return lexer.nextToken(); \n }", "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "public final java_cup.runtime.Symbol CUP$A4Parser$do_action(\n int CUP$A4Parser$act_num,\n java_cup.runtime.lr_parser CUP$A4Parser$parser,\n java.util.Stack CUP$A4Parser$stack,\n int CUP$A4Parser$top)\n throws java.lang.Exception\n {\n /* Symbol object for return from actions */\n java_cup.runtime.Symbol CUP$A4Parser$result;\n\n /* select the action based on the action number */\n switch (CUP$A4Parser$act_num)\n {\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 46: // type ::= STRING \n {\n String RESULT = null;\n\t\t RESULT = \"String\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(21/*type*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 45: // type ::= REAL \n {\n String RESULT = null;\n\t\t RESULT = \"double\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(21/*type*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 44: // type ::= INT \n {\n String RESULT = null;\n\t\t RESULT = \"int\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(21/*type*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 43: // EPActualParams ::= \n {\n String RESULT = null;\n\t\t RESULT = \"\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(18/*EPActualParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 42: // EPActualParams ::= COMMA expr EPActualParams \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \", \" + x1 + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(18/*EPActualParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 41: // ActualParams ::= expr EPActualParams \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(17/*ActualParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 40: // expr ::= INTNUMBER \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 39: // expr ::= REALNUMBER \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 38: // expr ::= IDENTIFIER LPAREN ActualParams RPAREN \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = x1 + \"(\" + x2 + \")\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 37: // expr ::= IDENTIFIER \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 36: // expr ::= LPAREN expr RPAREN \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = \"(\" + x1 + \")\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 35: // expr ::= expr DIVIDE expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"/\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 34: // expr ::= expr TIMES expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"*\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 33: // expr ::= expr MINUS expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"-\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 32: // expr ::= expr PLUS expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"+\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(1/*expr*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 31: // BoolExpression ::= expr ISNOTEQUAL expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"!=\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(20/*BoolExpression*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 30: // BoolExpression ::= expr ISEQUAL expr \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \"==\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(20/*BoolExpression*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 29: // ReadStmt ::= READ LPAREN IDENTIFIER COMMA QUOTE RPAREN SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\t RESULT = \"$br = new BufferedReader(new FileReader(\" + x2 + \"));\" + x1 + \"=new Integer($br.readLine()).intValue();\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(16/*ReadStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 28: // WriteStmt ::= WRITE LPAREN expr COMMA QUOTE RPAREN SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\t RESULT = \"$tmp_real=\" + x1 + \";\\n$bw=new BufferedWriter(new FileWriter(\" + x2 + \"));\\n$bw.write(\\\"\\\" + $tmp_real);\\n$bw.close();\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(15/*WriteStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 27: // IfStmt ::= IF LPAREN BoolExpression RPAREN Statment ELSE Statment \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x3left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x3right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x3 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"if (\" + x1 + \")\" + x2 + \" else \" + x3; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(14/*IfStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 26: // IfStmt ::= IF LPAREN BoolExpression RPAREN Statment \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"if (\" + x1 + \")\" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(14/*IfStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 25: // ReturnStmt ::= RETURN expr SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = \"return \" + x1 + \";\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(13/*ReturnStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 24: // AssignStmt ::= IDENTIFIER EQUAL QUOTE SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = x1 + \"=\" + x2 + \";\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(12/*AssignStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 23: // AssignStmt ::= IDENTIFIER EQUAL expr SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = x1 + \"=\" + x2 + \";\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(12/*AssignStmt*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-3)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 22: // LocalVarDecl ::= type AssignStmt \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(11/*LocalVarDecl*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 21: // LocalVarDecl ::= type IDENTIFIER SEMI \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = x1 + \" \" + x2 + \";\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(11/*LocalVarDecl*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 20: // Statment ::= ReadStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 19: // Statment ::= WriteStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 18: // Statment ::= IfStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 17: // Statment ::= ReturnStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 16: // Statment ::= AssignStmt \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 15: // Statment ::= LocalVarDecl \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 14: // Statment ::= Block \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x + \"\\n\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(10/*Statment*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 13: // Statements ::= Statment \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(9/*Statements*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 12: // Statements ::= Statment Statements \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(9/*Statements*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 11: // Block ::= BEGIN Statements END \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\t RESULT = \"{\" + x1 + \"}\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(8/*Block*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 10: // FormalParam ::= type IDENTIFIER \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(5/*FormalParam*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 9: // EPFormalParams ::= \n {\n String RESULT = null;\n\t\t RESULT = \"\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(7/*EPFormalParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 8: // EPFormalParams ::= COMMA FormalParam EPFormalParams \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \", \" + x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(7/*EPFormalParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 7: // FormalParams ::= \n {\n String RESULT = null;\n\t\t RESULT = \"\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(6/*FormalParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 6: // FormalParams ::= FormalParam EPFormalParams \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(6/*FormalParams*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 5: // MethodDecl ::= type IDENTIFIER LPAREN FormalParams RPAREN Block \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-5)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-5)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-5)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x3left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x3right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x3 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x4left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x4right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x4 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"public static \" + x1 + \" \" + x2 + \"(\" + x3 + \")\" + x4; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(4/*MethodDecl*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-5)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 4: // MethodDecl ::= type MAIN IDENTIFIER LPAREN FormalParams RPAREN Block \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-4)).value;\n\t\tint x3left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).left;\n\t\tint x3right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).right;\n\t\tString x3 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-2)).value;\n\t\tint x4left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x4right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x4 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"public static void main (String[] args) throws Exception\" + x4; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(4/*MethodDecl*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-6)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 3: // Program ::= MethodDecl Program \n {\n String RESULT = null;\n\t\tint x1left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint x1right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString x1 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tint x2left = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint x2right = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x2 = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x1 + \" \" + x2; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(3/*Program*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 2: // Program ::= MethodDecl \n {\n String RESULT = null;\n\t\tint xleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint xright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString x = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = x; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(3/*Program*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 1: // $START ::= Program2 EOF \n {\n Object RESULT = null;\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).right;\n\t\tString start_val = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).value;\n\t\tRESULT = start_val;\n CUP$A4Parser$result = new java_cup.runtime.Symbol(0/*$START*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-1)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n /* ACCEPT */\n CUP$A4Parser$parser.done_parsing();\n return CUP$A4Parser$result;\n\n /*. . . . . . . . . . . . . . . . . . . .*/\n case 0: // Program2 ::= Program \n {\n String RESULT = null;\n\t\tint eleft = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left;\n\t\tint eright = ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right;\n\t\tString e = (String)((java_cup.runtime.Symbol) CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).value;\n\t\t RESULT = \"import java.io.*;\\npublic class A4 {\\n static BufferedReader $br;\\nstatic BufferedWriter $bw;\\nstatic double $tmp_real;\\n\" + e + \"}\"; \n CUP$A4Parser$result = new java_cup.runtime.Symbol(22/*Program2*/, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).left, ((java_cup.runtime.Symbol)CUP$A4Parser$stack.elementAt(CUP$A4Parser$top-0)).right, RESULT);\n }\n return CUP$A4Parser$result;\n\n /* . . . . . .*/\n default:\n throw new Exception(\n \"Invalid action number found in internal parse table\");\n\n }\n }", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "public OBOParser(OBOParserTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 6; i++) {\n jj_la1[i] = -1;\n }\n }", "public void testOTHER_ORDINARY2() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 22, \"chief\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "public interface BiomedicalParseSym {\n /* terminals */\n public static final int OR_OP = 6;\n public static final int String = 4;\n public static final int RPAREN = 3;\n public static final int error = 1;\n public static final int AND_OP = 5;\n public static final int NOT_OP = 7;\n public static final int LPAREN = 2;\n public static final int EOF = 0;\n}", "@Test\r\n\tpublic void typeParserTest() {\n\t\tvalidateTypeParse(\r\n\t\t\t\t\"(function that takes a number and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number and a (function that takes a number)\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number, a string, and an element_of_type_3\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\"(function that takes a number)\");\r\n\t\t// assertEquals(\"procedure\", cdLoopType(\"function\"));\r\n\t\t// validateTypeParse(\"(function that outputs a number)\");\r\n\t\t// validateTypeParse(\"procedure\");\r\n\t}", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:20:7: ( 'command' )\n // InternalStateMachine.g:20:9: 'command'\n {\n match(\"command\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRANGE_OR_INT() throws RecognitionException {\n try {\n int _type = RANGE_OR_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:5: ( ( INT '..' )=> INT | ( INT '.' NAME )=> INT | ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT | INT )\n int alt12=4;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='0' && LA12_0<='9')) ) {\n int LA12_1 = input.LA(2);\n\n if ( ((LA12_1>='0' && LA12_1<='9')) && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (LA12_1=='.') && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (synpred1_Binding()) ) {\n alt12=1;\n }\n else if ( (synpred2_Binding()) ) {\n alt12=2;\n }\n else if ( (true) ) {\n alt12=4;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 1, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 0, input);\n\n throw nvae;\n }\n switch (alt12) {\n case 1 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:9: ( INT '..' )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 2 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2955:7: ( INT '.' NAME )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 3 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2956:9: ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT\n {\n mFLOAT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = FLOAT; \n }\n\n }\n break;\n case 4 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2963:9: INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n\n }\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "public void testOTHER_ORDINARY1() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 21, \"base\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "public static void main(String[] args) {\r\n\r\n\tAlternation a = new Alternation();\r\n\t\r\n\ta.add(new Literal(\"steaming\"));\r\n\ta.add(new Literal(\"hot\"));\r\n\r\n\tRepetition adjectives = new Repetition(a);\r\n\r\n\tTokenAssembly ta = \r\n\t\tnew TokenAssembly(\"hot hot steaming hot coffee\");\r\n\t\r\n\tSystem.out.println(adjectives.bestMatch(ta));\r\n}", "@Test\r\n\tpublic void testInvalid02() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid02\");\r\n\t}", "Token match(Kind... kinds) throws SyntaxException {\r\n\t\tToken tmp = t;\r\n\t\tif (isKind(kinds)) {\r\n\t\t\tconsume();\r\n\t\t\treturn tmp;\r\n\t\t}\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tfor (Kind kind1 : kinds) {\r\n\t\t\tsb.append(kind1).append(kind1).append(\" \");\r\n\t\t}\r\n\t\terror(kinds);\r\n\t\treturn null; // unreachable\r\n\t}", "public abstract void match(ReaderBuffer buffer, TokenMatch match)\n throws IOException;", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Override ASTSeq parse_impl(Exec E) {\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `from` argument.\");\n _from = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `from` expected to be a number.\");\n }\n // Get the to\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `to` argument.\");\n _to = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `to` expected to be a number.\");\n }\n // Get the by\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `by` argument.\");\n _by = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `by` expected to be a number.\");\n }\n\n if( _from >= _to ) throw new IllegalArgumentException(\"`from` >= `to`: \" + _from + \">=\" + _to);\n if( _by <= 0 ) throw new IllegalArgumentException(\"`by` must be >0: \" + _by + \" <=0\");\n\n E.eatEnd(); // eat the ending ')'\n // Finish the rest\n ASTSeq res = (ASTSeq) clone();\n res._asts = new AST[]{}; // in reverse order so they appear correctly on the stack.\n return res;\n }", "public void testOTHER_ORDINARY4() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 24, \"pale\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "NextDeclRule createNextDeclRule();", "public final void insn_format21t() throws RecognitionException {\n CommonTree INSTRUCTION_FORMAT21t135 = null;\n CommonTree REGISTER136 = null;\n Label label_ref137 = null;\n\n try {\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:889:3: ( ^( I_STATEMENT_FORMAT21t INSTRUCTION_FORMAT21t REGISTER label_ref ) )\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:890:5: ^( I_STATEMENT_FORMAT21t INSTRUCTION_FORMAT21t REGISTER label_ref )\n {\n match(input, I_STATEMENT_FORMAT21t, FOLLOW_I_STATEMENT_FORMAT21t_in_insn_format21t2405);\n match(input, Token.DOWN, null);\n INSTRUCTION_FORMAT21t135 = (CommonTree) match(input, INSTRUCTION_FORMAT21t, FOLLOW_INSTRUCTION_FORMAT21t_in_insn_format21t2407);\n REGISTER136 = (CommonTree) match(input, REGISTER, FOLLOW_REGISTER_in_insn_format21t2409);\n pushFollow(FOLLOW_label_ref_in_insn_format21t2411);\n label_ref137 = label_ref();\n state._fsp--;\n\n match(input, Token.UP, null);\n\n\n Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT21t135 != null ? INSTRUCTION_FORMAT21t135.getText() : null));\n short regA = parseRegister_byte((REGISTER136 != null ? REGISTER136.getText() : null));\n\n method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21t(opcode, regA, label_ref137));\n\n }\n\n } catch (RecognitionException re) {\n reportError(re);\n recover(input, re);\n } finally {\n // do for sure before leaving\n }\n }", "@Test(timeout = 4000)\n public void test120() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"#OPh7\");\n Token token0 = xPathLexer0.whitespace();\n assertEquals((-2), token0.getTokenType());\n assertEquals(\"\", token0.getTokenText());\n \n Token token1 = xPathLexer0.not();\n assertEquals(\"O\", token1.getTokenText());\n assertEquals(23, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(\"Ph7\", token2.getTokenText());\n assertEquals(15, token2.getTokenType());\n }", "final public LogicalPlan Parse() throws ParseException {\n /*@bgen(jjtree) Parse */\n SimpleNode jjtn000 = new SimpleNode(JJTPARSE);\n boolean jjtc000 = true;\n jjtree.openNodeScope(jjtn000);LogicalOperator root = null;\n Token t1;\n Token t2;\n LogicalPlan lp = new LogicalPlan();\n log.trace(\"Entering Parse\");\n try {\n if (jj_2_1(3)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n t2 = jj_consume_token(IDENTIFIER);\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case AS:\n jj_consume_token(AS);\n jj_consume_token(80);\n TupleSchema();\n jj_consume_token(81);\n break;\n default:\n jj_la1[0] = jj_gen;\n ;\n }\n jj_consume_token(82);\n {if (true) throw new ParseException(\n \"Currently PIG does not support assigning an existing relation (\" + t1.image + \") to another alias (\" + t2.image + \")\");}\n } else if (jj_2_2(2)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n root = Expr(lp);\n jj_consume_token(82);\n root.setAlias(t1.image);\n addAlias(t1.image, root);\n pigContext.setLastAlias(t1.image);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case DEFINE:\n case LOAD:\n case FILTER:\n case FOREACH:\n case ORDER:\n case DISTINCT:\n case COGROUP:\n case JOIN:\n case CROSS:\n case UNION:\n case GROUP:\n case STREAM:\n case STORE:\n case LIMIT:\n case SAMPLE:\n case IDENTIFIER:\n case 80:\n root = Expr(lp);\n jj_consume_token(82);\n break;\n case SPLIT:\n jj_consume_token(SPLIT);\n root = SplitClause(lp);\n jj_consume_token(82);\n break;\n default:\n jj_la1[1] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n jjtree.closeNodeScope(jjtn000, true);\n jjtc000 = false;\n if(null != root) {\n log.debug(\"Adding \" + root.getAlias() + \" \" + root + \" to the lookup table \" + aliases);\n\n //Translate all the project(*) leaves in the plan to a sequence of projections\n ProjectStarTranslator translate = new ProjectStarTranslator(lp);\n translate.visit();\n\n addLogicalPlan(root, lp);\n\n try {\n log.debug(\"Root: \" + root.getClass().getName() + \" schema: \" + root.getSchema());\n } catch(FrontendException fee) {\n ParseException pe = new ParseException(fee.getMessage());\n pe.initCause(fee);\n {if (true) throw pe;}\n }\n }\n\n ArrayList<LogicalOperator> roots = new ArrayList<LogicalOperator>(lp.getRoots().size());\n for(LogicalOperator op: lp.getRoots()) {\n roots.add(op);\n }\n\n Map<LogicalOperator, Boolean> rootProcessed = new HashMap<LogicalOperator, Boolean>();\n for(LogicalOperator op: roots) {\n //At this point we have a logical plan for the pig statement\n //In order to construct the entire logical plan we need to traverse\n //each root and get the logical plan it belongs to. From each of those\n //plans we need the predecessors of the root of the current logical plan\n //and so on. This is a computationally intensive operatton but should\n //be fine as its restricted to the parser\n\n LogicalPlan rootPlan = aliases.get(op);\n if(null != rootPlan) {\n attachPlan(lp, op, rootPlan, rootProcessed);\n rootProcessed.put(op, true);\n }\n }\n\n log.trace(\"Exiting Parse\");\n {if (true) return lp;}\n } catch (Throwable jjte000) {\n if (jjtc000) {\n jjtree.clearNodeScope(jjtn000);\n jjtc000 = false;\n } else {\n jjtree.popNode();\n }\n if (jjte000 instanceof RuntimeException) {\n {if (true) throw (RuntimeException)jjte000;}\n }\n if (jjte000 instanceof ParseException) {\n {if (true) throw (ParseException)jjte000;}\n }\n {if (true) throw (Error)jjte000;}\n } finally {\n if (jjtc000) {\n jjtree.closeNodeScope(jjtn000, true);\n }\n }\n throw new Error(\"Missing return statement in function\");\n }", "public static void main(String [] args) {\n List<Ast.Param> pl = new ArrayList<Ast.Param>(); // empty param list\n List<Ast.VarDecl> vl = new ArrayList<Ast.VarDecl>(); // empty var list\n List<Ast.Stmt> sl = new ArrayList<Ast.Stmt>(); // empty stmt list\n\n // Construct a print stmt and add it to stmt list\n Ast.Exp arg = new Ast.StrLit(\"Hello World!\"); // create an arg\n Ast.Stmt s = new Ast.Print(arg); // create a print stmt\n sl.add(s); // add stmt to list\n \n // Construct a MethodDecl ---\n // Ast.MethodDecl(Ast.Type rt, String m, List<Ast.Param> pl, \n // List<Ast.VarDecl> vl, List<Ast.Stmt> sl)\n Ast.MethodDecl md = new Ast.MethodDecl(null, \t// null represents 'void'\n\t\t\t\t\t \"main\",\t// method's name\n\t\t\t\t\t pl, \t\t// formal params\n\t\t\t\t\t vl, \t\t// local var decls\n\t\t\t\t\t sl); \t// method body\n List<Ast.MethodDecl> ml = new ArrayList<Ast.MethodDecl>();\n ml.add(md);\n\n // Construct a ClassDecl ---\n // Ast.ClassDecl(String nm, String pnm, \n // List<Ast.VarDecl> vl, List<Ast.MethodDecl> ml)\n Ast.ClassDecl cd = new Ast.ClassDecl(\"Hello\",\t// class name\n\t\t\t\t\t null, \t\t// parent's name\n\t\t\t\t\t vl, \t\t// field decls \n\t\t\t\t\t ml); \t\t// method decls\n List<Ast.ClassDecl> cl = new ArrayList<Ast.ClassDecl>();\n cl.add(cd);\n\n // Construct a Program ---\n // Ast.Program(List<Ast.ClassDecl> cl)\n Ast.Program p = new Ast.Program(cl); \t// create the whole AST\n System.out.print(p); \t\t\t// dump out the AST\n }", "@Test(timeout = 4000)\n public void test003() throws Throwable {\n StringReader stringReader0 = new StringReader(\"void\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.MoreLexicalActions();\n }", "final public IASTLiteralTextNode Argument() throws ParseException {\r\n IASTLiteralTextNode node = null;\r\n Token lastToken = null;\r\n Token equalToken = null;\r\n Token firstToken = null;\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case INT:\r\n firstToken = jj_consume_token(INT);\r\n if (jj_2_3(2147483647)) {\r\n equalToken = jj_consume_token(EQUAL);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case MINUS:\r\n jj_consume_token(MINUS);\r\n break;\r\n default:\r\n jj_la1[16] = jj_gen;\r\n ;\r\n }\r\n lastToken = jj_consume_token(INT);\r\n } else {\r\n ;\r\n }\r\n if (equalToken == null) {\r\n lastToken = firstToken;\r\n }\r\n break;\r\n case ASTERISK:\r\n case WORD:\r\n case STRING:\r\n case PACKAGE_OPTION:\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ASTERISK:\r\n firstToken = jj_consume_token(ASTERISK);\r\n break;\r\n case PACKAGE_OPTION:\r\n firstToken = jj_consume_token(PACKAGE_OPTION);\r\n break;\r\n case WORD:\r\n firstToken = jj_consume_token(WORD);\r\n break;\r\n case STRING:\r\n firstToken = jj_consume_token(STRING);\r\n break;\r\n default:\r\n jj_la1[17] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n lastToken = firstToken;\r\n break;\r\n default:\r\n jj_la1[18] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n node = getRawLiteralTextNodeSpanning(firstToken, lastToken);\r\n {if (true) return node;}\r\n throw new Error(\"Missing return statement in function\");\r\n }", "final public void basicCommand() throws ParseException {\n if (jj_2_75(4)) {\n if (jj_2_55(4)) {\n jj_consume_token(MOVE);\n numero();\n } else if (jj_2_56(4)) {\n jj_consume_token(RIGHT);\n numero();\n } else if (jj_2_57(4)) {\n jj_consume_token(LEFT);\n numero();\n } else if (jj_2_58(4)) {\n jj_consume_token(ROTATE);\n numero();\n } else if (jj_2_59(4)) {\n jj_consume_token(DROP);\n numero();\n } else if (jj_2_60(4)) {\n jj_consume_token(FREE);\n numero();\n } else if (jj_2_61(4)) {\n jj_consume_token(PICK);\n numero();\n } else if (jj_2_62(4)) {\n jj_consume_token(POP);\n numero();\n } else if (jj_2_63(4)) {\n jj_consume_token(BLOCKEDP);\n } else if (jj_2_64(4)) {\n jj_consume_token(NOP);\n } else if (jj_2_65(4)) {\n jj_consume_token(LOOK);\n if (jj_2_49(4)) {\n jj_consume_token(N);\n } else if (jj_2_50(4)) {\n jj_consume_token(E);\n } else if (jj_2_51(4)) {\n jj_consume_token(W);\n } else if (jj_2_52(4)) {\n jj_consume_token(S);\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n } else if (jj_2_66(4)) {\n jj_consume_token(CHECK);\n if (jj_2_53(4)) {\n jj_consume_token(C);\n } else if (jj_2_54(4)) {\n jj_consume_token(B);\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n numero();\n } else if (jj_2_67(4)) {\n block();\n } else if (jj_2_68(4)) {\n repeat();\n } else if (jj_2_69(4)) {\n conditional();\n } else if (jj_2_70(4)) {\n define();\n } else if (jj_2_71(4)) {\n function();\n } else if (jj_2_72(4)) {\n funcall();\n } else if (jj_2_73(4)) {\n varcall();\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n } else {\n label_13:\n while (true) {\n if (jj_2_74(4)) {\n ;\n } else {\n break label_13;\n }\n jj_consume_token(34);\n }\n }\n }", "public void testOF2() throws Exception {\n\t\tObject retval = execLexer(\"OF\", 230, \"or\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"OF\", expecting, actual);\n\t}", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:19:7: ( 'the' )\n // InternalReqLNG.g:19:9: 'the'\n {\n match(\"the\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "static void match(TokenType ttype) throws IOException {\n if(ttype == curr_type) {\n getToken();\n }\n else {\n cout.println(\"Match Error: \" + ttype);\n System.exit(1);\n }\n }", "public static void main(String[] args) {\n\t\tIreader reader = new FileReader();\n\t\tTokens tokens = new Tokens();\n\t\tString s = \"\";\n\t\ttry {\n\t\t\ts = reader.readFile(\"Data/code.txt\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tArrayList<Token> result = new ArrayList<>(), found = new ArrayList<>();\n\t\tfor (Token token : tokens.tokens) {\n\t\t\tfound = token.validate_2(s);\n\t\t\tif (!found.isEmpty()) {\n\t\t\t\tresult.addAll(found);\n\t\t\t\t//System.out.println(found);\n\t\t\t}\n\t\t}\n\t\t//System.out.println(result);\n\t\tCollections.sort(result, Comparator.comparing(Token::getStartpos));\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tfor (int j = i + 1; j < result.size(); j++) {\n\t\t\t\tif (result.get(i).getStartpos() == result.get(j).getStartpos()) {\n\t\t\t\t\tif (result.get(j).getClassName().equals(\"ID\")) {\n\t\t\t\t\t\tresult.remove(j);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tfor (int j = i + 1; j < result.size(); j++) {\n\n\t\t\t\tif (result.get(i).getStartpos() <= result.get(j).getStartpos()\n\t\t\t\t\t\t&& result.get(i).getEndpos() >= result.get(j).getEndpos()) {\n\t\t\t\t\tif(result.get(j).getClassName().equals(\"DOT\")&&\n\t\t\t\t\t result.get(j-1).getClassName().equals(\"FLOAT\")&&\n\t\t\t\t\t result.get(j+1).getClassName().equals(\"INT_LITERAL\")) {\n\t\t\t\t\t\tresult.remove(j-1);\n\t\t\t\t\t\tj--;\n\t\t\t\t\t\tcontinue;\n\n\t\t\t\t\t}\t\t\t\t\t\t\n\t\t\t\t\tresult.remove(j);\n\t\t\t\t\tj--;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t//\tSystem.out.println(result);\n\t\tErrorHandler errorhandler = new ErrorHandler(s,result);\n\t\terrorhandler.printError();\n\t\ttry {\n\t\t\tWriter.writeTokens(result, \"Data/output.txt\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "public final void mT__21() throws RecognitionException {\r\n try {\r\n int _type = T__21;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:12:7: ( 'role' )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:12:9: 'role'\r\n {\r\n match(\"role\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "void declaration() {\n\t\tString theToken = currentToken();\r\n\r\n\t\tif (theToken.equals(\"int\") || theToken.equals(\"void\")) {\r\n\t\t\ttypeSpeci();\r\n\t\t\taccept(\"ID\");\r\n\t\t\ttheToken = currentToken();\r\n\t\t\tif (theToken.equals(\";\") || theToken.equals(\"[\"))\r\n\t\t\t\tvarDec();\r\n\r\n\t\t\t// if int ID ( param ) compoundStatment\r\n\t\t\telse if (theToken.equals(\"(\"))\r\n\t\t\t\tfunDec();\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\t\t\treturn;\r\n\t}", "@Test(timeout = 4000)\n public void test013() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.getPreviousToken();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(18, token0.getTokenType());\n }", "public BasicParser(BasicParserTokenManager tm) {\n\t token_source = tm;\n\t token = new Token();\n\t jj_ntk = -1;\n\t jj_gen = 0;\n\t for (int i = 0; i < 13; i++) jj_la1[i] = -1;\n }", "public final void mT__20() throws RecognitionException {\n try {\n int _type = T__20;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:18:7: ( 'TEST' )\n // InternalDSL.g:18:9: 'TEST'\n {\n match(\"TEST\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }" ]
[ "0.58458567", "0.5664734", "0.56173474", "0.5455491", "0.5440169", "0.53954077", "0.53456897", "0.53419816", "0.53097767", "0.52019185", "0.51900905", "0.5097528", "0.50892603", "0.50891834", "0.5045177", "0.50133413", "0.5003954", "0.4964618", "0.49481452", "0.49446788", "0.49295285", "0.49283984", "0.4921163", "0.49117985", "0.49031344", "0.48754734", "0.4873113", "0.48717794", "0.48447204", "0.48406628", "0.48405316", "0.4839465", "0.48385802", "0.48349416", "0.48315147", "0.48252356", "0.4821627", "0.48179203", "0.48118266", "0.479634", "0.47881564", "0.4785532", "0.47800884", "0.4778732", "0.47697955", "0.47666308", "0.47636285", "0.47470766", "0.4739142", "0.47280422", "0.47227073", "0.47121865", "0.47097495", "0.47079605", "0.47022465", "0.4697205", "0.46804827", "0.46637997", "0.46627867", "0.46553922", "0.46411595", "0.4637881", "0.46377587", "0.4630196", "0.46258911", "0.46210995", "0.46202153", "0.4604598", "0.45941147", "0.4587153", "0.45854664", "0.45776874", "0.4570584", "0.45686916", "0.45578077", "0.45530143", "0.45498258", "0.45458892", "0.4545274", "0.45449093", "0.4540715", "0.4537956", "0.45283782", "0.4526096", "0.45211765", "0.45178986", "0.45143703", "0.45142677", "0.4506397", "0.4501485", "0.4499324", "0.44970304", "0.44929123", "0.44917962", "0.44895068", "0.44884387", "0.4480323", "0.44786373", "0.4478423", "0.44772023", "0.44696558" ]
0.0
-1
$ANTLR end "T__21" $ANTLR start "T__22"
public final void mT__22() throws RecognitionException { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:20:7: ( 'ON_FAIL' ) // InternalDSL.g:20:9: 'ON_FAIL' { match("ON_FAIL"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:19:7: ( ':' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:19:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "@Override ASTSeq parse_impl(Exec E) {\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `from` argument.\");\n _from = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `from` expected to be a number.\");\n }\n // Get the to\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `to` argument.\");\n _to = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `to` expected to be a number.\");\n }\n // Get the by\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `by` argument.\");\n _by = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `by` expected to be a number.\");\n }\n\n if( _from >= _to ) throw new IllegalArgumentException(\"`from` >= `to`: \" + _from + \">=\" + _to);\n if( _by <= 0 ) throw new IllegalArgumentException(\"`by` must be >0: \" + _by + \" <=0\");\n\n E.eatEnd(); // eat the ending ')'\n // Finish the rest\n ASTSeq res = (ASTSeq) clone();\n res._asts = new AST[]{}; // in reverse order so they appear correctly on the stack.\n return res;\n }", "private void parseStmt() throws IOException, FSException,RetException {\n\n\n switch(tok.ttype) {\n\n case LexAnn.TT_DEFINT:\n case LexAnn.TT_DEFSTRING:\n case LexAnn.TT_DEFDOUBLE:\n case LexAnn.TT_DEFOBJECT: {\n parseVarDef();\n break;\n }\n\n case LexAnn.TT_IF: {\n parseIf();\n break;\n }\n case LexAnn.TT_WHILE: {\n parseWhile();\n break;\n }\n case LexAnn.TT_RETURN: {\n parseReturn();\n break;\n }\n case LexAnn.TT_DEFFUNC: {\n parseFunctionDef();\n break;\n }\n case LexAnn.TT_EDEFFUNC: {\n parseFunctionEnd();\n break;\n }\n case LexAnn.TT_EIF:\n throw new FSException(\"unexpected endif\");\n case LexAnn.TT_EWHILE:\n throw new FSException(\"unexpected endwhile\");\n\n case LexAnn.TT_FUNC: {\n parseFunc();\n break;\n }\n case LexAnn.TT_ARRAY: {\n parseArrayAssign();\n break;\n }\n case LexAnn.TT_WORD: {\n parseAssign();\n break;\n }\n case LexAnn.TT_EOL: {\n tok.nextToken();\n break;\n }\n case LexAnn.TT_EOF: {\n // all done\n break;\n }\n default: {\n parseError(\"Expected identifier \"+tok);\n\n }\n }\n\n }", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "@Test\r\n\tpublic void testInvalid02() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid02\");\r\n\t}", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "@Test\r\n\tpublic void typeParserTest() {\n\t\tvalidateTypeParse(\r\n\t\t\t\t\"(function that takes a number and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number and a (function that takes a number)\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number, a string, and an element_of_type_3\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\"(function that takes a number)\");\r\n\t\t// assertEquals(\"procedure\", cdLoopType(\"function\"));\r\n\t\t// validateTypeParse(\"(function that outputs a number)\");\r\n\t\t// validateTypeParse(\"procedure\");\r\n\t}", "public final void mT__21() throws RecognitionException {\r\n try {\r\n int _type = T__21;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:18:7: ( '.-' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:18:9: '.-'\r\n {\r\n match(\".-\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public final void mT__22() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__22;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:13:7: ( '-' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:13:9: '-'\n\t\t\t{\n\t\t\tmatch('-'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mT__29() throws RecognitionException {\n try {\n int _type = T__29;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:27:7: ( 'fragment' )\n // InternalMyDsl.g:27:9: 'fragment'\n {\n match(\"fragment\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public R visit(MoveStmt n) {\n R _ret=null;\n simple_exp=0;\n // System.out.print(\"MOVE \");\n String s0 = (String)n.f0.accept(this);\n String s1 = (String)n.f1.accept(this);\n String s = new String();\n s=(\"MOVE \"+s1+\" \");\n simple_exp=0;\n String s2 = (String)n.f2.accept(this);\n s=s+(s2+\" \");\n return (R)s;\n }", "public final void mT__21() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__21;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:12:7: ( ',' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:12:9: ','\n\t\t\t{\n\t\t\tmatch(','); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:7: ( 'port: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:9: 'port: '\n {\n match(\"port: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private int parseWord(Token token, char[] buffer, int offset, int type){\nfromStart:\n for(int i=offset; i<buffer.length; ++i){\n for(int x=0; x < characters[type].length; ++x){\n if(buffer[i] == characters[type][x]){\n token.identifier += buffer[i];\n continue fromStart;\n }\n }\n // If it gets here, the character currently parsed isn't of the same type \n return i;\n }\n // Found end of file\n return offset+buffer.length;\n }", "public BindingLexer() {;}", "public void testOTHER_ORDINARY2() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 22, \"chief\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "final public LogicalPlan Parse() throws ParseException {\n /*@bgen(jjtree) Parse */\n SimpleNode jjtn000 = new SimpleNode(JJTPARSE);\n boolean jjtc000 = true;\n jjtree.openNodeScope(jjtn000);LogicalOperator root = null;\n Token t1;\n Token t2;\n LogicalPlan lp = new LogicalPlan();\n log.trace(\"Entering Parse\");\n try {\n if (jj_2_1(3)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n t2 = jj_consume_token(IDENTIFIER);\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case AS:\n jj_consume_token(AS);\n jj_consume_token(80);\n TupleSchema();\n jj_consume_token(81);\n break;\n default:\n jj_la1[0] = jj_gen;\n ;\n }\n jj_consume_token(82);\n {if (true) throw new ParseException(\n \"Currently PIG does not support assigning an existing relation (\" + t1.image + \") to another alias (\" + t2.image + \")\");}\n } else if (jj_2_2(2)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n root = Expr(lp);\n jj_consume_token(82);\n root.setAlias(t1.image);\n addAlias(t1.image, root);\n pigContext.setLastAlias(t1.image);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case DEFINE:\n case LOAD:\n case FILTER:\n case FOREACH:\n case ORDER:\n case DISTINCT:\n case COGROUP:\n case JOIN:\n case CROSS:\n case UNION:\n case GROUP:\n case STREAM:\n case STORE:\n case LIMIT:\n case SAMPLE:\n case IDENTIFIER:\n case 80:\n root = Expr(lp);\n jj_consume_token(82);\n break;\n case SPLIT:\n jj_consume_token(SPLIT);\n root = SplitClause(lp);\n jj_consume_token(82);\n break;\n default:\n jj_la1[1] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n jjtree.closeNodeScope(jjtn000, true);\n jjtc000 = false;\n if(null != root) {\n log.debug(\"Adding \" + root.getAlias() + \" \" + root + \" to the lookup table \" + aliases);\n\n //Translate all the project(*) leaves in the plan to a sequence of projections\n ProjectStarTranslator translate = new ProjectStarTranslator(lp);\n translate.visit();\n\n addLogicalPlan(root, lp);\n\n try {\n log.debug(\"Root: \" + root.getClass().getName() + \" schema: \" + root.getSchema());\n } catch(FrontendException fee) {\n ParseException pe = new ParseException(fee.getMessage());\n pe.initCause(fee);\n {if (true) throw pe;}\n }\n }\n\n ArrayList<LogicalOperator> roots = new ArrayList<LogicalOperator>(lp.getRoots().size());\n for(LogicalOperator op: lp.getRoots()) {\n roots.add(op);\n }\n\n Map<LogicalOperator, Boolean> rootProcessed = new HashMap<LogicalOperator, Boolean>();\n for(LogicalOperator op: roots) {\n //At this point we have a logical plan for the pig statement\n //In order to construct the entire logical plan we need to traverse\n //each root and get the logical plan it belongs to. From each of those\n //plans we need the predecessors of the root of the current logical plan\n //and so on. This is a computationally intensive operatton but should\n //be fine as its restricted to the parser\n\n LogicalPlan rootPlan = aliases.get(op);\n if(null != rootPlan) {\n attachPlan(lp, op, rootPlan, rootProcessed);\n rootProcessed.put(op, true);\n }\n }\n\n log.trace(\"Exiting Parse\");\n {if (true) return lp;}\n } catch (Throwable jjte000) {\n if (jjtc000) {\n jjtree.clearNodeScope(jjtn000);\n jjtc000 = false;\n } else {\n jjtree.popNode();\n }\n if (jjte000 instanceof RuntimeException) {\n {if (true) throw (RuntimeException)jjte000;}\n }\n if (jjte000 instanceof ParseException) {\n {if (true) throw (ParseException)jjte000;}\n }\n {if (true) throw (Error)jjte000;}\n } finally {\n if (jjtc000) {\n jjtree.closeNodeScope(jjtn000, true);\n }\n }\n throw new Error(\"Missing return statement in function\");\n }", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:19:7: ( '<-' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:19:9: '<-'\n {\n match(\"<-\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "AstroArg unpack(Astro litChars);", "public static void parse()\r\n {\r\n int initial;\r\n initial=expression();\r\n stateList.get(0).setNext1(initial);\r\n stateList.get(0).setNext2(initial);\r\n if(index<=expression.length()-1)\r\n {\r\n error();\r\n }\r\n else\r\n {\r\n state st=new state(state,\"END\",-1,-1);\r\n stateList.add(st);\r\n }\r\n }", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:20:7: ( 'The' )\n // InternalReqLNG.g:20:9: 'The'\n {\n match(\"The\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "Object parse(int from,int to) throws IOException, FSException {\n\n // nothing to do when starting beond the code end\n if (code.lineCount()<=from) return null;\n\n\n maxLine=to;\n code.setCurLine(from);\n tok=new LexAnn(code.getLine());\n getNextToken();\n while (tok.ttype!=LexAnn.TT_EOF) {\n\n //a script must always start with a word...\n\n try {\n parseStmt();\n } catch (RetException e) {\n return retVal;\n }\n\n getNextToken();\n }\n\n return null;\n\n\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:23:7: ( 'end' )\n // InternalStateMachine.g:23:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "final public IASTLiteralTextNode Argument() throws ParseException {\r\n IASTLiteralTextNode node = null;\r\n Token lastToken = null;\r\n Token equalToken = null;\r\n Token firstToken = null;\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case INT:\r\n firstToken = jj_consume_token(INT);\r\n if (jj_2_3(2147483647)) {\r\n equalToken = jj_consume_token(EQUAL);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case MINUS:\r\n jj_consume_token(MINUS);\r\n break;\r\n default:\r\n jj_la1[16] = jj_gen;\r\n ;\r\n }\r\n lastToken = jj_consume_token(INT);\r\n } else {\r\n ;\r\n }\r\n if (equalToken == null) {\r\n lastToken = firstToken;\r\n }\r\n break;\r\n case ASTERISK:\r\n case WORD:\r\n case STRING:\r\n case PACKAGE_OPTION:\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ASTERISK:\r\n firstToken = jj_consume_token(ASTERISK);\r\n break;\r\n case PACKAGE_OPTION:\r\n firstToken = jj_consume_token(PACKAGE_OPTION);\r\n break;\r\n case WORD:\r\n firstToken = jj_consume_token(WORD);\r\n break;\r\n case STRING:\r\n firstToken = jj_consume_token(STRING);\r\n break;\r\n default:\r\n jj_la1[17] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n lastToken = firstToken;\r\n break;\r\n default:\r\n jj_la1[18] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n node = getRawLiteralTextNodeSpanning(firstToken, lastToken);\r\n {if (true) return node;}\r\n throw new Error(\"Missing return statement in function\");\r\n }", "public final void mRANGE_OR_INT() throws RecognitionException {\n try {\n int _type = RANGE_OR_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:5: ( ( INT '..' )=> INT | ( INT '.' NAME )=> INT | ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT | INT )\n int alt12=4;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='0' && LA12_0<='9')) ) {\n int LA12_1 = input.LA(2);\n\n if ( ((LA12_1>='0' && LA12_1<='9')) && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (LA12_1=='.') && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (synpred1_Binding()) ) {\n alt12=1;\n }\n else if ( (synpred2_Binding()) ) {\n alt12=2;\n }\n else if ( (true) ) {\n alt12=4;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 1, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 0, input);\n\n throw nvae;\n }\n switch (alt12) {\n case 1 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:9: ( INT '..' )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 2 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2955:7: ( INT '.' NAME )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 3 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2956:9: ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT\n {\n mFLOAT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = FLOAT; \n }\n\n }\n break;\n case 4 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2963:9: INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n\n }\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "boolean tokenCanEnd(Token token)\r\n {\r\n if (token == null)\r\n return false;\r\n int type = token.getType();\r\n switch (type) {\r\n \tcase MExprANTLRParserTokenTypes.NOT:\r\n \tcase MExprANTLRParserTokenTypes.NOTNOT:\r\n case MExprANTLRParserTokenTypes.RBRACE:\r\n case MExprANTLRParserTokenTypes.RBRACKET:\r\n case MExprANTLRParserTokenTypes.RPAREN:\r\n case MExprANTLRParserTokenTypes.INT: \r\n case MExprANTLRParserTokenTypes.REAL:\r\n case MExprANTLRParserTokenTypes.ID:\r\n case MExprANTLRParserTokenTypes.NULLID:\r\n case MExprANTLRParserTokenTypes.POSTFIXID:\r\n case MExprANTLRParserTokenTypes.STRING:\r\n case MExprANTLRParserTokenTypes.BLANK1:\r\n case MExprANTLRParserTokenTypes.IDBLANK1:\r\n case MExprANTLRParserTokenTypes.BLANKID1:\r\n case MExprANTLRParserTokenTypes.IDBLANKID1:\r\n case MExprANTLRParserTokenTypes.BLANK2:\r\n case MExprANTLRParserTokenTypes.IDBLANK2:\r\n case MExprANTLRParserTokenTypes.BLANKID2:\r\n case MExprANTLRParserTokenTypes.IDBLANKID2:\r\n case MExprANTLRParserTokenTypes.BLANK3:\r\n case MExprANTLRParserTokenTypes.IDBLANK3:\r\n case MExprANTLRParserTokenTypes.BLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKDOT:\r\n case MExprANTLRParserTokenTypes.BLANKDOT:\r\n case MExprANTLRParserTokenTypes.SLOT: \r\n case MExprANTLRParserTokenTypes.TYPESETEXPR:\r\n case MExprANTLRParserTokenTypes.GET:\r\n case MExprANTLRParserTokenTypes.PUT:\r\n case MExprANTLRParserTokenTypes.PERCENT:\r\n case MExprANTLRParserTokenTypes.PERCENTNUMBER:\r\n \t return true;\r\n }\r\n\r\n return false;\r\n }", "@Test\r\n\tpublic void testInvalid03() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid03\");\r\n\t}", "Token next();", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "TupleLiteralExp createTupleLiteralExp();", "Token match(Kind... kinds) throws SyntaxException {\r\n\t\tToken tmp = t;\r\n\t\tif (isKind(kinds)) {\r\n\t\t\tconsume();\r\n\t\t\treturn tmp;\r\n\t\t}\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tfor (Kind kind1 : kinds) {\r\n\t\t\tsb.append(kind1).append(kind1).append(\" \");\r\n\t\t}\r\n\t\terror(kinds);\r\n\t\treturn null; // unreachable\r\n\t}", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "public final void synpred47_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_typePar_2_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: (otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5\n {\n otherlv_1=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_synpred47_InternalMitraParser3552); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1892:1: ( (lv_typePar_2_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1894:3: lv_typePar_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCollectionTypeAccess().getTypeParTypeParserRuleCall_1_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred47_InternalMitraParser3572);\n lv_typePar_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_synpred47_InternalMitraParser3585); if (state.failed) return ;\n\n }\n }", "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "public final void mT__23() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__23;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('<');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "@Test\r\n\tpublic void testInvalid04() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid04\");\r\n\t}", "public interface BiomedicalParseSym {\n /* terminals */\n public static final int OR_OP = 6;\n public static final int String = 4;\n public static final int RPAREN = 3;\n public static final int error = 1;\n public static final int AND_OP = 5;\n public static final int NOT_OP = 7;\n public static final int LPAREN = 2;\n public static final int EOF = 0;\n}", "public final ANTLRv3Parser.atom_return atom() throws RecognitionException {\r\n ANTLRv3Parser.atom_return retval = new ANTLRv3Parser.atom_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token op=null;\r\n Token RULE_REF110=null;\r\n Token ARG_ACTION111=null;\r\n ANTLRv3Parser.terminal_return terminal107 =null;\r\n\r\n ANTLRv3Parser.range_return range108 =null;\r\n\r\n ANTLRv3Parser.notSet_return notSet109 =null;\r\n\r\n\r\n CommonTree op_tree=null;\r\n CommonTree RULE_REF110_tree=null;\r\n CommonTree ARG_ACTION111_tree=null;\r\n RewriteRuleTokenStream stream_BANG=new RewriteRuleTokenStream(adaptor,\"token BANG\");\r\n RewriteRuleTokenStream stream_ROOT=new RewriteRuleTokenStream(adaptor,\"token ROOT\");\r\n RewriteRuleTokenStream stream_RULE_REF=new RewriteRuleTokenStream(adaptor,\"token RULE_REF\");\r\n RewriteRuleTokenStream stream_ARG_ACTION=new RewriteRuleTokenStream(adaptor,\"token ARG_ACTION\");\r\n RewriteRuleSubtreeStream stream_range=new RewriteRuleSubtreeStream(adaptor,\"rule range\");\r\n RewriteRuleSubtreeStream stream_notSet=new RewriteRuleSubtreeStream(adaptor,\"rule notSet\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:255:5: ( terminal | range ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range ) | notSet ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet ) | RULE_REF ( ARG_ACTION )? ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) ) )\r\n int alt54=4;\r\n switch ( input.LA(1) ) {\r\n case CHAR_LITERAL:\r\n {\r\n int LA54_1 = input.LA(2);\r\n\r\n if ( (LA54_1==RANGE) ) {\r\n alt54=2;\r\n }\r\n else if ( (LA54_1==ACTION||LA54_1==BANG||LA54_1==CHAR_LITERAL||(LA54_1 >= REWRITE && LA54_1 <= ROOT)||LA54_1==RULE_REF||LA54_1==SEMPRED||LA54_1==STRING_LITERAL||(LA54_1 >= TOKEN_REF && LA54_1 <= TREE_BEGIN)||(LA54_1 >= 68 && LA54_1 <= 71)||LA54_1==73||(LA54_1 >= 76 && LA54_1 <= 77)||LA54_1==80||LA54_1==91||LA54_1==93) ) {\r\n alt54=1;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 54, 1, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n }\r\n break;\r\n case STRING_LITERAL:\r\n case TOKEN_REF:\r\n case 73:\r\n {\r\n alt54=1;\r\n }\r\n break;\r\n case 93:\r\n {\r\n alt54=3;\r\n }\r\n break;\r\n case RULE_REF:\r\n {\r\n alt54=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 54, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n\r\n switch (alt54) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:255:9: terminal\r\n {\r\n root_0 = (CommonTree)adaptor.nil();\r\n\r\n\r\n pushFollow(FOLLOW_terminal_in_atom1800);\r\n terminal107=terminal();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) adaptor.addChild(root_0, terminal107.getTree());\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:256:4: range ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range )\r\n {\r\n pushFollow(FOLLOW_range_in_atom1805);\r\n range108=range();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_range.add(range108.getTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:3: ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range )\r\n int alt48=2;\r\n int LA48_0 = input.LA(1);\r\n\r\n if ( (LA48_0==BANG||LA48_0==ROOT) ) {\r\n alt48=1;\r\n }\r\n else if ( (LA48_0==ACTION||LA48_0==CHAR_LITERAL||LA48_0==REWRITE||LA48_0==RULE_REF||LA48_0==SEMPRED||LA48_0==STRING_LITERAL||(LA48_0 >= TOKEN_REF && LA48_0 <= TREE_BEGIN)||(LA48_0 >= 68 && LA48_0 <= 71)||LA48_0==73||LA48_0==76||LA48_0==80||LA48_0==91||LA48_0==93) ) {\r\n alt48=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 48, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt48) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:5: (op= '^' |op= '!' )\r\n int alt47=2;\r\n int LA47_0 = input.LA(1);\r\n\r\n if ( (LA47_0==ROOT) ) {\r\n alt47=1;\r\n }\r\n else if ( (LA47_0==BANG) ) {\r\n alt47=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 47, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt47) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1815); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1819); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: range, op\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 257:21: -> ^( $op range )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:24: ^( $op range )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, stream_range.nextTree());\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:258:9: \r\n {\r\n // AST REWRITE\r\n // elements: range\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 258:9: -> range\r\n {\r\n adaptor.addChild(root_0, stream_range.nextTree());\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:260:7: notSet ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet )\r\n {\r\n pushFollow(FOLLOW_notSet_in_atom1853);\r\n notSet109=notSet();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_notSet.add(notSet109.getTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:3: ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet )\r\n int alt50=2;\r\n int LA50_0 = input.LA(1);\r\n\r\n if ( (LA50_0==BANG||LA50_0==ROOT) ) {\r\n alt50=1;\r\n }\r\n else if ( (LA50_0==ACTION||LA50_0==CHAR_LITERAL||LA50_0==REWRITE||LA50_0==RULE_REF||LA50_0==SEMPRED||LA50_0==STRING_LITERAL||(LA50_0 >= TOKEN_REF && LA50_0 <= TREE_BEGIN)||(LA50_0 >= 68 && LA50_0 <= 71)||LA50_0==73||LA50_0==76||LA50_0==80||LA50_0==91||LA50_0==93) ) {\r\n alt50=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 50, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt50) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:5: (op= '^' |op= '!' )\r\n int alt49=2;\r\n int LA49_0 = input.LA(1);\r\n\r\n if ( (LA49_0==ROOT) ) {\r\n alt49=1;\r\n }\r\n else if ( (LA49_0==BANG) ) {\r\n alt49=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 49, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt49) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1862); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1866); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: notSet, op\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 261:21: -> ^( $op notSet )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:24: ^( $op notSet )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, stream_notSet.nextTree());\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:262:9: \r\n {\r\n // AST REWRITE\r\n // elements: notSet\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 262:9: -> notSet\r\n {\r\n adaptor.addChild(root_0, stream_notSet.nextTree());\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:9: RULE_REF ( ARG_ACTION )? ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) )\r\n {\r\n RULE_REF110=(Token)match(input,RULE_REF,FOLLOW_RULE_REF_in_atom1902); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_RULE_REF.add(RULE_REF110);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:18: ( ARG_ACTION )?\r\n int alt51=2;\r\n int LA51_0 = input.LA(1);\r\n\r\n if ( (LA51_0==ARG_ACTION) ) {\r\n alt51=1;\r\n }\r\n switch (alt51) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:18: ARG_ACTION\r\n {\r\n ARG_ACTION111=(Token)match(input,ARG_ACTION,FOLLOW_ARG_ACTION_in_atom1904); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ARG_ACTION.add(ARG_ACTION111);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:3: ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) )\r\n int alt53=2;\r\n int LA53_0 = input.LA(1);\r\n\r\n if ( (LA53_0==BANG||LA53_0==ROOT) ) {\r\n alt53=1;\r\n }\r\n else if ( (LA53_0==ACTION||LA53_0==CHAR_LITERAL||LA53_0==REWRITE||LA53_0==RULE_REF||LA53_0==SEMPRED||LA53_0==STRING_LITERAL||(LA53_0 >= TOKEN_REF && LA53_0 <= TREE_BEGIN)||(LA53_0 >= 68 && LA53_0 <= 71)||LA53_0==73||LA53_0==76||LA53_0==80||LA53_0==91||LA53_0==93) ) {\r\n alt53=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 53, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt53) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:5: (op= '^' |op= '!' )\r\n int alt52=2;\r\n int LA52_0 = input.LA(1);\r\n\r\n if ( (LA52_0==ROOT) ) {\r\n alt52=1;\r\n }\r\n else if ( (LA52_0==BANG) ) {\r\n alt52=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 52, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt52) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1914); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1918); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: ARG_ACTION, op, RULE_REF\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 265:21: -> ^( $op RULE_REF ( ARG_ACTION )? )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:24: ^( $op RULE_REF ( ARG_ACTION )? )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, \r\n stream_RULE_REF.nextNode()\r\n );\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:39: ( ARG_ACTION )?\r\n if ( stream_ARG_ACTION.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_ARG_ACTION.nextNode()\r\n );\r\n\r\n }\r\n stream_ARG_ACTION.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:9: \r\n {\r\n // AST REWRITE\r\n // elements: ARG_ACTION, RULE_REF\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 266:9: -> ^( RULE_REF ( ARG_ACTION )? )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:12: ^( RULE_REF ( ARG_ACTION )? )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(\r\n stream_RULE_REF.nextNode()\r\n , root_1);\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:23: ( ARG_ACTION )?\r\n if ( stream_ARG_ACTION.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_ARG_ACTION.nextNode()\r\n );\r\n\r\n }\r\n stream_ARG_ACTION.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@Test\n\tpublic void test_ClassDeclarationLocalToMethodWithParameters2_Dec_1_Ref_0() {\n\t\tconfigureParser(\"public class Other { public void method(int x, long y) { class Foo{} } }\", \"Foo\", 1, 0);\n\t}", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "final public void parse() throws ParseException {\n\t\tToken x = null;\n\t\tjj_consume_token(20);\n\t\tgetColumns(true);\n\t\tjj_consume_token(REFER);\n\n\t\tx = jj_consume_token(ID);\n\t\tm_refcatalog = x.image;\n\t\tjj_consume_token(21);\n\t\tx = jj_consume_token(ID);\n\t\tm_reftable = x.image;\n\t\tjj_consume_token(20);\n\t\tgetColumns(false);\n\t\tgetActions();\n\t}", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "@Override\n\tpublic void notationDecl(String arg0, String arg1, String arg2)\n\t\t\tthrows SAXException {\n\n\t}", "@Test\r\n\tpublic void testInvalid09() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid09\");\r\n\t}", "public void visit(Literal literal) {}", "public static void main(String[] args) {\n\t\tIreader reader = new FileReader();\n\t\tTokens tokens = new Tokens();\n\t\tString s = \"\";\n\t\ttry {\n\t\t\ts = reader.readFile(\"Data/code.txt\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tArrayList<Token> result = new ArrayList<>(), found = new ArrayList<>();\n\t\tfor (Token token : tokens.tokens) {\n\t\t\tfound = token.validate_2(s);\n\t\t\tif (!found.isEmpty()) {\n\t\t\t\tresult.addAll(found);\n\t\t\t\t//System.out.println(found);\n\t\t\t}\n\t\t}\n\t\t//System.out.println(result);\n\t\tCollections.sort(result, Comparator.comparing(Token::getStartpos));\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tfor (int j = i + 1; j < result.size(); j++) {\n\t\t\t\tif (result.get(i).getStartpos() == result.get(j).getStartpos()) {\n\t\t\t\t\tif (result.get(j).getClassName().equals(\"ID\")) {\n\t\t\t\t\t\tresult.remove(j);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tfor (int j = i + 1; j < result.size(); j++) {\n\n\t\t\t\tif (result.get(i).getStartpos() <= result.get(j).getStartpos()\n\t\t\t\t\t\t&& result.get(i).getEndpos() >= result.get(j).getEndpos()) {\n\t\t\t\t\tif(result.get(j).getClassName().equals(\"DOT\")&&\n\t\t\t\t\t result.get(j-1).getClassName().equals(\"FLOAT\")&&\n\t\t\t\t\t result.get(j+1).getClassName().equals(\"INT_LITERAL\")) {\n\t\t\t\t\t\tresult.remove(j-1);\n\t\t\t\t\t\tj--;\n\t\t\t\t\t\tcontinue;\n\n\t\t\t\t\t}\t\t\t\t\t\t\n\t\t\t\t\tresult.remove(j);\n\t\t\t\t\tj--;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t//\tSystem.out.println(result);\n\t\tErrorHandler errorhandler = new ErrorHandler(s,result);\n\t\terrorhandler.printError();\n\t\ttry {\n\t\t\tWriter.writeTokens(result, \"Data/output.txt\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "public final void synpred3_Binding_fragment() throws RecognitionException { \n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2956:9: ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2956:11: INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' )\n {\n mINT(); if (state.failed) return ;\n match('.'); if (state.failed) return ;\n if ( (input.LA(1)>='\\u0000' && input.LA(1)<='-')||(input.LA(1)>='/' && input.LA(1)<='@')||(input.LA(1)>='[' && input.LA(1)<='^')||input.LA(1)=='`'||(input.LA(1)>='{' && input.LA(1)<='\\u00BF')||input.LA(1)=='\\u00D7'||input.LA(1)=='\\u00F7'||(input.LA(1)>='\\u0100' && input.LA(1)<='\\uFFFF') ) {\n input.consume();\n state.failed=false;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n }", "TupleLiteralPart createTupleLiteralPart();", "public void testOF2() throws Exception {\n\t\tObject retval = execLexer(\"OF\", 230, \"or\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"OF\", expecting, actual);\n\t}", "@Test\r\n\tpublic void testInvalid01() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid01\");\r\n\t}", "void declaration() {\n\t\tString theToken = currentToken();\r\n\r\n\t\tif (theToken.equals(\"int\") || theToken.equals(\"void\")) {\r\n\t\t\ttypeSpeci();\r\n\t\t\taccept(\"ID\");\r\n\t\t\ttheToken = currentToken();\r\n\t\t\tif (theToken.equals(\";\") || theToken.equals(\"[\"))\r\n\t\t\t\tvarDec();\r\n\r\n\t\t\t// if int ID ( param ) compoundStatment\r\n\t\t\telse if (theToken.equals(\"(\"))\r\n\t\t\t\tfunDec();\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\t\t\treturn;\r\n\t}", "<C, P> TupleLiteralExp<C, P> createTupleLiteralExp();", "public Snippet visit(DotIsLast n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this, argu);\n\t //return new Snippet(\"\", _ret.returnTemp+\".isLast()\", new X10Boolean(), false);\n\t return new Snippet(\"\", \"false\", new X10Boolean(), false);\n\t }", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "public void testOTHER_ORDINARY1() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 21, \"base\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "@Test\n public void testFromFollowedByQuery() throws Exception {\n final String text = \"rule X when Cheese() from $cheesery ?person( \\\"Mark\\\", 42; ) then end\";\n RuleDescr rule = ((RuleDescr) (parse(\"rule\", text)));\n TestCase.assertFalse(parser.getErrors().toString(), parser.hasErrors());\n PatternDescr pattern = ((PatternDescr) (getDescrs().get(0)));\n TestCase.assertEquals(\"Cheese\", pattern.getObjectType());\n TestCase.assertEquals(\"from $cheesery\", pattern.getSource().getText());\n TestCase.assertFalse(pattern.isQuery());\n pattern = ((PatternDescr) (getDescrs().get(1)));\n TestCase.assertEquals(\"person\", pattern.getObjectType());\n TestCase.assertTrue(pattern.isQuery());\n }", "public void testOTHER_ORDINARY4() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 24, \"pale\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "@Test\r\n\tpublic void testInvalid05() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid05\");\r\n\t}", "@Test\r\n\tpublic void testInvalid06() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid06\");\r\n\t}", "private void checkIntFragMat(Matcher m)\n {\n if (!m.find()) {\n throw new ParseException(\"wrong int fragment modeling language\");\n }\n }", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "public final void mT__22() throws RecognitionException {\n try {\n int _type = T__22;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:16:7: ( 'AS' )\n // InternalEsm.g:16:9: 'AS'\n {\n match(\"AS\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void testBEAST2() throws Exception {\n\t\tObject retval = execLexer(\"BEAST\", 161, \"lions\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"BEAST\", expecting, actual);\n\t}", "@Override\r\n public void visit(MoveStmt n, Graph argu) {\r\n n.f2.accept(this, argu);\r\n cur.addDef(Integer.parseInt(n.f1.f1.f0.tokenImage)); // Temp is defined\r\n argu.addStatement(cur, true);\r\n }", "public interface DefccConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int MODULE_TKN = 11;\n /** RegularExpression Id. */\n int CLASS_TKN = 12;\n /** RegularExpression Id. */\n int INCLUDE_TKN = 13;\n /** RegularExpression Id. */\n int BYTE_TKN = 14;\n /** RegularExpression Id. */\n int BOOLEAN_TKN = 15;\n /** RegularExpression Id. */\n int INT_TKN = 16;\n /** RegularExpression Id. */\n int LONG_TKN = 17;\n /** RegularExpression Id. */\n int FLOAT_TKN = 18;\n /** RegularExpression Id. */\n int DOUBLE_TKN = 19;\n /** RegularExpression Id. */\n int STRING_TKN = 20;\n /** RegularExpression Id. */\n int BUFFER_TKN = 21;\n /** RegularExpression Id. */\n int VECTOR_TKN = 22;\n /** RegularExpression Id. */\n int MAP_TKN = 23;\n /** RegularExpression Id. */\n int LBRACE_TKN = 24;\n /** RegularExpression Id. */\n int RBRACE_TKN = 25;\n /** RegularExpression Id. */\n int LT_TKN = 26;\n /** RegularExpression Id. */\n int GT_TKN = 27;\n /** RegularExpression Id. */\n int SEMICOLON_TKN = 28;\n /** RegularExpression Id. */\n int COMMA_TKN = 29;\n /** RegularExpression Id. */\n int DOT_TKN = 30;\n /** RegularExpression Id. */\n int CSTRING_TKN = 31;\n /** RegularExpression Id. */\n int IDENT_TKN = 32;\n /** RegularExpression Id. */\n int IDENT_TKN_W_DOT = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int WithinOneLineComment = 1;\n /** Lexical state. */\n int WithinMultiLineComment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"module\\\"\",\n \"\\\"class\\\"\",\n \"\\\"include\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"int\\\"\",\n \"\\\"long\\\"\",\n \"\\\"float\\\"\",\n \"\\\"double\\\"\",\n \"\\\"string\\\"\",\n \"\\\"buffer\\\"\",\n \"\\\"vector\\\"\",\n \"\\\"map\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CSTRING_TKN>\",\n \"<IDENT_TKN>\",\n \"<IDENT_TKN_W_DOT>\",\n };\n\n}", "public final void mT__22() throws RecognitionException {\n try {\n int _type = T__22;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:20:7: ( 'null' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:20:9: 'null'\n {\n match(\"null\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface Parser<T> {\n TripleExpression<T> parse(String expression) throws Exception;\n}", "String WHERE() { return yyline+\"/\"+yycolumn+\"(\"+yychar+\")\" ;}", "public interface QuotedL1Node {\n\n}", "public void endParsing();", "public final void mKEYWORD_22() throws RecognitionException {\n try {\n int _type = KEYWORD_22;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:39:12: ( ( 'S' | 's' ) ( 'E' | 'e' ) ( 'T' | 't' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:39:14: ( 'S' | 's' ) ( 'E' | 'e' ) ( 'T' | 't' )\n {\n if ( input.LA(1)=='S'||input.LA(1)=='s' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='E'||input.LA(1)=='e' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='T'||input.LA(1)=='t' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void ParseTokens() throws IOException\n\t{\t\n\t\tboolean result = isValidProgram();\n\t\tSystem.out.println(result);\n\t}", "public void testBODY_PART2() throws Exception {\n\t\tObject retval = execLexer(\"BODY_PART\", 154, \"armed\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"BODY_PART\", expecting, actual);\n\t}", "ASTMatch parse_impl(Exec E) {\n AST ary = E.parse();\n\n // The `table` arg\n AST a = E.parse();\n if( a instanceof ASTString ) _strsTable = new String[]{((ASTString)a)._s};\n else if( a instanceof ASTStringList ) _strsTable = ((ASTStringList)a)._s;\n else if( a instanceof ASTNum ) _dblsTable = new double[]{((ASTNum)a)._d};\n else if( a instanceof ASTDoubleList ) _dblsTable = ((ASTDoubleList)a)._d;\n else throw new IllegalArgumentException(\"`table` expected to be either a String or an slist. Got: \" + a.getClass());\n if(_strsTable!=null) Arrays.sort(_strsTable);\n else Arrays.sort(_dblsTable);\n\n // `nomatch` is just a number in case no match\n AST nm = E.parse();\n if( nm instanceof ASTNum ) _nomatch = ((ASTNum)nm)._d;\n else throw new IllegalArgumentException(\"Argument `nomatch` expected a number. Got: \" + nm.getClass());\n\n // drop the incomparables arg for now ...\n AST incomp = E.parse();\n\n E.eatEnd(); // eat the ending ')'\n ASTMatch res = (ASTMatch) clone();\n res._asts = new AST[]{ary};\n return res;\n }", "public final void mT__22() throws RecognitionException {\n try {\n int _type = T__22;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // PsiInternalBacktrackingLexerTestLanguage.g:12:7: ( 'Efg' )\n // PsiInternalBacktrackingLexerTestLanguage.g:12:9: 'Efg'\n {\n match(\"Efg\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public OBOParser(OBOParserTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 6; i++) {\n jj_la1[i] = -1;\n }\n }", "public void testOTHER_ORDINARY3() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 23, \"bend\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "final public void basicCommand() throws ParseException {\n if (jj_2_75(4)) {\n if (jj_2_55(4)) {\n jj_consume_token(MOVE);\n numero();\n } else if (jj_2_56(4)) {\n jj_consume_token(RIGHT);\n numero();\n } else if (jj_2_57(4)) {\n jj_consume_token(LEFT);\n numero();\n } else if (jj_2_58(4)) {\n jj_consume_token(ROTATE);\n numero();\n } else if (jj_2_59(4)) {\n jj_consume_token(DROP);\n numero();\n } else if (jj_2_60(4)) {\n jj_consume_token(FREE);\n numero();\n } else if (jj_2_61(4)) {\n jj_consume_token(PICK);\n numero();\n } else if (jj_2_62(4)) {\n jj_consume_token(POP);\n numero();\n } else if (jj_2_63(4)) {\n jj_consume_token(BLOCKEDP);\n } else if (jj_2_64(4)) {\n jj_consume_token(NOP);\n } else if (jj_2_65(4)) {\n jj_consume_token(LOOK);\n if (jj_2_49(4)) {\n jj_consume_token(N);\n } else if (jj_2_50(4)) {\n jj_consume_token(E);\n } else if (jj_2_51(4)) {\n jj_consume_token(W);\n } else if (jj_2_52(4)) {\n jj_consume_token(S);\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n } else if (jj_2_66(4)) {\n jj_consume_token(CHECK);\n if (jj_2_53(4)) {\n jj_consume_token(C);\n } else if (jj_2_54(4)) {\n jj_consume_token(B);\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n numero();\n } else if (jj_2_67(4)) {\n block();\n } else if (jj_2_68(4)) {\n repeat();\n } else if (jj_2_69(4)) {\n conditional();\n } else if (jj_2_70(4)) {\n define();\n } else if (jj_2_71(4)) {\n function();\n } else if (jj_2_72(4)) {\n funcall();\n } else if (jj_2_73(4)) {\n varcall();\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n } else {\n label_13:\n while (true) {\n if (jj_2_74(4)) {\n ;\n } else {\n break label_13;\n }\n jj_consume_token(34);\n }\n }\n }" ]
[ "0.56932855", "0.5571314", "0.54809713", "0.5368294", "0.5335018", "0.5312361", "0.5133153", "0.513124", "0.5106904", "0.50754076", "0.5073735", "0.50294936", "0.4970579", "0.4945748", "0.4918188", "0.49143562", "0.4892177", "0.488741", "0.48852083", "0.48667032", "0.4865405", "0.48650122", "0.48255342", "0.48230293", "0.4813429", "0.4781422", "0.47807577", "0.47800723", "0.4769833", "0.4767774", "0.47564086", "0.47552744", "0.47444686", "0.47442988", "0.47432202", "0.47430757", "0.47422296", "0.4734375", "0.47273993", "0.4722901", "0.4703827", "0.46896416", "0.46861893", "0.4673632", "0.46717393", "0.46697775", "0.46685252", "0.46630502", "0.46520036", "0.4651057", "0.46477306", "0.4642651", "0.46369582", "0.46318108", "0.46312568", "0.4626036", "0.46240234", "0.4623665", "0.46219844", "0.46184063", "0.46110505", "0.4608412", "0.4607721", "0.46068218", "0.46047688", "0.4599847", "0.45984447", "0.45885834", "0.45818785", "0.457707", "0.45629442", "0.4559733", "0.45574608", "0.4551314", "0.45453662", "0.4537534", "0.4536654", "0.45334238", "0.45280945", "0.45269367", "0.45254645", "0.4521383", "0.45211545", "0.4517903", "0.45050138", "0.4500966", "0.4496966", "0.44908467", "0.44903174", "0.44901556", "0.4476113", "0.44747987", "0.44736966", "0.44726825", "0.44715554", "0.44712296", "0.44678795", "0.44643", "0.44615272", "0.44608134", "0.44589424" ]
0.0
-1
$ANTLR end "T__22" $ANTLR start "T__23"
public final void mT__23() throws RecognitionException { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:21:7: ( 'msg' ) // InternalDSL.g:21:9: 'msg' { match("msg"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mT__23() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__23;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('<');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:23:7: ( 'end' )\n // InternalStateMachine.g:23:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "@Test\r\n\tpublic void typeParserTest() {\n\t\tvalidateTypeParse(\r\n\t\t\t\t\"(function that takes a number and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number and a (function that takes a number)\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number, a string, and an element_of_type_3\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\"(function that takes a number)\");\r\n\t\t// assertEquals(\"procedure\", cdLoopType(\"function\"));\r\n\t\t// validateTypeParse(\"(function that outputs a number)\");\r\n\t\t// validateTypeParse(\"procedure\");\r\n\t}", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "@Test\r\n\tpublic void testInvalid03() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid03\");\r\n\t}", "private void parseStmt() throws IOException, FSException,RetException {\n\n\n switch(tok.ttype) {\n\n case LexAnn.TT_DEFINT:\n case LexAnn.TT_DEFSTRING:\n case LexAnn.TT_DEFDOUBLE:\n case LexAnn.TT_DEFOBJECT: {\n parseVarDef();\n break;\n }\n\n case LexAnn.TT_IF: {\n parseIf();\n break;\n }\n case LexAnn.TT_WHILE: {\n parseWhile();\n break;\n }\n case LexAnn.TT_RETURN: {\n parseReturn();\n break;\n }\n case LexAnn.TT_DEFFUNC: {\n parseFunctionDef();\n break;\n }\n case LexAnn.TT_EDEFFUNC: {\n parseFunctionEnd();\n break;\n }\n case LexAnn.TT_EIF:\n throw new FSException(\"unexpected endif\");\n case LexAnn.TT_EWHILE:\n throw new FSException(\"unexpected endwhile\");\n\n case LexAnn.TT_FUNC: {\n parseFunc();\n break;\n }\n case LexAnn.TT_ARRAY: {\n parseArrayAssign();\n break;\n }\n case LexAnn.TT_WORD: {\n parseAssign();\n break;\n }\n case LexAnn.TT_EOL: {\n tok.nextToken();\n break;\n }\n case LexAnn.TT_EOF: {\n // all done\n break;\n }\n default: {\n parseError(\"Expected identifier \"+tok);\n\n }\n }\n\n }", "@Test\r\n\tpublic void testInvalid02() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid02\");\r\n\t}", "public final void mT__24() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__24;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('>');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public final void mT__22() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__22;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:13:7: ( '-' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:13:9: '-'\n\t\t\t{\n\t\t\tmatch('-'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mKEYWORD_23() throws RecognitionException {\n try {\n int _type = KEYWORD_23;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:31:12: ( ( 'T' | 't' ) ( 'E' | 'e' ) ( 'S' | 's' ) ( 'T' | 't' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:31:14: ( 'T' | 't' ) ( 'E' | 'e' ) ( 'S' | 's' ) ( 'T' | 't' )\n {\n if ( input.LA(1)=='T'||input.LA(1)=='t' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='E'||input.LA(1)=='e' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='S'||input.LA(1)=='s' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='T'||input.LA(1)=='t' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "@Override ASTSeq parse_impl(Exec E) {\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `from` argument.\");\n _from = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `from` expected to be a number.\");\n }\n // Get the to\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `to` argument.\");\n _to = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `to` expected to be a number.\");\n }\n // Get the by\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `by` argument.\");\n _by = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `by` expected to be a number.\");\n }\n\n if( _from >= _to ) throw new IllegalArgumentException(\"`from` >= `to`: \" + _from + \">=\" + _to);\n if( _by <= 0 ) throw new IllegalArgumentException(\"`by` must be >0: \" + _by + \" <=0\");\n\n E.eatEnd(); // eat the ending ')'\n // Finish the rest\n ASTSeq res = (ASTSeq) clone();\n res._asts = new AST[]{}; // in reverse order so they appear correctly on the stack.\n return res;\n }", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "Token match(Kind... kinds) throws SyntaxException {\r\n\t\tToken tmp = t;\r\n\t\tif (isKind(kinds)) {\r\n\t\t\tconsume();\r\n\t\t\treturn tmp;\r\n\t\t}\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tfor (Kind kind1 : kinds) {\r\n\t\t\tsb.append(kind1).append(kind1).append(\" \");\r\n\t\t}\r\n\t\terror(kinds);\r\n\t\treturn null; // unreachable\r\n\t}", "public final void mT__29() throws RecognitionException {\n try {\n int _type = T__29;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:27:7: ( 'fragment' )\n // InternalMyDsl.g:27:9: 'fragment'\n {\n match(\"fragment\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "AstroArg unpack(Astro litChars);", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "final public IASTLiteralTextNode Argument() throws ParseException {\r\n IASTLiteralTextNode node = null;\r\n Token lastToken = null;\r\n Token equalToken = null;\r\n Token firstToken = null;\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case INT:\r\n firstToken = jj_consume_token(INT);\r\n if (jj_2_3(2147483647)) {\r\n equalToken = jj_consume_token(EQUAL);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case MINUS:\r\n jj_consume_token(MINUS);\r\n break;\r\n default:\r\n jj_la1[16] = jj_gen;\r\n ;\r\n }\r\n lastToken = jj_consume_token(INT);\r\n } else {\r\n ;\r\n }\r\n if (equalToken == null) {\r\n lastToken = firstToken;\r\n }\r\n break;\r\n case ASTERISK:\r\n case WORD:\r\n case STRING:\r\n case PACKAGE_OPTION:\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ASTERISK:\r\n firstToken = jj_consume_token(ASTERISK);\r\n break;\r\n case PACKAGE_OPTION:\r\n firstToken = jj_consume_token(PACKAGE_OPTION);\r\n break;\r\n case WORD:\r\n firstToken = jj_consume_token(WORD);\r\n break;\r\n case STRING:\r\n firstToken = jj_consume_token(STRING);\r\n break;\r\n default:\r\n jj_la1[17] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n lastToken = firstToken;\r\n break;\r\n default:\r\n jj_la1[18] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n node = getRawLiteralTextNodeSpanning(firstToken, lastToken);\r\n {if (true) return node;}\r\n throw new Error(\"Missing return statement in function\");\r\n }", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "private int parseWord(Token token, char[] buffer, int offset, int type){\nfromStart:\n for(int i=offset; i<buffer.length; ++i){\n for(int x=0; x < characters[type].length; ++x){\n if(buffer[i] == characters[type][x]){\n token.identifier += buffer[i];\n continue fromStart;\n }\n }\n // If it gets here, the character currently parsed isn't of the same type \n return i;\n }\n // Found end of file\n return offset+buffer.length;\n }", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:19:7: ( ':' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:19:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void testInvalid09() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid09\");\r\n\t}", "public final void mT__19() throws RecognitionException {\n try {\n int _type = T__19;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:7: ( 'port: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:19:9: 'port: '\n {\n match(\"port: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "@Test\r\n\tpublic void testInvalid04() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid04\");\r\n\t}", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "Token next();", "public final void mT__23() throws RecognitionException {\n try {\n int _type = T__23;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:17:7: ( 'as' )\n // InternalEsm.g:17:9: 'as'\n {\n match(\"as\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "static void match(TokenType ttype) throws IOException {\n if(ttype == curr_type) {\n getToken();\n }\n else {\n cout.println(\"Match Error: \" + ttype);\n System.exit(1);\n }\n }", "public final void mT__23() throws RecognitionException {\r\n try {\r\n int _type = T__23;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:14:7: ( 'private' )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:14:9: 'private'\r\n {\r\n match(\"private\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "@Test\r\n\tpublic void testInvalid01() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid01\");\r\n\t}", "public final void mT__24() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__24;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:15:7: ( ';' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:15:9: ';'\n\t\t\t{\n\t\t\tmatch(';'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:22:7: ( '->' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:22:9: '->'\n {\n match(\"->\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void testInvalid05() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid05\");\r\n\t}", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public final void mT__23() throws RecognitionException {\n try {\n int _type = T__23;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:21:7: ( ',' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:21:9: ','\n {\n match(','); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "final public LogicalPlan Parse() throws ParseException {\n /*@bgen(jjtree) Parse */\n SimpleNode jjtn000 = new SimpleNode(JJTPARSE);\n boolean jjtc000 = true;\n jjtree.openNodeScope(jjtn000);LogicalOperator root = null;\n Token t1;\n Token t2;\n LogicalPlan lp = new LogicalPlan();\n log.trace(\"Entering Parse\");\n try {\n if (jj_2_1(3)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n t2 = jj_consume_token(IDENTIFIER);\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case AS:\n jj_consume_token(AS);\n jj_consume_token(80);\n TupleSchema();\n jj_consume_token(81);\n break;\n default:\n jj_la1[0] = jj_gen;\n ;\n }\n jj_consume_token(82);\n {if (true) throw new ParseException(\n \"Currently PIG does not support assigning an existing relation (\" + t1.image + \") to another alias (\" + t2.image + \")\");}\n } else if (jj_2_2(2)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n root = Expr(lp);\n jj_consume_token(82);\n root.setAlias(t1.image);\n addAlias(t1.image, root);\n pigContext.setLastAlias(t1.image);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case DEFINE:\n case LOAD:\n case FILTER:\n case FOREACH:\n case ORDER:\n case DISTINCT:\n case COGROUP:\n case JOIN:\n case CROSS:\n case UNION:\n case GROUP:\n case STREAM:\n case STORE:\n case LIMIT:\n case SAMPLE:\n case IDENTIFIER:\n case 80:\n root = Expr(lp);\n jj_consume_token(82);\n break;\n case SPLIT:\n jj_consume_token(SPLIT);\n root = SplitClause(lp);\n jj_consume_token(82);\n break;\n default:\n jj_la1[1] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n jjtree.closeNodeScope(jjtn000, true);\n jjtc000 = false;\n if(null != root) {\n log.debug(\"Adding \" + root.getAlias() + \" \" + root + \" to the lookup table \" + aliases);\n\n //Translate all the project(*) leaves in the plan to a sequence of projections\n ProjectStarTranslator translate = new ProjectStarTranslator(lp);\n translate.visit();\n\n addLogicalPlan(root, lp);\n\n try {\n log.debug(\"Root: \" + root.getClass().getName() + \" schema: \" + root.getSchema());\n } catch(FrontendException fee) {\n ParseException pe = new ParseException(fee.getMessage());\n pe.initCause(fee);\n {if (true) throw pe;}\n }\n }\n\n ArrayList<LogicalOperator> roots = new ArrayList<LogicalOperator>(lp.getRoots().size());\n for(LogicalOperator op: lp.getRoots()) {\n roots.add(op);\n }\n\n Map<LogicalOperator, Boolean> rootProcessed = new HashMap<LogicalOperator, Boolean>();\n for(LogicalOperator op: roots) {\n //At this point we have a logical plan for the pig statement\n //In order to construct the entire logical plan we need to traverse\n //each root and get the logical plan it belongs to. From each of those\n //plans we need the predecessors of the root of the current logical plan\n //and so on. This is a computationally intensive operatton but should\n //be fine as its restricted to the parser\n\n LogicalPlan rootPlan = aliases.get(op);\n if(null != rootPlan) {\n attachPlan(lp, op, rootPlan, rootProcessed);\n rootProcessed.put(op, true);\n }\n }\n\n log.trace(\"Exiting Parse\");\n {if (true) return lp;}\n } catch (Throwable jjte000) {\n if (jjtc000) {\n jjtree.clearNodeScope(jjtn000);\n jjtc000 = false;\n } else {\n jjtree.popNode();\n }\n if (jjte000 instanceof RuntimeException) {\n {if (true) throw (RuntimeException)jjte000;}\n }\n if (jjte000 instanceof ParseException) {\n {if (true) throw (ParseException)jjte000;}\n }\n {if (true) throw (Error)jjte000;}\n } finally {\n if (jjtc000) {\n jjtree.closeNodeScope(jjtn000, true);\n }\n }\n throw new Error(\"Missing return statement in function\");\n }", "public interface Parser<T> {\n TripleExpression<T> parse(String expression) throws Exception;\n}", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "private void checkIntFragMat(Matcher m)\n {\n if (!m.find()) {\n throw new ParseException(\"wrong int fragment modeling language\");\n }\n }", "void declaration() {\n\t\tString theToken = currentToken();\r\n\r\n\t\tif (theToken.equals(\"int\") || theToken.equals(\"void\")) {\r\n\t\t\ttypeSpeci();\r\n\t\t\taccept(\"ID\");\r\n\t\t\ttheToken = currentToken();\r\n\t\t\tif (theToken.equals(\";\") || theToken.equals(\"[\"))\r\n\t\t\t\tvarDec();\r\n\r\n\t\t\t// if int ID ( param ) compoundStatment\r\n\t\t\telse if (theToken.equals(\"(\"))\r\n\t\t\t\tfunDec();\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\t\t\treturn;\r\n\t}", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "public interface BiomedicalParseSym {\n /* terminals */\n public static final int OR_OP = 6;\n public static final int String = 4;\n public static final int RPAREN = 3;\n public static final int error = 1;\n public static final int AND_OP = 5;\n public static final int NOT_OP = 7;\n public static final int LPAREN = 2;\n public static final int EOF = 0;\n}", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public final void mT__23() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__23;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:13:7: ( '<' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:13:9: '<'\r\n\t\t\t{\r\n\t\t\tmatch('<'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "@Test\n public void testFromFollowedByQuery() throws Exception {\n final String text = \"rule X when Cheese() from $cheesery ?person( \\\"Mark\\\", 42; ) then end\";\n RuleDescr rule = ((RuleDescr) (parse(\"rule\", text)));\n TestCase.assertFalse(parser.getErrors().toString(), parser.hasErrors());\n PatternDescr pattern = ((PatternDescr) (getDescrs().get(0)));\n TestCase.assertEquals(\"Cheese\", pattern.getObjectType());\n TestCase.assertEquals(\"from $cheesery\", pattern.getSource().getText());\n TestCase.assertFalse(pattern.isQuery());\n pattern = ((PatternDescr) (getDescrs().get(1)));\n TestCase.assertEquals(\"person\", pattern.getObjectType());\n TestCase.assertTrue(pattern.isQuery());\n }", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "public final void synpred47_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_typePar_2_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: (otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5\n {\n otherlv_1=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_synpred47_InternalMitraParser3552); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1892:1: ( (lv_typePar_2_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1894:3: lv_typePar_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCollectionTypeAccess().getTypeParTypeParserRuleCall_1_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred47_InternalMitraParser3572);\n lv_typePar_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_synpred47_InternalMitraParser3585); if (state.failed) return ;\n\n }\n }", "public BindingLexer() {;}", "@Test\r\n\tpublic void testInvalid06() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid06\");\r\n\t}", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return lexer.nextToken(); \n }", "TupleLiteralPart createTupleLiteralPart();", "public final ANTLRv3Parser.atom_return atom() throws RecognitionException {\r\n ANTLRv3Parser.atom_return retval = new ANTLRv3Parser.atom_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token op=null;\r\n Token RULE_REF110=null;\r\n Token ARG_ACTION111=null;\r\n ANTLRv3Parser.terminal_return terminal107 =null;\r\n\r\n ANTLRv3Parser.range_return range108 =null;\r\n\r\n ANTLRv3Parser.notSet_return notSet109 =null;\r\n\r\n\r\n CommonTree op_tree=null;\r\n CommonTree RULE_REF110_tree=null;\r\n CommonTree ARG_ACTION111_tree=null;\r\n RewriteRuleTokenStream stream_BANG=new RewriteRuleTokenStream(adaptor,\"token BANG\");\r\n RewriteRuleTokenStream stream_ROOT=new RewriteRuleTokenStream(adaptor,\"token ROOT\");\r\n RewriteRuleTokenStream stream_RULE_REF=new RewriteRuleTokenStream(adaptor,\"token RULE_REF\");\r\n RewriteRuleTokenStream stream_ARG_ACTION=new RewriteRuleTokenStream(adaptor,\"token ARG_ACTION\");\r\n RewriteRuleSubtreeStream stream_range=new RewriteRuleSubtreeStream(adaptor,\"rule range\");\r\n RewriteRuleSubtreeStream stream_notSet=new RewriteRuleSubtreeStream(adaptor,\"rule notSet\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:255:5: ( terminal | range ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range ) | notSet ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet ) | RULE_REF ( ARG_ACTION )? ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) ) )\r\n int alt54=4;\r\n switch ( input.LA(1) ) {\r\n case CHAR_LITERAL:\r\n {\r\n int LA54_1 = input.LA(2);\r\n\r\n if ( (LA54_1==RANGE) ) {\r\n alt54=2;\r\n }\r\n else if ( (LA54_1==ACTION||LA54_1==BANG||LA54_1==CHAR_LITERAL||(LA54_1 >= REWRITE && LA54_1 <= ROOT)||LA54_1==RULE_REF||LA54_1==SEMPRED||LA54_1==STRING_LITERAL||(LA54_1 >= TOKEN_REF && LA54_1 <= TREE_BEGIN)||(LA54_1 >= 68 && LA54_1 <= 71)||LA54_1==73||(LA54_1 >= 76 && LA54_1 <= 77)||LA54_1==80||LA54_1==91||LA54_1==93) ) {\r\n alt54=1;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 54, 1, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n }\r\n break;\r\n case STRING_LITERAL:\r\n case TOKEN_REF:\r\n case 73:\r\n {\r\n alt54=1;\r\n }\r\n break;\r\n case 93:\r\n {\r\n alt54=3;\r\n }\r\n break;\r\n case RULE_REF:\r\n {\r\n alt54=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 54, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n\r\n switch (alt54) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:255:9: terminal\r\n {\r\n root_0 = (CommonTree)adaptor.nil();\r\n\r\n\r\n pushFollow(FOLLOW_terminal_in_atom1800);\r\n terminal107=terminal();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) adaptor.addChild(root_0, terminal107.getTree());\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:256:4: range ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range )\r\n {\r\n pushFollow(FOLLOW_range_in_atom1805);\r\n range108=range();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_range.add(range108.getTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:3: ( (op= '^' |op= '!' ) -> ^( $op range ) | -> range )\r\n int alt48=2;\r\n int LA48_0 = input.LA(1);\r\n\r\n if ( (LA48_0==BANG||LA48_0==ROOT) ) {\r\n alt48=1;\r\n }\r\n else if ( (LA48_0==ACTION||LA48_0==CHAR_LITERAL||LA48_0==REWRITE||LA48_0==RULE_REF||LA48_0==SEMPRED||LA48_0==STRING_LITERAL||(LA48_0 >= TOKEN_REF && LA48_0 <= TREE_BEGIN)||(LA48_0 >= 68 && LA48_0 <= 71)||LA48_0==73||LA48_0==76||LA48_0==80||LA48_0==91||LA48_0==93) ) {\r\n alt48=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 48, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt48) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:5: (op= '^' |op= '!' )\r\n int alt47=2;\r\n int LA47_0 = input.LA(1);\r\n\r\n if ( (LA47_0==ROOT) ) {\r\n alt47=1;\r\n }\r\n else if ( (LA47_0==BANG) ) {\r\n alt47=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 47, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt47) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1815); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1819); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: range, op\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 257:21: -> ^( $op range )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:257:24: ^( $op range )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, stream_range.nextTree());\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:258:9: \r\n {\r\n // AST REWRITE\r\n // elements: range\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 258:9: -> range\r\n {\r\n adaptor.addChild(root_0, stream_range.nextTree());\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:260:7: notSet ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet )\r\n {\r\n pushFollow(FOLLOW_notSet_in_atom1853);\r\n notSet109=notSet();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_notSet.add(notSet109.getTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:3: ( (op= '^' |op= '!' ) -> ^( $op notSet ) | -> notSet )\r\n int alt50=2;\r\n int LA50_0 = input.LA(1);\r\n\r\n if ( (LA50_0==BANG||LA50_0==ROOT) ) {\r\n alt50=1;\r\n }\r\n else if ( (LA50_0==ACTION||LA50_0==CHAR_LITERAL||LA50_0==REWRITE||LA50_0==RULE_REF||LA50_0==SEMPRED||LA50_0==STRING_LITERAL||(LA50_0 >= TOKEN_REF && LA50_0 <= TREE_BEGIN)||(LA50_0 >= 68 && LA50_0 <= 71)||LA50_0==73||LA50_0==76||LA50_0==80||LA50_0==91||LA50_0==93) ) {\r\n alt50=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 50, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt50) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:5: (op= '^' |op= '!' )\r\n int alt49=2;\r\n int LA49_0 = input.LA(1);\r\n\r\n if ( (LA49_0==ROOT) ) {\r\n alt49=1;\r\n }\r\n else if ( (LA49_0==BANG) ) {\r\n alt49=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 49, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt49) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1862); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1866); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: notSet, op\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 261:21: -> ^( $op notSet )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:261:24: ^( $op notSet )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, stream_notSet.nextTree());\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:262:9: \r\n {\r\n // AST REWRITE\r\n // elements: notSet\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 262:9: -> notSet\r\n {\r\n adaptor.addChild(root_0, stream_notSet.nextTree());\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:9: RULE_REF ( ARG_ACTION )? ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) )\r\n {\r\n RULE_REF110=(Token)match(input,RULE_REF,FOLLOW_RULE_REF_in_atom1902); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_RULE_REF.add(RULE_REF110);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:18: ( ARG_ACTION )?\r\n int alt51=2;\r\n int LA51_0 = input.LA(1);\r\n\r\n if ( (LA51_0==ARG_ACTION) ) {\r\n alt51=1;\r\n }\r\n switch (alt51) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:264:18: ARG_ACTION\r\n {\r\n ARG_ACTION111=(Token)match(input,ARG_ACTION,FOLLOW_ARG_ACTION_in_atom1904); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ARG_ACTION.add(ARG_ACTION111);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:3: ( (op= '^' |op= '!' ) -> ^( $op RULE_REF ( ARG_ACTION )? ) | -> ^( RULE_REF ( ARG_ACTION )? ) )\r\n int alt53=2;\r\n int LA53_0 = input.LA(1);\r\n\r\n if ( (LA53_0==BANG||LA53_0==ROOT) ) {\r\n alt53=1;\r\n }\r\n else if ( (LA53_0==ACTION||LA53_0==CHAR_LITERAL||LA53_0==REWRITE||LA53_0==RULE_REF||LA53_0==SEMPRED||LA53_0==STRING_LITERAL||(LA53_0 >= TOKEN_REF && LA53_0 <= TREE_BEGIN)||(LA53_0 >= 68 && LA53_0 <= 71)||LA53_0==73||LA53_0==76||LA53_0==80||LA53_0==91||LA53_0==93) ) {\r\n alt53=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 53, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt53) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:5: (op= '^' |op= '!' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:5: (op= '^' |op= '!' )\r\n int alt52=2;\r\n int LA52_0 = input.LA(1);\r\n\r\n if ( (LA52_0==ROOT) ) {\r\n alt52=1;\r\n }\r\n else if ( (LA52_0==BANG) ) {\r\n alt52=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 52, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt52) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:6: op= '^'\r\n {\r\n op=(Token)match(input,ROOT,FOLLOW_ROOT_in_atom1914); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ROOT.add(op);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:13: op= '!'\r\n {\r\n op=(Token)match(input,BANG,FOLLOW_BANG_in_atom1918); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(op);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: ARG_ACTION, op, RULE_REF\r\n // token labels: op\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_op=new RewriteRuleTokenStream(adaptor,\"token op\",op);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 265:21: -> ^( $op RULE_REF ( ARG_ACTION )? )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:24: ^( $op RULE_REF ( ARG_ACTION )? )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(stream_op.nextNode(), root_1);\r\n\r\n adaptor.addChild(root_1, \r\n stream_RULE_REF.nextNode()\r\n );\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:265:39: ( ARG_ACTION )?\r\n if ( stream_ARG_ACTION.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_ARG_ACTION.nextNode()\r\n );\r\n\r\n }\r\n stream_ARG_ACTION.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:9: \r\n {\r\n // AST REWRITE\r\n // elements: ARG_ACTION, RULE_REF\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 266:9: -> ^( RULE_REF ( ARG_ACTION )? )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:12: ^( RULE_REF ( ARG_ACTION )? )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(\r\n stream_RULE_REF.nextNode()\r\n , root_1);\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:266:23: ( ARG_ACTION )?\r\n if ( stream_ARG_ACTION.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_ARG_ACTION.nextNode()\r\n );\r\n\r\n }\r\n stream_ARG_ACTION.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "public final void mT__23() throws RecognitionException {\n try {\n int _type = T__23;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:21:7: ( '.' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:21:9: '.'\n {\n match('.'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__35() throws RecognitionException {\n try {\n int _type = T__35;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:35:7: ( 'end' )\n // InternalIotLuaXtext.g:35:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__44() throws RecognitionException {\n try {\n int _type = T__44;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:42:7: ( '+' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:42:9: '+'\n {\n match('+'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void visit(Literal literal) {}", "public static void parse()\r\n {\r\n int initial;\r\n initial=expression();\r\n stateList.get(0).setNext1(initial);\r\n stateList.get(0).setNext2(initial);\r\n if(index<=expression.length()-1)\r\n {\r\n error();\r\n }\r\n else\r\n {\r\n state st=new state(state,\"END\",-1,-1);\r\n stateList.add(st);\r\n }\r\n }", "public final void mT__21() throws RecognitionException {\r\n try {\r\n int _type = T__21;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:18:7: ( '.-' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:18:9: '.-'\r\n {\r\n match(\".-\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "public final void mT23() throws RecognitionException {\n try {\n int _type = T23;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:21:5: ( '<' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:21:7: '<'\n {\n match('<'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "public final void mRULE_TIME() throws RecognitionException {\n try {\n int _type = RULE_TIME;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15366:11: ( ( '0' .. '9' )+ ':' ( '0' .. '9' )+ )\n // InternalMyDsl.g:15366:13: ( '0' .. '9' )+ ':' ( '0' .. '9' )+\n {\n // InternalMyDsl.g:15366:13: ( '0' .. '9' )+\n int cnt5=0;\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalMyDsl.g:15366:14: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt5 >= 1 ) break loop5;\n EarlyExitException eee =\n new EarlyExitException(5, input);\n throw eee;\n }\n cnt5++;\n } while (true);\n\n match(':'); \n // InternalMyDsl.g:15366:29: ( '0' .. '9' )+\n int cnt6=0;\n loop6:\n do {\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( ((LA6_0>='0' && LA6_0<='9')) ) {\n alt6=1;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // InternalMyDsl.g:15366:30: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt6 >= 1 ) break loop6;\n EarlyExitException eee =\n new EarlyExitException(6, input);\n throw eee;\n }\n cnt6++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\n public void jUnitTest02(){\n TigerLexer lex;\n try {\n lex = new TigerLexer(new ANTLRFileStream(\"test/jUnitTests/jUnitTest02.tig\", \"UTF8\"));\n CommonTokenStream tokens = new CommonTokenStream(lex);\n TigerParser parser = new TigerParser(tokens);\n SemantVisitor visitor = new SemantVisitor();\n parser.prog();\n boolean resp = (parser.getNumberOfSyntaxErrors() == 0 && visitor.getNumberOfSemanticErrors() == 0);\n assertTrue(resp);\n } catch (IOException ex) {\n Logger.getLogger(TesteGlobal.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public R visit(MoveStmt n) {\n R _ret=null;\n simple_exp=0;\n // System.out.print(\"MOVE \");\n String s0 = (String)n.f0.accept(this);\n String s1 = (String)n.f1.accept(this);\n String s = new String();\n s=(\"MOVE \"+s1+\" \");\n simple_exp=0;\n String s2 = (String)n.f2.accept(this);\n s=s+(s2+\" \");\n return (R)s;\n }", "public Snippet visit(DotIsLast n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this, argu);\n\t //return new Snippet(\"\", _ret.returnTemp+\".isLast()\", new X10Boolean(), false);\n\t return new Snippet(\"\", \"false\", new X10Boolean(), false);\n\t }", "public final void mT__23() throws RecognitionException {\n try {\n int _type = T__23;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /development/json-antlr/grammar/JSON.g:10:7: ( 'null' )\n // /development/json-antlr/grammar/JSON.g:10:9: 'null'\n {\n match(\"null\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private Token match(Kind kind) throws SyntaxException {\n\t\tif (t.kind.equals(kind)) {\n\t\t\treturn consume();\n\t\t}\n\t\tthrow new SyntaxException(\"saw \" + t.kind + \"expected \" + kind);\n\t}", "Object parse(int from,int to) throws IOException, FSException {\n\n // nothing to do when starting beond the code end\n if (code.lineCount()<=from) return null;\n\n\n maxLine=to;\n code.setCurLine(from);\n tok=new LexAnn(code.getLine());\n getNextToken();\n while (tok.ttype!=LexAnn.TT_EOF) {\n\n //a script must always start with a word...\n\n try {\n parseStmt();\n } catch (RetException e) {\n return retVal;\n }\n\n getNextToken();\n }\n\n return null;\n\n\n }", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:20:7: ( 'The' )\n // InternalReqLNG.g:20:9: 'The'\n {\n match(\"The\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\n public void semanticError_badID_prog_idsdifferent() {\n\n List<String> code = new ArrayList<>();\n code.add(\"CD19 Prog\");\n code.add(\"main\");\n code.add(\"a : integer\");\n code.add(\"begin\");\n code.add(\"a = 5;\");\n code.add(\"end\");\n code.add(\"CD19 blag\");\n\n Scanner scanner = new Scanner(new CodeFileReader(code));\n List<Token> tokens = scanner.getAllTokens();\n\n Parser parser = new Parser(tokens);\n TreeNode tree = parser.parse();\n\n System.out.println(tree.prettyPrintTree());\n for (SemanticErrorMessage message : parser.getSemanticErrors())\n System.out.println(message.printAll());\n\n for (SyntacticErrorMessage message : parser.getSyntacticErrors())\n System.out.println(message.printAll());\n\n assertEquals(true, parser.getSemanticErrors().size() == 1);\n assertEquals(true, parser.getSemanticErrors().get(0).getErrorMessage().contains(\"Start and End\"));\n\n assertEquals(true, parser.isSyntacticallyValid());\n assertEquals(false, parser.isSemanticallyValid());\n\n }", "public final void mT__22() throws RecognitionException {\n try {\n int _type = T__22;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:20:7: ( 'null' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:20:9: 'null'\n {\n match(\"null\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final ANTLRv3Parser.rule_return rule() throws RecognitionException {\r\n rule_stack.push(new rule_scope());\r\n ANTLRv3Parser.rule_return retval = new ANTLRv3Parser.rule_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token modifier=null;\r\n Token arg=null;\r\n Token rt=null;\r\n Token DOC_COMMENT39=null;\r\n Token string_literal40=null;\r\n Token string_literal41=null;\r\n Token string_literal42=null;\r\n Token string_literal43=null;\r\n Token char_literal45=null;\r\n Token string_literal46=null;\r\n Token char_literal51=null;\r\n Token char_literal53=null;\r\n ANTLRv3Parser.id_return id44 =null;\r\n\r\n ANTLRv3Parser.throwsSpec_return throwsSpec47 =null;\r\n\r\n ANTLRv3Parser.optionsSpec_return optionsSpec48 =null;\r\n\r\n ANTLRv3Parser.ruleScopeSpec_return ruleScopeSpec49 =null;\r\n\r\n ANTLRv3Parser.ruleAction_return ruleAction50 =null;\r\n\r\n ANTLRv3Parser.altList_return altList52 =null;\r\n\r\n ANTLRv3Parser.exceptionGroup_return exceptionGroup54 =null;\r\n\r\n\r\n CommonTree modifier_tree=null;\r\n CommonTree arg_tree=null;\r\n CommonTree rt_tree=null;\r\n CommonTree DOC_COMMENT39_tree=null;\r\n CommonTree string_literal40_tree=null;\r\n CommonTree string_literal41_tree=null;\r\n CommonTree string_literal42_tree=null;\r\n CommonTree string_literal43_tree=null;\r\n CommonTree char_literal45_tree=null;\r\n CommonTree string_literal46_tree=null;\r\n CommonTree char_literal51_tree=null;\r\n CommonTree char_literal53_tree=null;\r\n RewriteRuleTokenStream stream_DOC_COMMENT=new RewriteRuleTokenStream(adaptor,\"token DOC_COMMENT\");\r\n RewriteRuleTokenStream stream_RET=new RewriteRuleTokenStream(adaptor,\"token RET\");\r\n RewriteRuleTokenStream stream_BANG=new RewriteRuleTokenStream(adaptor,\"token BANG\");\r\n RewriteRuleTokenStream stream_FRAGMENT=new RewriteRuleTokenStream(adaptor,\"token FRAGMENT\");\r\n RewriteRuleTokenStream stream_86=new RewriteRuleTokenStream(adaptor,\"token 86\");\r\n RewriteRuleTokenStream stream_87=new RewriteRuleTokenStream(adaptor,\"token 87\");\r\n RewriteRuleTokenStream stream_74=new RewriteRuleTokenStream(adaptor,\"token 74\");\r\n RewriteRuleTokenStream stream_88=new RewriteRuleTokenStream(adaptor,\"token 88\");\r\n RewriteRuleTokenStream stream_ARG_ACTION=new RewriteRuleTokenStream(adaptor,\"token ARG_ACTION\");\r\n RewriteRuleTokenStream stream_76=new RewriteRuleTokenStream(adaptor,\"token 76\");\r\n RewriteRuleSubtreeStream stream_id=new RewriteRuleSubtreeStream(adaptor,\"rule id\");\r\n RewriteRuleSubtreeStream stream_exceptionGroup=new RewriteRuleSubtreeStream(adaptor,\"rule exceptionGroup\");\r\n RewriteRuleSubtreeStream stream_throwsSpec=new RewriteRuleSubtreeStream(adaptor,\"rule throwsSpec\");\r\n RewriteRuleSubtreeStream stream_ruleScopeSpec=new RewriteRuleSubtreeStream(adaptor,\"rule ruleScopeSpec\");\r\n RewriteRuleSubtreeStream stream_optionsSpec=new RewriteRuleSubtreeStream(adaptor,\"rule optionsSpec\");\r\n RewriteRuleSubtreeStream stream_altList=new RewriteRuleSubtreeStream(adaptor,\"rule altList\");\r\n RewriteRuleSubtreeStream stream_ruleAction=new RewriteRuleSubtreeStream(adaptor,\"rule ruleAction\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:157:2: ( ( DOC_COMMENT )? (modifier= ( 'protected' | 'public' | 'private' | 'fragment' ) )? id ( '!' )? (arg= ARG_ACTION )? ( 'returns' rt= ARG_ACTION )? ( throwsSpec )? ( optionsSpec )? ( ruleScopeSpec )? ( ruleAction )* ':' altList ';' ( exceptionGroup )? -> ^( RULE id ( ^( ARG[$arg] $arg) )? ( ^( 'returns' $rt) )? ( throwsSpec )? ( optionsSpec )? ( ruleScopeSpec )? ( ruleAction )* altList ( exceptionGroup )? EOR[\\\"EOR\\\"] ) )\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:157:4: ( DOC_COMMENT )? (modifier= ( 'protected' | 'public' | 'private' | 'fragment' ) )? id ( '!' )? (arg= ARG_ACTION )? ( 'returns' rt= ARG_ACTION )? ( throwsSpec )? ( optionsSpec )? ( ruleScopeSpec )? ( ruleAction )* ':' altList ';' ( exceptionGroup )?\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:157:4: ( DOC_COMMENT )?\r\n int alt15=2;\r\n int LA15_0 = input.LA(1);\r\n\r\n if ( (LA15_0==DOC_COMMENT) ) {\r\n alt15=1;\r\n }\r\n switch (alt15) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:157:4: DOC_COMMENT\r\n {\r\n DOC_COMMENT39=(Token)match(input,DOC_COMMENT,FOLLOW_DOC_COMMENT_in_rule870); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_DOC_COMMENT.add(DOC_COMMENT39);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:158:3: (modifier= ( 'protected' | 'public' | 'private' | 'fragment' ) )?\r\n int alt17=2;\r\n int LA17_0 = input.LA(1);\r\n\r\n if ( (LA17_0==FRAGMENT||(LA17_0 >= 86 && LA17_0 <= 88)) ) {\r\n alt17=1;\r\n }\r\n switch (alt17) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:158:5: modifier= ( 'protected' | 'public' | 'private' | 'fragment' )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:158:14: ( 'protected' | 'public' | 'private' | 'fragment' )\r\n int alt16=4;\r\n switch ( input.LA(1) ) {\r\n case 87:\r\n {\r\n alt16=1;\r\n }\r\n break;\r\n case 88:\r\n {\r\n alt16=2;\r\n }\r\n break;\r\n case 86:\r\n {\r\n alt16=3;\r\n }\r\n break;\r\n case FRAGMENT:\r\n {\r\n alt16=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 16, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n\r\n switch (alt16) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:158:15: 'protected'\r\n {\r\n string_literal40=(Token)match(input,87,FOLLOW_87_in_rule880); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_87.add(string_literal40);\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:158:27: 'public'\r\n {\r\n string_literal41=(Token)match(input,88,FOLLOW_88_in_rule882); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_88.add(string_literal41);\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:158:36: 'private'\r\n {\r\n string_literal42=(Token)match(input,86,FOLLOW_86_in_rule884); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_86.add(string_literal42);\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:158:46: 'fragment'\r\n {\r\n string_literal43=(Token)match(input,FRAGMENT,FOLLOW_FRAGMENT_in_rule886); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_FRAGMENT.add(string_literal43);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n pushFollow(FOLLOW_id_in_rule894);\r\n id44=id();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_id.add(id44.getTree());\r\n\r\n if ( state.backtracking==0 ) {((rule_scope)rule_stack.peek()).name = (id44!=null?input.toString(id44.start,id44.stop):null);}\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:160:3: ( '!' )?\r\n int alt18=2;\r\n int LA18_0 = input.LA(1);\r\n\r\n if ( (LA18_0==BANG) ) {\r\n alt18=1;\r\n }\r\n switch (alt18) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:160:3: '!'\r\n {\r\n char_literal45=(Token)match(input,BANG,FOLLOW_BANG_in_rule900); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_BANG.add(char_literal45);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:161:3: (arg= ARG_ACTION )?\r\n int alt19=2;\r\n int LA19_0 = input.LA(1);\r\n\r\n if ( (LA19_0==ARG_ACTION) ) {\r\n alt19=1;\r\n }\r\n switch (alt19) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:161:5: arg= ARG_ACTION\r\n {\r\n arg=(Token)match(input,ARG_ACTION,FOLLOW_ARG_ACTION_in_rule909); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ARG_ACTION.add(arg);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:162:3: ( 'returns' rt= ARG_ACTION )?\r\n int alt20=2;\r\n int LA20_0 = input.LA(1);\r\n\r\n if ( (LA20_0==RET) ) {\r\n alt20=1;\r\n }\r\n switch (alt20) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:162:5: 'returns' rt= ARG_ACTION\r\n {\r\n string_literal46=(Token)match(input,RET,FOLLOW_RET_in_rule918); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_RET.add(string_literal46);\r\n\r\n\r\n rt=(Token)match(input,ARG_ACTION,FOLLOW_ARG_ACTION_in_rule922); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_ARG_ACTION.add(rt);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:163:3: ( throwsSpec )?\r\n int alt21=2;\r\n int LA21_0 = input.LA(1);\r\n\r\n if ( (LA21_0==89) ) {\r\n alt21=1;\r\n }\r\n switch (alt21) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:163:3: throwsSpec\r\n {\r\n pushFollow(FOLLOW_throwsSpec_in_rule930);\r\n throwsSpec47=throwsSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_throwsSpec.add(throwsSpec47.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:163:15: ( optionsSpec )?\r\n int alt22=2;\r\n int LA22_0 = input.LA(1);\r\n\r\n if ( (LA22_0==OPTIONS) ) {\r\n alt22=1;\r\n }\r\n switch (alt22) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:163:15: optionsSpec\r\n {\r\n pushFollow(FOLLOW_optionsSpec_in_rule933);\r\n optionsSpec48=optionsSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_optionsSpec.add(optionsSpec48.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:163:28: ( ruleScopeSpec )?\r\n int alt23=2;\r\n int LA23_0 = input.LA(1);\r\n\r\n if ( (LA23_0==SCOPE) ) {\r\n alt23=1;\r\n }\r\n switch (alt23) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:163:28: ruleScopeSpec\r\n {\r\n pushFollow(FOLLOW_ruleScopeSpec_in_rule936);\r\n ruleScopeSpec49=ruleScopeSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_ruleScopeSpec.add(ruleScopeSpec49.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:163:43: ( ruleAction )*\r\n loop24:\r\n do {\r\n int alt24=2;\r\n int LA24_0 = input.LA(1);\r\n\r\n if ( (LA24_0==AT) ) {\r\n alt24=1;\r\n }\r\n\r\n\r\n switch (alt24) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:163:43: ruleAction\r\n \t {\r\n \t pushFollow(FOLLOW_ruleAction_in_rule939);\r\n \t ruleAction50=ruleAction();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_ruleAction.add(ruleAction50.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop24;\r\n }\r\n } while (true);\r\n\r\n\r\n char_literal51=(Token)match(input,74,FOLLOW_74_in_rule944); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_74.add(char_literal51);\r\n\r\n\r\n pushFollow(FOLLOW_altList_in_rule946);\r\n altList52=altList();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_altList.add(altList52.getTree());\r\n\r\n char_literal53=(Token)match(input,76,FOLLOW_76_in_rule948); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_76.add(char_literal53);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:165:3: ( exceptionGroup )?\r\n int alt25=2;\r\n int LA25_0 = input.LA(1);\r\n\r\n if ( ((LA25_0 >= 81 && LA25_0 <= 82)) ) {\r\n alt25=1;\r\n }\r\n switch (alt25) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:165:3: exceptionGroup\r\n {\r\n pushFollow(FOLLOW_exceptionGroup_in_rule952);\r\n exceptionGroup54=exceptionGroup();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_exceptionGroup.add(exceptionGroup54.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // AST REWRITE\r\n // elements: arg, RET, id, ruleScopeSpec, throwsSpec, ruleAction, altList, optionsSpec, exceptionGroup, rt\r\n // token labels: arg, rt\r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleTokenStream stream_arg=new RewriteRuleTokenStream(adaptor,\"token arg\",arg);\r\n RewriteRuleTokenStream stream_rt=new RewriteRuleTokenStream(adaptor,\"token rt\",rt);\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 166:6: -> ^( RULE id ( ^( ARG[$arg] $arg) )? ( ^( 'returns' $rt) )? ( throwsSpec )? ( optionsSpec )? ( ruleScopeSpec )? ( ruleAction )* altList ( exceptionGroup )? EOR[\\\"EOR\\\"] )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:166:9: ^( RULE id ( ^( ARG[$arg] $arg) )? ( ^( 'returns' $rt) )? ( throwsSpec )? ( optionsSpec )? ( ruleScopeSpec )? ( ruleAction )* altList ( exceptionGroup )? EOR[\\\"EOR\\\"] )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(\r\n (CommonTree)adaptor.create(RULE, \"RULE\")\r\n , root_1);\r\n\r\n adaptor.addChild(root_1, stream_id.nextTree());\r\n\r\n adaptor.addChild(root_1, modifier!=null?adaptor.create(modifier):null);\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:166:67: ( ^( ARG[$arg] $arg) )?\r\n if ( stream_arg.hasNext() ) {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:166:67: ^( ARG[$arg] $arg)\r\n {\r\n CommonTree root_2 = (CommonTree)adaptor.nil();\r\n root_2 = (CommonTree)adaptor.becomeRoot(\r\n (CommonTree)adaptor.create(ARG, arg)\r\n , root_2);\r\n\r\n adaptor.addChild(root_2, stream_arg.nextNode());\r\n\r\n adaptor.addChild(root_1, root_2);\r\n }\r\n\r\n }\r\n stream_arg.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:166:86: ( ^( 'returns' $rt) )?\r\n if ( stream_RET.hasNext()||stream_rt.hasNext() ) {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:166:86: ^( 'returns' $rt)\r\n {\r\n CommonTree root_2 = (CommonTree)adaptor.nil();\r\n root_2 = (CommonTree)adaptor.becomeRoot(\r\n stream_RET.nextNode()\r\n , root_2);\r\n\r\n adaptor.addChild(root_2, stream_rt.nextNode());\r\n\r\n adaptor.addChild(root_1, root_2);\r\n }\r\n\r\n }\r\n stream_RET.reset();\r\n stream_rt.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:167:9: ( throwsSpec )?\r\n if ( stream_throwsSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_throwsSpec.nextTree());\r\n\r\n }\r\n stream_throwsSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:167:21: ( optionsSpec )?\r\n if ( stream_optionsSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_optionsSpec.nextTree());\r\n\r\n }\r\n stream_optionsSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:167:34: ( ruleScopeSpec )?\r\n if ( stream_ruleScopeSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_ruleScopeSpec.nextTree());\r\n\r\n }\r\n stream_ruleScopeSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:167:49: ( ruleAction )*\r\n while ( stream_ruleAction.hasNext() ) {\r\n adaptor.addChild(root_1, stream_ruleAction.nextTree());\r\n\r\n }\r\n stream_ruleAction.reset();\r\n\r\n adaptor.addChild(root_1, stream_altList.nextTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:169:9: ( exceptionGroup )?\r\n if ( stream_exceptionGroup.hasNext() ) {\r\n adaptor.addChild(root_1, stream_exceptionGroup.nextTree());\r\n\r\n }\r\n stream_exceptionGroup.reset();\r\n\r\n adaptor.addChild(root_1, \r\n (CommonTree)adaptor.create(EOR, \"EOR\")\r\n );\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n rule_stack.pop();\r\n }\r\n return retval;\r\n }", "public final void mT__23() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__23;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:14:7: ( '.' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:14:9: '.'\n\t\t\t{\n\t\t\tmatch('.'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "TupleLiteralExp createTupleLiteralExp();", "@Test\n public void jUnitTest03(){\n TigerLexer lex;\n try {\n lex = new TigerLexer(new ANTLRFileStream(\"test/jUnitTests/jUnitTest03.tig\", \"UTF8\"));\n CommonTokenStream tokens = new CommonTokenStream(lex);\n TigerParser parser = new TigerParser(tokens);\n SemantVisitor visitor = new SemantVisitor();\n parser.prog();\n boolean resp = (parser.getNumberOfSyntaxErrors() == 0 && visitor.getNumberOfSemanticErrors() == 0);\n assertTrue(resp);\n } catch (IOException ex) {\n Logger.getLogger(TesteGlobal.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public interface QuotedL1Node {\n\n}", "public Snippet visit(DotNext n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this, argu);\n\t // return new Snippet(\"\", _ret.returnTemp+\".next()\", new X10Place(), false);\n\t return new Snippet(\"\", \"0\", new X10Place(), false);\n\t }", "public final void mKEYWORD_22() throws RecognitionException {\n try {\n int _type = KEYWORD_22;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:39:12: ( ( 'S' | 's' ) ( 'E' | 'e' ) ( 'T' | 't' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:39:14: ( 'S' | 's' ) ( 'E' | 'e' ) ( 'T' | 't' )\n {\n if ( input.LA(1)=='S'||input.LA(1)=='s' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='E'||input.LA(1)=='e' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='T'||input.LA(1)=='t' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "Program program() throws SyntaxException {\n\t\tif(t.kind == IDENTIFIER){\n\t\t\tToken name = t, firstToken = t;\n\t\t\tconsume();\n\t\t\tArrayList<ASTNode> decsAndStatements = new ArrayList<>();\n\n\t\t\twhile (t.kind == KW_int || t.kind == KW_boolean || t.kind == KW_image\n\t\t\t\t\t|| t.kind == KW_url || t.kind == KW_file || t.kind == IDENTIFIER){\n\n\t\t\t\tif (t.kind == KW_int || t.kind == KW_boolean || t.kind == KW_image\n\t\t\t\t\t\t|| t.kind == KW_url || t.kind == KW_file){\n\t\t\t\t\tdecsAndStatements.add(declaration());\n\t\t\t\t}\n\t\t\t\telse if (t.kind == IDENTIFIER){\n\t\t\t\t\tdecsAndStatements.add(statement());\n\t\t\t\t}\n\t\t\t\tmatch(SEMI);\n\t\t\t}\n\n\t\t\treturn new Program(firstToken, name, decsAndStatements);\n\t\t}\n\t\telse {\n\t\t throw new SyntaxException(t, \"Input not valid. \\nProgram should start with an IDENTIFIER.\");\n }\n\t}", "ASTMatch parse_impl(Exec E) {\n AST ary = E.parse();\n\n // The `table` arg\n AST a = E.parse();\n if( a instanceof ASTString ) _strsTable = new String[]{((ASTString)a)._s};\n else if( a instanceof ASTStringList ) _strsTable = ((ASTStringList)a)._s;\n else if( a instanceof ASTNum ) _dblsTable = new double[]{((ASTNum)a)._d};\n else if( a instanceof ASTDoubleList ) _dblsTable = ((ASTDoubleList)a)._d;\n else throw new IllegalArgumentException(\"`table` expected to be either a String or an slist. Got: \" + a.getClass());\n if(_strsTable!=null) Arrays.sort(_strsTable);\n else Arrays.sort(_dblsTable);\n\n // `nomatch` is just a number in case no match\n AST nm = E.parse();\n if( nm instanceof ASTNum ) _nomatch = ((ASTNum)nm)._d;\n else throw new IllegalArgumentException(\"Argument `nomatch` expected a number. Got: \" + nm.getClass());\n\n // drop the incomparables arg for now ...\n AST incomp = E.parse();\n\n E.eatEnd(); // eat the ending ')'\n ASTMatch res = (ASTMatch) clone();\n res._asts = new AST[]{ary};\n return res;\n }", "private TraceParser genParser() throws ParseException {\n TraceParser parser = new TraceParser();\n parser.addRegex(\"^(?<VTIME>)(?<TYPE>)$\");\n parser.addPartitionsSeparator(\"^--$\");\n return parser;\n }" ]
[ "0.5632321", "0.5537231", "0.54419595", "0.53776217", "0.5302008", "0.5295018", "0.51857644", "0.5120085", "0.50833106", "0.5078745", "0.5070871", "0.4988887", "0.49842733", "0.49833423", "0.4981795", "0.49804807", "0.49398902", "0.49176675", "0.4913068", "0.4907752", "0.49011043", "0.48980075", "0.48579064", "0.485709", "0.4853522", "0.48383492", "0.4807049", "0.4797399", "0.47768846", "0.4776237", "0.47718954", "0.47691768", "0.47652948", "0.47635388", "0.4758137", "0.47510618", "0.4738197", "0.47320205", "0.47303593", "0.4720442", "0.47168985", "0.47037748", "0.4699605", "0.46934798", "0.4691621", "0.46914834", "0.46812397", "0.46788463", "0.46788335", "0.46761546", "0.46719104", "0.46682712", "0.46641323", "0.46595624", "0.46548504", "0.46434543", "0.46430007", "0.46426314", "0.4641835", "0.46278492", "0.46246508", "0.46144", "0.46120524", "0.46086025", "0.46065837", "0.46061563", "0.46009612", "0.46002254", "0.459281", "0.45918074", "0.45907792", "0.4589392", "0.4584356", "0.458347", "0.45821372", "0.4579621", "0.45779425", "0.4575287", "0.45727983", "0.45709354", "0.45617566", "0.45601976", "0.4556124", "0.45544106", "0.4554046", "0.45531702", "0.45520204", "0.45511022", "0.4550732", "0.4537392", "0.45372683", "0.45340234", "0.4533529", "0.45330054", "0.45327693", "0.4530463", "0.45286426", "0.45286003", "0.45185837", "0.45150343" ]
0.46027595
66
$ANTLR end "T__23" $ANTLR start "T__24"
public final void mT__24() throws RecognitionException { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:22:7: ( 'int' ) // InternalDSL.g:22:9: 'int' { match("int"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:23:7: ( 'end' )\n // InternalStateMachine.g:23:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__24() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__24;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('>');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:22:7: ( '->' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:22:9: '->'\n {\n match(\"->\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__24() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__24;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:15:7: ( ';' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:15:9: ';'\n\t\t\t{\n\t\t\tmatch(';'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:24:7: ( '(' )\n // InternalIotLuaXtext.g:24:9: '('\n {\n match('('); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT24() throws RecognitionException {\n try {\n int _type = T24;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:22:5: ( '>' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:22:7: '>'\n {\n match('>'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mT__23() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__23;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('<');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\r\n try {\r\n int _type = T__24;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:21:7: ( '>' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:21:9: '>'\r\n {\r\n match('>'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "Token next();", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "Token match(Kind... kinds) throws SyntaxException {\r\n\t\tToken tmp = t;\r\n\t\tif (isKind(kinds)) {\r\n\t\t\tconsume();\r\n\t\t\treturn tmp;\r\n\t\t}\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tfor (Kind kind1 : kinds) {\r\n\t\t\tsb.append(kind1).append(kind1).append(\" \");\r\n\t\t}\r\n\t\terror(kinds);\r\n\t\treturn null; // unreachable\r\n\t}", "final public LogicalPlan Parse() throws ParseException {\n /*@bgen(jjtree) Parse */\n SimpleNode jjtn000 = new SimpleNode(JJTPARSE);\n boolean jjtc000 = true;\n jjtree.openNodeScope(jjtn000);LogicalOperator root = null;\n Token t1;\n Token t2;\n LogicalPlan lp = new LogicalPlan();\n log.trace(\"Entering Parse\");\n try {\n if (jj_2_1(3)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n t2 = jj_consume_token(IDENTIFIER);\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case AS:\n jj_consume_token(AS);\n jj_consume_token(80);\n TupleSchema();\n jj_consume_token(81);\n break;\n default:\n jj_la1[0] = jj_gen;\n ;\n }\n jj_consume_token(82);\n {if (true) throw new ParseException(\n \"Currently PIG does not support assigning an existing relation (\" + t1.image + \") to another alias (\" + t2.image + \")\");}\n } else if (jj_2_2(2)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n root = Expr(lp);\n jj_consume_token(82);\n root.setAlias(t1.image);\n addAlias(t1.image, root);\n pigContext.setLastAlias(t1.image);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case DEFINE:\n case LOAD:\n case FILTER:\n case FOREACH:\n case ORDER:\n case DISTINCT:\n case COGROUP:\n case JOIN:\n case CROSS:\n case UNION:\n case GROUP:\n case STREAM:\n case STORE:\n case LIMIT:\n case SAMPLE:\n case IDENTIFIER:\n case 80:\n root = Expr(lp);\n jj_consume_token(82);\n break;\n case SPLIT:\n jj_consume_token(SPLIT);\n root = SplitClause(lp);\n jj_consume_token(82);\n break;\n default:\n jj_la1[1] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n jjtree.closeNodeScope(jjtn000, true);\n jjtc000 = false;\n if(null != root) {\n log.debug(\"Adding \" + root.getAlias() + \" \" + root + \" to the lookup table \" + aliases);\n\n //Translate all the project(*) leaves in the plan to a sequence of projections\n ProjectStarTranslator translate = new ProjectStarTranslator(lp);\n translate.visit();\n\n addLogicalPlan(root, lp);\n\n try {\n log.debug(\"Root: \" + root.getClass().getName() + \" schema: \" + root.getSchema());\n } catch(FrontendException fee) {\n ParseException pe = new ParseException(fee.getMessage());\n pe.initCause(fee);\n {if (true) throw pe;}\n }\n }\n\n ArrayList<LogicalOperator> roots = new ArrayList<LogicalOperator>(lp.getRoots().size());\n for(LogicalOperator op: lp.getRoots()) {\n roots.add(op);\n }\n\n Map<LogicalOperator, Boolean> rootProcessed = new HashMap<LogicalOperator, Boolean>();\n for(LogicalOperator op: roots) {\n //At this point we have a logical plan for the pig statement\n //In order to construct the entire logical plan we need to traverse\n //each root and get the logical plan it belongs to. From each of those\n //plans we need the predecessors of the root of the current logical plan\n //and so on. This is a computationally intensive operatton but should\n //be fine as its restricted to the parser\n\n LogicalPlan rootPlan = aliases.get(op);\n if(null != rootPlan) {\n attachPlan(lp, op, rootPlan, rootProcessed);\n rootProcessed.put(op, true);\n }\n }\n\n log.trace(\"Exiting Parse\");\n {if (true) return lp;}\n } catch (Throwable jjte000) {\n if (jjtc000) {\n jjtree.clearNodeScope(jjtn000);\n jjtc000 = false;\n } else {\n jjtree.popNode();\n }\n if (jjte000 instanceof RuntimeException) {\n {if (true) throw (RuntimeException)jjte000;}\n }\n if (jjte000 instanceof ParseException) {\n {if (true) throw (ParseException)jjte000;}\n }\n {if (true) throw (Error)jjte000;}\n } finally {\n if (jjtc000) {\n jjtree.closeNodeScope(jjtn000, true);\n }\n }\n throw new Error(\"Missing return statement in function\");\n }", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:22:7: ( '*' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:22:9: '*'\n {\n match('*'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "private void parseStmt() throws IOException, FSException,RetException {\n\n\n switch(tok.ttype) {\n\n case LexAnn.TT_DEFINT:\n case LexAnn.TT_DEFSTRING:\n case LexAnn.TT_DEFDOUBLE:\n case LexAnn.TT_DEFOBJECT: {\n parseVarDef();\n break;\n }\n\n case LexAnn.TT_IF: {\n parseIf();\n break;\n }\n case LexAnn.TT_WHILE: {\n parseWhile();\n break;\n }\n case LexAnn.TT_RETURN: {\n parseReturn();\n break;\n }\n case LexAnn.TT_DEFFUNC: {\n parseFunctionDef();\n break;\n }\n case LexAnn.TT_EDEFFUNC: {\n parseFunctionEnd();\n break;\n }\n case LexAnn.TT_EIF:\n throw new FSException(\"unexpected endif\");\n case LexAnn.TT_EWHILE:\n throw new FSException(\"unexpected endwhile\");\n\n case LexAnn.TT_FUNC: {\n parseFunc();\n break;\n }\n case LexAnn.TT_ARRAY: {\n parseArrayAssign();\n break;\n }\n case LexAnn.TT_WORD: {\n parseAssign();\n break;\n }\n case LexAnn.TT_EOL: {\n tok.nextToken();\n break;\n }\n case LexAnn.TT_EOF: {\n // all done\n break;\n }\n default: {\n parseError(\"Expected identifier \"+tok);\n\n }\n }\n\n }", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:18:7: ( '*' )\n // InternalEsm.g:18:9: '*'\n {\n match('*'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "@Test\r\n\tpublic void typeParserTest() {\n\t\tvalidateTypeParse(\r\n\t\t\t\t\"(function that takes a number and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number and a (function that takes a number)\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number, a string, and an element_of_type_3\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\"(function that takes a number)\");\r\n\t\t// assertEquals(\"procedure\", cdLoopType(\"function\"));\r\n\t\t// validateTypeParse(\"(function that outputs a number)\");\r\n\t\t// validateTypeParse(\"procedure\");\r\n\t}", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return lexer.nextToken(); \n }", "public Snippet visit(DotNext n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this, argu);\n\t // return new Snippet(\"\", _ret.returnTemp+\".next()\", new X10Place(), false);\n\t return new Snippet(\"\", \"0\", new X10Place(), false);\n\t }", "public final void mT__24() throws RecognitionException {\r\n try {\r\n int _type = T__24;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:15:7: ( 'key' )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:15:9: 'key'\r\n {\r\n match(\"key\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:22:7: ( 'Users' )\n // InternalMyDsl.g:22:9: 'Users'\n {\n match(\"Users\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public final void mT__24() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__24;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// sell/input/Matrix.g:20:7: ( '|' )\n\t\t\t// sell/input/Matrix.g:20:9: '|'\n\t\t\t{\n\t\t\tmatch('|'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void synpred47_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_typePar_2_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: (otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5\n {\n otherlv_1=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_synpred47_InternalMitraParser3552); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1892:1: ( (lv_typePar_2_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1894:3: lv_typePar_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCollectionTypeAccess().getTypeParTypeParserRuleCall_1_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred47_InternalMitraParser3572);\n lv_typePar_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_synpred47_InternalMitraParser3585); if (state.failed) return ;\n\n }\n }", "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "@Test\r\n\tpublic void testInvalid02() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid02\");\r\n\t}", "private int parseWord(Token token, char[] buffer, int offset, int type){\nfromStart:\n for(int i=offset; i<buffer.length; ++i){\n for(int x=0; x < characters[type].length; ++x){\n if(buffer[i] == characters[type][x]){\n token.identifier += buffer[i];\n continue fromStart;\n }\n }\n // If it gets here, the character currently parsed isn't of the same type \n return i;\n }\n // Found end of file\n return offset+buffer.length;\n }", "@Test\r\n\tpublic void testInvalid04() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid04\");\r\n\t}", "AstroArg unpack(Astro litChars);", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "private void nextKwId() {\n\t\tint old=pos;\n\t\tmany(letters);\n\t\tmany(legits);\n\t\tString lexeme=program.substring(old,pos);\n\t\ttoken=new Token((keywords.contains(lexeme) ? lexeme : \"id\"),lexeme);\n }", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "@Test(timeout = 4000)\n public void test123() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"9M4i+yR.T\");\n Token token0 = xPathLexer0.number();\n assertEquals(30, token0.getTokenType());\n assertEquals(\"9\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"M4i\", token1.getTokenText());\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:24:7: ( '{' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:24:9: '{'\n {\n match('{'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:23:7: ( '{' )\n // InternalMyDsl.g:23:9: '{'\n {\n match('{'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:23:7: ( '?' )\n // InternalReqLNG.g:23:9: '?'\n {\n match('?'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "final public IASTLiteralTextNode Argument() throws ParseException {\r\n IASTLiteralTextNode node = null;\r\n Token lastToken = null;\r\n Token equalToken = null;\r\n Token firstToken = null;\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case INT:\r\n firstToken = jj_consume_token(INT);\r\n if (jj_2_3(2147483647)) {\r\n equalToken = jj_consume_token(EQUAL);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case MINUS:\r\n jj_consume_token(MINUS);\r\n break;\r\n default:\r\n jj_la1[16] = jj_gen;\r\n ;\r\n }\r\n lastToken = jj_consume_token(INT);\r\n } else {\r\n ;\r\n }\r\n if (equalToken == null) {\r\n lastToken = firstToken;\r\n }\r\n break;\r\n case ASTERISK:\r\n case WORD:\r\n case STRING:\r\n case PACKAGE_OPTION:\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ASTERISK:\r\n firstToken = jj_consume_token(ASTERISK);\r\n break;\r\n case PACKAGE_OPTION:\r\n firstToken = jj_consume_token(PACKAGE_OPTION);\r\n break;\r\n case WORD:\r\n firstToken = jj_consume_token(WORD);\r\n break;\r\n case STRING:\r\n firstToken = jj_consume_token(STRING);\r\n break;\r\n default:\r\n jj_la1[17] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n lastToken = firstToken;\r\n break;\r\n default:\r\n jj_la1[18] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n node = getRawLiteralTextNodeSpanning(firstToken, lastToken);\r\n {if (true) return node;}\r\n throw new Error(\"Missing return statement in function\");\r\n }", "public BindingLexer() {;}", "@Test(timeout = 4000)\n public void test112() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"ji{:[5xw96\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(2, token0.getTokenType());\n assertEquals(\"j\", token0.getTokenText());\n \n Token token1 = xPathLexer0.dollar();\n assertEquals(26, token1.getTokenType());\n assertEquals(\"i\", token1.getTokenText());\n \n Token token2 = xPathLexer0.notEquals();\n assertEquals(\"{:\", token2.getTokenText());\n assertEquals(22, token2.getTokenType());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(3, token3.getTokenType());\n assertEquals(\"[\", token3.getTokenText());\n \n Token token4 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token4.getTokenType());\n assertEquals(\"5xw96\", token4.getTokenText());\n }", "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"<-\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "@Test(timeout = 4000)\n public void test013() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.getPreviousToken();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(18, token0.getTokenType());\n }", "final public void parse() throws ParseException {\n\t\tToken x = null;\n\t\tjj_consume_token(20);\n\t\tgetColumns(true);\n\t\tjj_consume_token(REFER);\n\n\t\tx = jj_consume_token(ID);\n\t\tm_refcatalog = x.image;\n\t\tjj_consume_token(21);\n\t\tx = jj_consume_token(ID);\n\t\tm_reftable = x.image;\n\t\tjj_consume_token(20);\n\t\tgetColumns(false);\n\t\tgetActions();\n\t}", "private AddressLiteralTagToken.Kind scanToken() throws ParseException {\n if (ALPHA.isSatisfiedBy(currentChar)) {\n scanStandardizedTag();\n return Kind.STANDARDIZED_TAG;\n } else if (CharClasses.DIGIT.isSatisfiedBy(currentChar)) {\n return Kind.DIGIT;\n } else {\n throw currentCharToken.syntaxException(\"The first digit of an \"\n + \"IPv4 address, or an address type tag, like 'IPv6'\");\n }\n }", "public static void parse()\r\n {\r\n int initial;\r\n initial=expression();\r\n stateList.get(0).setNext1(initial);\r\n stateList.get(0).setNext2(initial);\r\n if(index<=expression.length()-1)\r\n {\r\n error();\r\n }\r\n else\r\n {\r\n state st=new state(state,\"END\",-1,-1);\r\n stateList.add(st);\r\n }\r\n }", "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "public static void main(String[] args) {\r\n\r\n\tAlternation a = new Alternation();\r\n\t\r\n\ta.add(new Literal(\"steaming\"));\r\n\ta.add(new Literal(\"hot\"));\r\n\r\n\tRepetition adjectives = new Repetition(a);\r\n\r\n\tTokenAssembly ta = \r\n\t\tnew TokenAssembly(\"hot hot steaming hot coffee\");\r\n\t\r\n\tSystem.out.println(adjectives.bestMatch(ta));\r\n}", "private TraceParser genParser() throws ParseException {\n TraceParser parser = new TraceParser();\n parser.addRegex(\"^(?<VTIME>)(?<TYPE>)$\");\n parser.addPartitionsSeparator(\"^--$\");\n return parser;\n }", "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"|OLg_Eyu;i\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(17, token0.getTokenType());\n assertEquals(\"|\", token0.getTokenText());\n }", "public void a(eq ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public int k() {\r\n/* 55 */ return 9;\r\n/* */ }", "@Test(timeout = 4000)\n public void test020() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":_]J_/L!uFQ7%)BrL\");\n Token token0 = xPathLexer0.literal();\n assertNull(token0);\n \n char char0 = xPathLexer0.LA((-1));\n assertEquals('r', char0);\n }", "@Test\r\n\tpublic void testInvalid03() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid03\");\r\n\t}", "public void testATTITUDE_MODIFIER4() throws Exception {\n\t\tObject retval = execLexer(\"ATTITUDE_MODIFIER\", 208, \"blah\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"ATTITUDE_MODIFIER\", expecting, actual);\n\t}", "void declaration() {\n\t\tString theToken = currentToken();\r\n\r\n\t\tif (theToken.equals(\"int\") || theToken.equals(\"void\")) {\r\n\t\t\ttypeSpeci();\r\n\t\t\taccept(\"ID\");\r\n\t\t\ttheToken = currentToken();\r\n\t\t\tif (theToken.equals(\";\") || theToken.equals(\"[\"))\r\n\t\t\t\tvarDec();\r\n\r\n\t\t\t// if int ID ( param ) compoundStatment\r\n\t\t\telse if (theToken.equals(\"(\"))\r\n\t\t\t\tfunDec();\r\n\r\n\t\t}\r\n\r\n\t\telse\r\n\t\t\treturn;\r\n\t}", "private Token matchEOF() throws SyntaxException {\n\t\tif (t.kind.equals(EOF)) {\n\t\t\treturn t;\n\t\t}\n\t\tthrow new SyntaxException(\"expected EOF\");\n\t}", "@Test(timeout = 4000)\n public void test124() throws Throwable {\n StringReader stringReader0 = new StringReader(\"J..!IK9I\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(\"J\", token0.toString());\n assertEquals(74, token0.kind);\n }", "public void visit(Literal literal) {}", "public R visit(MoveStmt n) {\n R _ret=null;\n simple_exp=0;\n // System.out.print(\"MOVE \");\n String s0 = (String)n.f0.accept(this);\n String s1 = (String)n.f1.accept(this);\n String s = new String();\n s=(\"MOVE \"+s1+\" \");\n simple_exp=0;\n String s2 = (String)n.f2.accept(this);\n s=s+(s2+\" \");\n return (R)s;\n }", "public Snippet visit(TimesExpression n, Snippet argu) {\n\t\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t\t Snippet f0 = n.identifier.accept(this, argu);\n\t\t n.nodeToken.accept(this, argu);\n\t\t Snippet f2 = n.identifier1.accept(this, argu);\n\t\t _ret.returnTemp = f0.returnTemp+\" * \"+f2.returnTemp;\n\t return _ret;\n\t }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "@Override ASTSeq parse_impl(Exec E) {\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `from` argument.\");\n _from = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `from` expected to be a number.\");\n }\n // Get the to\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `to` argument.\");\n _to = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `to` expected to be a number.\");\n }\n // Get the by\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `by` argument.\");\n _by = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `by` expected to be a number.\");\n }\n\n if( _from >= _to ) throw new IllegalArgumentException(\"`from` >= `to`: \" + _from + \">=\" + _to);\n if( _by <= 0 ) throw new IllegalArgumentException(\"`by` must be >0: \" + _by + \" <=0\");\n\n E.eatEnd(); // eat the ending ')'\n // Finish the rest\n ASTSeq res = (ASTSeq) clone();\n res._asts = new AST[]{}; // in reverse order so they appear correctly on the stack.\n return res;\n }", "public final void mKEYWORD_24() throws RecognitionException {\n try {\n int _type = KEYWORD_24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:33:12: ( ( 'N' | 'n' ) ( 'U' | 'u' ) ( 'L' | 'l' ) ( 'L' | 'l' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:33:14: ( 'N' | 'n' ) ( 'U' | 'u' ) ( 'L' | 'l' ) ( 'L' | 'l' )\n {\n if ( input.LA(1)=='N'||input.LA(1)=='n' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='U'||input.LA(1)=='u' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='L'||input.LA(1)=='l' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='L'||input.LA(1)=='l' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public static ParseAction<Located<Void>> parse4DashesOrMore(){\n\t\tMutator<Located<MatchResult>> res = new Mutator<>();\n\t\treturn sequence(\n\t\t\t\tdrop(skipWhitespaceAndTLAComments()),\n\t\t\t\tpart(res, matchPattern(TLA_4_DASHES_OR_MORE))\n\t\t).map(seq -> new Located<>(res.getValue().getLocation(), null));\n\t}", "abstract protected void parseNextToken();", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "static void match(TokenType ttype) throws IOException {\n if(ttype == curr_type) {\n getToken();\n }\n else {\n cout.println(\"Match Error: \" + ttype);\n System.exit(1);\n }\n }", "@Test\r\n\tpublic void testInvalid09() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid09\");\r\n\t}", "private Token match(Kind kind) throws SyntaxException {\n\t\tif (t.kind.equals(kind)) {\n\t\t\treturn consume();\n\t\t}\n\t\tthrow new SyntaxException(\"saw \" + t.kind + \"expected \" + kind);\n\t}", "void gobble() {\n while( level > 0 &&\n !is(TK.LPAREN) &&\n !is(TK.ID) &&\n !is(TK.NUM) &&\n !is(TK.EOF) ) {\n scan();\n }\n }", "public interface BiomedicalParseSym {\n /* terminals */\n public static final int OR_OP = 6;\n public static final int String = 4;\n public static final int RPAREN = 3;\n public static final int error = 1;\n public static final int AND_OP = 5;\n public static final int NOT_OP = 7;\n public static final int LPAREN = 2;\n public static final int EOF = 0;\n}", "public final void mT__24() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__24;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:14:7: ( '<=' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:14:9: '<='\r\n\t\t\t{\r\n\t\t\tmatch(\"<=\"); \r\n\r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public abstract AbstractC05490vp<E> A02();", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "public interface Parser<T> {\n TripleExpression<T> parse(String expression) throws Exception;\n}" ]
[ "0.58026475", "0.55982393", "0.5530982", "0.55248916", "0.54802626", "0.5429451", "0.53261393", "0.531175", "0.5225791", "0.52188987", "0.5132393", "0.51200825", "0.5056475", "0.50475097", "0.50265217", "0.5023935", "0.50073606", "0.49664387", "0.49544528", "0.49418908", "0.4936329", "0.49217924", "0.4919726", "0.49164152", "0.49007225", "0.49001122", "0.489994", "0.48742276", "0.48731577", "0.48673168", "0.48504597", "0.48307028", "0.48262954", "0.48222995", "0.4821726", "0.48114973", "0.47981325", "0.4787503", "0.47867888", "0.47781834", "0.4770824", "0.47587126", "0.47576046", "0.47339943", "0.47295195", "0.4723065", "0.47209096", "0.4717238", "0.47142777", "0.47114357", "0.4704092", "0.47028485", "0.47021747", "0.47009605", "0.46994647", "0.46968392", "0.46868142", "0.46841022", "0.46839753", "0.4683482", "0.4683084", "0.4669676", "0.4666217", "0.46626318", "0.46497232", "0.46473515", "0.464221", "0.46415183", "0.46396008", "0.46361038", "0.46351177", "0.46318752", "0.46274045", "0.4623174", "0.46197432", "0.46130553", "0.4612474", "0.46090278", "0.46042484", "0.4603571", "0.45947552", "0.45932624", "0.45871782", "0.45859137", "0.45858085", "0.45835525", "0.45816317", "0.45788908", "0.4570032", "0.45690325", "0.45645162", "0.45625055", "0.45615646", "0.45580158", "0.4556371", "0.45559436", "0.45523515", "0.4537875", "0.45365584", "0.45301586" ]
0.47635534
41
$ANTLR end "T__24" $ANTLR start "T__25"
public final void mT__25() throws RecognitionException { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:23:7: ( 'string' ) // InternalDSL.g:23:9: 'string' { match("string"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:23:7: ( 'end' )\n // InternalStateMachine.g:23:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__24() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__24;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('>');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:22:7: ( '->' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:22:9: '->'\n {\n match(\"->\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT25() throws RecognitionException {\n try {\n int _type = T25;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:23:5: ( '(' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:23:7: '('\n {\n match('('); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void mT24() throws RecognitionException {\n try {\n int _type = T24;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:22:5: ( '>' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:22:7: '>'\n {\n match('>'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "Token next();", "public final void mT__25() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__25;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('?');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public final void mT__24() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__24;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:15:7: ( ';' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:15:9: ';'\n\t\t\t{\n\t\t\tmatch(';'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mT__24() throws RecognitionException {\r\n try {\r\n int _type = T__24;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:21:7: ( '>' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:21:9: '>'\r\n {\r\n match('>'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mT__25() throws RecognitionException {\n try {\n int _type = T__25;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:25:7: ( ':' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:25:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:24:7: ( '(' )\n // InternalIotLuaXtext.g:24:9: '('\n {\n match('('); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__23() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__23;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('<');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "public final void mT__35() throws RecognitionException {\n try {\n int _type = T__35;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:35:7: ( 'end' )\n // InternalIotLuaXtext.g:35:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "public BindingLexer() {;}", "Token match(Kind... kinds) throws SyntaxException {\r\n\t\tToken tmp = t;\r\n\t\tif (isKind(kinds)) {\r\n\t\t\tconsume();\r\n\t\t\treturn tmp;\r\n\t\t}\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tfor (Kind kind1 : kinds) {\r\n\t\t\tsb.append(kind1).append(kind1).append(\" \");\r\n\t\t}\r\n\t\terror(kinds);\r\n\t\treturn null; // unreachable\r\n\t}", "public final void mT__25() throws RecognitionException {\n try {\n int _type = T__25;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:24:7: ( '}' )\n // InternalMyDsl.g:24:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__21() throws RecognitionException {\n try {\n int _type = T__21;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:7: ( 'protocol: ' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:21:9: 'protocol: '\n {\n match(\"protocol: \"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "private void parseStmt() throws IOException, FSException,RetException {\n\n\n switch(tok.ttype) {\n\n case LexAnn.TT_DEFINT:\n case LexAnn.TT_DEFSTRING:\n case LexAnn.TT_DEFDOUBLE:\n case LexAnn.TT_DEFOBJECT: {\n parseVarDef();\n break;\n }\n\n case LexAnn.TT_IF: {\n parseIf();\n break;\n }\n case LexAnn.TT_WHILE: {\n parseWhile();\n break;\n }\n case LexAnn.TT_RETURN: {\n parseReturn();\n break;\n }\n case LexAnn.TT_DEFFUNC: {\n parseFunctionDef();\n break;\n }\n case LexAnn.TT_EDEFFUNC: {\n parseFunctionEnd();\n break;\n }\n case LexAnn.TT_EIF:\n throw new FSException(\"unexpected endif\");\n case LexAnn.TT_EWHILE:\n throw new FSException(\"unexpected endwhile\");\n\n case LexAnn.TT_FUNC: {\n parseFunc();\n break;\n }\n case LexAnn.TT_ARRAY: {\n parseArrayAssign();\n break;\n }\n case LexAnn.TT_WORD: {\n parseAssign();\n break;\n }\n case LexAnn.TT_EOL: {\n tok.nextToken();\n break;\n }\n case LexAnn.TT_EOF: {\n // all done\n break;\n }\n default: {\n parseError(\"Expected identifier \"+tok);\n\n }\n }\n\n }", "public abstract AbstractC05490vp<E> A02();", "public final void synpred47_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_typePar_2_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: (otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1888:2: otherlv_1= KEYWORD_4 ( (lv_typePar_2_0= ruleType ) ) otherlv_3= KEYWORD_5\n {\n otherlv_1=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_synpred47_InternalMitraParser3552); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1892:1: ( (lv_typePar_2_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1893:1: (lv_typePar_2_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:1894:3: lv_typePar_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCollectionTypeAccess().getTypeParTypeParserRuleCall_1_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred47_InternalMitraParser3572);\n lv_typePar_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_synpred47_InternalMitraParser3585); if (state.failed) return ;\n\n }\n }", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "@Test(timeout = 4000)\n public void test013() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.getPreviousToken();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(18, token0.getTokenType());\n }", "@Test(timeout = 4000)\n public void test137() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(2, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifier();\n assertEquals(\"E\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(7, token2.getTokenType());\n assertEquals(\"<\", token2.getTokenText());\n }", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "@Test\r\n\tpublic void testInvalid02() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid02\");\r\n\t}", "public final void mKEYWORD_25() throws RecognitionException {\n try {\n int _type = KEYWORD_25;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:35:12: ( ( 'W' | 'w' ) ( 'H' | 'h' ) ( 'E' | 'e' ) ( 'N' | 'n' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:35:14: ( 'W' | 'w' ) ( 'H' | 'h' ) ( 'E' | 'e' ) ( 'N' | 'n' )\n {\n if ( input.LA(1)=='W'||input.LA(1)=='w' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='H'||input.LA(1)=='h' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='E'||input.LA(1)=='e' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='N'||input.LA(1)=='n' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test045() throws Throwable {\n StringReader stringReader0 = new StringReader(\"extends\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.SkipLexicalActions(token0);\n assertEquals(6, javaCharStream0.bufpos);\n assertEquals(\"extends\", token0.toString());\n }", "@org.junit.Test(timeout = 10000)\n public void annotatedWildcardTypeNameWithExtends_cf28023_failAssert25() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n java.lang.String expected = (\"? extends @\" + (com.squareup.javapoet.AmplAnnotatedTypeNameTest.NN)) + \" java.lang.String\";\n com.squareup.javapoet.TypeName type = com.squareup.javapoet.TypeName.get(java.lang.String.class).annotated(NEVER_NULL);\n java.lang.String actual = com.squareup.javapoet.WildcardTypeName.subtypeOf(type).toString();\n // StatementAdderOnAssert create null value\n javax.lang.model.type.TypeMirror vc_12426 = (javax.lang.model.type.TypeMirror)null;\n // StatementAdderMethod cloned existing statement\n type.get(vc_12426);\n org.junit.Assert.fail(\"annotatedWildcardTypeNameWithExtends_cf28023 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"|OLg_Eyu;i\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(17, token0.getTokenType());\n assertEquals(\"|\", token0.getTokenText());\n }", "AstroArg unpack(Astro litChars);", "private TraceParser genParser() throws ParseException {\n TraceParser parser = new TraceParser();\n parser.addRegex(\"^(?<VTIME>)(?<TYPE>)$\");\n parser.addPartitionsSeparator(\"^--$\");\n return parser;\n }", "boolean tokenCanEnd(Token token)\r\n {\r\n if (token == null)\r\n return false;\r\n int type = token.getType();\r\n switch (type) {\r\n \tcase MExprANTLRParserTokenTypes.NOT:\r\n \tcase MExprANTLRParserTokenTypes.NOTNOT:\r\n case MExprANTLRParserTokenTypes.RBRACE:\r\n case MExprANTLRParserTokenTypes.RBRACKET:\r\n case MExprANTLRParserTokenTypes.RPAREN:\r\n case MExprANTLRParserTokenTypes.INT: \r\n case MExprANTLRParserTokenTypes.REAL:\r\n case MExprANTLRParserTokenTypes.ID:\r\n case MExprANTLRParserTokenTypes.NULLID:\r\n case MExprANTLRParserTokenTypes.POSTFIXID:\r\n case MExprANTLRParserTokenTypes.STRING:\r\n case MExprANTLRParserTokenTypes.BLANK1:\r\n case MExprANTLRParserTokenTypes.IDBLANK1:\r\n case MExprANTLRParserTokenTypes.BLANKID1:\r\n case MExprANTLRParserTokenTypes.IDBLANKID1:\r\n case MExprANTLRParserTokenTypes.BLANK2:\r\n case MExprANTLRParserTokenTypes.IDBLANK2:\r\n case MExprANTLRParserTokenTypes.BLANKID2:\r\n case MExprANTLRParserTokenTypes.IDBLANKID2:\r\n case MExprANTLRParserTokenTypes.BLANK3:\r\n case MExprANTLRParserTokenTypes.IDBLANK3:\r\n case MExprANTLRParserTokenTypes.BLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKDOT:\r\n case MExprANTLRParserTokenTypes.BLANKDOT:\r\n case MExprANTLRParserTokenTypes.SLOT: \r\n case MExprANTLRParserTokenTypes.TYPESETEXPR:\r\n case MExprANTLRParserTokenTypes.GET:\r\n case MExprANTLRParserTokenTypes.PUT:\r\n case MExprANTLRParserTokenTypes.PERCENT:\r\n case MExprANTLRParserTokenTypes.PERCENTNUMBER:\r\n \t return true;\r\n }\r\n\r\n return false;\r\n }", "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "@Test\r\n\tpublic void testInvalid05() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid05\");\r\n\t}", "public final void mT__24() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__24;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// sell/input/Matrix.g:20:7: ( '|' )\n\t\t\t// sell/input/Matrix.g:20:9: '|'\n\t\t\t{\n\t\t\tmatch('|'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public static void parse()\r\n {\r\n int initial;\r\n initial=expression();\r\n stateList.get(0).setNext1(initial);\r\n stateList.get(0).setNext2(initial);\r\n if(index<=expression.length()-1)\r\n {\r\n error();\r\n }\r\n else\r\n {\r\n state st=new state(state,\"END\",-1,-1);\r\n stateList.add(st);\r\n }\r\n }", "abstract protected void parseNextToken();", "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "@Override ASTSeq parse_impl(Exec E) {\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `from` argument.\");\n _from = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `from` expected to be a number.\");\n }\n // Get the to\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `to` argument.\");\n _to = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `to` expected to be a number.\");\n }\n // Get the by\n try {\n if (!E.skipWS().hasNext()) throw new IllegalArgumentException(\"End of input unexpected. Badly formed AST. Missing `by` argument.\");\n _by = E.nextDbl();\n } catch (ClassCastException e) {\n e.printStackTrace();\n throw new IllegalArgumentException(\"Argument `by` expected to be a number.\");\n }\n\n if( _from >= _to ) throw new IllegalArgumentException(\"`from` >= `to`: \" + _from + \">=\" + _to);\n if( _by <= 0 ) throw new IllegalArgumentException(\"`by` must be >0: \" + _by + \" <=0\");\n\n E.eatEnd(); // eat the ending ')'\n // Finish the rest\n ASTSeq res = (ASTSeq) clone();\n res._asts = new AST[]{}; // in reverse order so they appear correctly on the stack.\n return res;\n }", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "@Test\r\n\tpublic void typeParserTest() {\n\t\tvalidateTypeParse(\r\n\t\t\t\t\"(function that takes a number and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number and a (function that takes a number)\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\r\n\t\t// \"(function that takes a number, a string, and an element_of_type_3\r\n\t\t// and outputs a number)\");\r\n\t\t// validateTypeParse(\"(function that takes a number)\");\r\n\t\t// assertEquals(\"procedure\", cdLoopType(\"function\"));\r\n\t\t// validateTypeParse(\"(function that outputs a number)\");\r\n\t\t// validateTypeParse(\"procedure\");\r\n\t}", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:18:7: ( '*' )\n // InternalEsm.g:18:9: '*'\n {\n match('*'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "public static void main(String[] args) {\r\n\r\n\tAlternation a = new Alternation();\r\n\t\r\n\ta.add(new Literal(\"steaming\"));\r\n\ta.add(new Literal(\"hot\"));\r\n\r\n\tRepetition adjectives = new Repetition(a);\r\n\r\n\tTokenAssembly ta = \r\n\t\tnew TokenAssembly(\"hot hot steaming hot coffee\");\r\n\t\r\n\tSystem.out.println(adjectives.bestMatch(ta));\r\n}", "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "@Test\r\n\tpublic void testInvalid04() throws Exception {\r\n\r\n\t\tthis.compareFragmentCodeGeneration(\"expressions/literals\", \"invalid04\");\r\n\t}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:22:7: ( 'Users' )\n // InternalMyDsl.g:22:9: 'Users'\n {\n match(\"Users\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__24() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__24;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:14:7: ( '<=' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:14:9: '<='\r\n\t\t\t{\r\n\t\t\tmatch(\"<=\"); \r\n\r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "@Test(timeout = 4000)\n public void test124() throws Throwable {\n StringReader stringReader0 = new StringReader(\"J..!IK9I\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(\"J\", token0.toString());\n assertEquals(74, token0.kind);\n }", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:23:7: ( '?' )\n // InternalReqLNG.g:23:9: '?'\n {\n match('?'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__24() throws RecognitionException {\r\n try {\r\n int _type = T__24;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:15:7: ( 'key' )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:15:9: 'key'\r\n {\r\n match(\"key\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:22:7: ( '*' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:22:9: '*'\n {\n match('*'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__29() throws RecognitionException {\n try {\n int _type = T__29;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:27:7: ( 'fragment' )\n // InternalMyDsl.g:27:9: 'fragment'\n {\n match(\"fragment\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public Snippet visit(DotNext n, Snippet argu) {\n\t Snippet _ret= new Snippet(\"\",\"\",null,false);\n\t _ret = n.identifier.accept(this, argu);\n\t n.nodeToken.accept(this, argu);\n\t n.nodeToken1.accept(this, argu);\n\t n.nodeToken2.accept(this, argu);\n\t n.nodeToken3.accept(this, argu);\n\t // return new Snippet(\"\", _ret.returnTemp+\".next()\", new X10Place(), false);\n\t return new Snippet(\"\", \"0\", new X10Place(), false);\n\t }", "public final void mT__25() throws RecognitionException {\n try {\n int _type = T__25;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /development/json-antlr/grammar/JSON.g:12:7: ( '}' )\n // /development/json-antlr/grammar/JSON.g:12:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test075() throws Throwable {\n StringReader stringReader0 = new StringReader(\"<?ep_cuW)AS/}\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 0, (-1));\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals(88, token0.kind);\n }", "final public LogicalPlan Parse() throws ParseException {\n /*@bgen(jjtree) Parse */\n SimpleNode jjtn000 = new SimpleNode(JJTPARSE);\n boolean jjtc000 = true;\n jjtree.openNodeScope(jjtn000);LogicalOperator root = null;\n Token t1;\n Token t2;\n LogicalPlan lp = new LogicalPlan();\n log.trace(\"Entering Parse\");\n try {\n if (jj_2_1(3)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n t2 = jj_consume_token(IDENTIFIER);\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case AS:\n jj_consume_token(AS);\n jj_consume_token(80);\n TupleSchema();\n jj_consume_token(81);\n break;\n default:\n jj_la1[0] = jj_gen;\n ;\n }\n jj_consume_token(82);\n {if (true) throw new ParseException(\n \"Currently PIG does not support assigning an existing relation (\" + t1.image + \") to another alias (\" + t2.image + \")\");}\n } else if (jj_2_2(2)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n root = Expr(lp);\n jj_consume_token(82);\n root.setAlias(t1.image);\n addAlias(t1.image, root);\n pigContext.setLastAlias(t1.image);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case DEFINE:\n case LOAD:\n case FILTER:\n case FOREACH:\n case ORDER:\n case DISTINCT:\n case COGROUP:\n case JOIN:\n case CROSS:\n case UNION:\n case GROUP:\n case STREAM:\n case STORE:\n case LIMIT:\n case SAMPLE:\n case IDENTIFIER:\n case 80:\n root = Expr(lp);\n jj_consume_token(82);\n break;\n case SPLIT:\n jj_consume_token(SPLIT);\n root = SplitClause(lp);\n jj_consume_token(82);\n break;\n default:\n jj_la1[1] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n jjtree.closeNodeScope(jjtn000, true);\n jjtc000 = false;\n if(null != root) {\n log.debug(\"Adding \" + root.getAlias() + \" \" + root + \" to the lookup table \" + aliases);\n\n //Translate all the project(*) leaves in the plan to a sequence of projections\n ProjectStarTranslator translate = new ProjectStarTranslator(lp);\n translate.visit();\n\n addLogicalPlan(root, lp);\n\n try {\n log.debug(\"Root: \" + root.getClass().getName() + \" schema: \" + root.getSchema());\n } catch(FrontendException fee) {\n ParseException pe = new ParseException(fee.getMessage());\n pe.initCause(fee);\n {if (true) throw pe;}\n }\n }\n\n ArrayList<LogicalOperator> roots = new ArrayList<LogicalOperator>(lp.getRoots().size());\n for(LogicalOperator op: lp.getRoots()) {\n roots.add(op);\n }\n\n Map<LogicalOperator, Boolean> rootProcessed = new HashMap<LogicalOperator, Boolean>();\n for(LogicalOperator op: roots) {\n //At this point we have a logical plan for the pig statement\n //In order to construct the entire logical plan we need to traverse\n //each root and get the logical plan it belongs to. From each of those\n //plans we need the predecessors of the root of the current logical plan\n //and so on. This is a computationally intensive operatton but should\n //be fine as its restricted to the parser\n\n LogicalPlan rootPlan = aliases.get(op);\n if(null != rootPlan) {\n attachPlan(lp, op, rootPlan, rootProcessed);\n rootProcessed.put(op, true);\n }\n }\n\n log.trace(\"Exiting Parse\");\n {if (true) return lp;}\n } catch (Throwable jjte000) {\n if (jjtc000) {\n jjtree.clearNodeScope(jjtn000);\n jjtc000 = false;\n } else {\n jjtree.popNode();\n }\n if (jjte000 instanceof RuntimeException) {\n {if (true) throw (RuntimeException)jjte000;}\n }\n if (jjte000 instanceof ParseException) {\n {if (true) throw (ParseException)jjte000;}\n }\n {if (true) throw (Error)jjte000;}\n } finally {\n if (jjtc000) {\n jjtree.closeNodeScope(jjtn000, true);\n }\n }\n throw new Error(\"Missing return statement in function\");\n }", "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return lexer.nextToken(); \n }", "public void a(eq ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public int k() {\r\n/* 55 */ return 9;\r\n/* */ }", "private String E() throws SyntaxException, ParserException {\n\t\tswitch (current) {\n\t\t\tcase 'a':\n\t\t\tcase 'b':\n\t\t\tcase 'c':\n\t\t\t\t// E -> L\n\t\t\t\treturn L();\n\t\t\tcase '(':\n\t\t\t\t// E -> (S)\n\t\t\t\teat('(');\n\t\t\t\tString pe = S();\n\t\t\t\teat(')');\n\t\t\t\treturn pe;\n\t\t\tdefault:\n\t\t\t\tthrow new SyntaxException(ErrorType.NO_RULE,current);\n\t\t}\n\t}", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "private AddressLiteralTagToken.Kind scanToken() throws ParseException {\n if (ALPHA.isSatisfiedBy(currentChar)) {\n scanStandardizedTag();\n return Kind.STANDARDIZED_TAG;\n } else if (CharClasses.DIGIT.isSatisfiedBy(currentChar)) {\n return Kind.DIGIT;\n } else {\n throw currentCharToken.syntaxException(\"The first digit of an \"\n + \"IPv4 address, or an address type tag, like 'IPv6'\");\n }\n }", "public void visit(Literal literal) {}", "@Test\n\tpublic void test_ClassDeclarationAnonymousInMethod_Dec_0_Ref_1() {\n\t\tconfigureParser(\"public class Other { public void method() { Bar bar = new Bar(); bar.accept(new Foo() {public void fooMethod(){}} ); } } \", \"Foo\", 0, 1);\n\t}", "public ExpressionParser(ExpressionParserTokenManager tm) {\r\n token_source = tm;\r\n token = new Token();\r\n jj_ntk = -1;\r\n jj_gen = 0;\r\n for (int i = 0; i < 22; i++) jj_la1[i] = -1;\r\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\r\n }", "@Test(timeout = 4000)\n public void test055() throws Throwable {\n StringReader stringReader0 = new StringReader(\"elg6*[%|8BECpLep_\");\n stringReader0.read();\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(2, javaCharStream0.bufpos);\n assertEquals(74, token0.kind);\n }", "@Test(timeout = 4000)\n public void test126() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"II%oBQL*c\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"II\", token0.getTokenText());\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "@Test(timeout = 4000)\n public void test139() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(18, token0.getTokenType());\n assertEquals(\":\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"E\", token1.getTokenText());\n }", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "@Test(timeout = 4000)\n public void test112() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"ji{:[5xw96\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(2, token0.getTokenType());\n assertEquals(\"j\", token0.getTokenText());\n \n Token token1 = xPathLexer0.dollar();\n assertEquals(26, token1.getTokenType());\n assertEquals(\"i\", token1.getTokenText());\n \n Token token2 = xPathLexer0.notEquals();\n assertEquals(\"{:\", token2.getTokenText());\n assertEquals(22, token2.getTokenType());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(3, token3.getTokenType());\n assertEquals(\"[\", token3.getTokenText());\n \n Token token4 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token4.getTokenType());\n assertEquals(\"5xw96\", token4.getTokenText());\n }", "public void testATTITUDE_MODIFIER5() throws Exception {\n\t\tObject retval = execLexer(\"ATTITUDE_MODIFIER\", 209, \"front\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"ATTITUDE_MODIFIER\", expecting, actual);\n\t}", "final public IASTLiteralTextNode Argument() throws ParseException {\r\n IASTLiteralTextNode node = null;\r\n Token lastToken = null;\r\n Token equalToken = null;\r\n Token firstToken = null;\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case INT:\r\n firstToken = jj_consume_token(INT);\r\n if (jj_2_3(2147483647)) {\r\n equalToken = jj_consume_token(EQUAL);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case MINUS:\r\n jj_consume_token(MINUS);\r\n break;\r\n default:\r\n jj_la1[16] = jj_gen;\r\n ;\r\n }\r\n lastToken = jj_consume_token(INT);\r\n } else {\r\n ;\r\n }\r\n if (equalToken == null) {\r\n lastToken = firstToken;\r\n }\r\n break;\r\n case ASTERISK:\r\n case WORD:\r\n case STRING:\r\n case PACKAGE_OPTION:\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ASTERISK:\r\n firstToken = jj_consume_token(ASTERISK);\r\n break;\r\n case PACKAGE_OPTION:\r\n firstToken = jj_consume_token(PACKAGE_OPTION);\r\n break;\r\n case WORD:\r\n firstToken = jj_consume_token(WORD);\r\n break;\r\n case STRING:\r\n firstToken = jj_consume_token(STRING);\r\n break;\r\n default:\r\n jj_la1[17] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n lastToken = firstToken;\r\n break;\r\n default:\r\n jj_la1[18] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n node = getRawLiteralTextNodeSpanning(firstToken, lastToken);\r\n {if (true) return node;}\r\n throw new Error(\"Missing return statement in function\");\r\n }", "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "@Test(timeout = 4000)\n public void test123() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"9M4i+yR.T\");\n Token token0 = xPathLexer0.number();\n assertEquals(30, token0.getTokenType());\n assertEquals(\"9\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"M4i\", token1.getTokenText());\n }", "private Token match(Kind kind) throws SyntaxException {\n\t\tif (t.kind.equals(kind)) {\n\t\t\treturn consume();\n\t\t}\n\t\tthrow new SyntaxException(\"saw \" + t.kind + \"expected \" + kind);\n\t}", "public final void mT__25() throws RecognitionException {\r\n try {\r\n int _type = T__25;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:22:7: ( '>=' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:22:9: '>='\r\n {\r\n match(\">=\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "TupleLiteralExp createTupleLiteralExp();" ]
[ "0.55449975", "0.54286146", "0.5357191", "0.53027666", "0.5178625", "0.5168253", "0.5094187", "0.50531286", "0.4975812", "0.49634933", "0.49597353", "0.49554783", "0.4946797", "0.48888114", "0.4839134", "0.48384708", "0.48371252", "0.4831559", "0.48292246", "0.4820015", "0.48195902", "0.4804076", "0.4793324", "0.47871494", "0.4779495", "0.4752757", "0.4715178", "0.46920934", "0.46916837", "0.4685775", "0.4682387", "0.46771634", "0.46655232", "0.46640095", "0.46574873", "0.46546116", "0.46441162", "0.464158", "0.46360883", "0.46346545", "0.46323082", "0.46321264", "0.46284392", "0.46199527", "0.46170014", "0.46149838", "0.46147135", "0.46132466", "0.46092334", "0.4607044", "0.46064016", "0.46051475", "0.4600129", "0.45985785", "0.4591834", "0.4586484", "0.45830244", "0.45800018", "0.4578998", "0.45638832", "0.45586893", "0.4555811", "0.4551327", "0.4545872", "0.4544535", "0.45425576", "0.4539645", "0.45372972", "0.45325065", "0.4525406", "0.45233998", "0.45205265", "0.4518077", "0.4511765", "0.45094454", "0.45014068", "0.44988587", "0.44965017", "0.4496179", "0.44960505", "0.44868237", "0.44854188", "0.4484979", "0.44842395", "0.44804597", "0.4480169", "0.44787234", "0.44773427", "0.447674", "0.44721156", "0.4470892", "0.44640684", "0.44636312", "0.4460784", "0.44526693", "0.44491723", "0.44474977", "0.44471085", "0.44413027", "0.44397405", "0.44363546" ]
0.0
-1
$ANTLR end "T__25" $ANTLR start "T__26"
public final void mT__26() throws RecognitionException { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:24:7: ( 'bool' ) // InternalDSL.g:24:9: 'bool' { match("bool"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "public final void mT26() throws RecognitionException {\n try {\n int _type = T26;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:24:5: ( ')' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:24:7: ')'\n {\n match(')'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mT__26() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__26;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('{');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:23:7: ( 'end' )\n // InternalStateMachine.g:23:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public final void mT__26() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__26;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:16:7: ( '>' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:16:9: '>'\r\n\t\t\t{\r\n\t\t\tmatch('>'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__24;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:15:7: ( ';' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:15:9: ';'\n\t\t\t{\n\t\t\tmatch(';'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "Token next();", "public final void mT__26() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__26;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:17:7: ( '=' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:17:9: '='\n\t\t\t{\n\t\t\tmatch('='); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "Token match(Kind... kinds) throws SyntaxException {\r\n\t\tToken tmp = t;\r\n\t\tif (isKind(kinds)) {\r\n\t\t\tconsume();\r\n\t\t\treturn tmp;\r\n\t\t}\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tfor (Kind kind1 : kinds) {\r\n\t\t\tsb.append(kind1).append(kind1).append(\" \");\r\n\t\t}\r\n\t\terror(kinds);\r\n\t\treturn null; // unreachable\r\n\t}", "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "public final void mT__26() throws RecognitionException {\n try {\n int _type = T__26;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:26:7: ( ')' )\n // InternalIotLuaXtext.g:26:9: ')'\n {\n match(')'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mKEYWORD_26() throws RecognitionException {\n try {\n int _type = KEYWORD_26;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:27:12: ( ( 'A' | 'a' ) ( 'T' | 't' ) ( 'M' | 'm' ) ( 'O' | 'o' ) ( 'S' | 's' ) ( 'T' | 't' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:27:14: ( 'A' | 'a' ) ( 'T' | 't' ) ( 'M' | 'm' ) ( 'O' | 'o' ) ( 'S' | 's' ) ( 'T' | 't' )\n {\n if ( input.LA(1)=='A'||input.LA(1)=='a' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='T'||input.LA(1)=='t' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='M'||input.LA(1)=='m' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='O'||input.LA(1)=='o' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='S'||input.LA(1)=='s' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='T'||input.LA(1)=='t' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__24() throws RecognitionException {\n try {\n int _type = T__24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:22:7: ( '->' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:22:9: '->'\n {\n match(\"->\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void setVar26(java.lang.CharSequence value) {\n this.var26 = value;\n }", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "public final void mT__24() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__24;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('>');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public final void mT__27() throws RecognitionException {\n try {\n int _type = T__27;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:27:7: ( '(' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:27:9: '('\n {\n match('('); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "boolean tokenCanEnd(Token token)\r\n {\r\n if (token == null)\r\n return false;\r\n int type = token.getType();\r\n switch (type) {\r\n \tcase MExprANTLRParserTokenTypes.NOT:\r\n \tcase MExprANTLRParserTokenTypes.NOTNOT:\r\n case MExprANTLRParserTokenTypes.RBRACE:\r\n case MExprANTLRParserTokenTypes.RBRACKET:\r\n case MExprANTLRParserTokenTypes.RPAREN:\r\n case MExprANTLRParserTokenTypes.INT: \r\n case MExprANTLRParserTokenTypes.REAL:\r\n case MExprANTLRParserTokenTypes.ID:\r\n case MExprANTLRParserTokenTypes.NULLID:\r\n case MExprANTLRParserTokenTypes.POSTFIXID:\r\n case MExprANTLRParserTokenTypes.STRING:\r\n case MExprANTLRParserTokenTypes.BLANK1:\r\n case MExprANTLRParserTokenTypes.IDBLANK1:\r\n case MExprANTLRParserTokenTypes.BLANKID1:\r\n case MExprANTLRParserTokenTypes.IDBLANKID1:\r\n case MExprANTLRParserTokenTypes.BLANK2:\r\n case MExprANTLRParserTokenTypes.IDBLANK2:\r\n case MExprANTLRParserTokenTypes.BLANKID2:\r\n case MExprANTLRParserTokenTypes.IDBLANKID2:\r\n case MExprANTLRParserTokenTypes.BLANK3:\r\n case MExprANTLRParserTokenTypes.IDBLANK3:\r\n case MExprANTLRParserTokenTypes.BLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKID3:\r\n case MExprANTLRParserTokenTypes.IDBLANKDOT:\r\n case MExprANTLRParserTokenTypes.BLANKDOT:\r\n case MExprANTLRParserTokenTypes.SLOT: \r\n case MExprANTLRParserTokenTypes.TYPESETEXPR:\r\n case MExprANTLRParserTokenTypes.GET:\r\n case MExprANTLRParserTokenTypes.PUT:\r\n case MExprANTLRParserTokenTypes.PERCENT:\r\n case MExprANTLRParserTokenTypes.PERCENTNUMBER:\r\n \t return true;\r\n }\r\n\r\n return false;\r\n }", "public final void mT__25() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__25;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('?');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "public final void mT__27() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__27;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('}');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public final void mT__35() throws RecognitionException {\n try {\n int _type = T__35;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:35:7: ( 'end' )\n // InternalIotLuaXtext.g:35:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "public void visit(Literal literal) {}", "public final void mT__26() throws RecognitionException {\n try {\n int _type = T__26;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:24:7: ( '>' )\n // InternalSpeADL.g:24:9: '>'\n {\n match('>'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mKEYWORD_25() throws RecognitionException {\n try {\n int _type = KEYWORD_25;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:35:12: ( ( 'W' | 'w' ) ( 'H' | 'h' ) ( 'E' | 'e' ) ( 'N' | 'n' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:35:14: ( 'W' | 'w' ) ( 'H' | 'h' ) ( 'E' | 'e' ) ( 'N' | 'n' )\n {\n if ( input.LA(1)=='W'||input.LA(1)=='w' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='H'||input.LA(1)=='h' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='E'||input.LA(1)=='e' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='N'||input.LA(1)=='n' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "private Token match(Kind kind) throws SyntaxException {\n\t\tif (t.kind.equals(kind)) {\n\t\t\treturn consume();\n\t\t}\n\t\tthrow new SyntaxException(\"saw \" + t.kind + \"expected \" + kind);\n\t}", "static void match(TokenType ttype) throws IOException {\n if(ttype == curr_type) {\n getToken();\n }\n else {\n cout.println(\"Match Error: \" + ttype);\n System.exit(1);\n }\n }", "public BindingLexer() {;}", "public final void mT__29() throws RecognitionException {\n try {\n int _type = T__29;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:27:7: ( 'fragment' )\n // InternalMyDsl.g:27:9: 'fragment'\n {\n match(\"fragment\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public java.lang.CharSequence getVar26() {\n return var26;\n }", "public final void mT__26() throws RecognitionException {\r\n try {\r\n int _type = T__26;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:27:7: ( '|' )\r\n // InternalSpringConfigDsl.g:27:9: '|'\r\n {\r\n match('|'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "private Token(TokenType type, Range range, Range textRange, String id, String match) {\r\n \t\t\tsuper();\r\n \t\t\tthis.type = type;\r\n \t\t\tthis.range = range;\r\n \t\t\tthis.textRange = textRange == null ? range : textRange;\r\n \t\t\tthis.id = id;\r\n //\t\t\tthis.match = match;\r\n \t\t}", "public final void mT__56() throws RecognitionException {\n try {\n int _type = T__56;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:54:7: ( '|' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:54:9: '|'\n {\n match('|'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "final public IASTLiteralTextNode Argument() throws ParseException {\r\n IASTLiteralTextNode node = null;\r\n Token lastToken = null;\r\n Token equalToken = null;\r\n Token firstToken = null;\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case INT:\r\n firstToken = jj_consume_token(INT);\r\n if (jj_2_3(2147483647)) {\r\n equalToken = jj_consume_token(EQUAL);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case MINUS:\r\n jj_consume_token(MINUS);\r\n break;\r\n default:\r\n jj_la1[16] = jj_gen;\r\n ;\r\n }\r\n lastToken = jj_consume_token(INT);\r\n } else {\r\n ;\r\n }\r\n if (equalToken == null) {\r\n lastToken = firstToken;\r\n }\r\n break;\r\n case ASTERISK:\r\n case WORD:\r\n case STRING:\r\n case PACKAGE_OPTION:\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ASTERISK:\r\n firstToken = jj_consume_token(ASTERISK);\r\n break;\r\n case PACKAGE_OPTION:\r\n firstToken = jj_consume_token(PACKAGE_OPTION);\r\n break;\r\n case WORD:\r\n firstToken = jj_consume_token(WORD);\r\n break;\r\n case STRING:\r\n firstToken = jj_consume_token(STRING);\r\n break;\r\n default:\r\n jj_la1[17] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n lastToken = firstToken;\r\n break;\r\n default:\r\n jj_la1[18] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n node = getRawLiteralTextNodeSpanning(firstToken, lastToken);\r\n {if (true) return node;}\r\n throw new Error(\"Missing return statement in function\");\r\n }", "public final void mT__26() throws RecognitionException {\n try {\n int _type = T__26;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:26:7: ( ',' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:26:9: ','\n {\n match(','); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "AstroArg unpack(Astro litChars);", "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public R visit(StmtExp n) {\n R _ret=null;\n n.f0.accept(this);\n // System.out.println(\"BEGIN\");\n n.f1.accept(this);\n n.f2.accept(this);\n \t\n String s = (String) n.f3.accept(this);\n current_temp =s;\n n.f4.accept(this);\n //System.out.println(\"END\");\n return (R)s;\n }", "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "public final void mT__26() throws RecognitionException {\n try {\n int _type = T__26;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:24:7: ( 'then' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:24:9: 'then'\n {\n match(\"then\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mKEYWORD_27() throws RecognitionException {\n try {\n int _type = KEYWORD_27;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:29:12: ( ( 'V' | 'v' ) ( 'E' | 'e' ) ( 'R' | 'r' ) ( 'I' | 'i' ) ( 'F' | 'f' ) ( 'Y' | 'y' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:29:14: ( 'V' | 'v' ) ( 'E' | 'e' ) ( 'R' | 'r' ) ( 'I' | 'i' ) ( 'F' | 'f' ) ( 'Y' | 'y' )\n {\n if ( input.LA(1)=='V'||input.LA(1)=='v' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='E'||input.LA(1)=='e' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='R'||input.LA(1)=='r' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='I'||input.LA(1)=='i' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='F'||input.LA(1)=='f' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='Y'||input.LA(1)=='y' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT25() throws RecognitionException {\n try {\n int _type = T25;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:23:5: ( '(' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:23:7: '('\n {\n match('('); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "public java.lang.CharSequence getVar26() {\n return var26;\n }", "@Test(timeout = 4000)\n public void test086() throws Throwable {\n StringReader stringReader0 = new StringReader(\"~:}LC@A$L'2q+~$ja\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals(90, token0.kind);\n }", "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "private void eatModifier() {\n\n if (currentTokenPointer >= tokenCount) {\n\n raiseParseProblem(\"run out of tokens to process\", expansionString.length());\n\n }\n\n Token token = tokens.get(currentTokenPointer);\n\n TokenKind k = token.kind;\n\n if (currentVersionComponent > 3) {\n\n raiseParseProblem(\"too many version components specified, only major.minor.micro.qualifier is allowed. Found '\" + string(token)\n\n + \"' at position \" + token.start, token.start);\n\n }\n\n if (k == TokenKind.EQUALS) {\n\n processEquals();\n\n } else if (k == TokenKind.WORD) {\n\n processWord();\n\n } else if (k == TokenKind.NUMBER) {\n\n processNumeric();\n\n } else if (k == TokenKind.PLUSNUMBER || k == TokenKind.NEGATIVENUMBER) {\n\n processNumericModifier();\n\n } else {\n\n if (currentVersionComponent < 3) {\n\n raiseParseProblem(\"expected one of: '=' '+nnn' '-nnn' or 'nnn' but found '\" + string(token) + \"' at position \" + token.start,\n\n token.start);\n\n } else {\n\n raiseParseProblem(\"expected one of: '=' '+nnn' '-nnn' 'nnn' or 'xxx' but found '\" + string(token) + \"' at position \" + token.start,\n\n token.start);\n\n }\n\n }\n\n currentTokenPointer++;\n\n }", "public void visit(Literal n) {\n n.f0.accept(this);\n }", "public final void mT__29() throws RecognitionException {\n try {\n int _type = T__29;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:29:7: ( '|' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:29:9: '|'\n {\n match('|'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "public interface DefccConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int MODULE_TKN = 11;\n /** RegularExpression Id. */\n int CLASS_TKN = 12;\n /** RegularExpression Id. */\n int INCLUDE_TKN = 13;\n /** RegularExpression Id. */\n int BYTE_TKN = 14;\n /** RegularExpression Id. */\n int BOOLEAN_TKN = 15;\n /** RegularExpression Id. */\n int INT_TKN = 16;\n /** RegularExpression Id. */\n int LONG_TKN = 17;\n /** RegularExpression Id. */\n int FLOAT_TKN = 18;\n /** RegularExpression Id. */\n int DOUBLE_TKN = 19;\n /** RegularExpression Id. */\n int STRING_TKN = 20;\n /** RegularExpression Id. */\n int BUFFER_TKN = 21;\n /** RegularExpression Id. */\n int VECTOR_TKN = 22;\n /** RegularExpression Id. */\n int MAP_TKN = 23;\n /** RegularExpression Id. */\n int LBRACE_TKN = 24;\n /** RegularExpression Id. */\n int RBRACE_TKN = 25;\n /** RegularExpression Id. */\n int LT_TKN = 26;\n /** RegularExpression Id. */\n int GT_TKN = 27;\n /** RegularExpression Id. */\n int SEMICOLON_TKN = 28;\n /** RegularExpression Id. */\n int COMMA_TKN = 29;\n /** RegularExpression Id. */\n int DOT_TKN = 30;\n /** RegularExpression Id. */\n int CSTRING_TKN = 31;\n /** RegularExpression Id. */\n int IDENT_TKN = 32;\n /** RegularExpression Id. */\n int IDENT_TKN_W_DOT = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int WithinOneLineComment = 1;\n /** Lexical state. */\n int WithinMultiLineComment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"module\\\"\",\n \"\\\"class\\\"\",\n \"\\\"include\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"int\\\"\",\n \"\\\"long\\\"\",\n \"\\\"float\\\"\",\n \"\\\"double\\\"\",\n \"\\\"string\\\"\",\n \"\\\"buffer\\\"\",\n \"\\\"vector\\\"\",\n \"\\\"map\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CSTRING_TKN>\",\n \"<IDENT_TKN>\",\n \"<IDENT_TKN_W_DOT>\",\n };\n\n}", "private static void verifEnt() {\r\n\t\tif (tCour != ENT)\r\n\t\t\tUtilLex.messErr(\"expression entiere attendue\");\r\n\t}", "public final void mT__26() throws RecognitionException {\n try {\n int _type = T__26;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:25:7: ( 'using' )\n // InternalMyDsl.g:25:9: 'using'\n {\n match(\"using\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mT__23() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.T__23;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n this.match('<');\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "private Token matchEOF() throws SyntaxException {\n\t\tif (t.kind.equals(EOF)) {\n\t\t\treturn t;\n\t\t}\n\t\tthrow new SyntaxException(\"expected EOF\");\n\t}", "public final void mIDENT() throws RecognitionException {\n try {\n int _type = IDENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:599:5: ( LETTER ( LETTER | DIGIT | '_' )* )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:599:7: LETTER ( LETTER | DIGIT | '_' )*\n {\n mLETTER(); \n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:599:14: ( LETTER | DIGIT | '_' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"|OLg_Eyu;i\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(17, token0.getTokenType());\n assertEquals(\"|\", token0.getTokenText());\n }", "public static void main(String[] args) {\r\n\r\n\tAlternation a = new Alternation();\r\n\t\r\n\ta.add(new Literal(\"steaming\"));\r\n\ta.add(new Literal(\"hot\"));\r\n\r\n\tRepetition adjectives = new Repetition(a);\r\n\r\n\tTokenAssembly ta = \r\n\t\tnew TokenAssembly(\"hot hot steaming hot coffee\");\r\n\t\r\n\tSystem.out.println(adjectives.bestMatch(ta));\r\n}", "@Test(timeout = 4000)\n public void test124() throws Throwable {\n StringReader stringReader0 = new StringReader(\"J..!IK9I\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(\"J\", token0.toString());\n assertEquals(74, token0.kind);\n }", "public final void mT__117() throws RecognitionException {\n try {\n int _type = T__117;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:111:8: ( 'end' )\n // InternalEsm.g:111:10: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "public final void mT__27() throws RecognitionException {\r\n try {\r\n int _type = T__27;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:24:7: ( '<>' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:24:9: '<>'\r\n {\r\n match(\"<>\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "private void match(TokenType tokType) {\r\n if(tokens.get(position).returnType() != tokType) {\r\n \t\tSystem.out.println(position);\r\n parseError();\r\n }\r\n position++;\r\n }", "public void a(eq ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public int k() {\r\n/* 55 */ return 9;\r\n/* */ }", "public final void mT__24() throws RecognitionException {\r\n try {\r\n int _type = T__24;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:21:7: ( '>' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:21:9: '>'\r\n {\r\n match('>'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "private String E() throws SyntaxException, ParserException {\n\t\tswitch (current) {\n\t\t\tcase 'a':\n\t\t\tcase 'b':\n\t\t\tcase 'c':\n\t\t\t\t// E -> L\n\t\t\t\treturn L();\n\t\t\tcase '(':\n\t\t\t\t// E -> (S)\n\t\t\t\teat('(');\n\t\t\t\tString pe = S();\n\t\t\t\teat(')');\n\t\t\t\treturn pe;\n\t\t\tdefault:\n\t\t\t\tthrow new SyntaxException(ErrorType.NO_RULE,current);\n\t\t}\n\t}", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public final void synpred91_InternalMitraParser_fragment() throws RecognitionException { \n Token otherlv_2=null;\n EObject lv_type_3_0 = null;\n\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4345:2: ( () otherlv_2= KEYWORD_96 ( (lv_type_3_0= ruleType ) ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4345:2: () otherlv_2= KEYWORD_96 ( (lv_type_3_0= ruleType ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4345:2: ()\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4346:2: \n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n\n }\n\n otherlv_2=(Token)match(input,KEYWORD_96,FOLLOW_KEYWORD_96_in_synpred91_InternalMitraParser8711); if (state.failed) return ;\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4359:1: ( (lv_type_3_0= ruleType ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4360:1: (lv_type_3_0= ruleType )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4360:1: (lv_type_3_0= ruleType )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4361:3: lv_type_3_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getExpression_9Access().getTypeTypeParserRuleCall_1_2_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_synpred91_InternalMitraParser8731);\n lv_type_3_0=ruleType();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }", "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "private void parseStmt() throws IOException, FSException,RetException {\n\n\n switch(tok.ttype) {\n\n case LexAnn.TT_DEFINT:\n case LexAnn.TT_DEFSTRING:\n case LexAnn.TT_DEFDOUBLE:\n case LexAnn.TT_DEFOBJECT: {\n parseVarDef();\n break;\n }\n\n case LexAnn.TT_IF: {\n parseIf();\n break;\n }\n case LexAnn.TT_WHILE: {\n parseWhile();\n break;\n }\n case LexAnn.TT_RETURN: {\n parseReturn();\n break;\n }\n case LexAnn.TT_DEFFUNC: {\n parseFunctionDef();\n break;\n }\n case LexAnn.TT_EDEFFUNC: {\n parseFunctionEnd();\n break;\n }\n case LexAnn.TT_EIF:\n throw new FSException(\"unexpected endif\");\n case LexAnn.TT_EWHILE:\n throw new FSException(\"unexpected endwhile\");\n\n case LexAnn.TT_FUNC: {\n parseFunc();\n break;\n }\n case LexAnn.TT_ARRAY: {\n parseArrayAssign();\n break;\n }\n case LexAnn.TT_WORD: {\n parseAssign();\n break;\n }\n case LexAnn.TT_EOL: {\n tok.nextToken();\n break;\n }\n case LexAnn.TT_EOF: {\n // all done\n break;\n }\n default: {\n parseError(\"Expected identifier \"+tok);\n\n }\n }\n\n }", "public Token(Type t, String c) {\r\n this.t = t;\r\n this.c = c;\r\n }", "@Test(timeout = 4000)\n public void test137() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(2, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifier();\n assertEquals(\"E\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(7, token2.getTokenType());\n assertEquals(\"<\", token2.getTokenText());\n }", "private void nextKwId() {\n\t\tint old=pos;\n\t\tmany(letters);\n\t\tmany(legits);\n\t\tString lexeme=program.substring(old,pos);\n\t\ttoken=new Token((keywords.contains(lexeme) ? lexeme : \"id\"),lexeme);\n }", "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return lexer.nextToken(); \n }", "@Test(timeout = 4000)\n public void test075() throws Throwable {\n StringReader stringReader0 = new StringReader(\"<?ep_cuW)AS/}\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 0, (-1));\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals(88, token0.kind);\n }", "public BasicParser(BasicParserTokenManager tm) {\n\t token_source = tm;\n\t token = new Token();\n\t jj_ntk = -1;\n\t jj_gen = 0;\n\t for (int i = 0; i < 13; i++) jj_la1[i] = -1;\n }", "@Test(timeout = 4000)\n public void test013() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.getPreviousToken();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(18, token0.getTokenType());\n }", "String WHERE() { return yyline+\"/\"+yycolumn+\"(\"+yychar+\")\" ;}", "String replaceParserMessage(Entity e, String action);", "public final void mID() throws RecognitionException {\r\n try {\r\n int _type = ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:292:4: ( LETTER ( DIGIT | LETTER )* )\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:292:6: LETTER ( DIGIT | LETTER )*\r\n {\r\n mLETTER(); \r\n\r\n\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:292:13: ( DIGIT | LETTER )*\r\n loop5:\r\n do {\r\n int alt5=2;\r\n int LA5_0 = input.LA(1);\r\n\r\n if ( ((LA5_0 >= '0' && LA5_0 <= '9')||(LA5_0 >= 'A' && LA5_0 <= 'Z')||LA5_0=='_'||(LA5_0 >= 'a' && LA5_0 <= 'z')) ) {\r\n alt5=1;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:\r\n \t {\r\n \t if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {\r\n \t input.consume();\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;\r\n \t }\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop5;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n }", "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"^\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"=\\\"\",\n \"\\\":=\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "public static void main(){\r\n\t\t\r\n\t\tArrayList<tok> pHolder = new ArrayList<tok>();\r\n\r\n\t\t pHolder.add(new tok(\"@\", \"@\"));\r\n\t\t\r\n\t\treturn;\r\n\t}", "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "public final void mT__21() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__21;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:7: ( '-' )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:11:9: '-'\r\n\t\t\t{\r\n\t\t\tmatch('-'); \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "public final void mT__25() throws RecognitionException {\n try {\n int _type = T__25;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:24:7: ( '}' )\n // InternalMyDsl.g:24:9: '}'\n {\n match('}'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface PerlTokenSets extends PerlElementTypes, MooseElementTypes {\n TokenSet OPERATORS_TOKENSET = TokenSet.create(\n OPERATOR_CMP_NUMERIC,\n OPERATOR_LT_NUMERIC,\n OPERATOR_GT_NUMERIC,\n\n OPERATOR_CMP_STR,\n OPERATOR_LE_STR,\n OPERATOR_GE_STR,\n OPERATOR_EQ_STR,\n OPERATOR_NE_STR,\n OPERATOR_LT_STR,\n OPERATOR_GT_STR,\n\n OPERATOR_HELLIP,\n OPERATOR_FLIP_FLOP,\n OPERATOR_CONCAT,\n\n OPERATOR_PLUS_PLUS,\n OPERATOR_MINUS_MINUS,\n OPERATOR_POW,\n\n OPERATOR_RE,\n OPERATOR_NOT_RE,\n\n //\t\t\tOPERATOR_HEREDOC, // this is an artificial operator, not the real one; fixme uncommenting breaks parsing of print $of <<EOM\n OPERATOR_SHIFT_LEFT,\n OPERATOR_SHIFT_RIGHT,\n\n OPERATOR_AND,\n OPERATOR_OR,\n OPERATOR_OR_DEFINED,\n OPERATOR_NOT,\n\n OPERATOR_ASSIGN,\n\n QUESTION,\n COLON,\n\n OPERATOR_REFERENCE,\n\n OPERATOR_DIV,\n OPERATOR_MUL,\n OPERATOR_MOD,\n OPERATOR_PLUS,\n OPERATOR_MINUS,\n\n OPERATOR_BITWISE_NOT,\n OPERATOR_BITWISE_AND,\n OPERATOR_BITWISE_OR,\n OPERATOR_BITWISE_XOR,\n\n OPERATOR_AND_LP,\n OPERATOR_OR_LP,\n OPERATOR_XOR_LP,\n OPERATOR_NOT_LP,\n\n COMMA,\n FAT_COMMA,\n\n OPERATOR_DEREFERENCE,\n\n OPERATOR_X,\n OPERATOR_FILETEST,\n\n // syntax operators\n OPERATOR_POW_ASSIGN,\n OPERATOR_PLUS_ASSIGN,\n OPERATOR_MINUS_ASSIGN,\n OPERATOR_MUL_ASSIGN,\n OPERATOR_DIV_ASSIGN,\n OPERATOR_MOD_ASSIGN,\n OPERATOR_CONCAT_ASSIGN,\n OPERATOR_X_ASSIGN,\n OPERATOR_BITWISE_AND_ASSIGN,\n OPERATOR_BITWISE_OR_ASSIGN,\n OPERATOR_BITWISE_XOR_ASSIGN,\n OPERATOR_SHIFT_LEFT_ASSIGN,\n OPERATOR_SHIFT_RIGHT_ASSIGN,\n OPERATOR_AND_ASSIGN,\n OPERATOR_OR_ASSIGN,\n OPERATOR_OR_DEFINED_ASSIGN,\n\n OPERATOR_GE_NUMERIC,\n OPERATOR_LE_NUMERIC,\n OPERATOR_EQ_NUMERIC,\n OPERATOR_NE_NUMERIC,\n OPERATOR_SMARTMATCH\n );\n\n TokenSet DEFAULT_KEYWORDS_TOKENSET = TokenSet.create(\n RESERVED_MY,\n RESERVED_OUR,\n RESERVED_STATE,\n RESERVED_LOCAL,\n RESERVED_ELSIF,\n RESERVED_ELSE,\n RESERVED_GIVEN,\n RESERVED_DEFAULT,\n RESERVED_CONTINUE,\n RESERVED_FORMAT,\n RESERVED_SUB,\n RESERVED_PACKAGE,\n RESERVED_USE,\n RESERVED_NO,\n RESERVED_REQUIRE,\n RESERVED_UNDEF,\n RESERVED_PRINT,\n RESERVED_PRINTF,\n RESERVED_SAY,\n RESERVED_GREP,\n RESERVED_MAP,\n RESERVED_SORT,\n RESERVED_DO,\n RESERVED_EVAL,\n RESERVED_GOTO,\n RESERVED_REDO,\n RESERVED_NEXT,\n RESERVED_LAST,\n RESERVED_RETURN,\n\n RESERVED_Y,\n RESERVED_TR,\n RESERVED_Q,\n RESERVED_S,\n RESERVED_M,\n RESERVED_QW,\n RESERVED_QQ,\n RESERVED_QR,\n RESERVED_QX,\n\n RESERVED_IF,\n RESERVED_UNTIL,\n RESERVED_UNLESS,\n RESERVED_FOR,\n RESERVED_FOREACH,\n RESERVED_WHEN,\n RESERVED_WHILE\n );\n\n TokenSet TRY_CATCH_KEYWORDS_TOKENSET = TokenSet.create(\n RESERVED_TRY,\n RESERVED_CATCH,\n RESERVED_FINALLY,\n RESERVED_CATCH_WITH,\n RESERVED_EXCEPT,\n RESERVED_OTHERWISE,\n RESERVED_CONTINUATION\n );\n\n TokenSet METHOD_SIGNATURES_KEYWORDS_TOKENSET = TokenSet.create(\n RESERVED_METHOD,\n RESERVED_FUNC\n );\n\n TokenSet KEYWORDS_TOKENSET = TokenSet.orSet(\n DEFAULT_KEYWORDS_TOKENSET,\n MOOSE_RESERVED_TOKENSET,\n METHOD_SIGNATURES_KEYWORDS_TOKENSET,\n TRY_CATCH_KEYWORDS_TOKENSET\n );\n\n TokenSet ANNOTATIONS_KEYS = TokenSet.create(\n ANNOTATION_DEPRECATED_KEY,\n ANNOTATION_RETURNS_KEY,\n ANNOTATION_OVERRIDE_KEY,\n ANNOTATION_METHOD_KEY,\n ANNOTATION_ABSTRACT_KEY,\n ANNOTATION_INJECT_KEY,\n ANNOTATION_NOINSPECTION_KEY,\n ANNOTATION_TYPE_KEY\n\n );\n\n TokenSet STRING_CONTENT_TOKENSET = TokenSet.create(\n STRING_CONTENT,\n STRING_CONTENT_XQ,\n STRING_CONTENT_QQ\n );\n\n TokenSet HEREDOC_BODIES_TOKENSET = TokenSet.create(\n HEREDOC,\n HEREDOC_QQ,\n HEREDOC_QX\n );\n\n\n TokenSet QUOTE_MIDDLE = TokenSet.create(REGEX_QUOTE, REGEX_QUOTE_E);\n\n TokenSet QUOTE_OPEN_ANY = TokenSet.orSet(\n TokenSet.create(REGEX_QUOTE_OPEN, REGEX_QUOTE_OPEN_E),\n PerlParserUtil.OPEN_QUOTES,\n QUOTE_MIDDLE\n );\n\n TokenSet QUOTE_CLOSE_FIRST_ANY = TokenSet.orSet(\n TokenSet.create(REGEX_QUOTE_CLOSE),\n QUOTE_MIDDLE,\n CLOSE_QUOTES\n );\n\n TokenSet QUOTE_CLOSE_PAIRED = TokenSet.orSet(\n CLOSE_QUOTES,\n TokenSet.create(REGEX_QUOTE_CLOSE)\n );\n\n TokenSet SIGILS = TokenSet.create(\n SIGIL_SCALAR, SIGIL_ARRAY, SIGIL_HASH, SIGIL_GLOB, SIGIL_CODE, SIGIL_SCALAR_INDEX\n );\n\n TokenSet STATEMENTS = TokenSet.create(\n STATEMENT, USE_STATEMENT, NO_STATEMENT\n );\n\n TokenSet LAZY_CODE_BLOCKS = TokenSet.create(LP_CODE_BLOCK, LP_CODE_BLOCK_WITH_TRYCATCH);\n\n TokenSet LAZY_PARSABLE_REGEXPS = TokenSet.create(\n LP_REGEX_REPLACEMENT,\n LP_REGEX,\n LP_REGEX_X,\n LP_REGEX_XX\n );\n\n TokenSet HEREDOC_ENDS = TokenSet.create(HEREDOC_END, HEREDOC_END_INDENTABLE);\n /**\n * Quote openers with three or four quotes\n */\n TokenSet COMPLEX_QUOTE_OPENERS = TokenSet.create(\n RESERVED_S,\n RESERVED_TR,\n RESERVED_Y\n );\n TokenSet SIMPLE_QUOTE_OPENERS = TokenSet.create(\n RESERVED_Q,\n RESERVED_QQ,\n RESERVED_QX,\n RESERVED_QW,\n RESERVED_QR,\n RESERVED_M\n );\n}", "public interface LLkGrammarAnalyzer extends GrammarAnalyzer {\n\n\n public boolean deterministic(AlternativeBlock blk);\n\n public boolean deterministic(OneOrMoreBlock blk);\n\n public boolean deterministic(ZeroOrMoreBlock blk);\n\n public Lookahead FOLLOW(int k, RuleEndElement end);\n\n public Lookahead look(int k, ActionElement action);\n\n public Lookahead look(int k, AlternativeBlock blk);\n\n public Lookahead look(int k, BlockEndElement end);\n\n public Lookahead look(int k, CharLiteralElement atom);\n\n public Lookahead look(int k, CharRangeElement end);\n\n public Lookahead look(int k, GrammarAtom atom);\n\n public Lookahead look(int k, OneOrMoreBlock blk);\n\n public Lookahead look(int k, RuleBlock blk);\n\n public Lookahead look(int k, RuleEndElement end);\n\n public Lookahead look(int k, RuleRefElement rr);\n\n public Lookahead look(int k, StringLiteralElement atom);\n\n public Lookahead look(int k, SynPredBlock blk);\n\n public Lookahead look(int k, TokenRangeElement end);\n\n public Lookahead look(int k, TreeElement end);\n\n public Lookahead look(int k, WildcardElement wc);\n\n public Lookahead look(int k, ZeroOrMoreBlock blk);\n\n public Lookahead look(int k, String rule);\n\n public void setGrammar(Grammar g);\n\n public boolean subruleCanBeInverted(AlternativeBlock blk, boolean forLexer);\n}", "private Token symbol(TOKEN_TYPE t){\t\n\t\tntk++;\n\t\treturn new Token(t, yytext(), yyline+1, yycolumn+1); // yytext() é o lexema\n\t}", "static boolean isVerbBehind(AnalyzedTokenReadings[] tokens, int end) {\n return (end < tokens.length - 1 && tokens[end].getToken().equals(\",\") && tokens[end+1].hasPosTagStartingWith(\"VER:\"));\n }" ]
[ "0.55156946", "0.5479196", "0.5441818", "0.5426205", "0.5144382", "0.51168615", "0.51060677", "0.5085602", "0.49812925", "0.49800247", "0.49751392", "0.49666905", "0.49125126", "0.48958164", "0.4883978", "0.48651087", "0.4829453", "0.4790333", "0.47838506", "0.47740188", "0.47594494", "0.47573298", "0.47551975", "0.47436222", "0.473926", "0.47372645", "0.47279242", "0.47131133", "0.4696801", "0.46828467", "0.46779865", "0.46729317", "0.46616873", "0.4631946", "0.4614613", "0.46081457", "0.46047288", "0.4601178", "0.45976573", "0.45973387", "0.45875025", "0.4582678", "0.4582521", "0.45823863", "0.45815486", "0.45786858", "0.4578113", "0.45773247", "0.4567973", "0.45644182", "0.45628425", "0.45615363", "0.45589313", "0.45500073", "0.45479086", "0.4540317", "0.4532131", "0.4531279", "0.45284843", "0.45210084", "0.45206642", "0.45200646", "0.4517659", "0.45040926", "0.4481374", "0.4480186", "0.4478988", "0.4478634", "0.44589916", "0.4458006", "0.44563907", "0.4455977", "0.44510543", "0.4450537", "0.44483185", "0.44412747", "0.44393277", "0.44335705", "0.44330686", "0.44297874", "0.44289422", "0.4426604", "0.44243127", "0.4423234", "0.44231647", "0.44222903", "0.44199857", "0.44193876", "0.4417319", "0.4415543", "0.44148794", "0.44119686", "0.4410889", "0.44031924", "0.43989706", "0.43986297", "0.4395233", "0.4391084", "0.43910688", "0.4387184", "0.43854117" ]
0.0
-1
$ANTLR end "T__26" $ANTLR start "RULE_BOOLEAN"
public final void mRULE_BOOLEAN() throws RecognitionException { try { int _type = RULE_BOOLEAN; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:2282:14: ( ( 'true' | 'false' ) ) // InternalDSL.g:2282:16: ( 'true' | 'false' ) { // InternalDSL.g:2282:16: ( 'true' | 'false' ) int alt1=2; int LA1_0 = input.LA(1); if ( (LA1_0=='t') ) { alt1=1; } else if ( (LA1_0=='f') ) { alt1=2; } else { NoViableAltException nvae = new NoViableAltException("", 1, 0, input); throw nvae; } switch (alt1) { case 1 : // InternalDSL.g:2282:17: 'true' { match("true"); } break; case 2 : // InternalDSL.g:2282:24: 'false' { match("false"); } break; } } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mRULE_BOOLEAN() throws RecognitionException {\n try {\n int _type = RULE_BOOLEAN;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:14: ( ( 'true' | 'false' ) )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:16: ( 'true' | 'false' )\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:16: ( 'true' | 'false' )\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='t') ) {\n alt5=1;\n }\n else if ( (LA5_0=='f') ) {\n alt5=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 0, input);\n\n throw nvae;\n }\n switch (alt5) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:17: 'true'\n {\n match(\"true\"); \n\n\n }\n break;\n case 2 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:24: 'false'\n {\n match(\"false\"); \n\n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mBOOLEAN_TYPE() throws RecognitionException {\n try {\n int _type = BOOLEAN_TYPE;\n // /Users/benjamincoe/HackWars/C.g:189:2: ( 'bool' | 'boolean' )\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='b') ) {\n int LA5_1 = input.LA(2);\n\n if ( (LA5_1=='o') ) {\n int LA5_2 = input.LA(3);\n\n if ( (LA5_2=='o') ) {\n int LA5_3 = input.LA(4);\n\n if ( (LA5_3=='l') ) {\n int LA5_4 = input.LA(5);\n\n if ( (LA5_4=='e') ) {\n alt5=2;\n }\n else {\n alt5=1;}\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"188:1: BOOLEAN_TYPE : ( 'bool' | 'boolean' );\", 5, 3, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"188:1: BOOLEAN_TYPE : ( 'bool' | 'boolean' );\", 5, 2, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"188:1: BOOLEAN_TYPE : ( 'bool' | 'boolean' );\", 5, 1, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"188:1: BOOLEAN_TYPE : ( 'bool' | 'boolean' );\", 5, 0, input);\n\n throw nvae;\n }\n switch (alt5) {\n case 1 :\n // /Users/benjamincoe/HackWars/C.g:189:4: 'bool'\n {\n match(\"bool\"); \n\n\n }\n break;\n case 2 :\n // /Users/benjamincoe/HackWars/C.g:189:11: 'boolean'\n {\n match(\"boolean\"); \n\n\n }\n break;\n\n }\n this.type = _type;\n }\n finally {\n }\n }", "@Override\n\tpublic String visitBoolExpr(BoolExprContext ctx) {\n\t\tint childrenNo=ctx.children.size();\n\t\tif (childrenNo == 3 )\n\t\t{\n\t\t\tParseTree n=ctx.getChild(1);\t\t\t\n\t\t\tif (!(n instanceof TerminalNode)) return visit(n); //( boolExpr ) \n\t\t\telse if(n.equals(ctx.COMP())) {\n\t\t\t\tString firstOpType=visit(ctx.getChild(0)); //|arExpr COMP arExpr\n\t\t\t\tString secondOpType=visit(ctx.getChild(2)); \n\t\t\t\tif(!((firstOpType.equals(\"int\"))&&(secondOpType.equals(\"int\")))) throw new RuntimeException(\"you can only compare integer types\");\n\t\t\t\treturn \"boolean\";\n\t\t\t}else if(n==ctx.EQ()){\t\t\t\t\t\t\t\t\t\t\t//|arExpr EQ arExpr\n\t\t\t\tString firstOpType=visit(ctx.getChild(0)); \n\t\t\t\tString secondOpType=visit(ctx.getChild(2)); \t\t\t\t\n\t\t\t\tif(!(((firstOpType.equals(\"int\"))&&(secondOpType.equals(\"int\")))||((firstOpType.equals(\"char\"))&&(secondOpType.equals(\"char\"))))) throw new RuntimeException(\"you can only use\"\n\t\t\t\t\t\t+ \"\\\"==\\\" operator on integer or character types\");\n\t\t\t\treturn \"boolean\";\n\t\t\t}else if(n==ctx.AND()||n==ctx.OR()){ //|boolExpr (AND|OR)boolExpr\n\t\t\t\tString firstOpType=visit(ctx.getChild(0));\n\t\t\t\tString secondOpType=visit(ctx.getChild(2));\n\t\t\t\tif(!(firstOpType.equals(\"boolean\"))&&(secondOpType.equals(\"boolean\"))) throw new RuntimeException(\"you can only use boolean operators on boolean expressions\");\n\t\t\t\treturn \"boolean\";\n\t\t\t}\n\t\t} else if (childrenNo == 2 ) { //|NOT boolExpr\n\t\t\tString exprType=visit(ctx.getChild(1));\n\t\t\tif (!exprType.equals(\"boolean\")) throw new RuntimeException(\"NOT operator works only with boolean expresssions\");\n\t\t\t\treturn \"boolean\";\n\t\t}else {\t\t\t\t\t\t\t\t//|(ID|property|BOOLEANLIT|arrIdExpr|methodCall)\n\t\t\tParseTree n=ctx.getChild(0);\n\t\t\tif (n instanceof TerminalNode) {\t\t\t\t\n\t\t\t\tif (n==ctx.BOOLEANLIT()) return \"boolean\";\n\t\t\t\telse if(n==ctx.ID()){\n\t\t\t\t\tString key=visitTerminal((TerminalNode)n);\n\t\t\t\t\tRecord id= table.lookup(key);\n\t\t\t\t\tif (id==null) throw new RuntimeException(\"Identifier \"+key+\" is not declared\");\t\t\t\t\t\n\t\t\t\t\treturn id.getReturnType();\n\t\t\t\t\t\n\t\t\t\t}\t\t\t \n\t\t\t}else {\n\t\t\t\tString type=visit(ctx.getChild(0));\n\t\t\t\treturn type;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn null; //for debug\n\t}", "public final Enumerator ruleBooleanKind() throws RecognitionException {\n Enumerator current = null;\n\n setCurrentLookahead(); resetLookahead(); \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6910:6: ( ( ( 'false' ) | ( 'true' ) ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:1: ( ( 'false' ) | ( 'true' ) )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:1: ( ( 'false' ) | ( 'true' ) )\n int alt104=2;\n int LA104_0 = input.LA(1);\n\n if ( (LA104_0==76) ) {\n alt104=1;\n }\n else if ( (LA104_0==77) ) {\n alt104=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"6911:1: ( ( 'false' ) | ( 'true' ) )\", 104, 0, input);\n\n throw nvae;\n }\n switch (alt104) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:2: ( 'false' )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:2: ( 'false' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:4: 'false'\n {\n match(input,76,FOLLOW_76_in_ruleBooleanKind12221); \n\n current = grammarAccess.getBooleanKindAccess().getFalseEnumLiteralDeclaration_0().getEnumLiteral().getInstance();\n createLeafNode(grammarAccess.getBooleanKindAccess().getFalseEnumLiteralDeclaration_0(), null); \n \n\n }\n\n\n }\n break;\n case 2 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6917:6: ( 'true' )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6917:6: ( 'true' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6917:8: 'true'\n {\n match(input,77,FOLLOW_77_in_ruleBooleanKind12236); \n\n current = grammarAccess.getBooleanKindAccess().getTrueEnumLiteralDeclaration_1().getEnumLiteral().getInstance();\n createLeafNode(grammarAccess.getBooleanKindAccess().getTrueEnumLiteralDeclaration_1(), null); \n \n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void mBOOLEAN_LITERAL() throws RecognitionException {\n try {\n int _type = BOOLEAN_LITERAL;\n // /Users/benjamincoe/HackWars/C.g:239:2: ( 'true' | 'false' )\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='t') ) {\n alt6=1;\n }\n else if ( (LA6_0=='f') ) {\n alt6=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"238:1: BOOLEAN_LITERAL : ( 'true' | 'false' );\", 6, 0, input);\n\n throw nvae;\n }\n switch (alt6) {\n case 1 :\n // /Users/benjamincoe/HackWars/C.g:239:4: 'true'\n {\n match(\"true\"); \n\n\n }\n break;\n case 2 :\n // /Users/benjamincoe/HackWars/C.g:239:11: 'false'\n {\n match(\"false\"); \n\n\n }\n break;\n\n }\n this.type = _type;\n }\n finally {\n }\n }", "public final EObject ruleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n int ruleBooleanLiteral_StartIndex = input.index();\n Token lv_booleanValue_1_0=null;\n Token otherlv_2=null;\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 114) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4753:28: ( ( () ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 ) ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4754:1: ( () ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4754:1: ( () ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4754:2: () ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4754:2: ()\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4755:2: \n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n\n current = forceCreateModelElement(\n grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(),\n current);\n \n }\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4763:2: ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 )\n int alt77=2;\n int LA77_0 = input.LA(1);\n\n if ( (LA77_0==KEYWORD_55) ) {\n alt77=1;\n }\n else if ( (LA77_0==KEYWORD_61) ) {\n alt77=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 77, 0, input);\n\n throw nvae;\n }\n switch (alt77) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4763:3: ( (lv_booleanValue_1_0= KEYWORD_55 ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4763:3: ( (lv_booleanValue_1_0= KEYWORD_55 ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4764:1: (lv_booleanValue_1_0= KEYWORD_55 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4764:1: (lv_booleanValue_1_0= KEYWORD_55 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4765:3: lv_booleanValue_1_0= KEYWORD_55\n {\n lv_booleanValue_1_0=(Token)match(input,KEYWORD_55,FOLLOW_KEYWORD_55_in_ruleBooleanLiteral9713); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n newLeafNode(lv_booleanValue_1_0, grammarAccess.getBooleanLiteralAccess().getBooleanValueTrueKeyword_1_0_0());\n \n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanLiteralRule());\n \t }\n \t\tsetWithLastConsumed(current, \"booleanValue\", true, \"true\");\n \t \n }\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4781:2: otherlv_2= KEYWORD_61\n {\n otherlv_2=(Token)match(input,KEYWORD_61,FOLLOW_KEYWORD_61_in_ruleBooleanLiteral9743); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_2, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_1());\n \n }\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 114, ruleBooleanLiteral_StartIndex); }\n }\n return current;\n }", "public final void mRULE_BOOL_VAL() throws RecognitionException {\r\n try {\r\n int _type = RULE_BOOL_VAL;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:15: ( ( 'true' | 'false' ) )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:17: ( 'true' | 'false' )\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:17: ( 'true' | 'false' )\r\n int alt10=2;\r\n int LA10_0 = input.LA(1);\r\n\r\n if ( (LA10_0=='t') ) {\r\n alt10=1;\r\n }\r\n else if ( (LA10_0=='f') ) {\r\n alt10=2;\r\n }\r\n else {\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 10, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt10) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:18: 'true'\r\n {\r\n match(\"true\"); \r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:25: 'false'\r\n {\r\n match(\"false\"); \r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "BooleanLiteralExp createBooleanLiteralExp();", "BooleanExpression createBooleanExpression();", "BooleanExpression createBooleanExpression();", "public final void ruleBoolean() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:266:2: ( ( 'Boolean' ) )\n // InternalMyDsl.g:267:2: ( 'Boolean' )\n {\n // InternalMyDsl.g:267:2: ( 'Boolean' )\n // InternalMyDsl.g:268:3: 'Boolean'\n {\n before(grammarAccess.getBooleanAccess().getBooleanKeyword()); \n match(input,14,FOLLOW_2); \n after(grammarAccess.getBooleanAccess().getBooleanKeyword()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "<C> BooleanLiteralExp<C> createBooleanLiteralExp();", "public final void mRULE_BOOLEAN_TRUE() throws RecognitionException {\n try {\n int _type = RULE_BOOLEAN_TRUE;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16695:19: ( 'true' )\n // InternalDSL.g:16695:21: 'true'\n {\n match(\"true\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final EObject ruleGoalBooleanLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token lv_value_0_0=null;\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1829:28: ( ( (lv_value_0_0= RULE_EBOOLEAN ) ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1830:1: ( (lv_value_0_0= RULE_EBOOLEAN ) )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1830:1: ( (lv_value_0_0= RULE_EBOOLEAN ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1831:1: (lv_value_0_0= RULE_EBOOLEAN )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1831:1: (lv_value_0_0= RULE_EBOOLEAN )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1832:3: lv_value_0_0= RULE_EBOOLEAN\r\n {\r\n lv_value_0_0=(Token)match(input,RULE_EBOOLEAN,FOLLOW_RULE_EBOOLEAN_in_ruleGoalBooleanLiteral3822); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t\t\tnewLeafNode(lv_value_0_0, grammarAccess.getGoalBooleanLiteralAccess().getValueEBOOLEANTerminalRuleCall_0()); \r\n \t\t\r\n }\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElement(grammarAccess.getGoalBooleanLiteralRule());\r\n \t }\r\n \t\tsetWithLastConsumed(\r\n \t\t\tcurrent, \r\n \t\t\t\"value\",\r\n \t\tlv_value_0_0, \r\n \t\t\"EBOOLEAN\");\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final EObject ruleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n Token lv_isTrue_2_0=null;\n\n enterRule(); \n \n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1918:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1919:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1919:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1919:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1919:2: ()\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1920:5: \n {\n if ( state.backtracking==0 ) {\n\n current = forceCreateModelElement(\n grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(),\n current);\n \n }\n\n }\n\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1925:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )\n int alt25=2;\n int LA25_0 = input.LA(1);\n\n if ( (LA25_0==48) ) {\n alt25=1;\n }\n else if ( (LA25_0==49) ) {\n alt25=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 25, 0, input);\n\n throw nvae;\n }\n switch (alt25) {\n case 1 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1925:4: otherlv_1= 'false'\n {\n otherlv_1=(Token)match(input,48,FOLLOW_48_in_ruleBooleanLiteral4564); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());\n \n }\n\n }\n break;\n case 2 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1930:6: ( (lv_isTrue_2_0= 'true' ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1930:6: ( (lv_isTrue_2_0= 'true' ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1931:1: (lv_isTrue_2_0= 'true' )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1931:1: (lv_isTrue_2_0= 'true' )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1932:3: lv_isTrue_2_0= 'true'\n {\n lv_isTrue_2_0=(Token)match(input,49,FOLLOW_49_in_ruleBooleanLiteral4588); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());\n \n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanLiteralRule());\n \t }\n \t\tsetWithLastConsumed(current, \"isTrue\", true, \"true\");\n \t \n }\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void mBOOL() throws RecognitionException {\n try {\n int _type = BOOL;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2922:6: ( 'true' | 'false' )\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='t') ) {\n alt5=1;\n }\n else if ( (LA5_0=='f') ) {\n alt5=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 0, input);\n\n throw nvae;\n }\n switch (alt5) {\n case 1 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2922:8: 'true'\n {\n match(\"true\"); if (state.failed) return ;\n\n\n }\n break;\n case 2 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2922:17: 'false'\n {\n match(\"false\"); if (state.failed) return ;\n\n\n }\n break;\n\n }\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final EObject ruleBooleanType() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n\n enterRule(); \n \n try {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:340:28: ( ( () otherlv_1= 'boolean' ) )\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:341:1: ( () otherlv_1= 'boolean' )\n {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:341:1: ( () otherlv_1= 'boolean' )\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:341:2: () otherlv_1= 'boolean'\n {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:341:2: ()\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:342:5: \n {\n\n current = forceCreateModelElement(\n grammarAccess.getBooleanTypeAccess().getBooleanTypeAction_0(),\n current);\n \n\n }\n\n otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleBooleanType734); \n\n \tnewLeafNode(otherlv_1, grammarAccess.getBooleanTypeAccess().getBooleanKeyword_1());\n \n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final EObject ruleBooleanLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token lv_value_0_0=null;\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4204:28: ( ( (lv_value_0_0= RULE_EBOOLEAN ) ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4205:1: ( (lv_value_0_0= RULE_EBOOLEAN ) )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4205:1: ( (lv_value_0_0= RULE_EBOOLEAN ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4206:1: (lv_value_0_0= RULE_EBOOLEAN )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4206:1: (lv_value_0_0= RULE_EBOOLEAN )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4207:3: lv_value_0_0= RULE_EBOOLEAN\r\n {\r\n lv_value_0_0=(Token)match(input,RULE_EBOOLEAN,FOLLOW_RULE_EBOOLEAN_in_ruleBooleanLiteral9057); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t\t\tnewLeafNode(lv_value_0_0, grammarAccess.getBooleanLiteralAccess().getValueEBOOLEANTerminalRuleCall_0()); \r\n \t\t\r\n }\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElement(grammarAccess.getBooleanLiteralRule());\r\n \t }\r\n \t\tsetWithLastConsumed(\r\n \t\t\tcurrent, \r\n \t\t\t\"value\",\r\n \t\tlv_value_0_0, \r\n \t\t\"EBOOLEAN\");\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final void booleanLiteral() throws RecognitionException {\n int booleanLiteral_StartIndex = input.index();\n try { dbg.enterRule(getGrammarFileName(), \"booleanLiteral\");\n if ( getRuleLevel()==0 ) {dbg.commence();}\n incRuleLevel();\n dbg.location(520, 1);\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 69) ) { return ; }\n // Java.g:521:5: ( 'true' | 'false' )\n dbg.enterAlt(1);\n\n // Java.g:\n {\n dbg.location(521,5);\n if ( (input.LA(1)>=71 && input.LA(1)<=72) ) {\n input.consume();\n state.errorRecovery=false;state.failed=false;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n MismatchedSetException mse = new MismatchedSetException(null,input);\n dbg.recognitionException(mse);\n throw mse;\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 69, booleanLiteral_StartIndex); }\n }\n dbg.location(523, 5);\n\n }\n finally {\n dbg.exitRule(getGrammarFileName(), \"booleanLiteral\");\n decRuleLevel();\n if ( getRuleLevel()==0 ) {dbg.terminate();}\n }\n\n return ;\n }", "public final void mT38() throws RecognitionException {\n try {\n int _type = T38;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:36:5: ( 'bool' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:36:7: 'bool'\n {\n match(\"bool\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_BOOLEAN_FALSE() throws RecognitionException {\n try {\n int _type = RULE_BOOLEAN_FALSE;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16697:20: ( 'false' )\n // InternalDSL.g:16697:22: 'false'\n {\n match(\"false\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final EObject ruleBoolLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token lv_value_1_0=null;\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3752:28: ( ( () ( (lv_value_1_0= RULE_BOOL ) ) ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3753:1: ( () ( (lv_value_1_0= RULE_BOOL ) ) )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3753:1: ( () ( (lv_value_1_0= RULE_BOOL ) ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3753:2: () ( (lv_value_1_0= RULE_BOOL ) )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3753:2: ()\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3754:5: \r\n {\r\n if ( state.backtracking==0 ) {\r\n\r\n current = forceCreateModelElement(\r\n grammarAccess.getBoolLiteralAccess().getBoolLiteralAction_0(),\r\n current);\r\n \r\n }\r\n\r\n }\r\n\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3759:2: ( (lv_value_1_0= RULE_BOOL ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3760:1: (lv_value_1_0= RULE_BOOL )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3760:1: (lv_value_1_0= RULE_BOOL )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3761:3: lv_value_1_0= RULE_BOOL\r\n {\r\n lv_value_1_0=(Token)match(input,RULE_BOOL,FOLLOW_RULE_BOOL_in_ruleBoolLiteral8655); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t\t\tnewLeafNode(lv_value_1_0, grammarAccess.getBoolLiteralAccess().getValueBOOLTerminalRuleCall_1_0()); \r\n \t\t\r\n }\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElement(grammarAccess.getBoolLiteralRule());\r\n \t }\r\n \t\tsetWithLastConsumed(\r\n \t\t\tcurrent, \r\n \t\t\t\"value\",\r\n \t\tlv_value_1_0, \r\n \t\t\"BOOL\");\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final void entryRuleAstExpressionBoolean() throws RecognitionException {\n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:1967:1: ( ruleAstExpressionBoolean EOF )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:1968:1: ruleAstExpressionBoolean EOF\n {\n before(grammarAccess.getAstExpressionBooleanRule()); \n pushFollow(FOLLOW_ruleAstExpressionBoolean_in_entryRuleAstExpressionBoolean4143);\n ruleAstExpressionBoolean();\n\n state._fsp--;\n\n after(grammarAccess.getAstExpressionBooleanRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleAstExpressionBoolean4150); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public final EObject ruleBooleanUnit() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject this_Negation_0 = null;\r\n\r\n EObject this_RelationalExpression_1 = null;\r\n\r\n EObject this_BooleanLiteral_2 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2425:28: ( (this_Negation_0= ruleNegation | this_RelationalExpression_1= ruleRelationalExpression | this_BooleanLiteral_2= ruleBooleanLiteral ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2426:1: (this_Negation_0= ruleNegation | this_RelationalExpression_1= ruleRelationalExpression | this_BooleanLiteral_2= ruleBooleanLiteral )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2426:1: (this_Negation_0= ruleNegation | this_RelationalExpression_1= ruleRelationalExpression | this_BooleanLiteral_2= ruleBooleanLiteral )\r\n int alt33=3;\r\n switch ( input.LA(1) ) {\r\n case 58:\r\n case 59:\r\n {\r\n alt33=1;\r\n }\r\n break;\r\n case RULE_ID:\r\n case RULE_STRING:\r\n case RULE_INT:\r\n case RULE_POSITIVE_SMALL_DECIMAL:\r\n case RULE_NULL:\r\n case RULE_SMALL_DECIMAL:\r\n case RULE_EBIGDECIMAL:\r\n case 42:\r\n case 43:\r\n case 46:\r\n case 68:\r\n case 69:\r\n case 70:\r\n case 71:\r\n case 72:\r\n case 73:\r\n case 74:\r\n case 75:\r\n {\r\n alt33=2;\r\n }\r\n break;\r\n case RULE_EBOOLEAN:\r\n {\r\n alt33=3;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return current;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 33, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt33) {\r\n case 1 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2427:5: this_Negation_0= ruleNegation\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getBooleanUnitAccess().getNegationParserRuleCall_0()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleNegation_in_ruleBooleanUnit5148);\r\n this_Negation_0=ruleNegation();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_Negation_0; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2437:5: this_RelationalExpression_1= ruleRelationalExpression\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getBooleanUnitAccess().getRelationalExpressionParserRuleCall_1()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleRelationalExpression_in_ruleBooleanUnit5175);\r\n this_RelationalExpression_1=ruleRelationalExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_RelationalExpression_1; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2447:5: this_BooleanLiteral_2= ruleBooleanLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getBooleanUnitAccess().getBooleanLiteralParserRuleCall_2()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleBooleanUnit5202);\r\n this_BooleanLiteral_2=ruleBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_BooleanLiteral_2; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final void entryRuleBoolean() throws RecognitionException {\n try {\n // InternalMyDsl.g:254:1: ( ruleBoolean EOF )\n // InternalMyDsl.g:255:1: ruleBoolean EOF\n {\n before(grammarAccess.getBooleanRule()); \n pushFollow(FOLLOW_1);\n ruleBoolean();\n\n state._fsp--;\n\n after(grammarAccess.getBooleanRule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public final void rule__XBooleanLiteral__Alternatives_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2976:1: ( ( 'false' ) | ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) ) )\r\n int alt28=2;\r\n int LA28_0 = input.LA(1);\r\n\r\n if ( (LA28_0==40) ) {\r\n alt28=1;\r\n }\r\n else if ( (LA28_0==132) ) {\r\n alt28=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 28, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt28) {\r\n case 1 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2977:1: ( 'false' )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2977:1: ( 'false' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2978:1: 'false'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); \r\n }\r\n match(input,40,FOLLOW_40_in_rule__XBooleanLiteral__Alternatives_16455); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2985:6: ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2985:6: ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2986:1: ( rule__XBooleanLiteral__IsTrueAssignment_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2987:1: ( rule__XBooleanLiteral__IsTrueAssignment_1_1 )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2987:2: rule__XBooleanLiteral__IsTrueAssignment_1_1\r\n {\r\n pushFollow(FOLLOW_rule__XBooleanLiteral__IsTrueAssignment_1_1_in_rule__XBooleanLiteral__Alternatives_16474);\r\n rule__XBooleanLiteral__IsTrueAssignment_1_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "public final EObject ruleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n\n Enumerator lv_value_0_0 = null;\n\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4659:6: ( ( (lv_value_0_0= ruleBooleanKind ) ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4660:1: ( (lv_value_0_0= ruleBooleanKind ) )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4660:1: ( (lv_value_0_0= ruleBooleanKind ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4661:1: (lv_value_0_0= ruleBooleanKind )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4661:1: (lv_value_0_0= ruleBooleanKind )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4662:3: lv_value_0_0= ruleBooleanKind\n {\n \n \t currentNode=createCompositeNode(grammarAccess.getBooleanLiteralAccess().getValueBooleanKindEnumRuleCall_0(), currentNode); \n \t \n pushFollow(FOLLOW_ruleBooleanKind_in_ruleBooleanLiteral8141);\n lv_value_0_0=ruleBooleanKind();\n _fsp--;\n\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getBooleanLiteralRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode.getParent(), current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"value\",\n \t \t\tlv_value_0_0, \n \t \t\t\"BooleanKind\", \n \t \t\tcurrentNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t currentNode = currentNode.getParent();\n \t \n\n }\n\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void entryRuleBoolOperation() throws RecognitionException {\n try {\n // InternalBSQL2Java.g:229:1: ( ruleBoolOperation EOF )\n // InternalBSQL2Java.g:230:1: ruleBoolOperation EOF\n {\n before(grammarAccess.getBoolOperationRule()); \n pushFollow(FOLLOW_1);\n ruleBoolOperation();\n\n state._fsp--;\n\n after(grammarAccess.getBoolOperationRule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "@Override\n public Node typeCheck() {\n if (!(FOOLlib.isSubtype(left.typeCheck(), new BoolTypeNode()) &&\n FOOLlib.isSubtype(right.typeCheck(), new BoolTypeNode()))) {\n if(operator.equals(\"and\") || operator.equals(\"&&\")) {\n System.out.println(\"Non boolean in AND\");\n }\n else {\n System.out.println(\"Non boolean in OR\");\n }\n System.exit(0);\n }\n //se i tipi sono corretti restituisco bool\n return new BoolTypeNode();\n }", "public final void mT__26() throws RecognitionException {\n try {\n int _type = T__26;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:24:7: ( 'bool' )\n // InternalDSL.g:24:9: 'bool'\n {\n match(\"bool\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void rule__XBooleanLiteral__Alternatives_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:3339:1: ( ( 'false' ) | ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) ) )\r\n int alt35=2;\r\n int LA35_0 = input.LA(1);\r\n\r\n if ( (LA35_0==50) ) {\r\n alt35=1;\r\n }\r\n else if ( (LA35_0==99) ) {\r\n alt35=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 35, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt35) {\r\n case 1 :\r\n // InternalDroneScript.g:3340:2: ( 'false' )\r\n {\r\n // InternalDroneScript.g:3340:2: ( 'false' )\r\n // InternalDroneScript.g:3341:3: 'false'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); \r\n }\r\n match(input,50,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // InternalDroneScript.g:3346:2: ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) )\r\n {\r\n // InternalDroneScript.g:3346:2: ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) )\r\n // InternalDroneScript.g:3347:3: ( rule__XBooleanLiteral__IsTrueAssignment_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); \r\n }\r\n // InternalDroneScript.g:3348:3: ( rule__XBooleanLiteral__IsTrueAssignment_1_1 )\r\n // InternalDroneScript.g:3348:4: rule__XBooleanLiteral__IsTrueAssignment_1_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XBooleanLiteral__IsTrueAssignment_1_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "public Object VisitBooleanLiteral(ASTBooleanLiteral boolliteral) {\n if (boolliteral.value()) {\n return new TypeClass(BooleanType.instance(), bt.constantExpression(1));\n } else {\n return new TypeClass(BooleanType.instance(), bt.constantExpression(0));\n }\n }", "public void visit(BooleanLiteral n) {\n n.f0.accept(this);\n }", "@Override\r\n\tpublic Object visitBooleanLitExpression(\r\n\t\t\tBooleanLitExpression booleanLitExpression, Object arg)\r\n\t\t\tthrows Exception {\r\n\t\tbooleanLitExpression.setType(booleanType);\r\n\t\treturn booleanType;\r\n\t}", "public final AliaChecker.boolean_expr_return boolean_expr() throws RecognitionException {\n\t\tAliaChecker.boolean_expr_return retval = new AliaChecker.boolean_expr_return();\n\t\tretval.start = input.LT(1);\n\n\t\tCommonTree root_0 = null;\n\n\t\tCommonTree _first_0 = null;\n\t\tCommonTree _last = null;\n\n\n\t\tCommonTree set26=null;\n\n\t\tCommonTree set26_tree=null;\n\n\t\ttry {\n\t\t\t// src\\\\alia\\\\AliaChecker.g:295:14: ( TRUE | FALSE )\n\t\t\t// src\\\\alia\\\\AliaChecker.g:\n\t\t\t{\n\t\t\troot_0 = (CommonTree)adaptor.nil();\n\n\n\t\t\t_last = (CommonTree)input.LT(1);\n\t\t\tset26=(CommonTree)input.LT(1);\n\t\t\tif ( input.LA(1)==FALSE||input.LA(1)==TRUE ) {\n\t\t\t\tinput.consume();\n\t\t\t\tset26_tree = (CommonTree)adaptor.dupNode(set26);\n\n\n\t\t\t\tadaptor.addChild(root_0, set26_tree);\n\n\t\t\t\tstate.errorRecovery=false;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tMismatchedSetException mse = new MismatchedSetException(null,input);\n\t\t\t\tthrow mse;\n\t\t\t}\n\n\t\t\t \n\n\t\t\t}\n\n\t\t\tretval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\n\n\t\t}\n\t\t \n\t\t catch (RecognitionException e) { \n\t\t \tif(!e.getMessage().equals(\"\")) {\n\t\t\t\t\tSystem.err.println(\"Exception!:\"+e.getMessage());\n\t\t\t\t}\n\t\t\t\tthrow (new AliaException(\"\"));\n\t\t } \n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn retval;\n\t}", "@Override\r\n\tpublic void visit(ast.type.Boolean t) {\r\n\t\tSystem.out.println(\"boolean@\");\r\n\t}", "public final EObject ruleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n\n Token lv_value_1_0=null;\n Token otherlv_2=null;\n\n\n \tenterRule();\n\n try {\n // InternalSafetyParser.g:10508:2: ( ( () ( ( (lv_value_1_0= True ) ) | otherlv_2= False ) ) )\n // InternalSafetyParser.g:10509:2: ( () ( ( (lv_value_1_0= True ) ) | otherlv_2= False ) )\n {\n // InternalSafetyParser.g:10509:2: ( () ( ( (lv_value_1_0= True ) ) | otherlv_2= False ) )\n // InternalSafetyParser.g:10510:3: () ( ( (lv_value_1_0= True ) ) | otherlv_2= False )\n {\n // InternalSafetyParser.g:10510:3: ()\n // InternalSafetyParser.g:10511:4: \n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\tgrammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(),\n \t\t\t\t\tcurrent);\n \t\t\t\n }\n\n }\n\n // InternalSafetyParser.g:10517:3: ( ( (lv_value_1_0= True ) ) | otherlv_2= False )\n int alt134=2;\n int LA134_0 = input.LA(1);\n\n if ( (LA134_0==True) ) {\n alt134=1;\n }\n else if ( (LA134_0==False) ) {\n alt134=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 134, 0, input);\n\n throw nvae;\n }\n switch (alt134) {\n case 1 :\n // InternalSafetyParser.g:10518:4: ( (lv_value_1_0= True ) )\n {\n // InternalSafetyParser.g:10518:4: ( (lv_value_1_0= True ) )\n // InternalSafetyParser.g:10519:5: (lv_value_1_0= True )\n {\n // InternalSafetyParser.g:10519:5: (lv_value_1_0= True )\n // InternalSafetyParser.g:10520:6: lv_value_1_0= True\n {\n lv_value_1_0=(Token)match(input,True,FollowSets000.FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tnewLeafNode(lv_value_1_0, grammarAccess.getBooleanLiteralAccess().getValueTrueKeyword_1_0_0());\n \t\t\t\t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getBooleanLiteralRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\tsetWithLastConsumed(current, \"value\", lv_value_1_0 != null, \"true\");\n \t\t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // InternalSafetyParser.g:10533:4: otherlv_2= False\n {\n otherlv_2=(Token)match(input,False,FollowSets000.FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\tnewLeafNode(otherlv_2, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_1());\n \t\t\t\n }\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n\n \tleaveRule();\n\n }\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public static boolean parse_boolean(String value) {\n\t return value.equalsIgnoreCase(\"true\") || value.equalsIgnoreCase(\"T\");\n }", "public final void rule__XBooleanLiteral__Alternatives_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2354:1: ( ( 'false' ) | ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) ) )\n int alt20=2;\n int LA20_0 = input.LA(1);\n\n if ( (LA20_0==32) ) {\n alt20=1;\n }\n else if ( (LA20_0==69) ) {\n alt20=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 20, 0, input);\n\n throw nvae;\n }\n switch (alt20) {\n case 1 :\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2355:1: ( 'false' )\n {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2355:1: ( 'false' )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2356:1: 'false'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); \n }\n match(input,32,FOLLOW_32_in_rule__XBooleanLiteral__Alternatives_15079); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2363:6: ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) )\n {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2363:6: ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2364:1: ( rule__XBooleanLiteral__IsTrueAssignment_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); \n }\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2365:1: ( rule__XBooleanLiteral__IsTrueAssignment_1_1 )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:2365:2: rule__XBooleanLiteral__IsTrueAssignment_1_1\n {\n pushFollow(FOLLOW_rule__XBooleanLiteral__IsTrueAssignment_1_1_in_rule__XBooleanLiteral__Alternatives_15098);\n rule__XBooleanLiteral__IsTrueAssignment_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); \n }\n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "private String parseBoolean () {\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n \r\n char chr=next();//get next character\r\n assert \"ft\".indexOf(chr)>=0;//assert valid boolean start character\r\n switch (chr) {//switch on first character\r\n case 'f': skip(4);//skip to last character\r\n return \"false\";\r\n case 't': skip(3);//skip to last character\r\n return \"true\";\r\n default: assert false;//assert that we do not reach this statement\r\n return null;\r\n }//switch on first character\r\n \r\n }", "public final EObject ruleBooleanDataType() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n\n enterRule(); \n \n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4501:28: ( (otherlv_0= 'bool' () ) )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4502:1: (otherlv_0= 'bool' () )\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4502:1: (otherlv_0= 'bool' () )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4502:3: otherlv_0= 'bool' ()\n {\n otherlv_0=(Token)match(input,71,FOLLOW_71_in_ruleBooleanDataType10236); \n\n \tnewLeafNode(otherlv_0, grammarAccess.getBooleanDataTypeAccess().getBoolKeyword_0());\n \n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4506:1: ()\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4507:5: \n {\n\n current = forceCreateModelElement(\n grammarAccess.getBooleanDataTypeAccess().getBooleanDataTypeAction_1(),\n current);\n \n\n }\n\n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final EObject entryRuleBooleanType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBooleanType = null;\n\n\n try {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:329:2: (iv_ruleBooleanType= ruleBooleanType EOF )\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:330:2: iv_ruleBooleanType= ruleBooleanType EOF\n {\n newCompositeNode(grammarAccess.getBooleanTypeRule()); \n pushFollow(FOLLOW_ruleBooleanType_in_entryRuleBooleanType678);\n iv_ruleBooleanType=ruleBooleanType();\n\n state._fsp--;\n\n current =iv_ruleBooleanType; \n match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanType688); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void rule__BoolOperation__Group__12__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBSQL2Java.g:1476:1: ( ( 'bool(' ) )\n // InternalBSQL2Java.g:1477:1: ( 'bool(' )\n {\n // InternalBSQL2Java.g:1477:1: ( 'bool(' )\n // InternalBSQL2Java.g:1478:2: 'bool('\n {\n before(grammarAccess.getBoolOperationAccess().getBoolKeyword_12()); \n match(input,31,FOLLOW_2); \n after(grammarAccess.getBoolOperationAccess().getBoolKeyword_12()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "@Test\n public void testBooleanLiteralFalse2() throws Exception {\n Boolean expected = Boolean.FALSE;\n String sql = \"SELECT {b'false'}\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n Node constantNode = verifyExpressionSymbol(selectNode, Select.SYMBOLS_REF_NAME, Constant.ID);\n verifyProperty(constantNode, Constant.VALUE_PROP_NAME, expected);\n verifyProperty(constantNode, Expression.TYPE_CLASS_PROP_NAME, DataTypeName.BOOLEAN.name());\n\n verifySql(\"SELECT FALSE\", fileNode);\n }", "public boolean nextBoolean() {\n this.inputStr = this.s.nextLine();\n\n if (inputStr.toLowerCase().contains(\"true\")) {\n return true;\n } else if (inputStr.toLowerCase().contains(\"false\")) {\n return false;\n } else if (inputStr.toLowerCase().contains(\"t\") || inputStr.toLowerCase().contains(\"1\")) {\n return true;\n } else if (inputStr.toLowerCase().contains(\"f\") || inputStr.toLowerCase().contains(\"0\")) {\n return false;\n }\n return false;\n }", "public final EObject ruleGoalBooleanUnit() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject this_GoalNegation_0 = null;\r\n\r\n EObject this_GoalBooleanLiteral_1 = null;\r\n\r\n EObject this_GoalReference_2 = null;\r\n\r\n EObject this_ParenthesizedGoalExpression_3 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1712:28: ( (this_GoalNegation_0= ruleGoalNegation | this_GoalBooleanLiteral_1= ruleGoalBooleanLiteral | this_GoalReference_2= ruleGoalReference | this_ParenthesizedGoalExpression_3= ruleParenthesizedGoalExpression ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1713:1: (this_GoalNegation_0= ruleGoalNegation | this_GoalBooleanLiteral_1= ruleGoalBooleanLiteral | this_GoalReference_2= ruleGoalReference | this_ParenthesizedGoalExpression_3= ruleParenthesizedGoalExpression )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1713:1: (this_GoalNegation_0= ruleGoalNegation | this_GoalBooleanLiteral_1= ruleGoalBooleanLiteral | this_GoalReference_2= ruleGoalReference | this_ParenthesizedGoalExpression_3= ruleParenthesizedGoalExpression )\r\n int alt25=4;\r\n switch ( input.LA(1) ) {\r\n case 58:\r\n case 59:\r\n {\r\n alt25=1;\r\n }\r\n break;\r\n case RULE_EBOOLEAN:\r\n {\r\n alt25=2;\r\n }\r\n break;\r\n case 42:\r\n {\r\n alt25=3;\r\n }\r\n break;\r\n case 43:\r\n {\r\n alt25=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return current;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 25, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt25) {\r\n case 1 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1714:5: this_GoalNegation_0= ruleGoalNegation\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getGoalBooleanUnitAccess().getGoalNegationParserRuleCall_0()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleGoalNegation_in_ruleGoalBooleanUnit3542);\r\n this_GoalNegation_0=ruleGoalNegation();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_GoalNegation_0; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1724:5: this_GoalBooleanLiteral_1= ruleGoalBooleanLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getGoalBooleanUnitAccess().getGoalBooleanLiteralParserRuleCall_1()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleGoalBooleanLiteral_in_ruleGoalBooleanUnit3569);\r\n this_GoalBooleanLiteral_1=ruleGoalBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_GoalBooleanLiteral_1; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1734:5: this_GoalReference_2= ruleGoalReference\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getGoalBooleanUnitAccess().getGoalReferenceParserRuleCall_2()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleGoalReference_in_ruleGoalBooleanUnit3596);\r\n this_GoalReference_2=ruleGoalReference();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_GoalReference_2; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 4 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1744:5: this_ParenthesizedGoalExpression_3= ruleParenthesizedGoalExpression\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getGoalBooleanUnitAccess().getParenthesizedGoalExpressionParserRuleCall_3()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleParenthesizedGoalExpression_in_ruleGoalBooleanUnit3623);\r\n this_ParenthesizedGoalExpression_3=ruleParenthesizedGoalExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_ParenthesizedGoalExpression_3; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final EObject ruleEBOOLEAN() throws RecognitionException {\n EObject current = null;\n\n Token lv_value_0_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalRMParser.g:8820:2: ( ( (lv_value_0_0= RULE_BOOLEAN ) ) )\n // InternalRMParser.g:8821:2: ( (lv_value_0_0= RULE_BOOLEAN ) )\n {\n // InternalRMParser.g:8821:2: ( (lv_value_0_0= RULE_BOOLEAN ) )\n // InternalRMParser.g:8822:3: (lv_value_0_0= RULE_BOOLEAN )\n {\n // InternalRMParser.g:8822:3: (lv_value_0_0= RULE_BOOLEAN )\n // InternalRMParser.g:8823:4: lv_value_0_0= RULE_BOOLEAN\n {\n lv_value_0_0=(Token)match(input,RULE_BOOLEAN,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(lv_value_0_0, grammarAccess.getEBOOLEANAccess().getValueBOOLEANTerminalRuleCall_0());\n \t\t\t\n\n \t\t\t\tif (current==null) {\n \t\t\t\t\tcurrent = createModelElement(grammarAccess.getEBOOLEANRule());\n \t\t\t\t}\n \t\t\t\tsetWithLastConsumed(\n \t\t\t\t\tcurrent,\n \t\t\t\t\t\"value\",\n \t\t\t\t\tlv_value_0_0,\n \t\t\t\t\t\"org.sodalite.dsl.RM.BOOLEAN\");\n \t\t\t\n\n }\n\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public final EObject entryRuleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBooleanLiteral = null;\n\n\n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1907:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1908:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getBooleanLiteralRule()); \n }\n pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral4507);\n iv_ruleBooleanLiteral=ruleBooleanLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleBooleanLiteral; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral4517); if (state.failed) return current;\n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "@Override\n\tpublic Object visitBooleanLiteral(BooleanLiteral literal) {\n\t\treturn null;\n\t}", "String getBooleanTrueExpression();", "@Test\n public void testBooleanLiteralTrue2() throws Exception {\n Boolean expected = Boolean.TRUE;\n String sql = \"SELECT TRUE\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n Node constantNode = verifyExpressionSymbol(selectNode, Select.SYMBOLS_REF_NAME, Constant.ID);\n verifyProperty(constantNode, Constant.VALUE_PROP_NAME, expected);\n verifyProperty(constantNode, Expression.TYPE_CLASS_PROP_NAME, DataTypeName.BOOLEAN.name());\n \n verifySql(\"SELECT TRUE\", fileNode);\n }", "public final EObject entryRuleBooleanLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleBooleanLiteral = null;\r\n\r\n\r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4193:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4194:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getBooleanLiteralRule()); \r\n }\r\n pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral9006);\r\n iv_ruleBooleanLiteral=ruleBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleBooleanLiteral; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral9016); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final EObject entryRuleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBooleanLiteral = null;\n\n\n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4646:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4647:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF\n {\n currentNode = createCompositeNode(grammarAccess.getBooleanLiteralRule(), currentNode); \n pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral8086);\n iv_ruleBooleanLiteral=ruleBooleanLiteral();\n _fsp--;\n\n current =iv_ruleBooleanLiteral; \n match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral8096); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "String getBooleanFalseExpression();", "public final void rule__Bool__Alternatives_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2510:1: ( ( 'True' ) | ( 'False' ) )\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( (LA17_0==19) ) {\n alt17=1;\n }\n else if ( (LA17_0==20) ) {\n alt17=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 17, 0, input);\n\n throw nvae;\n }\n switch (alt17) {\n case 1 :\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2511:1: ( 'True' )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2511:1: ( 'True' )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2512:1: 'True'\n {\n before(grammarAccess.getBoolAccess().getTrueKeyword_1_0()); \n match(input,19,FOLLOW_19_in_rule__Bool__Alternatives_14945); \n after(grammarAccess.getBoolAccess().getTrueKeyword_1_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2519:6: ( 'False' )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2519:6: ( 'False' )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2520:1: 'False'\n {\n before(grammarAccess.getBoolAccess().getFalseKeyword_1_1()); \n match(input,20,FOLLOW_20_in_rule__Bool__Alternatives_14965); \n after(grammarAccess.getBoolAccess().getFalseKeyword_1_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public boolean containsLiteralBoolean(Boolean literalData);", "public final EObject ruleBooleanCondition() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n Token otherlv_1=null;\n Token otherlv_2=null;\n Token otherlv_3=null;\n Token otherlv_4=null;\n Token otherlv_5=null;\n Token otherlv_6=null;\n Token otherlv_7=null;\n Token otherlv_8=null;\n Token otherlv_9=null;\n Token otherlv_10=null;\n Token otherlv_11=null;\n Token otherlv_12=null;\n Token otherlv_13=null;\n Token otherlv_14=null;\n Token otherlv_15=null;\n Token otherlv_16=null;\n Token otherlv_17=null;\n EObject lv_arg1_0_1 = null;\n\n EObject lv_arg2_2_1 = null;\n\n EObject lv_arg1_3_1 = null;\n\n EObject lv_arg2_5_1 = null;\n\n EObject lv_arg1_8_1 = null;\n\n EObject lv_arg1_10_1 = null;\n\n EObject lv_arg_12_1 = null;\n\n EObject lv_bool_16_1 = null;\n\n\n enterRule(); \n \n try {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1022:28: ( ( ( ( ( (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID ) ) ) otherlv_1= 'equals' ( ( (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID ) ) ) ) | ( ( ( (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID ) ) ) otherlv_4= 'notEquals' ( ( (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID ) ) ) ) | otherlv_6= 'true' | otherlv_7= 'false' | ( ( ( (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID ) ) ) otherlv_9= 'isEmpty' ) | ( ( ( (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID ) ) ) otherlv_11= 'isNotEmpty' ) | ( ( ( (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID ) ) ) otherlv_13= 'exist' ) | (otherlv_14= 'Not' otherlv_15= '(' ( ( (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID ) ) ) otherlv_17= ')' ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1023:1: ( ( ( ( (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID ) ) ) otherlv_1= 'equals' ( ( (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID ) ) ) ) | ( ( ( (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID ) ) ) otherlv_4= 'notEquals' ( ( (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID ) ) ) ) | otherlv_6= 'true' | otherlv_7= 'false' | ( ( ( (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID ) ) ) otherlv_9= 'isEmpty' ) | ( ( ( (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID ) ) ) otherlv_11= 'isNotEmpty' ) | ( ( ( (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID ) ) ) otherlv_13= 'exist' ) | (otherlv_14= 'Not' otherlv_15= '(' ( ( (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID ) ) ) otherlv_17= ')' ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1023:1: ( ( ( ( (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID ) ) ) otherlv_1= 'equals' ( ( (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID ) ) ) ) | ( ( ( (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID ) ) ) otherlv_4= 'notEquals' ( ( (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID ) ) ) ) | otherlv_6= 'true' | otherlv_7= 'false' | ( ( ( (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID ) ) ) otherlv_9= 'isEmpty' ) | ( ( ( (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID ) ) ) otherlv_11= 'isNotEmpty' ) | ( ( ( (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID ) ) ) otherlv_13= 'exist' ) | (otherlv_14= 'Not' otherlv_15= '(' ( ( (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID ) ) ) otherlv_17= ')' ) )\n int alt20=8;\n alt20 = dfa20.predict(input);\n switch (alt20) {\n case 1 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1023:2: ( ( ( (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID ) ) ) otherlv_1= 'equals' ( ( (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID ) ) ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1023:2: ( ( ( (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID ) ) ) otherlv_1= 'equals' ( ( (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID ) ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1023:3: ( ( (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID ) ) ) otherlv_1= 'equals' ( ( (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID ) ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1023:3: ( ( (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1024:1: ( (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1024:1: ( (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1025:1: (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1025:1: (lv_arg1_0_1= ruleWebPageObj | otherlv_0= RULE_ID )\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>=42 && LA12_0<=47)) ) {\n alt12=1;\n }\n else if ( (LA12_0==RULE_ID) ) {\n alt12=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 0, input);\n\n throw nvae;\n }\n switch (alt12) {\n case 1 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1026:3: lv_arg1_0_1= ruleWebPageObj\n {\n \n \t newCompositeNode(grammarAccess.getBooleanConditionAccess().getArg1WebPageObjParserRuleCall_0_0_0_0()); \n \t \n pushFollow(FOLLOW_ruleWebPageObj_in_ruleBooleanCondition2029);\n lv_arg1_0_1=ruleWebPageObj();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getBooleanConditionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"arg1\",\n \t\tlv_arg1_0_1, \n \t\t\"WebPageObj\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n break;\n case 2 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1041:8: otherlv_0= RULE_ID\n {\n\n \t\t\tif (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanConditionRule());\n \t }\n \n otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBooleanCondition2047); \n\n \t\tnewLeafNode(otherlv_0, grammarAccess.getBooleanConditionAccess().getArg1VariableCrossReference_0_0_0_1()); \n \t\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n otherlv_1=(Token)match(input,25,FOLLOW_25_in_ruleBooleanCondition2062); \n\n \tnewLeafNode(otherlv_1, grammarAccess.getBooleanConditionAccess().getEqualsKeyword_0_1());\n \n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1058:1: ( ( (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1059:1: ( (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1059:1: ( (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1060:1: (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1060:1: (lv_arg2_2_1= ruleWebPageObj | otherlv_2= RULE_ID )\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>=42 && LA13_0<=47)) ) {\n alt13=1;\n }\n else if ( (LA13_0==RULE_ID) ) {\n alt13=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 13, 0, input);\n\n throw nvae;\n }\n switch (alt13) {\n case 1 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1061:3: lv_arg2_2_1= ruleWebPageObj\n {\n \n \t newCompositeNode(grammarAccess.getBooleanConditionAccess().getArg2WebPageObjParserRuleCall_0_2_0_0()); \n \t \n pushFollow(FOLLOW_ruleWebPageObj_in_ruleBooleanCondition2085);\n lv_arg2_2_1=ruleWebPageObj();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getBooleanConditionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"arg2\",\n \t\tlv_arg2_2_1, \n \t\t\"WebPageObj\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n break;\n case 2 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1076:8: otherlv_2= RULE_ID\n {\n\n \t\t\tif (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanConditionRule());\n \t }\n \n otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBooleanCondition2103); \n\n \t\tnewLeafNode(otherlv_2, grammarAccess.getBooleanConditionAccess().getArg2VariableCrossReference_0_2_0_1()); \n \t\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1090:6: ( ( ( (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID ) ) ) otherlv_4= 'notEquals' ( ( (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID ) ) ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1090:6: ( ( ( (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID ) ) ) otherlv_4= 'notEquals' ( ( (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID ) ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1090:7: ( ( (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID ) ) ) otherlv_4= 'notEquals' ( ( (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID ) ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1090:7: ( ( (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1091:1: ( (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1091:1: ( (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1092:1: (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1092:1: (lv_arg1_3_1= ruleWebPageObj | otherlv_3= RULE_ID )\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( ((LA14_0>=42 && LA14_0<=47)) ) {\n alt14=1;\n }\n else if ( (LA14_0==RULE_ID) ) {\n alt14=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 14, 0, input);\n\n throw nvae;\n }\n switch (alt14) {\n case 1 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1093:3: lv_arg1_3_1= ruleWebPageObj\n {\n \n \t newCompositeNode(grammarAccess.getBooleanConditionAccess().getArg1WebPageObjParserRuleCall_1_0_0_0()); \n \t \n pushFollow(FOLLOW_ruleWebPageObj_in_ruleBooleanCondition2137);\n lv_arg1_3_1=ruleWebPageObj();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getBooleanConditionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"arg1\",\n \t\tlv_arg1_3_1, \n \t\t\"WebPageObj\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n break;\n case 2 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1108:8: otherlv_3= RULE_ID\n {\n\n \t\t\tif (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanConditionRule());\n \t }\n \n otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBooleanCondition2155); \n\n \t\tnewLeafNode(otherlv_3, grammarAccess.getBooleanConditionAccess().getArg1VariableCrossReference_1_0_0_1()); \n \t\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n otherlv_4=(Token)match(input,26,FOLLOW_26_in_ruleBooleanCondition2170); \n\n \tnewLeafNode(otherlv_4, grammarAccess.getBooleanConditionAccess().getNotEqualsKeyword_1_1());\n \n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1125:1: ( ( (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1126:1: ( (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1126:1: ( (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1127:1: (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1127:1: (lv_arg2_5_1= ruleWebPageObj | otherlv_5= RULE_ID )\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( ((LA15_0>=42 && LA15_0<=47)) ) {\n alt15=1;\n }\n else if ( (LA15_0==RULE_ID) ) {\n alt15=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 15, 0, input);\n\n throw nvae;\n }\n switch (alt15) {\n case 1 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1128:3: lv_arg2_5_1= ruleWebPageObj\n {\n \n \t newCompositeNode(grammarAccess.getBooleanConditionAccess().getArg2WebPageObjParserRuleCall_1_2_0_0()); \n \t \n pushFollow(FOLLOW_ruleWebPageObj_in_ruleBooleanCondition2193);\n lv_arg2_5_1=ruleWebPageObj();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getBooleanConditionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"arg2\",\n \t\tlv_arg2_5_1, \n \t\t\"WebPageObj\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n break;\n case 2 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1143:8: otherlv_5= RULE_ID\n {\n\n \t\t\tif (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanConditionRule());\n \t }\n \n otherlv_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBooleanCondition2211); \n\n \t\tnewLeafNode(otherlv_5, grammarAccess.getBooleanConditionAccess().getArg2VariableCrossReference_1_2_0_1()); \n \t\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n\n }\n break;\n case 3 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1157:7: otherlv_6= 'true'\n {\n otherlv_6=(Token)match(input,27,FOLLOW_27_in_ruleBooleanCondition2233); \n\n \tnewLeafNode(otherlv_6, grammarAccess.getBooleanConditionAccess().getTrueKeyword_2());\n \n\n }\n break;\n case 4 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1162:7: otherlv_7= 'false'\n {\n otherlv_7=(Token)match(input,28,FOLLOW_28_in_ruleBooleanCondition2251); \n\n \tnewLeafNode(otherlv_7, grammarAccess.getBooleanConditionAccess().getFalseKeyword_3());\n \n\n }\n break;\n case 5 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1167:6: ( ( ( (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID ) ) ) otherlv_9= 'isEmpty' )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1167:6: ( ( ( (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID ) ) ) otherlv_9= 'isEmpty' )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1167:7: ( ( (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID ) ) ) otherlv_9= 'isEmpty'\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1167:7: ( ( (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1168:1: ( (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1168:1: ( (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1169:1: (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1169:1: (lv_arg1_8_1= ruleWebPageObj | otherlv_8= RULE_ID )\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( ((LA16_0>=42 && LA16_0<=47)) ) {\n alt16=1;\n }\n else if ( (LA16_0==RULE_ID) ) {\n alt16=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 16, 0, input);\n\n throw nvae;\n }\n switch (alt16) {\n case 1 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1170:3: lv_arg1_8_1= ruleWebPageObj\n {\n \n \t newCompositeNode(grammarAccess.getBooleanConditionAccess().getArg1WebPageObjParserRuleCall_4_0_0_0()); \n \t \n pushFollow(FOLLOW_ruleWebPageObj_in_ruleBooleanCondition2281);\n lv_arg1_8_1=ruleWebPageObj();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getBooleanConditionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"arg1\",\n \t\tlv_arg1_8_1, \n \t\t\"WebPageObj\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n break;\n case 2 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1185:8: otherlv_8= RULE_ID\n {\n\n \t\t\tif (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanConditionRule());\n \t }\n \n otherlv_8=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBooleanCondition2299); \n\n \t\tnewLeafNode(otherlv_8, grammarAccess.getBooleanConditionAccess().getArg1VariableCrossReference_4_0_0_1()); \n \t\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n otherlv_9=(Token)match(input,29,FOLLOW_29_in_ruleBooleanCondition2314); \n\n \tnewLeafNode(otherlv_9, grammarAccess.getBooleanConditionAccess().getIsEmptyKeyword_4_1());\n \n\n }\n\n\n }\n break;\n case 6 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1203:6: ( ( ( (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID ) ) ) otherlv_11= 'isNotEmpty' )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1203:6: ( ( ( (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID ) ) ) otherlv_11= 'isNotEmpty' )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1203:7: ( ( (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID ) ) ) otherlv_11= 'isNotEmpty'\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1203:7: ( ( (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1204:1: ( (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1204:1: ( (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1205:1: (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1205:1: (lv_arg1_10_1= ruleWebPageObj | otherlv_10= RULE_ID )\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( ((LA17_0>=42 && LA17_0<=47)) ) {\n alt17=1;\n }\n else if ( (LA17_0==RULE_ID) ) {\n alt17=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 17, 0, input);\n\n throw nvae;\n }\n switch (alt17) {\n case 1 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1206:3: lv_arg1_10_1= ruleWebPageObj\n {\n \n \t newCompositeNode(grammarAccess.getBooleanConditionAccess().getArg1WebPageObjParserRuleCall_5_0_0_0()); \n \t \n pushFollow(FOLLOW_ruleWebPageObj_in_ruleBooleanCondition2345);\n lv_arg1_10_1=ruleWebPageObj();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getBooleanConditionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"arg1\",\n \t\tlv_arg1_10_1, \n \t\t\"WebPageObj\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n break;\n case 2 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1221:8: otherlv_10= RULE_ID\n {\n\n \t\t\tif (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanConditionRule());\n \t }\n \n otherlv_10=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBooleanCondition2363); \n\n \t\tnewLeafNode(otherlv_10, grammarAccess.getBooleanConditionAccess().getArg1VariableCrossReference_5_0_0_1()); \n \t\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n otherlv_11=(Token)match(input,30,FOLLOW_30_in_ruleBooleanCondition2378); \n\n \tnewLeafNode(otherlv_11, grammarAccess.getBooleanConditionAccess().getIsNotEmptyKeyword_5_1());\n \n\n }\n\n\n }\n break;\n case 7 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1239:6: ( ( ( (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID ) ) ) otherlv_13= 'exist' )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1239:6: ( ( ( (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID ) ) ) otherlv_13= 'exist' )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1239:7: ( ( (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID ) ) ) otherlv_13= 'exist'\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1239:7: ( ( (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1240:1: ( (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1240:1: ( (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1241:1: (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1241:1: (lv_arg_12_1= ruleWebPageObj | otherlv_12= RULE_ID )\n int alt18=2;\n int LA18_0 = input.LA(1);\n\n if ( ((LA18_0>=42 && LA18_0<=47)) ) {\n alt18=1;\n }\n else if ( (LA18_0==RULE_ID) ) {\n alt18=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 18, 0, input);\n\n throw nvae;\n }\n switch (alt18) {\n case 1 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1242:3: lv_arg_12_1= ruleWebPageObj\n {\n \n \t newCompositeNode(grammarAccess.getBooleanConditionAccess().getArgWebPageObjParserRuleCall_6_0_0_0()); \n \t \n pushFollow(FOLLOW_ruleWebPageObj_in_ruleBooleanCondition2409);\n lv_arg_12_1=ruleWebPageObj();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getBooleanConditionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"arg\",\n \t\tlv_arg_12_1, \n \t\t\"WebPageObj\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n break;\n case 2 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1257:8: otherlv_12= RULE_ID\n {\n\n \t\t\tif (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanConditionRule());\n \t }\n \n otherlv_12=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBooleanCondition2427); \n\n \t\tnewLeafNode(otherlv_12, grammarAccess.getBooleanConditionAccess().getArgVariableCrossReference_6_0_0_1()); \n \t\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n otherlv_13=(Token)match(input,31,FOLLOW_31_in_ruleBooleanCondition2442); \n\n \tnewLeafNode(otherlv_13, grammarAccess.getBooleanConditionAccess().getExistKeyword_6_1());\n \n\n }\n\n\n }\n break;\n case 8 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1275:6: (otherlv_14= 'Not' otherlv_15= '(' ( ( (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID ) ) ) otherlv_17= ')' )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1275:6: (otherlv_14= 'Not' otherlv_15= '(' ( ( (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID ) ) ) otherlv_17= ')' )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1275:8: otherlv_14= 'Not' otherlv_15= '(' ( ( (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID ) ) ) otherlv_17= ')'\n {\n otherlv_14=(Token)match(input,32,FOLLOW_32_in_ruleBooleanCondition2462); \n\n \tnewLeafNode(otherlv_14, grammarAccess.getBooleanConditionAccess().getNotKeyword_7_0());\n \n otherlv_15=(Token)match(input,33,FOLLOW_33_in_ruleBooleanCondition2474); \n\n \tnewLeafNode(otherlv_15, grammarAccess.getBooleanConditionAccess().getLeftParenthesisKeyword_7_1());\n \n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1283:1: ( ( (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID ) ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1284:1: ( (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID ) )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1284:1: ( (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID ) )\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1285:1: (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID )\n {\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1285:1: (lv_bool_16_1= ruleBooleanCondition | otherlv_16= RULE_ID )\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( ((LA19_0>=27 && LA19_0<=28)||LA19_0==32||(LA19_0>=42 && LA19_0<=47)) ) {\n alt19=1;\n }\n else if ( (LA19_0==RULE_ID) ) {\n int LA19_2 = input.LA(2);\n\n if ( ((LA19_2>=25 && LA19_2<=26)||(LA19_2>=29 && LA19_2<=31)) ) {\n alt19=1;\n }\n else if ( (LA19_2==34) ) {\n alt19=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 19, 2, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 19, 0, input);\n\n throw nvae;\n }\n switch (alt19) {\n case 1 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1286:3: lv_bool_16_1= ruleBooleanCondition\n {\n \n \t newCompositeNode(grammarAccess.getBooleanConditionAccess().getBoolBooleanConditionParserRuleCall_7_2_0_0()); \n \t \n pushFollow(FOLLOW_ruleBooleanCondition_in_ruleBooleanCondition2497);\n lv_bool_16_1=ruleBooleanCondition();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getBooleanConditionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"bool\",\n \t\tlv_bool_16_1, \n \t\t\"BooleanCondition\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n break;\n case 2 :\n // ../org.xtext.example.browser/src-gen/org/xtext/example/browser/parser/antlr/internal/InternalBrowser.g:1301:8: otherlv_16= RULE_ID\n {\n\n \t\t\tif (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanConditionRule());\n \t }\n \n otherlv_16=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBooleanCondition2515); \n\n \t\tnewLeafNode(otherlv_16, grammarAccess.getBooleanConditionAccess().getBoolVariableCrossReference_7_2_0_1()); \n \t\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n otherlv_17=(Token)match(input,34,FOLLOW_34_in_ruleBooleanCondition2530); \n\n \tnewLeafNode(otherlv_17, grammarAccess.getBooleanConditionAccess().getRightParenthesisKeyword_7_3());\n \n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "@Override\r\n\tpublic Object visitBooleanLiteralExpression(\r\n\t\t\tBooleanLiteralExpression booleanLiteralExpression, Object arg)\r\n\t\t\tthrows Exception {\n\t if(booleanLiteralExpression.booleanLiteral.getText().equals(\"false\"))\r\n\t {\r\n\t mv.visitLdcInsn(new Boolean(false));\r\n\t }\r\n\t else\r\n\t {\r\n\t mv.visitLdcInsn(new Boolean(true));\r\n\t }\r\n if(arg != null)\r\n {\r\n// mv.visitMethodInsn(INVOKESTATIC, \"java/lang/Boolean\", \"valueOf\", \"(Z)Ljava/lang/Boolean;\");\r\n }\r\n\t return \"Z\";\r\n\t}", "@Override\n public String visit(BooleanLiteralExpr n, Object arg) {\n return null;\n }", "public interface BoolExprVisitor\n{\n void visit(AndExpr e);\n\n void visit(EqExpr e);\n\n void visit(ExistentialQuantifier e);\n\n void visit(GreaterEqExpr e);\n\n void visit(GreaterExpr e);\n\n void visit(ImplExpr e);\n\n void visit(LessEqExpr e);\n\n void visit(LessExpr e);\n\n void visit(NegExpr e);\n\n void visit(OrExpr e);\n\n void visit(UniversalQuantifier e);\n}", "public final void mT__96() throws RecognitionException {\n try {\n int _type = T__96;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:96:7: ( 'boolean' )\n // InternalIotLuaXtext.g:96:9: 'boolean'\n {\n match(\"boolean\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final EObject ruleBooleanVariableDefinition() throws RecognitionException {\n EObject current = null;\n\n Token lv_name_1_0=null;\n Token otherlv_2=null;\n Token lv_value_3_0=null;\n Token otherlv_4=null;\n EObject lv_type_0_0 = null;\n\n\n enterRule(); \n \n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3493:28: ( ( ( (lv_type_0_0= ruleBooleanDataType ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_value_3_0= RULE_BOOLVALUE ) ) otherlv_4= ';' ) )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3494:1: ( ( (lv_type_0_0= ruleBooleanDataType ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_value_3_0= RULE_BOOLVALUE ) ) otherlv_4= ';' )\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3494:1: ( ( (lv_type_0_0= ruleBooleanDataType ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_value_3_0= RULE_BOOLVALUE ) ) otherlv_4= ';' )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3494:2: ( (lv_type_0_0= ruleBooleanDataType ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_value_3_0= RULE_BOOLVALUE ) ) otherlv_4= ';'\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3494:2: ( (lv_type_0_0= ruleBooleanDataType ) )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3495:1: (lv_type_0_0= ruleBooleanDataType )\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3495:1: (lv_type_0_0= ruleBooleanDataType )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3496:3: lv_type_0_0= ruleBooleanDataType\n {\n \n \t newCompositeNode(grammarAccess.getBooleanVariableDefinitionAccess().getTypeBooleanDataTypeParserRuleCall_0_0()); \n \t \n pushFollow(FOLLOW_ruleBooleanDataType_in_ruleBooleanVariableDefinition7798);\n lv_type_0_0=ruleBooleanDataType();\n\n state._fsp--;\n\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getBooleanVariableDefinitionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"type\",\n \t\tlv_type_0_0, \n \t\t\"BooleanDataType\");\n \t afterParserOrEnumRuleCall();\n \t \n\n }\n\n\n }\n\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3512:2: ( (lv_name_1_0= RULE_ID ) )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3513:1: (lv_name_1_0= RULE_ID )\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3513:1: (lv_name_1_0= RULE_ID )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3514:3: lv_name_1_0= RULE_ID\n {\n lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleBooleanVariableDefinition7815); \n\n \t\t\tnewLeafNode(lv_name_1_0, grammarAccess.getBooleanVariableDefinitionAccess().getNameIDTerminalRuleCall_1_0()); \n \t\t\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanVariableDefinitionRule());\n \t }\n \t\tsetWithLastConsumed(\n \t\t\tcurrent, \n \t\t\t\"name\",\n \t\tlv_name_1_0, \n \t\t\"ID\");\n \t \n\n }\n\n\n }\n\n otherlv_2=(Token)match(input,17,FOLLOW_17_in_ruleBooleanVariableDefinition7832); \n\n \tnewLeafNode(otherlv_2, grammarAccess.getBooleanVariableDefinitionAccess().getEqualsSignKeyword_2());\n \n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3534:1: ( (lv_value_3_0= RULE_BOOLVALUE ) )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3535:1: (lv_value_3_0= RULE_BOOLVALUE )\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3535:1: (lv_value_3_0= RULE_BOOLVALUE )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3536:3: lv_value_3_0= RULE_BOOLVALUE\n {\n lv_value_3_0=(Token)match(input,RULE_BOOLVALUE,FOLLOW_RULE_BOOLVALUE_in_ruleBooleanVariableDefinition7849); \n\n \t\t\tnewLeafNode(lv_value_3_0, grammarAccess.getBooleanVariableDefinitionAccess().getValueBOOLVALUETerminalRuleCall_3_0()); \n \t\t\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanVariableDefinitionRule());\n \t }\n \t\tsetWithLastConsumed(\n \t\t\tcurrent, \n \t\t\t\"value\",\n \t\tlv_value_3_0, \n \t\t\"BOOLVALUE\");\n \t \n\n }\n\n\n }\n\n otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleBooleanVariableDefinition7866); \n\n \tnewLeafNode(otherlv_4, grammarAccess.getBooleanVariableDefinitionAccess().getSemicolonKeyword_4());\n \n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final EObject entryRuleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n int entryRuleBooleanLiteral_StartIndex = input.index();\n EObject iv_ruleBooleanLiteral = null;\n\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 113) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4742:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4743:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getBooleanLiteralRule()); \n }\n pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral9646);\n iv_ruleBooleanLiteral=ruleBooleanLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleBooleanLiteral; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral9656); if (state.failed) return current;\n\n }\n\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 113, entryRuleBooleanLiteral_StartIndex); }\n }\n return current;\n }", "public interface BooleanExpression extends Expression {\n /**\n * Evaluate the expression\n * \n * @return the result of the evaluation (true or false)\n */\n boolean evaluate();\n}", "public final void entryRuleBool() throws RecognitionException {\n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2061:1: ( ruleBool EOF )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2062:1: ruleBool EOF\n {\n before(grammarAccess.getBoolRule()); \n pushFollow(FOLLOW_ruleBool_in_entryRuleBool3900);\n ruleBool();\n\n state._fsp--;\n\n after(grammarAccess.getBoolRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleBool3907); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public final void mT__33() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = T__33;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:24:7: ( 'boolean' )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:24:9: 'boolean'\n\t\t\t{\n\t\t\tmatch(\"boolean\"); \n\n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "boolean isEBoolean();", "public final EObject entryRuleGoalBooleanLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleGoalBooleanLiteral = null;\r\n\r\n\r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1818:2: (iv_ruleGoalBooleanLiteral= ruleGoalBooleanLiteral EOF )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1819:2: iv_ruleGoalBooleanLiteral= ruleGoalBooleanLiteral EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getGoalBooleanLiteralRule()); \r\n }\r\n pushFollow(FOLLOW_ruleGoalBooleanLiteral_in_entryRuleGoalBooleanLiteral3771);\r\n iv_ruleGoalBooleanLiteral=ruleGoalBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleGoalBooleanLiteral; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleGoalBooleanLiteral3781); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public Literal getLiteralBoolean(Boolean literalData);", "public final boolean bool_literal() throws RecognitionException {\n boolean value = false;\n\n\n CommonTree BOOL_LITERAL199 = null;\n\n try {\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1212:3: ( BOOL_LITERAL )\n // D:\\\\decomplier_tools\\\\smali\\\\smali\\\\smali\\\\src\\\\main\\\\antlr3\\\\smaliTreeWalker.g:1212:5: BOOL_LITERAL\n {\n BOOL_LITERAL199 = (CommonTree) match(input, BOOL_LITERAL, FOLLOW_BOOL_LITERAL_in_bool_literal3371);\n value = Boolean.parseBoolean((BOOL_LITERAL199 != null ? BOOL_LITERAL199.getText() : null));\n }\n\n } catch (RecognitionException re) {\n reportError(re);\n recover(input, re);\n } finally {\n // do for sure before leaving\n }\n return value;\n }", "@JsSupport( {JsVersion.MOZILLA_ONE_DOT_ONE, \r\n\t\tJsVersion.JSCRIPT_TWO_DOT_ZERO})\r\npublic interface Boolean extends Object {\r\n\t\r\n\t@Constructor void Boolean();\r\n\t\r\n\t@Constructor void Boolean(boolean value);\r\n\t\r\n\t@Constructor void Boolean(Number value);\r\n\t\r\n\t@Constructor void Boolean(String value);\r\n\t\r\n\t@Function boolean valueOf();\r\n\t\r\n}", "public Type visit(If n) {\n\t\tif (!(n.e.accept(this) instanceof BooleanType)) {\n\t\t\t//Erro:\n\t\t\tSystem.out.println(\"A condição do if deve ser do tipo Boolean\");\n\t\t}\n\n\t\tn.s1.accept(this);\n\t\tn.s2.accept(this);\n\t\treturn new BooleanType();\n\t}", "private boolean processTrueOrFalse() throws HsqlException {\n\n String sToken = tokenizer.getSimpleToken();\n\n if (sToken.equals(Token.T_TRUE)) {\n return true;\n } else if (sToken.equals(Token.T_FALSE)) {\n return false;\n } else {\n throw Trace.error(Trace.UNEXPECTED_TOKEN, sToken);\n }\n }", "boolean booleanOf();", "public final void mT__83() throws RecognitionException {\n try {\n int _type = T__83;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:83:7: ( 'bool' )\n // InternalIotLuaXtext.g:83:9: 'bool'\n {\n match(\"bool\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "void visit(BooleanConstantNode node);", "public final void rule__XBooleanLiteral__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14391:1: ( ( ( rule__XBooleanLiteral__Alternatives_1 ) ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14392:1: ( ( rule__XBooleanLiteral__Alternatives_1 ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14392:1: ( ( rule__XBooleanLiteral__Alternatives_1 ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14393:1: ( rule__XBooleanLiteral__Alternatives_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14394:1: ( rule__XBooleanLiteral__Alternatives_1 )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14394:2: rule__XBooleanLiteral__Alternatives_1\r\n {\r\n pushFollow(FOLLOW_rule__XBooleanLiteral__Alternatives_1_in_rule__XBooleanLiteral__Group__1__Impl29171);\r\n rule__XBooleanLiteral__Alternatives_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "public final EObject ruleBooleanLiteralExpCS() throws RecognitionException {\n EObject current = null;\n\n Token lv_symbol_0_0=null;\n Token lv_symbol_1_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalMyDsl.g:7066:2: ( ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) ) )\n // InternalMyDsl.g:7067:2: ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) )\n {\n // InternalMyDsl.g:7067:2: ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) )\n int alt96=2;\n int LA96_0 = input.LA(1);\n\n if ( (LA96_0==105) ) {\n alt96=1;\n }\n else if ( (LA96_0==106) ) {\n alt96=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 96, 0, input);\n\n throw nvae;\n }\n switch (alt96) {\n case 1 :\n // InternalMyDsl.g:7068:3: ( (lv_symbol_0_0= 'true' ) )\n {\n // InternalMyDsl.g:7068:3: ( (lv_symbol_0_0= 'true' ) )\n // InternalMyDsl.g:7069:4: (lv_symbol_0_0= 'true' )\n {\n // InternalMyDsl.g:7069:4: (lv_symbol_0_0= 'true' )\n // InternalMyDsl.g:7070:5: lv_symbol_0_0= 'true'\n {\n lv_symbol_0_0=(Token)match(input,105,FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(lv_symbol_0_0, grammarAccess.getBooleanLiteralExpCSAccess().getSymbolTrueKeyword_0_0());\n \t\t\t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getBooleanLiteralExpCSRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(current, \"symbol\", lv_symbol_0_0, \"true\");\n \t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // InternalMyDsl.g:7083:3: ( (lv_symbol_1_0= 'false' ) )\n {\n // InternalMyDsl.g:7083:3: ( (lv_symbol_1_0= 'false' ) )\n // InternalMyDsl.g:7084:4: (lv_symbol_1_0= 'false' )\n {\n // InternalMyDsl.g:7084:4: (lv_symbol_1_0= 'false' )\n // InternalMyDsl.g:7085:5: lv_symbol_1_0= 'false'\n {\n lv_symbol_1_0=(Token)match(input,106,FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(lv_symbol_1_0, grammarAccess.getBooleanLiteralExpCSAccess().getSymbolFalseKeyword_1_0());\n \t\t\t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getBooleanLiteralExpCSRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(current, \"symbol\", lv_symbol_1_0, \"false\");\n \t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n\n \tleaveRule();\n\n }\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public final void rule__AstExpressionBoolean__ValueAssignment() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:25715:1: ( ( RULE_BOOL ) )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:25716:1: ( RULE_BOOL )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:25716:1: ( RULE_BOOL )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:25717:1: RULE_BOOL\n {\n before(grammarAccess.getAstExpressionBooleanAccess().getValueBOOLTerminalRuleCall_0()); \n match(input,RULE_BOOL,FOLLOW_RULE_BOOL_in_rule__AstExpressionBoolean__ValueAssignment51681); \n after(grammarAccess.getAstExpressionBooleanAccess().getValueBOOLTerminalRuleCall_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "boolean isValidBoolean(boolean value);", "abstract boolean parse ();", "public Literal setLiteralBoolean(Boolean literalData);", "public final void entryRuleXBooleanLiteral() throws RecognitionException {\n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1312:1: ( ruleXBooleanLiteral EOF )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:1313:1: ruleXBooleanLiteral EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXBooleanLiteralRule()); \n }\n pushFollow(FOLLOW_ruleXBooleanLiteral_in_entryRuleXBooleanLiteral2733);\n ruleXBooleanLiteral();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXBooleanLiteralRule()); \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleXBooleanLiteral2740); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public boolean isBoolean();", "public final short getExprType()\n {\n return XPathExpression.BOOLEAN;\n }", "public final EObject entryRuleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBooleanLiteral = null;\n\n\n try {\n // InternalSafetyParser.g:10495:55: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )\n // InternalSafetyParser.g:10496:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getBooleanLiteralRule()); \n }\n pushFollow(FollowSets000.FOLLOW_1);\n iv_ruleBooleanLiteral=ruleBooleanLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleBooleanLiteral; \n }\n match(input,EOF,FollowSets000.FOLLOW_2); if (state.failed) return current;\n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public LlvmValue visit(BooleanType n){\n\t\treturn LlvmPrimitiveType.I1;\n\t}", "public final void mT__48() throws RecognitionException {\n try {\n int _type = T__48;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:42:7: ( 'BOOLEAN' )\n // InternalEsm.g:42:9: 'BOOLEAN'\n {\n match(\"BOOLEAN\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public static boolean is_boolean(String s) {\n\t return (s.equalsIgnoreCase(\"true\") || s.equalsIgnoreCase(\"T\") || s.equalsIgnoreCase(\"false\") || s.equalsIgnoreCase(\"F\"));\n }", "public final EObject entryRuleBoolLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleBoolLiteral = null;\r\n\r\n\r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3741:2: (iv_ruleBoolLiteral= ruleBoolLiteral EOF )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3742:2: iv_ruleBoolLiteral= ruleBoolLiteral EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getBoolLiteralRule()); \r\n }\r\n pushFollow(FOLLOW_ruleBoolLiteral_in_entryRuleBoolLiteral8594);\r\n iv_ruleBoolLiteral=ruleBoolLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleBoolLiteral; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleBoolLiteral8604); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public Boolean asBoolean();", "public static boolean MarklogicBooleanNodeTest(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"MarklogicBooleanNodeTest\")) return false;\n if (!nextTokenIs(b, K_BOOLEAN_NODE)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, MARKLOGIC_BOOLEAN_NODE_TEST, null);\n r = consumeTokens(b, 2, K_BOOLEAN_NODE, L_PAR);\n p = r; // pin = 2\n r = r && report_error_(b, MarklogicBooleanNodeTest_2(b, l + 1));\n r = p && consumeToken(b, R_PAR) && r;\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "public final void rule__XBooleanLiteral__IsTrueAssignment_1_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18790:1: ( ( ( 'true' ) ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18791:1: ( ( 'true' ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18791:1: ( ( 'true' ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18792:1: ( 'true' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18793:1: ( 'true' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:18794:1: 'true'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); \r\n }\r\n match(input,132,FOLLOW_132_in_rule__XBooleanLiteral__IsTrueAssignment_1_137977); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "public String visit(TrueLiteral n, LLVMRedux argu) throws Exception {\n return \"true\";\n }", "void visitBooleanValue(BooleanValue value);", "public final void ruleBool() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2073:2: ( ( ( rule__Bool__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2074:1: ( ( rule__Bool__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2074:1: ( ( rule__Bool__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2075:1: ( rule__Bool__Group__0 )\n {\n before(grammarAccess.getBoolAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2076:1: ( rule__Bool__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:2076:2: rule__Bool__Group__0\n {\n pushFollow(FOLLOW_rule__Bool__Group__0_in_ruleBool3933);\n rule__Bool__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getBoolAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public final void entryRuleXBooleanLiteral() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:1680:1: ( ruleXBooleanLiteral EOF )\r\n // InternalDroneScript.g:1681:1: ruleXBooleanLiteral EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleXBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "public final EObject ruleExpression_1() throws RecognitionException {\n EObject current = null;\n int ruleExpression_1_StartIndex = input.index();\n EObject this_Expression_2_0 = null;\n\n Enumerator lv_op_2_0 = null;\n\n EObject lv_rhs_3_0 = null;\n\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 86) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3786:28: ( (this_Expression_2_0= ruleExpression_2 ( () ( (lv_op_2_0= ruleBooleanOperator ) ) ( (lv_rhs_3_0= ruleExpression_2 ) ) )* ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3787:1: (this_Expression_2_0= ruleExpression_2 ( () ( (lv_op_2_0= ruleBooleanOperator ) ) ( (lv_rhs_3_0= ruleExpression_2 ) ) )* )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3787:1: (this_Expression_2_0= ruleExpression_2 ( () ( (lv_op_2_0= ruleBooleanOperator ) ) ( (lv_rhs_3_0= ruleExpression_2 ) ) )* )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3788:2: this_Expression_2_0= ruleExpression_2 ( () ( (lv_op_2_0= ruleBooleanOperator ) ) ( (lv_rhs_3_0= ruleExpression_2 ) ) )*\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getExpression_1Access().getExpression_2ParserRuleCall_0()); \n \n }\n pushFollow(FOLLOW_ruleExpression_2_in_ruleExpression_17599);\n this_Expression_2_0=ruleExpression_2();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_Expression_2_0;\n afterParserOrEnumRuleCall();\n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3799:1: ( () ( (lv_op_2_0= ruleBooleanOperator ) ) ( (lv_rhs_3_0= ruleExpression_2 ) ) )*\n loop66:\n do {\n int alt66=2;\n alt66 = dfa66.predict(input);\n switch (alt66) {\n \tcase 1 :\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3799:2: () ( (lv_op_2_0= ruleBooleanOperator ) ) ( (lv_rhs_3_0= ruleExpression_2 ) )\n \t {\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3799:2: ()\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3800:2: \n \t {\n \t if ( state.backtracking==0 ) {\n \t \n \t \t /* */ \n \t \t\n \t }\n \t if ( state.backtracking==0 ) {\n\n \t current = forceCreateModelElementAndSet(\n \t grammarAccess.getExpression_1Access().getBooleanExpressionLhsAction_1_0(),\n \t current);\n \t \n \t }\n\n \t }\n\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3808:2: ( (lv_op_2_0= ruleBooleanOperator ) )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3809:1: (lv_op_2_0= ruleBooleanOperator )\n \t {\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3809:1: (lv_op_2_0= ruleBooleanOperator )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3810:3: lv_op_2_0= ruleBooleanOperator\n \t {\n \t if ( state.backtracking==0 ) {\n \t \n \t \t newCompositeNode(grammarAccess.getExpression_1Access().getOpBooleanOperatorEnumRuleCall_1_1_0()); \n \t \t \n \t }\n \t pushFollow(FOLLOW_ruleBooleanOperator_in_ruleExpression_17632);\n \t lv_op_2_0=ruleBooleanOperator();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t if (current==null) {\n \t \t current = createModelElementForParent(grammarAccess.getExpression_1Rule());\n \t \t }\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"op\",\n \t \t\tlv_op_2_0, \n \t \t\t\"BooleanOperator\");\n \t \t afterParserOrEnumRuleCall();\n \t \t \n \t }\n\n \t }\n\n\n \t }\n\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3826:2: ( (lv_rhs_3_0= ruleExpression_2 ) )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3827:1: (lv_rhs_3_0= ruleExpression_2 )\n \t {\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3827:1: (lv_rhs_3_0= ruleExpression_2 )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3828:3: lv_rhs_3_0= ruleExpression_2\n \t {\n \t if ( state.backtracking==0 ) {\n \t \n \t \t newCompositeNode(grammarAccess.getExpression_1Access().getRhsExpression_2ParserRuleCall_1_2_0()); \n \t \t \n \t }\n \t pushFollow(FOLLOW_ruleExpression_2_in_ruleExpression_17653);\n \t lv_rhs_3_0=ruleExpression_2();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t if (current==null) {\n \t \t current = createModelElementForParent(grammarAccess.getExpression_1Rule());\n \t \t }\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"rhs\",\n \t \t\tlv_rhs_3_0, \n \t \t\t\"Expression_2\");\n \t \t afterParserOrEnumRuleCall();\n \t \t \n \t }\n\n \t }\n\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop66;\n }\n } while (true);\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 86, ruleExpression_1_StartIndex); }\n }\n return current;\n }", "public String visit(FalseLiteral n, LLVMRedux argu) throws Exception {\n return \"false\";\n }", "public SPARQLBooleanXMLParser() {\n\t\tsuper();\n\t}" ]
[ "0.79310614", "0.7067692", "0.7015506", "0.6876", "0.679869", "0.66214556", "0.6589462", "0.658313", "0.6501679", "0.6501679", "0.6464464", "0.6445873", "0.6339366", "0.6297475", "0.6282416", "0.62778974", "0.6218739", "0.6146348", "0.6094732", "0.6074401", "0.6041645", "0.60336596", "0.5961869", "0.5953667", "0.5940672", "0.5897924", "0.58955336", "0.5885682", "0.58811855", "0.587243", "0.5857418", "0.5856397", "0.58410877", "0.57904667", "0.5781772", "0.5776958", "0.5772701", "0.5763216", "0.5755128", "0.5755045", "0.5732672", "0.5712061", "0.57093817", "0.5706218", "0.5697406", "0.56885034", "0.56742275", "0.5673184", "0.5644865", "0.56379485", "0.56343585", "0.5613524", "0.56060934", "0.56042135", "0.5599097", "0.557819", "0.5573107", "0.55367434", "0.5534157", "0.5532014", "0.55288106", "0.5523635", "0.55215925", "0.5492871", "0.5487885", "0.5466115", "0.54621685", "0.5460102", "0.5451472", "0.54473734", "0.54458934", "0.54411566", "0.54404026", "0.54364985", "0.54163307", "0.54129213", "0.53899455", "0.5383705", "0.5377662", "0.5375184", "0.5366478", "0.5363392", "0.5360059", "0.5352407", "0.5345604", "0.53449655", "0.53385407", "0.53342336", "0.5327854", "0.53012955", "0.52985877", "0.5274153", "0.52586794", "0.5256506", "0.52504444", "0.5242687", "0.52417696", "0.523569", "0.5227257", "0.5222585" ]
0.7484217
1
$ANTLR end "RULE_BOOLEAN" $ANTLR start "RULE_REALINT"
public final void mRULE_REALINT() throws RecognitionException { try { int _type = RULE_REALINT; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:2284:14: ( ( '-' )? RULE_INT ) // InternalDSL.g:2284:16: ( '-' )? RULE_INT { // InternalDSL.g:2284:16: ( '-' )? int alt2=2; int LA2_0 = input.LA(1); if ( (LA2_0=='-') ) { alt2=1; } switch (alt2) { case 1 : // InternalDSL.g:2284:16: '-' { match('-'); } break; } mRULE_INT(); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mRULE_BOOLEAN() throws RecognitionException {\n try {\n int _type = RULE_BOOLEAN;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:14: ( ( 'true' | 'false' ) )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:16: ( 'true' | 'false' )\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:16: ( 'true' | 'false' )\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='t') ) {\n alt5=1;\n }\n else if ( (LA5_0=='f') ) {\n alt5=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 0, input);\n\n throw nvae;\n }\n switch (alt5) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:17: 'true'\n {\n match(\"true\"); \n\n\n }\n break;\n case 2 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2527:24: 'false'\n {\n match(\"false\"); \n\n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_BOOLEAN() throws RecognitionException {\n try {\n int _type = RULE_BOOLEAN;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2282:14: ( ( 'true' | 'false' ) )\n // InternalDSL.g:2282:16: ( 'true' | 'false' )\n {\n // InternalDSL.g:2282:16: ( 'true' | 'false' )\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='t') ) {\n alt1=1;\n }\n else if ( (LA1_0=='f') ) {\n alt1=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 0, input);\n\n throw nvae;\n }\n switch (alt1) {\n case 1 :\n // InternalDSL.g:2282:17: 'true'\n {\n match(\"true\"); \n\n\n }\n break;\n case 2 :\n // InternalDSL.g:2282:24: 'false'\n {\n match(\"false\"); \n\n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Override\n\tpublic String visitBoolExpr(BoolExprContext ctx) {\n\t\tint childrenNo=ctx.children.size();\n\t\tif (childrenNo == 3 )\n\t\t{\n\t\t\tParseTree n=ctx.getChild(1);\t\t\t\n\t\t\tif (!(n instanceof TerminalNode)) return visit(n); //( boolExpr ) \n\t\t\telse if(n.equals(ctx.COMP())) {\n\t\t\t\tString firstOpType=visit(ctx.getChild(0)); //|arExpr COMP arExpr\n\t\t\t\tString secondOpType=visit(ctx.getChild(2)); \n\t\t\t\tif(!((firstOpType.equals(\"int\"))&&(secondOpType.equals(\"int\")))) throw new RuntimeException(\"you can only compare integer types\");\n\t\t\t\treturn \"boolean\";\n\t\t\t}else if(n==ctx.EQ()){\t\t\t\t\t\t\t\t\t\t\t//|arExpr EQ arExpr\n\t\t\t\tString firstOpType=visit(ctx.getChild(0)); \n\t\t\t\tString secondOpType=visit(ctx.getChild(2)); \t\t\t\t\n\t\t\t\tif(!(((firstOpType.equals(\"int\"))&&(secondOpType.equals(\"int\")))||((firstOpType.equals(\"char\"))&&(secondOpType.equals(\"char\"))))) throw new RuntimeException(\"you can only use\"\n\t\t\t\t\t\t+ \"\\\"==\\\" operator on integer or character types\");\n\t\t\t\treturn \"boolean\";\n\t\t\t}else if(n==ctx.AND()||n==ctx.OR()){ //|boolExpr (AND|OR)boolExpr\n\t\t\t\tString firstOpType=visit(ctx.getChild(0));\n\t\t\t\tString secondOpType=visit(ctx.getChild(2));\n\t\t\t\tif(!(firstOpType.equals(\"boolean\"))&&(secondOpType.equals(\"boolean\"))) throw new RuntimeException(\"you can only use boolean operators on boolean expressions\");\n\t\t\t\treturn \"boolean\";\n\t\t\t}\n\t\t} else if (childrenNo == 2 ) { //|NOT boolExpr\n\t\t\tString exprType=visit(ctx.getChild(1));\n\t\t\tif (!exprType.equals(\"boolean\")) throw new RuntimeException(\"NOT operator works only with boolean expresssions\");\n\t\t\t\treturn \"boolean\";\n\t\t}else {\t\t\t\t\t\t\t\t//|(ID|property|BOOLEANLIT|arrIdExpr|methodCall)\n\t\t\tParseTree n=ctx.getChild(0);\n\t\t\tif (n instanceof TerminalNode) {\t\t\t\t\n\t\t\t\tif (n==ctx.BOOLEANLIT()) return \"boolean\";\n\t\t\t\telse if(n==ctx.ID()){\n\t\t\t\t\tString key=visitTerminal((TerminalNode)n);\n\t\t\t\t\tRecord id= table.lookup(key);\n\t\t\t\t\tif (id==null) throw new RuntimeException(\"Identifier \"+key+\" is not declared\");\t\t\t\t\t\n\t\t\t\t\treturn id.getReturnType();\n\t\t\t\t\t\n\t\t\t\t}\t\t\t \n\t\t\t}else {\n\t\t\t\tString type=visit(ctx.getChild(0));\n\t\t\t\treturn type;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn null; //for debug\n\t}", "public final void mRULE_BOOL_VAL() throws RecognitionException {\r\n try {\r\n int _type = RULE_BOOL_VAL;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:15: ( ( 'true' | 'false' ) )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:17: ( 'true' | 'false' )\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:17: ( 'true' | 'false' )\r\n int alt10=2;\r\n int LA10_0 = input.LA(1);\r\n\r\n if ( (LA10_0=='t') ) {\r\n alt10=1;\r\n }\r\n else if ( (LA10_0=='f') ) {\r\n alt10=2;\r\n }\r\n else {\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 10, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt10) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:18: 'true'\r\n {\r\n match(\"true\"); \r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19802:25: 'false'\r\n {\r\n match(\"false\"); \r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mBOOLEAN_TYPE() throws RecognitionException {\n try {\n int _type = BOOLEAN_TYPE;\n // /Users/benjamincoe/HackWars/C.g:189:2: ( 'bool' | 'boolean' )\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='b') ) {\n int LA5_1 = input.LA(2);\n\n if ( (LA5_1=='o') ) {\n int LA5_2 = input.LA(3);\n\n if ( (LA5_2=='o') ) {\n int LA5_3 = input.LA(4);\n\n if ( (LA5_3=='l') ) {\n int LA5_4 = input.LA(5);\n\n if ( (LA5_4=='e') ) {\n alt5=2;\n }\n else {\n alt5=1;}\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"188:1: BOOLEAN_TYPE : ( 'bool' | 'boolean' );\", 5, 3, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"188:1: BOOLEAN_TYPE : ( 'bool' | 'boolean' );\", 5, 2, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"188:1: BOOLEAN_TYPE : ( 'bool' | 'boolean' );\", 5, 1, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"188:1: BOOLEAN_TYPE : ( 'bool' | 'boolean' );\", 5, 0, input);\n\n throw nvae;\n }\n switch (alt5) {\n case 1 :\n // /Users/benjamincoe/HackWars/C.g:189:4: 'bool'\n {\n match(\"bool\"); \n\n\n }\n break;\n case 2 :\n // /Users/benjamincoe/HackWars/C.g:189:11: 'boolean'\n {\n match(\"boolean\"); \n\n\n }\n break;\n\n }\n this.type = _type;\n }\n finally {\n }\n }", "public final AntlrDatatypeRuleToken rulePrimitiveType() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token kw=null;\n\n enterRule(); \n \n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2910:28: ( (kw= 'boolean' | kw= 'char' | kw= 'byte' | kw= 'short' | kw= 'int' | kw= 'long' | kw= 'float' | kw= 'double' ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2911:1: (kw= 'boolean' | kw= 'char' | kw= 'byte' | kw= 'short' | kw= 'int' | kw= 'long' | kw= 'float' | kw= 'double' )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2911:1: (kw= 'boolean' | kw= 'char' | kw= 'byte' | kw= 'short' | kw= 'int' | kw= 'long' | kw= 'float' | kw= 'double' )\n int alt39=8;\n switch ( input.LA(1) ) {\n case 60:\n {\n alt39=1;\n }\n break;\n case 61:\n {\n alt39=2;\n }\n break;\n case 62:\n {\n alt39=3;\n }\n break;\n case 63:\n {\n alt39=4;\n }\n break;\n case 64:\n {\n alt39=5;\n }\n break;\n case 65:\n {\n alt39=6;\n }\n break;\n case 66:\n {\n alt39=7;\n }\n break;\n case 67:\n {\n alt39=8;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 39, 0, input);\n\n throw nvae;\n }\n\n switch (alt39) {\n case 1 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2912:2: kw= 'boolean'\n {\n kw=(Token)match(input,60,FOLLOW_60_in_rulePrimitiveType6862); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current.merge(kw);\n newLeafNode(kw, grammarAccess.getPrimitiveTypeAccess().getBooleanKeyword_0()); \n \n }\n\n }\n break;\n case 2 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2919:2: kw= 'char'\n {\n kw=(Token)match(input,61,FOLLOW_61_in_rulePrimitiveType6881); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current.merge(kw);\n newLeafNode(kw, grammarAccess.getPrimitiveTypeAccess().getCharKeyword_1()); \n \n }\n\n }\n break;\n case 3 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2926:2: kw= 'byte'\n {\n kw=(Token)match(input,62,FOLLOW_62_in_rulePrimitiveType6900); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current.merge(kw);\n newLeafNode(kw, grammarAccess.getPrimitiveTypeAccess().getByteKeyword_2()); \n \n }\n\n }\n break;\n case 4 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2933:2: kw= 'short'\n {\n kw=(Token)match(input,63,FOLLOW_63_in_rulePrimitiveType6919); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current.merge(kw);\n newLeafNode(kw, grammarAccess.getPrimitiveTypeAccess().getShortKeyword_3()); \n \n }\n\n }\n break;\n case 5 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2940:2: kw= 'int'\n {\n kw=(Token)match(input,64,FOLLOW_64_in_rulePrimitiveType6938); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current.merge(kw);\n newLeafNode(kw, grammarAccess.getPrimitiveTypeAccess().getIntKeyword_4()); \n \n }\n\n }\n break;\n case 6 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2947:2: kw= 'long'\n {\n kw=(Token)match(input,65,FOLLOW_65_in_rulePrimitiveType6957); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current.merge(kw);\n newLeafNode(kw, grammarAccess.getPrimitiveTypeAccess().getLongKeyword_5()); \n \n }\n\n }\n break;\n case 7 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2954:2: kw= 'float'\n {\n kw=(Token)match(input,66,FOLLOW_66_in_rulePrimitiveType6976); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current.merge(kw);\n newLeafNode(kw, grammarAccess.getPrimitiveTypeAccess().getFloatKeyword_6()); \n \n }\n\n }\n break;\n case 8 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2961:2: kw= 'double'\n {\n kw=(Token)match(input,67,FOLLOW_67_in_rulePrimitiveType6995); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current.merge(kw);\n newLeafNode(kw, grammarAccess.getPrimitiveTypeAccess().getDoubleKeyword_7()); \n \n }\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public LlvmValue visit(BooleanType n){\n\t\treturn LlvmPrimitiveType.I1;\n\t}", "public final EObject ruleLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject this_BoolLiteral_0 = null;\r\n\r\n EObject this_IntLiteral_1 = null;\r\n\r\n EObject this_HexLiteral_2 = null;\r\n\r\n EObject this_RealLiteral_3 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3692:28: ( (this_BoolLiteral_0= ruleBoolLiteral | this_IntLiteral_1= ruleIntLiteral | this_HexLiteral_2= ruleHexLiteral | this_RealLiteral_3= ruleRealLiteral ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3693:1: (this_BoolLiteral_0= ruleBoolLiteral | this_IntLiteral_1= ruleIntLiteral | this_HexLiteral_2= ruleHexLiteral | this_RealLiteral_3= ruleRealLiteral )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3693:1: (this_BoolLiteral_0= ruleBoolLiteral | this_IntLiteral_1= ruleIntLiteral | this_HexLiteral_2= ruleHexLiteral | this_RealLiteral_3= ruleRealLiteral )\r\n int alt56=4;\r\n switch ( input.LA(1) ) {\r\n case RULE_BOOL:\r\n {\r\n alt56=1;\r\n }\r\n break;\r\n case RULE_INT:\r\n {\r\n alt56=2;\r\n }\r\n break;\r\n case RULE_HEX:\r\n {\r\n alt56=3;\r\n }\r\n break;\r\n case RULE_FLOAT:\r\n {\r\n alt56=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return current;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 56, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt56) {\r\n case 1 :\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3694:5: this_BoolLiteral_0= ruleBoolLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getLiteralAccess().getBoolLiteralParserRuleCall_0()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleBoolLiteral_in_ruleLiteral8478);\r\n this_BoolLiteral_0=ruleBoolLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_BoolLiteral_0; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3704:5: this_IntLiteral_1= ruleIntLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getLiteralAccess().getIntLiteralParserRuleCall_1()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleIntLiteral_in_ruleLiteral8505);\r\n this_IntLiteral_1=ruleIntLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_IntLiteral_1; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3714:5: this_HexLiteral_2= ruleHexLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getLiteralAccess().getHexLiteralParserRuleCall_2()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleHexLiteral_in_ruleLiteral8532);\r\n this_HexLiteral_2=ruleHexLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_HexLiteral_2; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 4 :\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3724:5: this_RealLiteral_3= ruleRealLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getLiteralAccess().getRealLiteralParserRuleCall_3()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleRealLiteral_in_ruleLiteral8559);\r\n this_RealLiteral_3=ruleRealLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_RealLiteral_3; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final EObject ruleBooleanUnit() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject this_Negation_0 = null;\r\n\r\n EObject this_RelationalExpression_1 = null;\r\n\r\n EObject this_BooleanLiteral_2 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2425:28: ( (this_Negation_0= ruleNegation | this_RelationalExpression_1= ruleRelationalExpression | this_BooleanLiteral_2= ruleBooleanLiteral ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2426:1: (this_Negation_0= ruleNegation | this_RelationalExpression_1= ruleRelationalExpression | this_BooleanLiteral_2= ruleBooleanLiteral )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2426:1: (this_Negation_0= ruleNegation | this_RelationalExpression_1= ruleRelationalExpression | this_BooleanLiteral_2= ruleBooleanLiteral )\r\n int alt33=3;\r\n switch ( input.LA(1) ) {\r\n case 58:\r\n case 59:\r\n {\r\n alt33=1;\r\n }\r\n break;\r\n case RULE_ID:\r\n case RULE_STRING:\r\n case RULE_INT:\r\n case RULE_POSITIVE_SMALL_DECIMAL:\r\n case RULE_NULL:\r\n case RULE_SMALL_DECIMAL:\r\n case RULE_EBIGDECIMAL:\r\n case 42:\r\n case 43:\r\n case 46:\r\n case 68:\r\n case 69:\r\n case 70:\r\n case 71:\r\n case 72:\r\n case 73:\r\n case 74:\r\n case 75:\r\n {\r\n alt33=2;\r\n }\r\n break;\r\n case RULE_EBOOLEAN:\r\n {\r\n alt33=3;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return current;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 33, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt33) {\r\n case 1 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2427:5: this_Negation_0= ruleNegation\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getBooleanUnitAccess().getNegationParserRuleCall_0()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleNegation_in_ruleBooleanUnit5148);\r\n this_Negation_0=ruleNegation();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_Negation_0; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2437:5: this_RelationalExpression_1= ruleRelationalExpression\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getBooleanUnitAccess().getRelationalExpressionParserRuleCall_1()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleRelationalExpression_in_ruleBooleanUnit5175);\r\n this_RelationalExpression_1=ruleRelationalExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_RelationalExpression_1; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2447:5: this_BooleanLiteral_2= ruleBooleanLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getBooleanUnitAccess().getBooleanLiteralParserRuleCall_2()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleBooleanUnit5202);\r\n this_BooleanLiteral_2=ruleBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_BooleanLiteral_2; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "BooleanLiteralExp createBooleanLiteralExp();", "@Override\r\n\tpublic Object visitBooleanLitExpression(\r\n\t\t\tBooleanLitExpression booleanLitExpression, Object arg)\r\n\t\t\tthrows Exception {\r\n\t\tbooleanLitExpression.setType(booleanType);\r\n\t\treturn booleanType;\r\n\t}", "public Object VisitBooleanLiteral(ASTBooleanLiteral boolliteral) {\n if (boolliteral.value()) {\n return new TypeClass(BooleanType.instance(), bt.constantExpression(1));\n } else {\n return new TypeClass(BooleanType.instance(), bt.constantExpression(0));\n }\n }", "public final EObject ruleGoalBooleanUnit() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject this_GoalNegation_0 = null;\r\n\r\n EObject this_GoalBooleanLiteral_1 = null;\r\n\r\n EObject this_GoalReference_2 = null;\r\n\r\n EObject this_ParenthesizedGoalExpression_3 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1712:28: ( (this_GoalNegation_0= ruleGoalNegation | this_GoalBooleanLiteral_1= ruleGoalBooleanLiteral | this_GoalReference_2= ruleGoalReference | this_ParenthesizedGoalExpression_3= ruleParenthesizedGoalExpression ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1713:1: (this_GoalNegation_0= ruleGoalNegation | this_GoalBooleanLiteral_1= ruleGoalBooleanLiteral | this_GoalReference_2= ruleGoalReference | this_ParenthesizedGoalExpression_3= ruleParenthesizedGoalExpression )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1713:1: (this_GoalNegation_0= ruleGoalNegation | this_GoalBooleanLiteral_1= ruleGoalBooleanLiteral | this_GoalReference_2= ruleGoalReference | this_ParenthesizedGoalExpression_3= ruleParenthesizedGoalExpression )\r\n int alt25=4;\r\n switch ( input.LA(1) ) {\r\n case 58:\r\n case 59:\r\n {\r\n alt25=1;\r\n }\r\n break;\r\n case RULE_EBOOLEAN:\r\n {\r\n alt25=2;\r\n }\r\n break;\r\n case 42:\r\n {\r\n alt25=3;\r\n }\r\n break;\r\n case 43:\r\n {\r\n alt25=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return current;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 25, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt25) {\r\n case 1 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1714:5: this_GoalNegation_0= ruleGoalNegation\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getGoalBooleanUnitAccess().getGoalNegationParserRuleCall_0()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleGoalNegation_in_ruleGoalBooleanUnit3542);\r\n this_GoalNegation_0=ruleGoalNegation();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_GoalNegation_0; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1724:5: this_GoalBooleanLiteral_1= ruleGoalBooleanLiteral\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getGoalBooleanUnitAccess().getGoalBooleanLiteralParserRuleCall_1()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleGoalBooleanLiteral_in_ruleGoalBooleanUnit3569);\r\n this_GoalBooleanLiteral_1=ruleGoalBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_GoalBooleanLiteral_1; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1734:5: this_GoalReference_2= ruleGoalReference\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getGoalBooleanUnitAccess().getGoalReferenceParserRuleCall_2()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleGoalReference_in_ruleGoalBooleanUnit3596);\r\n this_GoalReference_2=ruleGoalReference();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_GoalReference_2; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n case 4 :\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1744:5: this_ParenthesizedGoalExpression_3= ruleParenthesizedGoalExpression\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n newCompositeNode(grammarAccess.getGoalBooleanUnitAccess().getParenthesizedGoalExpressionParserRuleCall_3()); \r\n \r\n }\r\n pushFollow(FOLLOW_ruleParenthesizedGoalExpression_in_ruleGoalBooleanUnit3623);\r\n this_ParenthesizedGoalExpression_3=ruleParenthesizedGoalExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n current = this_ParenthesizedGoalExpression_3; \r\n afterParserOrEnumRuleCall();\r\n \r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "<C> BooleanLiteralExp<C> createBooleanLiteralExp();", "public final void mBOOLEAN_LITERAL() throws RecognitionException {\n try {\n int _type = BOOLEAN_LITERAL;\n // /Users/benjamincoe/HackWars/C.g:239:2: ( 'true' | 'false' )\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='t') ) {\n alt6=1;\n }\n else if ( (LA6_0=='f') ) {\n alt6=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"238:1: BOOLEAN_LITERAL : ( 'true' | 'false' );\", 6, 0, input);\n\n throw nvae;\n }\n switch (alt6) {\n case 1 :\n // /Users/benjamincoe/HackWars/C.g:239:4: 'true'\n {\n match(\"true\"); \n\n\n }\n break;\n case 2 :\n // /Users/benjamincoe/HackWars/C.g:239:11: 'false'\n {\n match(\"false\"); \n\n\n }\n break;\n\n }\n this.type = _type;\n }\n finally {\n }\n }", "public void visit(BooleanLiteral n) {\n n.f0.accept(this);\n }", "public final EObject ruleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n int ruleBooleanLiteral_StartIndex = input.index();\n Token lv_booleanValue_1_0=null;\n Token otherlv_2=null;\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 114) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4753:28: ( ( () ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 ) ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4754:1: ( () ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4754:1: ( () ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4754:2: () ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4754:2: ()\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4755:2: \n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n\n current = forceCreateModelElement(\n grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(),\n current);\n \n }\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4763:2: ( ( (lv_booleanValue_1_0= KEYWORD_55 ) ) | otherlv_2= KEYWORD_61 )\n int alt77=2;\n int LA77_0 = input.LA(1);\n\n if ( (LA77_0==KEYWORD_55) ) {\n alt77=1;\n }\n else if ( (LA77_0==KEYWORD_61) ) {\n alt77=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 77, 0, input);\n\n throw nvae;\n }\n switch (alt77) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4763:3: ( (lv_booleanValue_1_0= KEYWORD_55 ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4763:3: ( (lv_booleanValue_1_0= KEYWORD_55 ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4764:1: (lv_booleanValue_1_0= KEYWORD_55 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4764:1: (lv_booleanValue_1_0= KEYWORD_55 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4765:3: lv_booleanValue_1_0= KEYWORD_55\n {\n lv_booleanValue_1_0=(Token)match(input,KEYWORD_55,FOLLOW_KEYWORD_55_in_ruleBooleanLiteral9713); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n newLeafNode(lv_booleanValue_1_0, grammarAccess.getBooleanLiteralAccess().getBooleanValueTrueKeyword_1_0_0());\n \n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanLiteralRule());\n \t }\n \t\tsetWithLastConsumed(current, \"booleanValue\", true, \"true\");\n \t \n }\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4781:2: otherlv_2= KEYWORD_61\n {\n otherlv_2=(Token)match(input,KEYWORD_61,FOLLOW_KEYWORD_61_in_ruleBooleanLiteral9743); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_2, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_1());\n \n }\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 114, ruleBooleanLiteral_StartIndex); }\n }\n return current;\n }", "@Test @Ignore\n public void testUfWithBoolArg() throws SolverException, InterruptedException {\n\n UninterpretedFunctionDeclaration<IntegerFormula> uf = fmgr.declareUninterpretedFunction(\"fun_bi\", FormulaType.IntegerType, FormulaType.BooleanType);\n IntegerFormula ufTrue = fmgr.callUninterpretedFunction(uf, ImmutableList.of(bmgr.makeBoolean(true)));\n IntegerFormula ufFalse = fmgr.callUninterpretedFunction(uf, ImmutableList.of(bmgr.makeBoolean(false)));\n\n BooleanFormula f = bmgr.not(imgr.equal(ufTrue, ufFalse));\n assertThat(f.toString()).isEmpty();\n assert_().about(BooleanFormula()).that(f).isSatisfiable();\n }", "public final short getExprType()\n {\n return XPathExpression.BOOLEAN;\n }", "@Override\n public TypeNode evaluate() {\n return this.hijo.evaluate().toBoolNode();\n }", "public final AliaChecker.primitive_return primitive() throws RecognitionException {\n\t\tAliaChecker.primitive_return retval = new AliaChecker.primitive_return();\n\t\tretval.start = input.LT(1);\n\n\t\tCommonTree root_0 = null;\n\n\t\tCommonTree _first_0 = null;\n\t\tCommonTree _last = null;\n\n\n\t\tCommonTree NUMBER23=null;\n\t\tCommonTree CHAR_EXPR24=null;\n\t\tTreeRuleReturnScope boolean_expr25 =null;\n\n\t\tCommonTree NUMBER23_tree=null;\n\t\tCommonTree CHAR_EXPR24_tree=null;\n\n\t\ttry {\n\t\t\t// src\\\\alia\\\\AliaChecker.g:288:32: ( NUMBER | CHAR_EXPR | boolean_expr )\n\t\t\tint alt17=3;\n\t\t\tswitch ( input.LA(1) ) {\n\t\t\tcase NUMBER:\n\t\t\t\t{\n\t\t\t\talt17=1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase CHAR_EXPR:\n\t\t\t\t{\n\t\t\t\talt17=2;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase FALSE:\n\t\t\tcase TRUE:\n\t\t\t\t{\n\t\t\t\talt17=3;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 17, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\t\t\tswitch (alt17) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// src\\\\alia\\\\AliaChecker.g:289:7: NUMBER\n\t\t\t\t\t{\n\t\t\t\t\troot_0 = (CommonTree)adaptor.nil();\n\n\n\t\t\t\t\t_last = (CommonTree)input.LT(1);\n\t\t\t\t\tNUMBER23=(CommonTree)match(input,NUMBER,FOLLOW_NUMBER_in_primitive1709); \n\t\t\t\t\tNUMBER23_tree = (CommonTree)adaptor.dupNode(NUMBER23);\n\n\n\t\t\t\t\tadaptor.addChild(root_0, NUMBER23_tree);\n\n\t\t\t\t\tretval.type = new _Int();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// src\\\\alia\\\\AliaChecker.g:290:7: CHAR_EXPR\n\t\t\t\t\t{\n\t\t\t\t\troot_0 = (CommonTree)adaptor.nil();\n\n\n\t\t\t\t\t_last = (CommonTree)input.LT(1);\n\t\t\t\t\tCHAR_EXPR24=(CommonTree)match(input,CHAR_EXPR,FOLLOW_CHAR_EXPR_in_primitive1720); \n\t\t\t\t\tCHAR_EXPR24_tree = (CommonTree)adaptor.dupNode(CHAR_EXPR24);\n\n\n\t\t\t\t\tadaptor.addChild(root_0, CHAR_EXPR24_tree);\n\n\t\t\t\t\t retval.type = new _Char(); \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// src\\\\alia\\\\AliaChecker.g:292:7: boolean_expr\n\t\t\t\t\t{\n\t\t\t\t\troot_0 = (CommonTree)adaptor.nil();\n\n\n\t\t\t\t\t_last = (CommonTree)input.LT(1);\n\t\t\t\t\tpushFollow(FOLLOW_boolean_expr_in_primitive1739);\n\t\t\t\t\tboolean_expr25=boolean_expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tadaptor.addChild(root_0, boolean_expr25.getTree());\n\n\t\t\t\t\t retval.type = new _Bool(); \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tretval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\n\n\t\t}\n\t\t \n\t\t catch (RecognitionException e) { \n\t\t \tif(!e.getMessage().equals(\"\")) {\n\t\t\t\t\tSystem.err.println(\"Exception!:\"+e.getMessage());\n\t\t\t\t}\n\t\t\t\tthrow (new AliaException(\"\"));\n\t\t } \n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn retval;\n\t}", "@Test\n public void testBooleanLiteralFalse2() throws Exception {\n Boolean expected = Boolean.FALSE;\n String sql = \"SELECT {b'false'}\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n Node constantNode = verifyExpressionSymbol(selectNode, Select.SYMBOLS_REF_NAME, Constant.ID);\n verifyProperty(constantNode, Constant.VALUE_PROP_NAME, expected);\n verifyProperty(constantNode, Expression.TYPE_CLASS_PROP_NAME, DataTypeName.BOOLEAN.name());\n\n verifySql(\"SELECT FALSE\", fileNode);\n }", "public final Enumerator ruleBooleanKind() throws RecognitionException {\n Enumerator current = null;\n\n setCurrentLookahead(); resetLookahead(); \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6910:6: ( ( ( 'false' ) | ( 'true' ) ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:1: ( ( 'false' ) | ( 'true' ) )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:1: ( ( 'false' ) | ( 'true' ) )\n int alt104=2;\n int LA104_0 = input.LA(1);\n\n if ( (LA104_0==76) ) {\n alt104=1;\n }\n else if ( (LA104_0==77) ) {\n alt104=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"6911:1: ( ( 'false' ) | ( 'true' ) )\", 104, 0, input);\n\n throw nvae;\n }\n switch (alt104) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:2: ( 'false' )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:2: ( 'false' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6911:4: 'false'\n {\n match(input,76,FOLLOW_76_in_ruleBooleanKind12221); \n\n current = grammarAccess.getBooleanKindAccess().getFalseEnumLiteralDeclaration_0().getEnumLiteral().getInstance();\n createLeafNode(grammarAccess.getBooleanKindAccess().getFalseEnumLiteralDeclaration_0(), null); \n \n\n }\n\n\n }\n break;\n case 2 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6917:6: ( 'true' )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6917:6: ( 'true' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6917:8: 'true'\n {\n match(input,77,FOLLOW_77_in_ruleBooleanKind12236); \n\n current = grammarAccess.getBooleanKindAccess().getTrueEnumLiteralDeclaration_1().getEnumLiteral().getInstance();\n createLeafNode(grammarAccess.getBooleanKindAccess().getTrueEnumLiteralDeclaration_1(), null); \n \n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public String visit(TrueLiteral n, LLVMRedux argu) throws Exception {\n return \"true\";\n }", "@Test\n public void testBooleanLiteralTrue2() throws Exception {\n Boolean expected = Boolean.TRUE;\n String sql = \"SELECT TRUE\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n Node constantNode = verifyExpressionSymbol(selectNode, Select.SYMBOLS_REF_NAME, Constant.ID);\n verifyProperty(constantNode, Constant.VALUE_PROP_NAME, expected);\n verifyProperty(constantNode, Expression.TYPE_CLASS_PROP_NAME, DataTypeName.BOOLEAN.name());\n \n verifySql(\"SELECT TRUE\", fileNode);\n }", "BooleanExpression createBooleanExpression();", "BooleanExpression createBooleanExpression();", "void visit(BooleanConstantNode node);", "@Override\n public Node typeCheck() {\n if (!(FOOLlib.isSubtype(left.typeCheck(), new BoolTypeNode()) &&\n FOOLlib.isSubtype(right.typeCheck(), new BoolTypeNode()))) {\n if(operator.equals(\"and\") || operator.equals(\"&&\")) {\n System.out.println(\"Non boolean in AND\");\n }\n else {\n System.out.println(\"Non boolean in OR\");\n }\n System.exit(0);\n }\n //se i tipi sono corretti restituisco bool\n return new BoolTypeNode();\n }", "public final void mBOOL() throws RecognitionException {\n try {\n int _type = BOOL;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2922:6: ( 'true' | 'false' )\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='t') ) {\n alt5=1;\n }\n else if ( (LA5_0=='f') ) {\n alt5=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 5, 0, input);\n\n throw nvae;\n }\n switch (alt5) {\n case 1 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2922:8: 'true'\n {\n match(\"true\"); if (state.failed) return ;\n\n\n }\n break;\n case 2 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2922:17: 'false'\n {\n match(\"false\"); if (state.failed) return ;\n\n\n }\n break;\n\n }\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void entryRuleBoolean() throws RecognitionException {\n try {\n // InternalMyDsl.g:254:1: ( ruleBoolean EOF )\n // InternalMyDsl.g:255:1: ruleBoolean EOF\n {\n before(grammarAccess.getBooleanRule()); \n pushFollow(FOLLOW_1);\n ruleBoolean();\n\n state._fsp--;\n\n after(grammarAccess.getBooleanRule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public interface BooleanExpression extends Expression {\n /**\n * Evaluate the expression\n * \n * @return the result of the evaluation (true or false)\n */\n boolean evaluate();\n}", "public boolean readBoolean() throws IOException {\n int token = fTokenizer.nextToken();\n if (token == StreamTokenizer.TT_NUMBER)\n return ((int) fTokenizer.nval) == 1;\n\n String msg = \"Integer expected in line: \" + fTokenizer.lineno();\n throw new IOException(msg);\n }", "@Override\r\n\tpublic Object visitBooleanLiteralExpression(\r\n\t\t\tBooleanLiteralExpression booleanLiteralExpression, Object arg)\r\n\t\t\tthrows Exception {\n\t if(booleanLiteralExpression.booleanLiteral.getText().equals(\"false\"))\r\n\t {\r\n\t mv.visitLdcInsn(new Boolean(false));\r\n\t }\r\n\t else\r\n\t {\r\n\t mv.visitLdcInsn(new Boolean(true));\r\n\t }\r\n if(arg != null)\r\n {\r\n// mv.visitMethodInsn(INVOKESTATIC, \"java/lang/Boolean\", \"valueOf\", \"(Z)Ljava/lang/Boolean;\");\r\n }\r\n\t return \"Z\";\r\n\t}", "public final EObject ruleGoalBooleanLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token lv_value_0_0=null;\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1829:28: ( ( (lv_value_0_0= RULE_EBOOLEAN ) ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1830:1: ( (lv_value_0_0= RULE_EBOOLEAN ) )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1830:1: ( (lv_value_0_0= RULE_EBOOLEAN ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1831:1: (lv_value_0_0= RULE_EBOOLEAN )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1831:1: (lv_value_0_0= RULE_EBOOLEAN )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1832:3: lv_value_0_0= RULE_EBOOLEAN\r\n {\r\n lv_value_0_0=(Token)match(input,RULE_EBOOLEAN,FOLLOW_RULE_EBOOLEAN_in_ruleGoalBooleanLiteral3822); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t\t\tnewLeafNode(lv_value_0_0, grammarAccess.getGoalBooleanLiteralAccess().getValueEBOOLEANTerminalRuleCall_0()); \r\n \t\t\r\n }\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElement(grammarAccess.getGoalBooleanLiteralRule());\r\n \t }\r\n \t\tsetWithLastConsumed(\r\n \t\t\tcurrent, \r\n \t\t\t\"value\",\r\n \t\tlv_value_0_0, \r\n \t\t\"EBOOLEAN\");\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final EObject ruleBooleanType() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n\n enterRule(); \n \n try {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:340:28: ( ( () otherlv_1= 'boolean' ) )\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:341:1: ( () otherlv_1= 'boolean' )\n {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:341:1: ( () otherlv_1= 'boolean' )\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:341:2: () otherlv_1= 'boolean'\n {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:341:2: ()\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:342:5: \n {\n\n current = forceCreateModelElement(\n grammarAccess.getBooleanTypeAccess().getBooleanTypeAction_0(),\n current);\n \n\n }\n\n otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleBooleanType734); \n\n \tnewLeafNode(otherlv_1, grammarAccess.getBooleanTypeAccess().getBooleanKeyword_1());\n \n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "boolean booleanOf();", "public final void rule__AstExpressionLiteral__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3132:1: ( ( ruleAstExpressionBoolean ) | ( ruleAstExpressionFloat ) | ( ruleAstExpressionInteger ) | ( ruleAstExpressionString ) )\n int alt22=4;\n switch ( input.LA(1) ) {\n case RULE_BOOL:\n {\n alt22=1;\n }\n break;\n case RULE_INT:\n {\n int LA22_2 = input.LA(2);\n\n if ( (LA22_2==55) ) {\n alt22=2;\n }\n else if ( (LA22_2==EOF||(LA22_2>=14 && LA22_2<=33)||LA22_2==49||(LA22_2>=51 && LA22_2<=52)||(LA22_2>=59 && LA22_2<=60)||(LA22_2>=62 && LA22_2<=63)||LA22_2==69||LA22_2==73||(LA22_2>=78 && LA22_2<=79)||LA22_2==82||(LA22_2>=87 && LA22_2<=88)||(LA22_2>=92 && LA22_2<=94)) ) {\n alt22=3;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 22, 2, input);\n\n throw nvae;\n }\n }\n break;\n case 55:\n {\n alt22=2;\n }\n break;\n case RULE_EXP_INT:\n case RULE_HEX:\n {\n alt22=3;\n }\n break;\n case RULE_STRING:\n {\n alt22=4;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 22, 0, input);\n\n throw nvae;\n }\n\n switch (alt22) {\n case 1 :\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3133:1: ( ruleAstExpressionBoolean )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3133:1: ( ruleAstExpressionBoolean )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3134:1: ruleAstExpressionBoolean\n {\n before(grammarAccess.getAstExpressionLiteralAccess().getAstExpressionBooleanParserRuleCall_0()); \n pushFollow(FOLLOW_ruleAstExpressionBoolean_in_rule__AstExpressionLiteral__Alternatives6797);\n ruleAstExpressionBoolean();\n\n state._fsp--;\n\n after(grammarAccess.getAstExpressionLiteralAccess().getAstExpressionBooleanParserRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3139:6: ( ruleAstExpressionFloat )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3139:6: ( ruleAstExpressionFloat )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3140:1: ruleAstExpressionFloat\n {\n before(grammarAccess.getAstExpressionLiteralAccess().getAstExpressionFloatParserRuleCall_1()); \n pushFollow(FOLLOW_ruleAstExpressionFloat_in_rule__AstExpressionLiteral__Alternatives6814);\n ruleAstExpressionFloat();\n\n state._fsp--;\n\n after(grammarAccess.getAstExpressionLiteralAccess().getAstExpressionFloatParserRuleCall_1()); \n\n }\n\n\n }\n break;\n case 3 :\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3145:6: ( ruleAstExpressionInteger )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3145:6: ( ruleAstExpressionInteger )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3146:1: ruleAstExpressionInteger\n {\n before(grammarAccess.getAstExpressionLiteralAccess().getAstExpressionIntegerParserRuleCall_2()); \n pushFollow(FOLLOW_ruleAstExpressionInteger_in_rule__AstExpressionLiteral__Alternatives6831);\n ruleAstExpressionInteger();\n\n state._fsp--;\n\n after(grammarAccess.getAstExpressionLiteralAccess().getAstExpressionIntegerParserRuleCall_2()); \n\n }\n\n\n }\n break;\n case 4 :\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3151:6: ( ruleAstExpressionString )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3151:6: ( ruleAstExpressionString )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:3152:1: ruleAstExpressionString\n {\n before(grammarAccess.getAstExpressionLiteralAccess().getAstExpressionStringParserRuleCall_3()); \n pushFollow(FOLLOW_ruleAstExpressionString_in_rule__AstExpressionLiteral__Alternatives6848);\n ruleAstExpressionString();\n\n state._fsp--;\n\n after(grammarAccess.getAstExpressionLiteralAccess().getAstExpressionStringParserRuleCall_3()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public final EObject ruleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n Token lv_isTrue_2_0=null;\n\n enterRule(); \n \n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1918:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1919:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1919:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1919:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1919:2: ()\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1920:5: \n {\n if ( state.backtracking==0 ) {\n\n current = forceCreateModelElement(\n grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(),\n current);\n \n }\n\n }\n\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1925:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )\n int alt25=2;\n int LA25_0 = input.LA(1);\n\n if ( (LA25_0==48) ) {\n alt25=1;\n }\n else if ( (LA25_0==49) ) {\n alt25=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 25, 0, input);\n\n throw nvae;\n }\n switch (alt25) {\n case 1 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1925:4: otherlv_1= 'false'\n {\n otherlv_1=(Token)match(input,48,FOLLOW_48_in_ruleBooleanLiteral4564); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());\n \n }\n\n }\n break;\n case 2 :\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1930:6: ( (lv_isTrue_2_0= 'true' ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1930:6: ( (lv_isTrue_2_0= 'true' ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1931:1: (lv_isTrue_2_0= 'true' )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1931:1: (lv_isTrue_2_0= 'true' )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1932:3: lv_isTrue_2_0= 'true'\n {\n lv_isTrue_2_0=(Token)match(input,49,FOLLOW_49_in_ruleBooleanLiteral4588); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());\n \n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getBooleanLiteralRule());\n \t }\n \t\tsetWithLastConsumed(current, \"isTrue\", true, \"true\");\n \t \n }\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public static boolean integerType(FileInputStream f){\n if(observer != null){\n observer.parser.setCurrentRule(\"integerType\", true);\n }\n CToken t = new CToken();\n\n t = getUsePeek(f);\n \n String[] types = {\"char\",\"short\",\"int\",\"long\"};\n \n //unsigned (optional)\n if(t.token.equals(\"unsigned\")){\n CScanner.needToUsePeekedToken = false; //consumed token\n t = CScanner.getNextToken(f); //get and check next token\n if(observer != null){\n observer.parser.setCurrentToken(t);\n }\n if(!Arrays.asList(types).contains(t.token)){\n System.err.format(\"Syntax Error: In rule IntegerType unexpected token \\\"%s\\\" of type %s on line %d.\\n\", t.token, t.type, t.lineNum);\n System.exit(0);\n }\n }\n else if(!Arrays.asList(types).contains(t.token)){\n if(observer != null){\n observer.parser.setCurrentRule(\"integerType\", false);\n }\n return false;\n } // char | short | int | long\n \n CScanner.needToUsePeekedToken = false;\n if(observer != null){\n observer.parser.setCurrentRule(\"integerType\", false);\n }\n return true;\n }", "public final Enumerator ruleBooleanOperator() throws RecognitionException {\n Enumerator current = null;\n int ruleBooleanOperator_StartIndex = input.index();\n Token enumLiteral_0=null;\n Token enumLiteral_1=null;\n Token enumLiteral_2=null;\n Token enumLiteral_3=null;\n\n enterRule(); \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 155) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6458:28: ( ( (enumLiteral_0= KEYWORD_3 ) | (enumLiteral_1= KEYWORD_19 ) | (enumLiteral_2= KEYWORD_22 ) | (enumLiteral_3= KEYWORD_36 ) ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6459:1: ( (enumLiteral_0= KEYWORD_3 ) | (enumLiteral_1= KEYWORD_19 ) | (enumLiteral_2= KEYWORD_22 ) | (enumLiteral_3= KEYWORD_36 ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6459:1: ( (enumLiteral_0= KEYWORD_3 ) | (enumLiteral_1= KEYWORD_19 ) | (enumLiteral_2= KEYWORD_22 ) | (enumLiteral_3= KEYWORD_36 ) )\n int alt116=4;\n switch ( input.LA(1) ) {\n case KEYWORD_3:\n {\n alt116=1;\n }\n break;\n case KEYWORD_19:\n {\n alt116=2;\n }\n break;\n case KEYWORD_22:\n {\n alt116=3;\n }\n break;\n case KEYWORD_36:\n {\n alt116=4;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 116, 0, input);\n\n throw nvae;\n }\n\n switch (alt116) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6459:2: (enumLiteral_0= KEYWORD_3 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6459:2: (enumLiteral_0= KEYWORD_3 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6459:7: enumLiteral_0= KEYWORD_3\n {\n enumLiteral_0=(Token)match(input,KEYWORD_3,FOLLOW_KEYWORD_3_in_ruleBooleanOperator13528); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = grammarAccess.getBooleanOperatorAccess().getAndEnumLiteralDeclaration_0().getEnumLiteral().getInstance();\n newLeafNode(enumLiteral_0, grammarAccess.getBooleanOperatorAccess().getAndEnumLiteralDeclaration_0()); \n \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6465:6: (enumLiteral_1= KEYWORD_19 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6465:6: (enumLiteral_1= KEYWORD_19 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6465:11: enumLiteral_1= KEYWORD_19\n {\n enumLiteral_1=(Token)match(input,KEYWORD_19,FOLLOW_KEYWORD_19_in_ruleBooleanOperator13550); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = grammarAccess.getBooleanOperatorAccess().getOrEnumLiteralDeclaration_1().getEnumLiteral().getInstance();\n newLeafNode(enumLiteral_1, grammarAccess.getBooleanOperatorAccess().getOrEnumLiteralDeclaration_1()); \n \n }\n\n }\n\n\n }\n break;\n case 3 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6471:6: (enumLiteral_2= KEYWORD_22 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6471:6: (enumLiteral_2= KEYWORD_22 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6471:11: enumLiteral_2= KEYWORD_22\n {\n enumLiteral_2=(Token)match(input,KEYWORD_22,FOLLOW_KEYWORD_22_in_ruleBooleanOperator13572); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = grammarAccess.getBooleanOperatorAccess().getAndscEnumLiteralDeclaration_2().getEnumLiteral().getInstance();\n newLeafNode(enumLiteral_2, grammarAccess.getBooleanOperatorAccess().getAndscEnumLiteralDeclaration_2()); \n \n }\n\n }\n\n\n }\n break;\n case 4 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6477:6: (enumLiteral_3= KEYWORD_36 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6477:6: (enumLiteral_3= KEYWORD_36 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6477:11: enumLiteral_3= KEYWORD_36\n {\n enumLiteral_3=(Token)match(input,KEYWORD_36,FOLLOW_KEYWORD_36_in_ruleBooleanOperator13594); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = grammarAccess.getBooleanOperatorAccess().getOrscEnumLiteralDeclaration_3().getEnumLiteral().getInstance();\n newLeafNode(enumLiteral_3, grammarAccess.getBooleanOperatorAccess().getOrscEnumLiteralDeclaration_3()); \n \n }\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 155, ruleBooleanOperator_StartIndex); }\n }\n return current;\n }", "public String visit(FalseLiteral n, LLVMRedux argu) throws Exception {\n return \"false\";\n }", "@Override\n public String visit(BooleanLiteralExpr n, Object arg) {\n return null;\n }", "public final void mT__48() throws RecognitionException {\n try {\n int _type = T__48;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:42:7: ( 'BOOLEAN' )\n // InternalEsm.g:42:9: 'BOOLEAN'\n {\n match(\"BOOLEAN\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Override\n\tpublic Object visitBooleanLiteral(BooleanLiteral literal) {\n\t\treturn null;\n\t}", "public static boolean esBooleano (int tipoSQL) {\n\t \n\t switch (tipoSQL) {\n\t \tcase Types.BIT :\n\t \tcase Types.BOOLEAN :\n\t \t return true;\n\t }\n\t return false;\n\t}", "public Literal getLiteralBoolean(Boolean literalData);", "public final EObject ruleRealLiteral() throws RecognitionException {\n EObject current = null;\n\n Token lv_value_0_0=null;\n Token lv_modifier_1_0=null;\n EObject lv_unit_3_0 = null;\n\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4453:6: ( ( ( (lv_value_0_0= RULE_REAL ) ) ( (lv_modifier_1_0= RULE_ID ) )? ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )? ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4454:1: ( ( (lv_value_0_0= RULE_REAL ) ) ( (lv_modifier_1_0= RULE_ID ) )? ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )? )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4454:1: ( ( (lv_value_0_0= RULE_REAL ) ) ( (lv_modifier_1_0= RULE_ID ) )? ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )? )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4454:2: ( (lv_value_0_0= RULE_REAL ) ) ( (lv_modifier_1_0= RULE_ID ) )? ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )?\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4454:2: ( (lv_value_0_0= RULE_REAL ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4455:1: (lv_value_0_0= RULE_REAL )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4455:1: (lv_value_0_0= RULE_REAL )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4456:3: lv_value_0_0= RULE_REAL\n {\n lv_value_0_0=(Token)input.LT(1);\n match(input,RULE_REAL,FOLLOW_RULE_REAL_in_ruleRealLiteral7818); \n\n \t\t\tcreateLeafNode(grammarAccess.getRealLiteralAccess().getValueREALTerminalRuleCall_0_0(), \"value\"); \n \t\t\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getRealLiteralRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode, current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"value\",\n \t \t\tlv_value_0_0, \n \t \t\t\"REAL\", \n \t \t\tlastConsumedNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t \n\n }\n\n\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4478:2: ( (lv_modifier_1_0= RULE_ID ) )?\n int alt66=2;\n int LA66_0 = input.LA(1);\n\n if ( (LA66_0==RULE_ID) ) {\n alt66=1;\n }\n switch (alt66) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4479:1: (lv_modifier_1_0= RULE_ID )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4479:1: (lv_modifier_1_0= RULE_ID )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4480:3: lv_modifier_1_0= RULE_ID\n {\n lv_modifier_1_0=(Token)input.LT(1);\n match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRealLiteral7840); \n\n \t\t\tcreateLeafNode(grammarAccess.getRealLiteralAccess().getModifierIDTerminalRuleCall_1_0(), \"modifier\"); \n \t\t\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getRealLiteralRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode, current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"modifier\",\n \t \t\tlv_modifier_1_0, \n \t \t\t\"ID\", \n \t \t\tlastConsumedNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t \n\n }\n\n\n }\n break;\n\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4502:3: ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )?\n int alt67=2;\n int LA67_0 = input.LA(1);\n\n if ( (LA67_0==25) ) {\n alt67=1;\n }\n switch (alt67) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4502:5: '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')'\n {\n match(input,25,FOLLOW_25_in_ruleRealLiteral7857); \n\n createLeafNode(grammarAccess.getRealLiteralAccess().getLeftParenthesisKeyword_2_0(), null); \n \n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4506:1: ( (lv_unit_3_0= ruleUnitExpression ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4507:1: (lv_unit_3_0= ruleUnitExpression )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4507:1: (lv_unit_3_0= ruleUnitExpression )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4508:3: lv_unit_3_0= ruleUnitExpression\n {\n \n \t currentNode=createCompositeNode(grammarAccess.getRealLiteralAccess().getUnitUnitExpressionParserRuleCall_2_1_0(), currentNode); \n \t \n pushFollow(FOLLOW_ruleUnitExpression_in_ruleRealLiteral7878);\n lv_unit_3_0=ruleUnitExpression();\n _fsp--;\n\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getRealLiteralRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode.getParent(), current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"unit\",\n \t \t\tlv_unit_3_0, \n \t \t\t\"UnitExpression\", \n \t \t\tcurrentNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t currentNode = currentNode.getParent();\n \t \n\n }\n\n\n }\n\n match(input,26,FOLLOW_26_in_ruleRealLiteral7888); \n\n createLeafNode(grammarAccess.getRealLiteralAccess().getRightParenthesisKeyword_2_2(), null); \n \n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public static boolean esReal (int tipoSQL) { \n\t switch (tipoSQL) {\n\t \tcase Types.DECIMAL :\n\t \tcase Types.DOUBLE :\n\t \tcase Types.FLOAT :\n\t \tcase Types.REAL :\n\t \t return true;\n\t }\n\t return false;\n\t}", "public final EObject rulePrimitiveType() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n Token otherlv_3=null;\n Token otherlv_5=null;\n Token otherlv_7=null;\n Token otherlv_9=null;\n Token otherlv_11=null;\n Token otherlv_13=null;\n Token otherlv_15=null;\n Token otherlv_17=null;\n Token otherlv_19=null;\n\n\n \tenterRule();\n\n try {\n // InternalMappingDsl.g:6304:2: ( ( ( () otherlv_1= 'boolean' ) | ( () otherlv_3= 'byte' ) | ( () otherlv_5= 'char' ) | ( () otherlv_7= 'date' ) | ( () otherlv_9= 'double' ) | ( () otherlv_11= 'float' ) | ( () otherlv_13= 'int' ) | ( () otherlv_15= 'long' ) | ( () otherlv_17= 'short' ) | ( () otherlv_19= 'string' ) ) )\n // InternalMappingDsl.g:6305:2: ( ( () otherlv_1= 'boolean' ) | ( () otherlv_3= 'byte' ) | ( () otherlv_5= 'char' ) | ( () otherlv_7= 'date' ) | ( () otherlv_9= 'double' ) | ( () otherlv_11= 'float' ) | ( () otherlv_13= 'int' ) | ( () otherlv_15= 'long' ) | ( () otherlv_17= 'short' ) | ( () otherlv_19= 'string' ) )\n {\n // InternalMappingDsl.g:6305:2: ( ( () otherlv_1= 'boolean' ) | ( () otherlv_3= 'byte' ) | ( () otherlv_5= 'char' ) | ( () otherlv_7= 'date' ) | ( () otherlv_9= 'double' ) | ( () otherlv_11= 'float' ) | ( () otherlv_13= 'int' ) | ( () otherlv_15= 'long' ) | ( () otherlv_17= 'short' ) | ( () otherlv_19= 'string' ) )\n int alt146=10;\n switch ( input.LA(1) ) {\n case 75:\n {\n alt146=1;\n }\n break;\n case 76:\n {\n alt146=2;\n }\n break;\n case 77:\n {\n alt146=3;\n }\n break;\n case 78:\n {\n alt146=4;\n }\n break;\n case 79:\n {\n alt146=5;\n }\n break;\n case 80:\n {\n alt146=6;\n }\n break;\n case 81:\n {\n alt146=7;\n }\n break;\n case 82:\n {\n alt146=8;\n }\n break;\n case 83:\n {\n alt146=9;\n }\n break;\n case 84:\n {\n alt146=10;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 146, 0, input);\n\n throw nvae;\n }\n\n switch (alt146) {\n case 1 :\n // InternalMappingDsl.g:6306:3: ( () otherlv_1= 'boolean' )\n {\n // InternalMappingDsl.g:6306:3: ( () otherlv_1= 'boolean' )\n // InternalMappingDsl.g:6307:4: () otherlv_1= 'boolean'\n {\n // InternalMappingDsl.g:6307:4: ()\n // InternalMappingDsl.g:6308:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveBooleanAction_0_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_1=(Token)match(input,75,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_1, grammarAccess.getPrimitiveTypeAccess().getBooleanKeyword_0_1());\n \t\t\t\n\n }\n\n\n }\n break;\n case 2 :\n // InternalMappingDsl.g:6320:3: ( () otherlv_3= 'byte' )\n {\n // InternalMappingDsl.g:6320:3: ( () otherlv_3= 'byte' )\n // InternalMappingDsl.g:6321:4: () otherlv_3= 'byte'\n {\n // InternalMappingDsl.g:6321:4: ()\n // InternalMappingDsl.g:6322:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveByteAction_1_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_3=(Token)match(input,76,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_3, grammarAccess.getPrimitiveTypeAccess().getByteKeyword_1_1());\n \t\t\t\n\n }\n\n\n }\n break;\n case 3 :\n // InternalMappingDsl.g:6334:3: ( () otherlv_5= 'char' )\n {\n // InternalMappingDsl.g:6334:3: ( () otherlv_5= 'char' )\n // InternalMappingDsl.g:6335:4: () otherlv_5= 'char'\n {\n // InternalMappingDsl.g:6335:4: ()\n // InternalMappingDsl.g:6336:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveCharacterAction_2_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_5=(Token)match(input,77,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_5, grammarAccess.getPrimitiveTypeAccess().getCharKeyword_2_1());\n \t\t\t\n\n }\n\n\n }\n break;\n case 4 :\n // InternalMappingDsl.g:6348:3: ( () otherlv_7= 'date' )\n {\n // InternalMappingDsl.g:6348:3: ( () otherlv_7= 'date' )\n // InternalMappingDsl.g:6349:4: () otherlv_7= 'date'\n {\n // InternalMappingDsl.g:6349:4: ()\n // InternalMappingDsl.g:6350:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveDateAction_3_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_7=(Token)match(input,78,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_7, grammarAccess.getPrimitiveTypeAccess().getDateKeyword_3_1());\n \t\t\t\n\n }\n\n\n }\n break;\n case 5 :\n // InternalMappingDsl.g:6362:3: ( () otherlv_9= 'double' )\n {\n // InternalMappingDsl.g:6362:3: ( () otherlv_9= 'double' )\n // InternalMappingDsl.g:6363:4: () otherlv_9= 'double'\n {\n // InternalMappingDsl.g:6363:4: ()\n // InternalMappingDsl.g:6364:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveDoubleAction_4_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_9=(Token)match(input,79,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_9, grammarAccess.getPrimitiveTypeAccess().getDoubleKeyword_4_1());\n \t\t\t\n\n }\n\n\n }\n break;\n case 6 :\n // InternalMappingDsl.g:6376:3: ( () otherlv_11= 'float' )\n {\n // InternalMappingDsl.g:6376:3: ( () otherlv_11= 'float' )\n // InternalMappingDsl.g:6377:4: () otherlv_11= 'float'\n {\n // InternalMappingDsl.g:6377:4: ()\n // InternalMappingDsl.g:6378:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveFloatAction_5_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_11=(Token)match(input,80,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_11, grammarAccess.getPrimitiveTypeAccess().getFloatKeyword_5_1());\n \t\t\t\n\n }\n\n\n }\n break;\n case 7 :\n // InternalMappingDsl.g:6390:3: ( () otherlv_13= 'int' )\n {\n // InternalMappingDsl.g:6390:3: ( () otherlv_13= 'int' )\n // InternalMappingDsl.g:6391:4: () otherlv_13= 'int'\n {\n // InternalMappingDsl.g:6391:4: ()\n // InternalMappingDsl.g:6392:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveIntegerAction_6_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_13=(Token)match(input,81,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_13, grammarAccess.getPrimitiveTypeAccess().getIntKeyword_6_1());\n \t\t\t\n\n }\n\n\n }\n break;\n case 8 :\n // InternalMappingDsl.g:6404:3: ( () otherlv_15= 'long' )\n {\n // InternalMappingDsl.g:6404:3: ( () otherlv_15= 'long' )\n // InternalMappingDsl.g:6405:4: () otherlv_15= 'long'\n {\n // InternalMappingDsl.g:6405:4: ()\n // InternalMappingDsl.g:6406:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveLongAction_7_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_15=(Token)match(input,82,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_15, grammarAccess.getPrimitiveTypeAccess().getLongKeyword_7_1());\n \t\t\t\n\n }\n\n\n }\n break;\n case 9 :\n // InternalMappingDsl.g:6418:3: ( () otherlv_17= 'short' )\n {\n // InternalMappingDsl.g:6418:3: ( () otherlv_17= 'short' )\n // InternalMappingDsl.g:6419:4: () otherlv_17= 'short'\n {\n // InternalMappingDsl.g:6419:4: ()\n // InternalMappingDsl.g:6420:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveShortAction_8_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_17=(Token)match(input,83,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_17, grammarAccess.getPrimitiveTypeAccess().getShortKeyword_8_1());\n \t\t\t\n\n }\n\n\n }\n break;\n case 10 :\n // InternalMappingDsl.g:6432:3: ( () otherlv_19= 'string' )\n {\n // InternalMappingDsl.g:6432:3: ( () otherlv_19= 'string' )\n // InternalMappingDsl.g:6433:4: () otherlv_19= 'string'\n {\n // InternalMappingDsl.g:6433:4: ()\n // InternalMappingDsl.g:6434:5: \n {\n\n \t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\tgrammarAccess.getPrimitiveTypeAccess().getPrimitiveStringAction_9_0(),\n \t\t\t\t\t\tcurrent);\n \t\t\t\t\n\n }\n\n otherlv_19=(Token)match(input,84,FOLLOW_2); \n\n \t\t\t\tnewLeafNode(otherlv_19, grammarAccess.getPrimitiveTypeAccess().getStringKeyword_9_1());\n \t\t\t\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public final void mRULE_REAL() throws RecognitionException {\n try {\n int _type = RULE_REAL;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:11: ( ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )? )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:13: ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )?\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:13: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:14: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n match('.'); \n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:29: ( '0' .. '9' )*\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:30: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop4;\n }\n } while (true);\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:41: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='E'||LA7_0=='e') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:42: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+\n {\n if ( input.LA(1)=='E'||input.LA(1)=='e' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse =\n new MismatchedSetException(null,input);\n recover(mse); throw mse;\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:52: ( '+' | '-' )?\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='+'||LA5_0=='-') ) {\n alt5=1;\n }\n switch (alt5) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n {\n if ( input.LA(1)=='+'||input.LA(1)=='-' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse =\n new MismatchedSetException(null,input);\n recover(mse); throw mse;\n }\n\n\n }\n break;\n\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:63: ( '0' .. '9' )+\n int cnt6=0;\n loop6:\n do {\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( ((LA6_0>='0' && LA6_0<='9')) ) {\n alt6=1;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:64: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt6 >= 1 ) break loop6;\n EarlyExitException eee =\n new EarlyExitException(6, input);\n throw eee;\n }\n cnt6++;\n } while (true);\n\n\n }\n break;\n\n }\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public Type visit(If n) {\n\t\tif (!(n.e.accept(this) instanceof BooleanType)) {\n\t\t\t//Erro:\n\t\t\tSystem.out.println(\"A condição do if deve ser do tipo Boolean\");\n\t\t}\n\n\t\tn.s1.accept(this);\n\t\tn.s2.accept(this);\n\t\treturn new BooleanType();\n\t}", "public final EObject ruleLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject this_NumericLiteral_0 = null;\n\n EObject this_BooleanLiteral_1 = null;\n\n EObject this_StringLiteral_2 = null;\n\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4359:6: ( (this_NumericLiteral_0= ruleNumericLiteral | this_BooleanLiteral_1= ruleBooleanLiteral | this_StringLiteral_2= ruleStringLiteral ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4360:1: (this_NumericLiteral_0= ruleNumericLiteral | this_BooleanLiteral_1= ruleBooleanLiteral | this_StringLiteral_2= ruleStringLiteral )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4360:1: (this_NumericLiteral_0= ruleNumericLiteral | this_BooleanLiteral_1= ruleBooleanLiteral | this_StringLiteral_2= ruleStringLiteral )\n int alt64=3;\n switch ( input.LA(1) ) {\n case RULE_REAL:\n case RULE_INTEGER:\n {\n alt64=1;\n }\n break;\n case 76:\n case 77:\n {\n alt64=2;\n }\n break;\n case RULE_STRING:\n {\n alt64=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"4360:1: (this_NumericLiteral_0= ruleNumericLiteral | this_BooleanLiteral_1= ruleBooleanLiteral | this_StringLiteral_2= ruleStringLiteral )\", 64, 0, input);\n\n throw nvae;\n }\n\n switch (alt64) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4361:5: this_NumericLiteral_0= ruleNumericLiteral\n {\n \n currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_0(), currentNode); \n \n pushFollow(FOLLOW_ruleNumericLiteral_in_ruleLiteral7558);\n this_NumericLiteral_0=ruleNumericLiteral();\n _fsp--;\n\n \n current = this_NumericLiteral_0; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n case 2 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4371:5: this_BooleanLiteral_1= ruleBooleanLiteral\n {\n \n currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_1(), currentNode); \n \n pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral7585);\n this_BooleanLiteral_1=ruleBooleanLiteral();\n _fsp--;\n\n \n current = this_BooleanLiteral_1; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n case 3 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4381:5: this_StringLiteral_2= ruleStringLiteral\n {\n \n currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2(), currentNode); \n \n pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral7612);\n this_StringLiteral_2=ruleStringLiteral();\n _fsp--;\n\n \n current = this_StringLiteral_2; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public boolean nextBoolean() {\n this.inputStr = this.s.nextLine();\n\n if (inputStr.toLowerCase().contains(\"true\")) {\n return true;\n } else if (inputStr.toLowerCase().contains(\"false\")) {\n return false;\n } else if (inputStr.toLowerCase().contains(\"t\") || inputStr.toLowerCase().contains(\"1\")) {\n return true;\n } else if (inputStr.toLowerCase().contains(\"f\") || inputStr.toLowerCase().contains(\"0\")) {\n return false;\n }\n return false;\n }", "@Override\n public Object evaluateNode(Interpretation interpretation) {\n InternalBoolean internalBoolean = term.verifyAndReturnBoolean(interpretation);\n return internalBoolean;\n }", "public boolean reducible() {\n\treturn \n\t operator . equals( \"\\\\\") &&\n\t (argument.reducible() || argument instanceof BoolConstant);\n }", "public final void entryRuleBoolOperation() throws RecognitionException {\n try {\n // InternalBSQL2Java.g:229:1: ( ruleBoolOperation EOF )\n // InternalBSQL2Java.g:230:1: ruleBoolOperation EOF\n {\n before(grammarAccess.getBoolOperationRule()); \n pushFollow(FOLLOW_1);\n ruleBoolOperation();\n\n state._fsp--;\n\n after(grammarAccess.getBoolOperationRule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public static boolean MarklogicBooleanNodeTest(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"MarklogicBooleanNodeTest\")) return false;\n if (!nextTokenIs(b, K_BOOLEAN_NODE)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, MARKLOGIC_BOOLEAN_NODE_TEST, null);\n r = consumeTokens(b, 2, K_BOOLEAN_NODE, L_PAR);\n p = r; // pin = 2\n r = r && report_error_(b, MarklogicBooleanNodeTest_2(b, l + 1));\n r = p && consumeToken(b, R_PAR) && r;\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "@Test\n\tpublic void testTernaryIf() throws ParseException {\n\t\tTernaryIf ternaryIf = langParser(\"if(t,1,-1)\").ternaryIf();\n\t\tassertEquals(ternaryIf.getCondition().getClass(), Identifier.class);\n\t\tassertEquals(((Identifier) ternaryIf.getCondition()).getName(), \"t\");\n\t\tassertEquals(ternaryIf.getThenValue().getClass(), LongLiteral.class);\n\t\tassertEquals(((LongLiteral) ternaryIf.getThenValue()).longValue(), 1);\n\t\tassertEquals(ternaryIf.getElseValue().getClass(), LongLiteral.class);\n\t\tassertEquals(((LongLiteral) ternaryIf.getElseValue()).longValue(), -1);\n\t}", "@JsSupport( {JsVersion.MOZILLA_ONE_DOT_ONE, \r\n\t\tJsVersion.JSCRIPT_TWO_DOT_ZERO})\r\npublic interface Boolean extends Object {\r\n\t\r\n\t@Constructor void Boolean();\r\n\t\r\n\t@Constructor void Boolean(boolean value);\r\n\t\r\n\t@Constructor void Boolean(Number value);\r\n\t\r\n\t@Constructor void Boolean(String value);\r\n\t\r\n\t@Function boolean valueOf();\r\n\t\r\n}", "public final EObject ruleBoolLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token lv_value_1_0=null;\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3752:28: ( ( () ( (lv_value_1_0= RULE_BOOL ) ) ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3753:1: ( () ( (lv_value_1_0= RULE_BOOL ) ) )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3753:1: ( () ( (lv_value_1_0= RULE_BOOL ) ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3753:2: () ( (lv_value_1_0= RULE_BOOL ) )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3753:2: ()\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3754:5: \r\n {\r\n if ( state.backtracking==0 ) {\r\n\r\n current = forceCreateModelElement(\r\n grammarAccess.getBoolLiteralAccess().getBoolLiteralAction_0(),\r\n current);\r\n \r\n }\r\n\r\n }\r\n\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3759:2: ( (lv_value_1_0= RULE_BOOL ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3760:1: (lv_value_1_0= RULE_BOOL )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3760:1: (lv_value_1_0= RULE_BOOL )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3761:3: lv_value_1_0= RULE_BOOL\r\n {\r\n lv_value_1_0=(Token)match(input,RULE_BOOL,FOLLOW_RULE_BOOL_in_ruleBoolLiteral8655); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t\t\tnewLeafNode(lv_value_1_0, grammarAccess.getBoolLiteralAccess().getValueBOOLTerminalRuleCall_1_0()); \r\n \t\t\r\n }\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElement(grammarAccess.getBoolLiteralRule());\r\n \t }\r\n \t\tsetWithLastConsumed(\r\n \t\t\tcurrent, \r\n \t\t\t\"value\",\r\n \t\tlv_value_1_0, \r\n \t\t\"BOOL\");\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final void rule__XBooleanLiteral__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14391:1: ( ( ( rule__XBooleanLiteral__Alternatives_1 ) ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14392:1: ( ( rule__XBooleanLiteral__Alternatives_1 ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14392:1: ( ( rule__XBooleanLiteral__Alternatives_1 ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14393:1: ( rule__XBooleanLiteral__Alternatives_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14394:1: ( rule__XBooleanLiteral__Alternatives_1 )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:14394:2: rule__XBooleanLiteral__Alternatives_1\r\n {\r\n pushFollow(FOLLOW_rule__XBooleanLiteral__Alternatives_1_in_rule__XBooleanLiteral__Group__1__Impl29171);\r\n rule__XBooleanLiteral__Alternatives_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "abstract boolean parse ();", "public String visit(BooleanType n, LLVMRedux argu) {\n return \"i1\";\n }", "public void testMETAL1() throws Exception {\n\t\tObject retval = execLexer(\"METAL\", 128, \"or\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"METAL\", expecting, actual);\n\t}", "public final void entryRuleAstExpressionBoolean() throws RecognitionException {\n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:1967:1: ( ruleAstExpressionBoolean EOF )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:1968:1: ruleAstExpressionBoolean EOF\n {\n before(grammarAccess.getAstExpressionBooleanRule()); \n pushFollow(FOLLOW_ruleAstExpressionBoolean_in_entryRuleAstExpressionBoolean4143);\n ruleAstExpressionBoolean();\n\n state._fsp--;\n\n after(grammarAccess.getAstExpressionBooleanRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleAstExpressionBoolean4150); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "public T caseBooleanLiteral(BooleanLiteral object)\n {\n return null;\n }", "public T caseBooleanLiteral(BooleanLiteral object)\n {\n return null;\n }", "public final EObject entryRuleBooleanType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBooleanType = null;\n\n\n try {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:329:2: (iv_ruleBooleanType= ruleBooleanType EOF )\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:330:2: iv_ruleBooleanType= ruleBooleanType EOF\n {\n newCompositeNode(grammarAccess.getBooleanTypeRule()); \n pushFollow(FOLLOW_ruleBooleanType_in_entryRuleBooleanType678);\n iv_ruleBooleanType=ruleBooleanType();\n\n state._fsp--;\n\n current =iv_ruleBooleanType; \n match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanType688); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "@Override\n\t\tpublic void outANoExpr(ANoExpr node) {\n\t\t\ttypes2.put(node, BOOL);\n\t\t}", "public T casebooleanTerm(booleanTerm object)\n {\n return null;\n }", "@Test\n\tpublic void typeCheckTest(){\n\t\tSystem.out.println(\"kenta\");\n\t\tSemanticActions actions = new SemanticActions();\n\t\tVariableEntry idInt = new VariableEntry(\"v1\", TokenType.INTEGER);\n\t\tVariableEntry idReal = new VariableEntry(\"v2\", TokenType.REAL);\n\t\tVariableEntry idInt2 = new VariableEntry(\"v3\", TokenType.INTEGER);\n\t\tVariableEntry idReal2 = new VariableEntry(\"v4\", TokenType.REAL);\n\t\tVariableEntry error = new VariableEntry(\"v5\", TokenType.ADDOP);\n\t\tassertTrue(actions.typeCheck(idInt, idInt2) == 0);\n\t\tassertTrue(actions.typeCheck(idReal, idReal2) == 1);\n\t\tassertTrue(actions.typeCheck(idReal, idInt2) == 2);\n\t\tassertTrue(actions.typeCheck(idInt, idReal) == 3);\n\t\tassertTrue(actions.typeCheck(idReal, error) == 4);\n\t\tassertTrue(actions.typeCheck(error, idInt) == 4);\n\t}", "public final EObject entryRuleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBooleanLiteral = null;\n\n\n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4646:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4647:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF\n {\n currentNode = createCompositeNode(grammarAccess.getBooleanLiteralRule(), currentNode); \n pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral8086);\n iv_ruleBooleanLiteral=ruleBooleanLiteral();\n _fsp--;\n\n current =iv_ruleBooleanLiteral; \n match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral8096); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final EObject entryRuleGoalBooleanLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleGoalBooleanLiteral = null;\r\n\r\n\r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1818:2: (iv_ruleGoalBooleanLiteral= ruleGoalBooleanLiteral EOF )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1819:2: iv_ruleGoalBooleanLiteral= ruleGoalBooleanLiteral EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getGoalBooleanLiteralRule()); \r\n }\r\n pushFollow(FOLLOW_ruleGoalBooleanLiteral_in_entryRuleGoalBooleanLiteral3771);\r\n iv_ruleGoalBooleanLiteral=ruleGoalBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleGoalBooleanLiteral; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleGoalBooleanLiteral3781); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final void mT38() throws RecognitionException {\n try {\n int _type = T38;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:36:5: ( 'bool' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:36:7: 'bool'\n {\n match(\"bool\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public interface BoolExprVisitor\n{\n void visit(AndExpr e);\n\n void visit(EqExpr e);\n\n void visit(ExistentialQuantifier e);\n\n void visit(GreaterEqExpr e);\n\n void visit(GreaterExpr e);\n\n void visit(ImplExpr e);\n\n void visit(LessEqExpr e);\n\n void visit(LessExpr e);\n\n void visit(NegExpr e);\n\n void visit(OrExpr e);\n\n void visit(UniversalQuantifier e);\n}", "@Override\n\t\tpublic void outALtExpr(ALtExpr node) {\n\t\t\ttypes2.put(node, BOOL);\n\t\t}", "public Literal setLiteralBoolean(Boolean literalData);", "@Override\r\n\tpublic void visit(ast.type.Boolean t) {\r\n\t\tSystem.out.println(\"boolean@\");\r\n\t}", "@Override\n\t\tpublic void outALeExpr(ALeExpr node) {\n\t\t\ttypes2.put(node, BOOL);\n\t\t}", "public SemanticType semanticType() {\n\t\treturn SemanticType.BOOLEAN;\n\t}", "@Override\n public void visit(BooleanConstantNode booleanConstantNode) {\n }", "String getBooleanTrueExpression();", "public final void rule__XBooleanLiteral__Alternatives_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2976:1: ( ( 'false' ) | ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) ) )\r\n int alt28=2;\r\n int LA28_0 = input.LA(1);\r\n\r\n if ( (LA28_0==40) ) {\r\n alt28=1;\r\n }\r\n else if ( (LA28_0==132) ) {\r\n alt28=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 28, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt28) {\r\n case 1 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2977:1: ( 'false' )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2977:1: ( 'false' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2978:1: 'false'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); \r\n }\r\n match(input,40,FOLLOW_40_in_rule__XBooleanLiteral__Alternatives_16455); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2985:6: ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2985:6: ( ( rule__XBooleanLiteral__IsTrueAssignment_1_1 ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2986:1: ( rule__XBooleanLiteral__IsTrueAssignment_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2987:1: ( rule__XBooleanLiteral__IsTrueAssignment_1_1 )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2987:2: rule__XBooleanLiteral__IsTrueAssignment_1_1\r\n {\r\n pushFollow(FOLLOW_rule__XBooleanLiteral__IsTrueAssignment_1_1_in_rule__XBooleanLiteral__Alternatives_16474);\r\n rule__XBooleanLiteral__IsTrueAssignment_1_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "private void IntToBool()throws TokenException{\n\t\tif (getTkn()==TipeToken.Bilangan)\n\t\t\tif (getTipeBilangan()==Tipe._int)\n\t\t\t\tif (getBilanganInt()==0){\n\t\t\t\t\tSetBilangan(false);\n\t\t\t\t\treturn;\n\t\t\t\t}else if (getBilanganInt()==1){\n\t\t\t\t\tSetBilangan(true);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\tthrow new TokenException(\"THIS TOKEN CANNOT BE CONVERTED TO BOOL\");\n\t\t}", "public final void entryRuleREAL() throws RecognitionException {\n\n \tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();\n\n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:2026:1: ( ruleREAL EOF )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:2027:1: ruleREAL EOF\n {\n before(grammarAccess.getREALRule()); \n pushFollow(FOLLOW_ruleREAL_in_entryRuleREAL4268);\n ruleREAL();\n\n state._fsp--;\n\n after(grammarAccess.getREALRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleREAL4275); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final EObject entryRuleBooleanLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBooleanLiteral = null;\n\n\n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1907:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1908:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getBooleanLiteralRule()); \n }\n pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral4507);\n iv_ruleBooleanLiteral=ruleBooleanLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleBooleanLiteral; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral4517); if (state.failed) return current;\n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void mRULE_BOOLEAN_FALSE() throws RecognitionException {\n try {\n int _type = RULE_BOOLEAN_FALSE;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16697:20: ( 'false' )\n // InternalDSL.g:16697:22: 'false'\n {\n match(\"false\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public T caseBooleanLiteralExpCS(BooleanLiteralExpCS object) {\r\n return null;\r\n }", "public T caseExprBool(ExprBool object)\n {\n return null;\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final EObject entryRuleBooleanLiteral() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleBooleanLiteral = null;\r\n\r\n\r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4193:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:4194:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getBooleanLiteralRule()); \r\n }\r\n pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral9006);\r\n iv_ruleBooleanLiteral=ruleBooleanLiteral();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleBooleanLiteral; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral9016); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public final void rule__XBooleanLiteral__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:13880:1: ( ( ( rule__XBooleanLiteral__Alternatives_1 ) ) )\r\n // InternalDroneScript.g:13881:1: ( ( rule__XBooleanLiteral__Alternatives_1 ) )\r\n {\r\n // InternalDroneScript.g:13881:1: ( ( rule__XBooleanLiteral__Alternatives_1 ) )\r\n // InternalDroneScript.g:13882:2: ( rule__XBooleanLiteral__Alternatives_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1()); \r\n }\r\n // InternalDroneScript.g:13883:2: ( rule__XBooleanLiteral__Alternatives_1 )\r\n // InternalDroneScript.g:13883:3: rule__XBooleanLiteral__Alternatives_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XBooleanLiteral__Alternatives_1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "private boolean handleTernaryNumeric(ExprTernary node, Type ifTrue,\n\t\tType ifFalse) {\n\t\tif (ifTrue.anyOf(Base.CHAR, Base.INT, Base.DOUBLE, Base.UNKNOWN)\n\t\t\t&& ifFalse.anyOf(Base.CHAR, Base.INT, Base.DOUBLE, Base.UNKNOWN)) {\n\t\t\t// go with the broadest type\n\t\t\tif (ifTrue.anyOf(Base.DOUBLE)) {\n\t\t\t\tnode.setType(ifTrue);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (ifFalse.anyOf(Base.DOUBLE)) {\n\t\t\t\tnode.setType(ifFalse);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (ifTrue.anyOf(Base.INT)) {\n\t\t\t\tnode.setType(ifTrue);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (ifFalse.anyOf(Base.INT)) {\n\t\t\t\tnode.setType(ifFalse);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (ifTrue.anyOf(Base.CHAR)) {\n\t\t\t\tnode.setType(ifTrue);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (ifFalse.anyOf(Base.CHAR)) {\n\t\t\t\tnode.setType(ifFalse);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private String parseBoolean () {\r\n \r\n assert iMessage!=null;\r\n assert iIndex>=0;\r\n assert iIndex<=iMessage.length();\r\n \r\n char chr=next();//get next character\r\n assert \"ft\".indexOf(chr)>=0;//assert valid boolean start character\r\n switch (chr) {//switch on first character\r\n case 'f': skip(4);//skip to last character\r\n return \"false\";\r\n case 't': skip(3);//skip to last character\r\n return \"true\";\r\n default: assert false;//assert that we do not reach this statement\r\n return null;\r\n }//switch on first character\r\n \r\n }", "public T caseBooleanUnaryExpression(BooleanUnaryExpression object) {\n\t\treturn null;\n\t}", "public T caseBoolLitExpr(BoolLitExpr object) {\n\t\treturn null;\n\t}", "public final EObject ruleBooleanDataType() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n\n enterRule(); \n \n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4501:28: ( (otherlv_0= 'bool' () ) )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4502:1: (otherlv_0= 'bool' () )\n {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4502:1: (otherlv_0= 'bool' () )\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4502:3: otherlv_0= 'bool' ()\n {\n otherlv_0=(Token)match(input,71,FOLLOW_71_in_ruleBooleanDataType10236); \n\n \tnewLeafNode(otherlv_0, grammarAccess.getBooleanDataTypeAccess().getBoolKeyword_0());\n \n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4506:1: ()\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:4507:5: \n {\n\n current = forceCreateModelElement(\n grammarAccess.getBooleanDataTypeAccess().getBooleanDataTypeAction_1(),\n current);\n \n\n }\n\n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final EObject rulePrimitiveValue() throws RecognitionException {\n EObject current = null;\n\n Token lv_numericValue_0_0=null;\n Token lv_booleanValue_1_0=null;\n Token lv_stringValue_2_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalMappingDsl.g:6175:2: ( ( ( (lv_numericValue_0_0= RULE_BIG_DECIMAL ) ) | ( (lv_booleanValue_1_0= RULE_BOOLEAN ) ) | ( (lv_stringValue_2_0= RULE_STRING ) ) ) )\n // InternalMappingDsl.g:6176:2: ( ( (lv_numericValue_0_0= RULE_BIG_DECIMAL ) ) | ( (lv_booleanValue_1_0= RULE_BOOLEAN ) ) | ( (lv_stringValue_2_0= RULE_STRING ) ) )\n {\n // InternalMappingDsl.g:6176:2: ( ( (lv_numericValue_0_0= RULE_BIG_DECIMAL ) ) | ( (lv_booleanValue_1_0= RULE_BOOLEAN ) ) | ( (lv_stringValue_2_0= RULE_STRING ) ) )\n int alt144=3;\n switch ( input.LA(1) ) {\n case RULE_BIG_DECIMAL:\n {\n alt144=1;\n }\n break;\n case RULE_BOOLEAN:\n {\n alt144=2;\n }\n break;\n case RULE_STRING:\n {\n alt144=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 144, 0, input);\n\n throw nvae;\n }\n\n switch (alt144) {\n case 1 :\n // InternalMappingDsl.g:6177:3: ( (lv_numericValue_0_0= RULE_BIG_DECIMAL ) )\n {\n // InternalMappingDsl.g:6177:3: ( (lv_numericValue_0_0= RULE_BIG_DECIMAL ) )\n // InternalMappingDsl.g:6178:4: (lv_numericValue_0_0= RULE_BIG_DECIMAL )\n {\n // InternalMappingDsl.g:6178:4: (lv_numericValue_0_0= RULE_BIG_DECIMAL )\n // InternalMappingDsl.g:6179:5: lv_numericValue_0_0= RULE_BIG_DECIMAL\n {\n lv_numericValue_0_0=(Token)match(input,RULE_BIG_DECIMAL,FOLLOW_2); \n\n \t\t\t\t\tnewLeafNode(lv_numericValue_0_0, grammarAccess.getPrimitiveValueAccess().getNumericValueBIG_DECIMALTerminalRuleCall_0_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getPrimitiveValueRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"numericValue\",\n \t\t\t\t\t\tlv_numericValue_0_0,\n \t\t\t\t\t\t\"de.fhdo.ddmm.data.DataDsl.BIG_DECIMAL\");\n \t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // InternalMappingDsl.g:6196:3: ( (lv_booleanValue_1_0= RULE_BOOLEAN ) )\n {\n // InternalMappingDsl.g:6196:3: ( (lv_booleanValue_1_0= RULE_BOOLEAN ) )\n // InternalMappingDsl.g:6197:4: (lv_booleanValue_1_0= RULE_BOOLEAN )\n {\n // InternalMappingDsl.g:6197:4: (lv_booleanValue_1_0= RULE_BOOLEAN )\n // InternalMappingDsl.g:6198:5: lv_booleanValue_1_0= RULE_BOOLEAN\n {\n lv_booleanValue_1_0=(Token)match(input,RULE_BOOLEAN,FOLLOW_2); \n\n \t\t\t\t\tnewLeafNode(lv_booleanValue_1_0, grammarAccess.getPrimitiveValueAccess().getBooleanValueBOOLEANTerminalRuleCall_1_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getPrimitiveValueRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"booleanValue\",\n \t\t\t\t\t\tlv_booleanValue_1_0,\n \t\t\t\t\t\t\"de.fhdo.ddmm.data.DataDsl.BOOLEAN\");\n \t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n case 3 :\n // InternalMappingDsl.g:6215:3: ( (lv_stringValue_2_0= RULE_STRING ) )\n {\n // InternalMappingDsl.g:6215:3: ( (lv_stringValue_2_0= RULE_STRING ) )\n // InternalMappingDsl.g:6216:4: (lv_stringValue_2_0= RULE_STRING )\n {\n // InternalMappingDsl.g:6216:4: (lv_stringValue_2_0= RULE_STRING )\n // InternalMappingDsl.g:6217:5: lv_stringValue_2_0= RULE_STRING\n {\n lv_stringValue_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); \n\n \t\t\t\t\tnewLeafNode(lv_stringValue_2_0, grammarAccess.getPrimitiveValueAccess().getStringValueSTRINGTerminalRuleCall_2_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getPrimitiveValueRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"stringValue\",\n \t\t\t\t\t\tlv_stringValue_2_0,\n \t\t\t\t\t\t\"org.eclipse.xtext.common.Terminals.STRING\");\n \t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }" ]
[ "0.6569926", "0.577594", "0.5754528", "0.5703114", "0.55741566", "0.5520316", "0.55086297", "0.54531264", "0.5365351", "0.53525823", "0.5330205", "0.5325774", "0.53186524", "0.5297538", "0.5288192", "0.525909", "0.5237255", "0.51848835", "0.5156485", "0.51462275", "0.50912434", "0.50468075", "0.50154287", "0.50133723", "0.501267", "0.5008176", "0.5008176", "0.49902627", "0.49781793", "0.4971748", "0.49578148", "0.49502122", "0.4906411", "0.4890784", "0.48781544", "0.4877313", "0.4874071", "0.48571885", "0.48314658", "0.48245686", "0.4821737", "0.48213208", "0.48138815", "0.48094139", "0.4803738", "0.48023415", "0.4768034", "0.47646567", "0.47585806", "0.47543696", "0.47467273", "0.47385645", "0.47292608", "0.47229496", "0.47116056", "0.46967554", "0.469092", "0.46729538", "0.46708804", "0.4658012", "0.46514845", "0.46510994", "0.4650609", "0.46441573", "0.46433628", "0.46413964", "0.4638421", "0.46380803", "0.46380803", "0.463702", "0.4634578", "0.46215543", "0.46205083", "0.46137148", "0.4608383", "0.45988506", "0.45984152", "0.4598208", "0.45967624", "0.45944813", "0.4593935", "0.45791999", "0.45758015", "0.4575316", "0.45615733", "0.45608768", "0.45562473", "0.45533752", "0.45497024", "0.45444646", "0.45394072", "0.45291007", "0.45263493", "0.45227945", "0.45196092", "0.45165548", "0.44889033", "0.4482072", "0.44803956", "0.448029" ]
0.4814186
42
$ANTLR end "RULE_REALINT" $ANTLR start "RULE_ID"
public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:2286:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) // InternalDSL.g:2286:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { // InternalDSL.g:2286:11: ( '^' )? int alt3=2; int LA3_0 = input.LA(1); if ( (LA3_0=='^') ) { alt3=1; } switch (alt3) { case 1 : // InternalDSL.g:2286:11: '^' { match('^'); } break; } if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse;} // InternalDSL.g:2286:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop4: do { int alt4=2; int LA4_0 = input.LA(1); if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) { alt4=1; } switch (alt4) { case 1 : // InternalDSL.g: { if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse;} } break; default : break loop4; } } while (true); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )?\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='^') ) {\n alt6=1;\n }\n switch (alt6) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( ((LA7_0>='0' && LA7_0<='9')||(LA7_0>='A' && LA7_0<='Z')||LA7_0=='_'||(LA7_0>='a' && LA7_0<='z')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16701:9: ( ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalDSL.g:16701:11: ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalDSL.g:16701:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalDSL.g:16701:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalDSL.g:16701:31: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )?\r\n int alt14=2;\r\n int LA14_0 = input.LA(1);\r\n\r\n if ( (LA14_0=='^') ) {\r\n alt14=1;\r\n }\r\n switch (alt14) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop15:\r\n do {\r\n int alt15=2;\r\n int LA15_0 = input.LA(1);\r\n\r\n if ( ((LA15_0>='0' && LA15_0<='9')||(LA15_0>='A' && LA15_0<='Z')||LA15_0=='_'||(LA15_0>='a' && LA15_0<='z')) ) {\r\n alt15=1;\r\n }\r\n\r\n\r\n switch (alt15) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop15;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2385:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:2385:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:2385:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalMyDsl.g:2385:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:2385:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23486:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* )\n // InternalSpeADL.g:23486:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )*\n {\n // InternalSpeADL.g:23486:11: ( '^' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='^') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // InternalSpeADL.g:23486:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalSpeADL.g:23486:44: ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='$'||(LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalSpeADL.g:\n \t {\n \t if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7228:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalIotLuaXtext.g:7228:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalIotLuaXtext.g:7228:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalIotLuaXtext.g:7228:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalIotLuaXtext.g:7228:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6368:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:6368:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:6368:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalMyDsl.g:6368:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:6368:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: ( '^' )?\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( (LA3_0=='^') ) {\r\n alt3=1;\r\n }\r\n switch (alt3) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop4:\r\n do {\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {\r\n alt4=1;\r\n }\r\n\r\n\r\n switch (alt4) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop4;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )?\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( (LA22_0=='^') ) {\n alt22=1;\n }\n switch (alt22) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop23:\n do {\n int alt23=2;\n int LA23_0 = input.LA(1);\n\n if ( ((LA23_0>='0' && LA23_0<='9')||(LA23_0>='A' && LA23_0<='Z')||LA23_0=='_'||(LA23_0>='a' && LA23_0<='z')) ) {\n alt23=1;\n }\n\n\n switch (alt23) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop23;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15368:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:15368:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:15368:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // InternalMyDsl.g:15368:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:15368:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:845:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalStateMachine.g:845:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalStateMachine.g:845:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalStateMachine.g:845:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalStateMachine.g:845:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalStateMachine.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1718:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalReqLNG.g:1718:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalReqLNG.g:1718:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalReqLNG.g:1718:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalReqLNG.g:1718:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalReqLNG.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: ( '^' )?\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( (LA2_0=='^') ) {\r\n alt2=1;\r\n }\r\n switch (alt2) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop3:\r\n do {\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\r\n alt3=1;\r\n }\r\n\r\n\r\n switch (alt3) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop3;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_REALINT() throws RecognitionException {\n try {\n int _type = RULE_REALINT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2284:14: ( ( '-' )? RULE_INT )\n // InternalDSL.g:2284:16: ( '-' )? RULE_INT\n {\n // InternalDSL.g:2284:16: ( '-' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='-') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalDSL.g:2284:16: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n mRULE_INT(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1752:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalVizualizer.g:1752:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalVizualizer.g:1752:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalVizualizer.g:1752:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalVizualizer.g:1752:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalVizualizer.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34495:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // InternalSpringConfigDsl.g:34495:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // InternalSpringConfigDsl.g:34495:11: ( '^' )?\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0=='^') ) {\r\n alt1=1;\r\n }\r\n switch (alt1) {\r\n case 1 :\r\n // InternalSpringConfigDsl.g:34495:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // InternalSpringConfigDsl.g:34495:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop2:\r\n do {\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\r\n alt2=1;\r\n }\r\n\r\n\r\n switch (alt2) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop2;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13288:9: ( ( '^' )? ( RULE_LETTER | '_' ) ( RULE_LETTER | '_' | '0' .. '9' )* )\n // InternalEsm.g:13288:11: ( '^' )? ( RULE_LETTER | '_' ) ( RULE_LETTER | '_' | '0' .. '9' )*\n {\n // InternalEsm.g:13288:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalEsm.g:13288:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\\u00C0' && input.LA(1)<='\\u00D6')||(input.LA(1)>='\\u00D8' && input.LA(1)<='\\u00F6')||(input.LA(1)>='\\u00F8' && input.LA(1)<='\\u00FF') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalEsm.g:13288:34: ( RULE_LETTER | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')||(LA2_0>='\\u00C0' && LA2_0<='\\u00D6')||(LA2_0>='\\u00D8' && LA2_0<='\\u00F6')||(LA2_0>='\\u00F8' && LA2_0<='\\u00FF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalEsm.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\\u00C0' && input.LA(1)<='\\u00D6')||(input.LA(1)>='\\u00D8' && input.LA(1)<='\\u00F6')||(input.LA(1)>='\\u00F8' && input.LA(1)<='\\u00FF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6370:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:6370:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:6370:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalMyDsl.g:6370:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2387:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:2387:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:2387:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalMyDsl.g:2387:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:9: ( ( '_' | 'a' .. 'z' | 'A' .. 'Z' ) ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )* )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:11: ( '_' | 'a' .. 'z' | 'A' .. 'Z' ) ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )*\n {\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse =\n new MismatchedSetException(null,input);\n recover(mse); throw mse;\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:35: ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:12: ( '0' .. '9' )+\n int cnt9=0;\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='0' && LA9_0<='9')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt9 >= 1 ) break loop9;\n EarlyExitException eee =\n new EarlyExitException(9, input);\n throw eee;\n }\n cnt9++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n // InternalDSL.g:2288:19: ( ( '0' .. '9' )+ )\n // InternalDSL.g:2288:21: ( '0' .. '9' )+\n {\n // InternalDSL.g:2288:21: ( '0' .. '9' )+\n int cnt5=0;\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalDSL.g:2288:22: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt5 >= 1 ) break loop5;\n EarlyExitException eee =\n new EarlyExitException(5, input);\n throw eee;\n }\n cnt5++;\n } while (true);\n\n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:10: ( ( '0' .. '9' )+ )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:12: ( '0' .. '9' )+\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:12: ( '0' .. '9' )+\r\n int cnt5=0;\r\n loop5:\r\n do {\r\n int alt5=2;\r\n int LA5_0 = input.LA(1);\r\n\r\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\r\n alt5=1;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt5 >= 1 ) break loop5;\r\n EarlyExitException eee =\r\n new EarlyExitException(5, input);\r\n throw eee;\r\n }\r\n cnt5++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:10: ( ( '-' )? ( '0' .. '9' )+ )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:12: ( '-' )? ( '0' .. '9' )+\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:12: ( '-' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='-') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:12: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:17: ( '0' .. '9' )+\n int cnt2=0;\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:18: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt2 >= 1 ) break loop2;\n EarlyExitException eee =\n new EarlyExitException(2, input);\n throw eee;\n }\n cnt2++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public TerminalRule getIDRule() {\r\n\t\treturn gaXtype.getIDRule();\r\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaXtype.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaXtype.getIDRule();\n\t}", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15370:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:15370:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:15370:12: ( '0' .. '9' )+\n int cnt9=0;\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='0' && LA9_0<='9')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalMyDsl.g:15370:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt9 >= 1 ) break loop9;\n EarlyExitException eee =\n new EarlyExitException(9, input);\n throw eee;\n }\n cnt9++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:10: ( ( '0' .. '9' )+ )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:12: ( '0' .. '9' )+\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:12: ( '0' .. '9' )+\r\n int cnt4=0;\r\n loop4:\r\n do {\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\r\n alt4=1;\r\n }\r\n\r\n\r\n switch (alt4) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt4 >= 1 ) break loop4;\r\n EarlyExitException eee =\r\n new EarlyExitException(4, input);\r\n throw eee;\r\n }\r\n cnt4++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7230:10: ( ( '0' .. '9' )+ )\n // InternalIotLuaXtext.g:7230:12: ( '0' .. '9' )+\n {\n // InternalIotLuaXtext.g:7230:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:7230:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1720:10: ( ( '0' .. '9' )+ )\n // InternalReqLNG.g:1720:12: ( '0' .. '9' )+\n {\n // InternalReqLNG.g:1720:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalReqLNG.g:1720:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:10: ( ( '0' .. '9' )+ )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:12: ( '0' .. '9' )+\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:12: ( '0' .. '9' )+\r\n int cnt11=0;\r\n loop11:\r\n do {\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( ((LA11_0>='0' && LA11_0<='9')) ) {\r\n alt11=1;\r\n }\r\n\r\n\r\n switch (alt11) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt11 >= 1 ) break loop11;\r\n EarlyExitException eee =\r\n new EarlyExitException(11, input);\r\n throw eee;\r\n }\r\n cnt11++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:847:10: ( ( '0' .. '9' )+ )\n // InternalStateMachine.g:847:12: ( '0' .. '9' )+\n {\n // InternalStateMachine.g:847:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalStateMachine.g:847:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:10: ( ( '0' .. '9' )+ )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:12: ( '0' .. '9' )+\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:12: ( '0' .. '9' )+\n int cnt24=0;\n loop24:\n do {\n int alt24=2;\n int LA24_0 = input.LA(1);\n\n if ( ((LA24_0>='0' && LA24_0<='9')) ) {\n alt24=1;\n }\n\n\n switch (alt24) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt24 >= 1 ) break loop24;\n EarlyExitException eee =\n new EarlyExitException(24, input);\n throw eee;\n }\n cnt24++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34497:10: ( ( '0' .. '9' )+ )\r\n // InternalSpringConfigDsl.g:34497:12: ( '0' .. '9' )+\r\n {\r\n // InternalSpringConfigDsl.g:34497:12: ( '0' .. '9' )+\r\n int cnt3=0;\r\n loop3:\r\n do {\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\r\n alt3=1;\r\n }\r\n\r\n\r\n switch (alt3) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:34497:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt3 >= 1 ) break loop3;\r\n EarlyExitException eee =\r\n new EarlyExitException(3, input);\r\n throw eee;\r\n }\r\n cnt3++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2581:10: ( ( '-' )? ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ )? )\n // InternalCucumber.g:2581:12: ( '-' )? ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ )?\n {\n // InternalCucumber.g:2581:12: ( '-' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='-') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalCucumber.g:2581:12: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n // InternalCucumber.g:2581:17: ( '0' .. '9' )+\n int cnt2=0;\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalCucumber.g:2581:18: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt2 >= 1 ) break loop2;\n EarlyExitException eee =\n new EarlyExitException(2, input);\n throw eee;\n }\n cnt2++;\n } while (true);\n\n // InternalCucumber.g:2581:29: ( '.' ( '0' .. '9' )+ )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='.') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // InternalCucumber.g:2581:30: '.' ( '0' .. '9' )+\n {\n match('.'); \n // InternalCucumber.g:2581:34: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalCucumber.g:2581:35: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INTEGER() throws RecognitionException {\n try {\n int _type = RULE_INTEGER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16703:14: ( ( '-' )? ( '0' .. '9' )+ )\n // InternalDSL.g:16703:16: ( '-' )? ( '0' .. '9' )+\n {\n // InternalDSL.g:16703:16: ( '-' )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='-') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // InternalDSL.g:16703:16: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n // InternalDSL.g:16703:21: ( '0' .. '9' )+\n int cnt5=0;\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalDSL.g:16703:22: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt5 >= 1 ) break loop5;\n EarlyExitException eee =\n new EarlyExitException(5, input);\n throw eee;\n }\n cnt5++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5113:10: ( ( '0' .. '9' )+ )\n // InternalUniMapperGenerator.g:5113:12: ( '0' .. '9' )+\n {\n // InternalUniMapperGenerator.g:5113:12: ( '0' .. '9' )+\n int cnt5=0;\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalUniMapperGenerator.g:5113:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt5 >= 1 ) break loop5;\n EarlyExitException eee =\n new EarlyExitException(5, input);\n throw eee;\n }\n cnt5++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1754:10: ( ( '0' .. '9' )+ )\n // InternalVizualizer.g:1754:12: ( '0' .. '9' )+\n {\n // InternalVizualizer.g:1754:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalVizualizer.g:1754:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public String getRuleId() {\n return ruleId;\n }", "public void setRuleId(String ruleId) {\n this.ruleId = ruleId;\n }", "public final AntlrDatatypeRuleToken ruleID() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_SIMPLE_ID_0=null;\n Token this_ESCAPED_ID_1=null;\n\n\n \tenterRule();\n\n try {\n // InternalMyDsl.g:10014:2: ( (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) )\n // InternalMyDsl.g:10015:2: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID )\n {\n // InternalMyDsl.g:10015:2: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID )\n int alt148=2;\n int LA148_0 = input.LA(1);\n\n if ( (LA148_0==RULE_SIMPLE_ID) ) {\n alt148=1;\n }\n else if ( (LA148_0==RULE_ESCAPED_ID) ) {\n alt148=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 148, 0, input);\n\n throw nvae;\n }\n switch (alt148) {\n case 1 :\n // InternalMyDsl.g:10016:3: this_SIMPLE_ID_0= RULE_SIMPLE_ID\n {\n this_SIMPLE_ID_0=(Token)match(input,RULE_SIMPLE_ID,FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tcurrent.merge(this_SIMPLE_ID_0);\n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(this_SIMPLE_ID_0, grammarAccess.getIDAccess().getSIMPLE_IDTerminalRuleCall_0());\n \t\t\n }\n\n }\n break;\n case 2 :\n // InternalMyDsl.g:10024:3: this_ESCAPED_ID_1= RULE_ESCAPED_ID\n {\n this_ESCAPED_ID_1=(Token)match(input,RULE_ESCAPED_ID,FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tcurrent.merge(this_ESCAPED_ID_1);\n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(this_ESCAPED_ID_1, grammarAccess.getIDAccess().getESCAPED_IDTerminalRuleCall_1());\n \t\t\n }\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n\n \tleaveRule();\n\n }\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public void setRuleId(Integer value) {\n setAttributeInternal(RULEID, value);\n }", "public int getRuleId() {\n\t\treturn ruleId;\n\t}", "public final void r() throws RecognitionException {\n\t\tToken ID1=null;\n\n\t\ttry { dbg.enterRule(getGrammarFileName(), \"r\");\n\t\tif ( getRuleLevel()==0 ) {dbg.commence();}\n\t\tincRuleLevel();\n\t\tdbg.location(8, 0);\n\n\t\ttry {\n\t\t\t// C:\\\\Users\\\\Tiago\\\\OneDrive\\\\Documents\\\\vscode\\\\java\\\\gramatica-antlr\\\\T.g:8:3: ( ID '#' )\n\t\t\tdbg.enterAlt(1);\n\n\t\t\t// C:\\\\Users\\\\Tiago\\\\OneDrive\\\\Documents\\\\vscode\\\\java\\\\gramatica-antlr\\\\T.g:8:5: ID '#'\n\t\t\t{\n\t\t\tdbg.location(8,5);\n\t\t\tID1=(Token)match(input,ID,FOLLOW_ID_in_r27); dbg.location(8,8);\n\t\t\tmatch(input,6,FOLLOW_6_in_r29); dbg.location(8,12);\n\t\t\ts = (ID1!=null?ID1.getText():null); System.out.println(\"found \"+s);\n\t\t\t}\n\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\tdbg.location(8, 59);\n\n\t\t}\n\t\tfinally {\n\t\t\tdbg.exitRule(getGrammarFileName(), \"r\");\n\t\t\tdecRuleLevel();\n\t\t\tif ( getRuleLevel()==0 ) {dbg.terminate();}\n\t\t}\n\n\t}", "public void setRuleId(String value) {\r\n setAttributeInternal(RULEID, value);\r\n }", "public TerminalRule getIDRule() {\r\n\t\treturn gaTerminals.getIDRule();\r\n\t}", "public TerminalRule getIDRule() {\r\n\t\treturn gaTerminals.getIDRule();\r\n\t}", "public TerminalRule getIDRule() {\r\n\t\treturn gaTerminals.getIDRule();\r\n\t}", "public TerminalRule getIDRule() {\r\n\t\treturn gaTerminals.getIDRule();\r\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public final void synpred3_InternalGo_fragment() throws RecognitionException { \r\n // InternalGo.g:3135:2: ( ( RULE_ID ) )\r\n // InternalGo.g:3135:2: ( RULE_ID )\r\n {\r\n // InternalGo.g:3135:2: ( RULE_ID )\r\n // InternalGo.g:3136:3: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_0()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23482:10: ( '0' .. '9' ( '0' .. '9' | '_' )* )\n // InternalSpeADL.g:23482:12: '0' .. '9' ( '0' .. '9' | '_' )*\n {\n matchRange('0','9'); \n // InternalSpeADL.g:23482:21: ( '0' .. '9' | '_' )*\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')||LA5_0=='_') ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalSpeADL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||input.LA(1)=='_' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop5;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public String getRuleId() {\n return this.RuleId;\n }", "public Rule idExpr()\n \t{\n \t\treturn firstOf(idExprReq(), id());\n \t}", "public final AntlrDatatypeRuleToken ruleIdentifier() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n AntlrDatatypeRuleToken this_ID_0 = null;\n\n\n\n \tenterRule();\n\n try {\n // InternalMyDsl.g:10048:2: (this_ID_0= ruleID )\n // InternalMyDsl.g:10049:2: this_ID_0= ruleID\n {\n if ( state.backtracking==0 ) {\n\n \t\tnewCompositeNode(grammarAccess.getIdentifierAccess().getIDParserRuleCall());\n \t\n }\n pushFollow(FOLLOW_2);\n this_ID_0=ruleID();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\tcurrent.merge(this_ID_0);\n \t\n }\n if ( state.backtracking==0 ) {\n\n \t\tafterParserOrEnumRuleCall();\n \t\n }\n\n }\n\n if ( state.backtracking==0 ) {\n\n \tleaveRule();\n\n }\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public int getRuleID()\n {\n return schema.getRuleID();\n }", "IdListRule createIdListRule();", "public Integer getRuleId() {\n return (Integer) getAttributeInternal(RULEID);\n }", "public String getRuleID() {\n\t\treturn adaptee.getConstraint().getDescriptor().getId();\n\t}", "public Long getRuleID() {\n return this.RuleID;\n }", "public final void mID() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.ID;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n if (this.input.LA(1) >= 'A' && this.input.LA(1) <= 'Z' || this.input.LA(1) == '_'\r\n || this.input.LA(1) >= 'a' && this.input.LA(1) <= 'z') {\r\n this.input.consume();\r\n\r\n } else {\r\n final MismatchedSetException mse = new MismatchedSetException(null, this.input);\r\n this.recover(mse);\r\n throw mse;\r\n }\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:51:31: ( 'a' .. 'z' |\r\n // 'A' .. 'Z' | '0' .. '9' | '_' )*\r\n loop3: do {\r\n int alt3 = 2;\r\n final int LA3_0 = this.input.LA(1);\r\n\r\n if (LA3_0 >= '0' && LA3_0 <= '9' || LA3_0 >= 'A' && LA3_0 <= 'Z' || LA3_0 == '_'\r\n || LA3_0 >= 'a' && LA3_0 <= 'z') {\r\n alt3 = 1;\r\n }\r\n\r\n switch (alt3) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:\r\n {\r\n if (this.input.LA(1) >= '0' && this.input.LA(1) <= '9'\r\n || this.input.LA(1) >= 'A' && this.input.LA(1) <= 'Z'\r\n || this.input.LA(1) == '_' || this.input.LA(1) >= 'a'\r\n && this.input.LA(1) <= 'z') {\r\n this.input.consume();\r\n\r\n } else {\r\n final MismatchedSetException mse = new MismatchedSetException(null,\r\n this.input);\r\n this.recover(mse);\r\n throw mse;\r\n }\r\n\r\n }\r\n break;\r\n\r\n default:\r\n break loop3;\r\n }\r\n } while (true);\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_ID_0=null;\n\n enterRule(); \n \n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:3083:28: (this_ID_0= RULE_ID )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:3084:5: this_ID_0= RULE_ID\n {\n this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValidID7380); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\tcurrent.merge(this_ID_0);\n \n }\n if ( state.backtracking==0 ) {\n \n newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \n \n }\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final EObject ruleRealLiteral() throws RecognitionException {\n EObject current = null;\n\n Token lv_value_0_0=null;\n Token lv_modifier_1_0=null;\n EObject lv_unit_3_0 = null;\n\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4453:6: ( ( ( (lv_value_0_0= RULE_REAL ) ) ( (lv_modifier_1_0= RULE_ID ) )? ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )? ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4454:1: ( ( (lv_value_0_0= RULE_REAL ) ) ( (lv_modifier_1_0= RULE_ID ) )? ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )? )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4454:1: ( ( (lv_value_0_0= RULE_REAL ) ) ( (lv_modifier_1_0= RULE_ID ) )? ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )? )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4454:2: ( (lv_value_0_0= RULE_REAL ) ) ( (lv_modifier_1_0= RULE_ID ) )? ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )?\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4454:2: ( (lv_value_0_0= RULE_REAL ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4455:1: (lv_value_0_0= RULE_REAL )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4455:1: (lv_value_0_0= RULE_REAL )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4456:3: lv_value_0_0= RULE_REAL\n {\n lv_value_0_0=(Token)input.LT(1);\n match(input,RULE_REAL,FOLLOW_RULE_REAL_in_ruleRealLiteral7818); \n\n \t\t\tcreateLeafNode(grammarAccess.getRealLiteralAccess().getValueREALTerminalRuleCall_0_0(), \"value\"); \n \t\t\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getRealLiteralRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode, current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"value\",\n \t \t\tlv_value_0_0, \n \t \t\t\"REAL\", \n \t \t\tlastConsumedNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t \n\n }\n\n\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4478:2: ( (lv_modifier_1_0= RULE_ID ) )?\n int alt66=2;\n int LA66_0 = input.LA(1);\n\n if ( (LA66_0==RULE_ID) ) {\n alt66=1;\n }\n switch (alt66) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4479:1: (lv_modifier_1_0= RULE_ID )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4479:1: (lv_modifier_1_0= RULE_ID )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4480:3: lv_modifier_1_0= RULE_ID\n {\n lv_modifier_1_0=(Token)input.LT(1);\n match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRealLiteral7840); \n\n \t\t\tcreateLeafNode(grammarAccess.getRealLiteralAccess().getModifierIDTerminalRuleCall_1_0(), \"modifier\"); \n \t\t\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getRealLiteralRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode, current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"modifier\",\n \t \t\tlv_modifier_1_0, \n \t \t\t\"ID\", \n \t \t\tlastConsumedNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t \n\n }\n\n\n }\n break;\n\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4502:3: ( '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')' )?\n int alt67=2;\n int LA67_0 = input.LA(1);\n\n if ( (LA67_0==25) ) {\n alt67=1;\n }\n switch (alt67) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4502:5: '(' ( (lv_unit_3_0= ruleUnitExpression ) ) ')'\n {\n match(input,25,FOLLOW_25_in_ruleRealLiteral7857); \n\n createLeafNode(grammarAccess.getRealLiteralAccess().getLeftParenthesisKeyword_2_0(), null); \n \n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4506:1: ( (lv_unit_3_0= ruleUnitExpression ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4507:1: (lv_unit_3_0= ruleUnitExpression )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4507:1: (lv_unit_3_0= ruleUnitExpression )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4508:3: lv_unit_3_0= ruleUnitExpression\n {\n \n \t currentNode=createCompositeNode(grammarAccess.getRealLiteralAccess().getUnitUnitExpressionParserRuleCall_2_1_0(), currentNode); \n \t \n pushFollow(FOLLOW_ruleUnitExpression_in_ruleRealLiteral7878);\n lv_unit_3_0=ruleUnitExpression();\n _fsp--;\n\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getRealLiteralRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode.getParent(), current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"unit\",\n \t \t\tlv_unit_3_0, \n \t \t\t\"UnitExpression\", \n \t \t\tcurrentNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t currentNode = currentNode.getParent();\n \t \n\n }\n\n\n }\n\n match(input,26,FOLLOW_26_in_ruleRealLiteral7888); \n\n createLeafNode(grammarAccess.getRealLiteralAccess().getRightParenthesisKeyword_2_2(), null); \n \n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public void setRuleID(Long RuleID) {\n this.RuleID = RuleID;\n }", "public final ANTLRv3Parser.id_return id() throws RecognitionException {\r\n ANTLRv3Parser.id_return retval = new ANTLRv3Parser.id_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token TOKEN_REF198=null;\r\n Token RULE_REF199=null;\r\n\r\n CommonTree TOKEN_REF198_tree=null;\r\n CommonTree RULE_REF199_tree=null;\r\n RewriteRuleTokenStream stream_RULE_REF=new RewriteRuleTokenStream(adaptor,\"token RULE_REF\");\r\n RewriteRuleTokenStream stream_TOKEN_REF=new RewriteRuleTokenStream(adaptor,\"token TOKEN_REF\");\r\n\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:464:4: ( TOKEN_REF -> ID[$TOKEN_REF] | RULE_REF -> ID[$RULE_REF] )\r\n int alt85=2;\r\n int LA85_0 = input.LA(1);\r\n\r\n if ( (LA85_0==TOKEN_REF) ) {\r\n alt85=1;\r\n }\r\n else if ( (LA85_0==RULE_REF) ) {\r\n alt85=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 85, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt85) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:464:6: TOKEN_REF\r\n {\r\n TOKEN_REF198=(Token)match(input,TOKEN_REF,FOLLOW_TOKEN_REF_in_id3241); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_TOKEN_REF.add(TOKEN_REF198);\r\n\r\n\r\n // AST REWRITE\r\n // elements: \r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 464:16: -> ID[$TOKEN_REF]\r\n {\r\n adaptor.addChild(root_0, \r\n (CommonTree)adaptor.create(ID, TOKEN_REF198)\r\n );\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:465:4: RULE_REF\r\n {\r\n RULE_REF199=(Token)match(input,RULE_REF,FOLLOW_RULE_REF_in_id3251); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_RULE_REF.add(RULE_REF199);\r\n\r\n\r\n // AST REWRITE\r\n // elements: \r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 465:14: -> ID[$RULE_REF]\r\n {\r\n adaptor.addChild(root_0, \r\n (CommonTree)adaptor.create(ID, RULE_REF199)\r\n );\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "public String getRuleId() {\r\n return (String) getAttributeInternal(RULEID);\r\n }", "public final void ruleValidID() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCsv.g:592:2: ( ( RULE_ID ) )\n // InternalCsv.g:593:2: ( RULE_ID )\n {\n // InternalCsv.g:593:2: ( RULE_ID )\n // InternalCsv.g:594:3: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public void setRuleId(String ruleId) {\r\n\t\t\tthis.ruleId = ruleId;\r\n\t\t}", "public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n int ruleFQN_StartIndex = input.index();\n Token this_ID_0=null;\n Token kw=null;\n Token this_ID_2=null;\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 138) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5688:6: ( (this_ID_0= RULE_ID (kw= KEYWORD_12 this_ID_2= RULE_ID )* ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5689:1: (this_ID_0= RULE_ID (kw= KEYWORD_12 this_ID_2= RULE_ID )* )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5689:1: (this_ID_0= RULE_ID (kw= KEYWORD_12 this_ID_2= RULE_ID )* )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5689:6: this_ID_0= RULE_ID (kw= KEYWORD_12 this_ID_2= RULE_ID )*\n {\n this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN11664); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\tcurrent.merge(this_ID_0);\n \n }\n if ( state.backtracking==0 ) {\n \n newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); \n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5696:1: (kw= KEYWORD_12 this_ID_2= RULE_ID )*\n loop96:\n do {\n int alt96=2;\n int LA96_0 = input.LA(1);\n\n if ( (LA96_0==KEYWORD_12) ) {\n alt96=1;\n }\n\n\n switch (alt96) {\n \tcase 1 :\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:5697:2: kw= KEYWORD_12 this_ID_2= RULE_ID\n \t {\n \t kw=(Token)match(input,KEYWORD_12,FOLLOW_KEYWORD_12_in_ruleFQN11683); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t current.merge(kw);\n \t newLeafNode(kw, grammarAccess.getFQNAccess().getColonKeyword_1_0()); \n \t \n \t }\n \t this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN11698); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t\tcurrent.merge(this_ID_2);\n \t \n \t }\n \t if ( state.backtracking==0 ) {\n \t \n \t newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); \n \t \n \t }\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop96;\n }\n } while (true);\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule();\n \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 138, ruleFQN_StartIndex); }\n }\n return current;\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public final void rule__IDENTIFIER__Group_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalGo.g:4957:1: ( ( RULE_ID ) )\r\n // InternalGo.g:4958:1: ( RULE_ID )\r\n {\r\n // InternalGo.g:4958:1: ( RULE_ID )\r\n // InternalGo.g:4959:2: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_1_1()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "public final void mRULE_REAL() throws RecognitionException {\n try {\n int _type = RULE_REAL;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:11: ( ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )? )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:13: ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )?\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:13: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:14: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n match('.'); \n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:29: ( '0' .. '9' )*\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:30: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop4;\n }\n } while (true);\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:41: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='E'||LA7_0=='e') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:42: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+\n {\n if ( input.LA(1)=='E'||input.LA(1)=='e' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse =\n new MismatchedSetException(null,input);\n recover(mse); throw mse;\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:52: ( '+' | '-' )?\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='+'||LA5_0=='-') ) {\n alt5=1;\n }\n switch (alt5) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n {\n if ( input.LA(1)=='+'||input.LA(1)=='-' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse =\n new MismatchedSetException(null,input);\n recover(mse); throw mse;\n }\n\n\n }\n break;\n\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:63: ( '0' .. '9' )+\n int cnt6=0;\n loop6:\n do {\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( ((LA6_0>='0' && LA6_0<='9')) ) {\n alt6=1;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6930:64: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt6 >= 1 ) break loop6;\n EarlyExitException eee =\n new EarlyExitException(6, input);\n throw eee;\n }\n cnt6++;\n } while (true);\n\n\n }\n break;\n\n }\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public void setRuleId(String RuleId) {\n this.RuleId = RuleId;\n }", "public final void ruleValidID() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDroneScript.g:2275:2: ( ( RULE_ID ) )\r\n // InternalDroneScript.g:2276:2: ( RULE_ID )\r\n {\r\n // InternalDroneScript.g:2276:2: ( RULE_ID )\r\n // InternalDroneScript.g:2277:3: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "public final EObject ruleLiteral() throws RecognitionException {\n EObject current = null;\n int ruleLiteral_StartIndex = input.index();\n EObject this_IntLiteral_0 = null;\n\n EObject this_RealLiteral_1 = null;\n\n EObject this_BooleanLiteral_2 = null;\n\n EObject this_StringLiteral_3 = null;\n\n EObject this_NullLiteral_4 = null;\n\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 106) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4551:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral | this_BooleanLiteral_2= ruleBooleanLiteral | this_StringLiteral_3= ruleStringLiteral | this_NullLiteral_4= ruleNullLiteral ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4552:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral | this_BooleanLiteral_2= ruleBooleanLiteral | this_StringLiteral_3= ruleStringLiteral | this_NullLiteral_4= ruleNullLiteral )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4552:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral | this_BooleanLiteral_2= ruleBooleanLiteral | this_StringLiteral_3= ruleStringLiteral | this_NullLiteral_4= ruleNullLiteral )\n int alt76=5;\n switch ( input.LA(1) ) {\n case RULE_INT:\n {\n alt76=1;\n }\n break;\n case RULE_FLOAT:\n {\n alt76=2;\n }\n break;\n case KEYWORD_61:\n case KEYWORD_55:\n {\n alt76=3;\n }\n break;\n case RULE_STRING:\n {\n alt76=4;\n }\n break;\n case KEYWORD_51:\n {\n alt76=5;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 76, 0, input);\n\n throw nvae;\n }\n\n switch (alt76) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4553:2: this_IntLiteral_0= ruleIntLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getIntLiteralParserRuleCall_0()); \n \n }\n pushFollow(FOLLOW_ruleIntLiteral_in_ruleLiteral9222);\n this_IntLiteral_0=ruleIntLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_IntLiteral_0;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n case 2 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4566:2: this_RealLiteral_1= ruleRealLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getRealLiteralParserRuleCall_1()); \n \n }\n pushFollow(FOLLOW_ruleRealLiteral_in_ruleLiteral9252);\n this_RealLiteral_1=ruleRealLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_RealLiteral_1;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n case 3 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4579:2: this_BooleanLiteral_2= ruleBooleanLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_2()); \n \n }\n pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral9282);\n this_BooleanLiteral_2=ruleBooleanLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_BooleanLiteral_2;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n case 4 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4592:2: this_StringLiteral_3= ruleStringLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_3()); \n \n }\n pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral9312);\n this_StringLiteral_3=ruleStringLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_StringLiteral_3;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n case 5 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4605:2: this_NullLiteral_4= ruleNullLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getNullLiteralParserRuleCall_4()); \n \n }\n pushFollow(FOLLOW_ruleNullLiteral_in_ruleLiteral9342);\n this_NullLiteral_4=ruleNullLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_NullLiteral_4;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 106, ruleLiteral_StartIndex); }\n }\n return current;\n }", "public final gUnitParser.id_return id() throws RecognitionException {\n\t\tgUnitParser.id_return retval = new gUnitParser.id_return();\n\t\tretval.start = input.LT(1);\n\n\t\tToken TOKEN_REF16=null;\n\t\tToken RULE_REF17=null;\n\n\t\ttry {\n\t\t\t// org/antlr/gunit/gUnit.g:176:2: ( TOKEN_REF | RULE_REF )\n\t\t\tint alt14=2;\n\t\t\tint LA14_0 = input.LA(1);\n\t\t\tif ( (LA14_0==TOKEN_REF) ) {\n\t\t\t\talt14=1;\n\t\t\t}\n\t\t\telse if ( (LA14_0==RULE_REF) ) {\n\t\t\t\talt14=2;\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 14, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\n\t\t\tswitch (alt14) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:176:4: TOKEN_REF\n\t\t\t\t\t{\n\t\t\t\t\tTOKEN_REF16=(Token)match(input,TOKEN_REF,FOLLOW_TOKEN_REF_in_id422); \n\t\t\t\t\tretval.line = (TOKEN_REF16!=null?TOKEN_REF16.getLine():0);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:177:4: RULE_REF\n\t\t\t\t\t{\n\t\t\t\t\tRULE_REF17=(Token)match(input,RULE_REF,FOLLOW_RULE_REF_in_id429); \n\t\t\t\t\tretval.line = (RULE_REF17!=null?RULE_REF17.getLine():0);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tretval.stop = input.LT(-1);\n\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn retval;\n\t}", "public final void mRULE_INTEGER() throws RecognitionException {\n try {\n int _type = RULE_INTEGER;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:14: ( ( '0' .. '9' )+ )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:16: ( '0' .. '9' )+\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:16: ( '0' .. '9' )+\n int cnt8=0;\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:17: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt8 >= 1 ) break loop8;\n EarlyExitException eee =\n new EarlyExitException(8, input);\n throw eee;\n }\n cnt8++;\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "public final String entryRuleID() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleID = null;\n\n\n try {\n // InternalMyDsl.g:10001:42: (iv_ruleID= ruleID EOF )\n // InternalMyDsl.g:10002:2: iv_ruleID= ruleID EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getIDRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleID=ruleID();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleID.getText(); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public void setId(String ruleId) {\r\n if (ruleId != null && StringUtils.isBlank(ruleId)) {\r\n throw new IllegalArgumentException(\"rule ID must be null or else non-blank\");\r\n }\r\n\t\t\tthis.id = ruleId;\r\n\t\t}", "public final void entryRuleIdOrString() throws RecognitionException {\n try {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:258:1: ( ruleIdOrString EOF )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:259:1: ruleIdOrString EOF\n {\n before(grammarAccess.getIdOrStringRule()); \n pushFollow(FollowSets000.FOLLOW_ruleIdOrString_in_entryRuleIdOrString481);\n ruleIdOrString();\n _fsp--;\n\n after(grammarAccess.getIdOrStringRule()); \n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleIdOrString488); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }" ]
[ "0.7081389", "0.68190575", "0.6734096", "0.66926694", "0.662811", "0.66216123", "0.66097945", "0.657078", "0.65525246", "0.6551835", "0.6539259", "0.6526641", "0.652137", "0.64903075", "0.64617974", "0.6336661", "0.62744826", "0.62611747", "0.62514067", "0.6239926", "0.6229623", "0.61845106", "0.6128708", "0.6075666", "0.6074998", "0.60589695", "0.602895", "0.60210586", "0.5972259", "0.59596616", "0.59596616", "0.59255576", "0.58733624", "0.58708346", "0.5867945", "0.5770408", "0.57454485", "0.574406", "0.5690771", "0.5655555", "0.5620764", "0.5618455", "0.56157523", "0.5601496", "0.5575302", "0.5571965", "0.5565461", "0.55591327", "0.55236197", "0.5518247", "0.55167806", "0.54925764", "0.54925764", "0.54925764", "0.54925764", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54885226", "0.54450905", "0.54368246", "0.54309565", "0.5430151", "0.5416385", "0.5414874", "0.53615755", "0.5350649", "0.5343162", "0.5334023", "0.53173274", "0.5303845", "0.5296942", "0.52799606", "0.52762073", "0.52718604", "0.5243048", "0.5232182", "0.5175833", "0.5170204", "0.5156852", "0.5155561", "0.513977", "0.51384443", "0.51346666", "0.5132341", "0.5130108", "0.51048183", "0.50989497", "0.5073689", "0.5045658" ]
0.6607642
7
$ANTLR end "RULE_ID" $ANTLR start "RULE_INT"
public final void mRULE_INT() throws RecognitionException { try { // InternalDSL.g:2288:19: ( ( '0' .. '9' )+ ) // InternalDSL.g:2288:21: ( '0' .. '9' )+ { // InternalDSL.g:2288:21: ( '0' .. '9' )+ int cnt5=0; loop5: do { int alt5=2; int LA5_0 = input.LA(1); if ( ((LA5_0>='0' && LA5_0<='9')) ) { alt5=1; } switch (alt5) { case 1 : // InternalDSL.g:2288:22: '0' .. '9' { matchRange('0','9'); } break; default : if ( cnt5 >= 1 ) break loop5; EarlyExitException eee = new EarlyExitException(5, input); throw eee; } cnt5++; } while (true); } } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6370:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:6370:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:6370:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalMyDsl.g:6370:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2387:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:2387:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:2387:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalMyDsl.g:2387:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:12: ( '0' .. '9' )+\n int cnt9=0;\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='0' && LA9_0<='9')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt9 >= 1 ) break loop9;\n EarlyExitException eee =\n new EarlyExitException(9, input);\n throw eee;\n }\n cnt9++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:10: ( ( '0' .. '9' )+ )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:12: ( '0' .. '9' )+\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:12: ( '0' .. '9' )+\r\n int cnt4=0;\r\n loop4:\r\n do {\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\r\n alt4=1;\r\n }\r\n\r\n\r\n switch (alt4) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt4 >= 1 ) break loop4;\r\n EarlyExitException eee =\r\n new EarlyExitException(4, input);\r\n throw eee;\r\n }\r\n cnt4++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7230:10: ( ( '0' .. '9' )+ )\n // InternalIotLuaXtext.g:7230:12: ( '0' .. '9' )+\n {\n // InternalIotLuaXtext.g:7230:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:7230:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1720:10: ( ( '0' .. '9' )+ )\n // InternalReqLNG.g:1720:12: ( '0' .. '9' )+\n {\n // InternalReqLNG.g:1720:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalReqLNG.g:1720:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15370:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:15370:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:15370:12: ( '0' .. '9' )+\n int cnt9=0;\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='0' && LA9_0<='9')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalMyDsl.g:15370:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt9 >= 1 ) break loop9;\n EarlyExitException eee =\n new EarlyExitException(9, input);\n throw eee;\n }\n cnt9++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34497:10: ( ( '0' .. '9' )+ )\r\n // InternalSpringConfigDsl.g:34497:12: ( '0' .. '9' )+\r\n {\r\n // InternalSpringConfigDsl.g:34497:12: ( '0' .. '9' )+\r\n int cnt3=0;\r\n loop3:\r\n do {\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\r\n alt3=1;\r\n }\r\n\r\n\r\n switch (alt3) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:34497:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt3 >= 1 ) break loop3;\r\n EarlyExitException eee =\r\n new EarlyExitException(3, input);\r\n throw eee;\r\n }\r\n cnt3++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:10: ( ( '0' .. '9' )+ )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:12: ( '0' .. '9' )+\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:12: ( '0' .. '9' )+\r\n int cnt11=0;\r\n loop11:\r\n do {\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( ((LA11_0>='0' && LA11_0<='9')) ) {\r\n alt11=1;\r\n }\r\n\r\n\r\n switch (alt11) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt11 >= 1 ) break loop11;\r\n EarlyExitException eee =\r\n new EarlyExitException(11, input);\r\n throw eee;\r\n }\r\n cnt11++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:10: ( ( '0' .. '9' )+ )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:12: ( '0' .. '9' )+\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:12: ( '0' .. '9' )+\r\n int cnt5=0;\r\n loop5:\r\n do {\r\n int alt5=2;\r\n int LA5_0 = input.LA(1);\r\n\r\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\r\n alt5=1;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt5 >= 1 ) break loop5;\r\n EarlyExitException eee =\r\n new EarlyExitException(5, input);\r\n throw eee;\r\n }\r\n cnt5++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:10: ( ( '0' .. '9' )+ )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:12: ( '0' .. '9' )+\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:12: ( '0' .. '9' )+\n int cnt24=0;\n loop24:\n do {\n int alt24=2;\n int LA24_0 = input.LA(1);\n\n if ( ((LA24_0>='0' && LA24_0<='9')) ) {\n alt24=1;\n }\n\n\n switch (alt24) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt24 >= 1 ) break loop24;\n EarlyExitException eee =\n new EarlyExitException(24, input);\n throw eee;\n }\n cnt24++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:10: ( ( '-' )? ( '0' .. '9' )+ )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:12: ( '-' )? ( '0' .. '9' )+\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:12: ( '-' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='-') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:12: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:17: ( '0' .. '9' )+\n int cnt2=0;\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:18: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt2 >= 1 ) break loop2;\n EarlyExitException eee =\n new EarlyExitException(2, input);\n throw eee;\n }\n cnt2++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:847:10: ( ( '0' .. '9' )+ )\n // InternalStateMachine.g:847:12: ( '0' .. '9' )+\n {\n // InternalStateMachine.g:847:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalStateMachine.g:847:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )?\r\n int alt14=2;\r\n int LA14_0 = input.LA(1);\r\n\r\n if ( (LA14_0=='^') ) {\r\n alt14=1;\r\n }\r\n switch (alt14) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop15:\r\n do {\r\n int alt15=2;\r\n int LA15_0 = input.LA(1);\r\n\r\n if ( ((LA15_0>='0' && LA15_0<='9')||(LA15_0>='A' && LA15_0<='Z')||LA15_0=='_'||(LA15_0>='a' && LA15_0<='z')) ) {\r\n alt15=1;\r\n }\r\n\r\n\r\n switch (alt15) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop15;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5113:10: ( ( '0' .. '9' )+ )\n // InternalUniMapperGenerator.g:5113:12: ( '0' .. '9' )+\n {\n // InternalUniMapperGenerator.g:5113:12: ( '0' .. '9' )+\n int cnt5=0;\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalUniMapperGenerator.g:5113:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt5 >= 1 ) break loop5;\n EarlyExitException eee =\n new EarlyExitException(5, input);\n throw eee;\n }\n cnt5++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1754:10: ( ( '0' .. '9' )+ )\n // InternalVizualizer.g:1754:12: ( '0' .. '9' )+\n {\n // InternalVizualizer.g:1754:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalVizualizer.g:1754:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7228:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalIotLuaXtext.g:7228:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalIotLuaXtext.g:7228:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalIotLuaXtext.g:7228:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalIotLuaXtext.g:7228:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )?\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( (LA22_0=='^') ) {\n alt22=1;\n }\n switch (alt22) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop23:\n do {\n int alt23=2;\n int LA23_0 = input.LA(1);\n\n if ( ((LA23_0>='0' && LA23_0<='9')||(LA23_0>='A' && LA23_0<='Z')||LA23_0=='_'||(LA23_0>='a' && LA23_0<='z')) ) {\n alt23=1;\n }\n\n\n switch (alt23) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop23;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )?\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='^') ) {\n alt6=1;\n }\n switch (alt6) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( ((LA7_0>='0' && LA7_0<='9')||(LA7_0>='A' && LA7_0<='Z')||LA7_0=='_'||(LA7_0>='a' && LA7_0<='z')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16701:9: ( ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalDSL.g:16701:11: ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalDSL.g:16701:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalDSL.g:16701:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalDSL.g:16701:31: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2286:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalDSL.g:2286:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalDSL.g:2286:11: ( '^' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='^') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // InternalDSL.g:2286:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalDSL.g:2286:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop4;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:845:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalStateMachine.g:845:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalStateMachine.g:845:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalStateMachine.g:845:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalStateMachine.g:845:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalStateMachine.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2581:10: ( ( '-' )? ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ )? )\n // InternalCucumber.g:2581:12: ( '-' )? ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ )?\n {\n // InternalCucumber.g:2581:12: ( '-' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='-') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalCucumber.g:2581:12: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n // InternalCucumber.g:2581:17: ( '0' .. '9' )+\n int cnt2=0;\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalCucumber.g:2581:18: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt2 >= 1 ) break loop2;\n EarlyExitException eee =\n new EarlyExitException(2, input);\n throw eee;\n }\n cnt2++;\n } while (true);\n\n // InternalCucumber.g:2581:29: ( '.' ( '0' .. '9' )+ )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='.') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // InternalCucumber.g:2581:30: '.' ( '0' .. '9' )+\n {\n match('.'); \n // InternalCucumber.g:2581:34: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalCucumber.g:2581:35: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2385:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:2385:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:2385:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalMyDsl.g:2385:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:2385:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1718:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalReqLNG.g:1718:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalReqLNG.g:1718:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalReqLNG.g:1718:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalReqLNG.g:1718:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalReqLNG.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23486:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* )\n // InternalSpeADL.g:23486:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )*\n {\n // InternalSpeADL.g:23486:11: ( '^' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='^') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // InternalSpeADL.g:23486:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalSpeADL.g:23486:44: ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='$'||(LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalSpeADL.g:\n \t {\n \t if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6368:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:6368:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:6368:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalMyDsl.g:6368:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:6368:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15368:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:15368:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:15368:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // InternalMyDsl.g:15368:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:15368:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13288:9: ( ( '^' )? ( RULE_LETTER | '_' ) ( RULE_LETTER | '_' | '0' .. '9' )* )\n // InternalEsm.g:13288:11: ( '^' )? ( RULE_LETTER | '_' ) ( RULE_LETTER | '_' | '0' .. '9' )*\n {\n // InternalEsm.g:13288:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalEsm.g:13288:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\\u00C0' && input.LA(1)<='\\u00D6')||(input.LA(1)>='\\u00D8' && input.LA(1)<='\\u00F6')||(input.LA(1)>='\\u00F8' && input.LA(1)<='\\u00FF') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalEsm.g:13288:34: ( RULE_LETTER | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')||(LA2_0>='\\u00C0' && LA2_0<='\\u00D6')||(LA2_0>='\\u00D8' && LA2_0<='\\u00F6')||(LA2_0>='\\u00F8' && LA2_0<='\\u00FF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalEsm.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\\u00C0' && input.LA(1)<='\\u00D6')||(input.LA(1)>='\\u00D8' && input.LA(1)<='\\u00F6')||(input.LA(1)>='\\u00F8' && input.LA(1)<='\\u00FF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: ( '^' )?\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( (LA2_0=='^') ) {\r\n alt2=1;\r\n }\r\n switch (alt2) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop3:\r\n do {\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\r\n alt3=1;\r\n }\r\n\r\n\r\n switch (alt3) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop3;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34495:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // InternalSpringConfigDsl.g:34495:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // InternalSpringConfigDsl.g:34495:11: ( '^' )?\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0=='^') ) {\r\n alt1=1;\r\n }\r\n switch (alt1) {\r\n case 1 :\r\n // InternalSpringConfigDsl.g:34495:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // InternalSpringConfigDsl.g:34495:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop2:\r\n do {\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\r\n alt2=1;\r\n }\r\n\r\n\r\n switch (alt2) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop2;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: ( '^' )?\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( (LA3_0=='^') ) {\r\n alt3=1;\r\n }\r\n switch (alt3) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop4:\r\n do {\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {\r\n alt4=1;\r\n }\r\n\r\n\r\n switch (alt4) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop4;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1752:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalVizualizer.g:1752:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalVizualizer.g:1752:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalVizualizer.g:1752:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalVizualizer.g:1752:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalVizualizer.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INTEGER() throws RecognitionException {\n try {\n int _type = RULE_INTEGER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16703:14: ( ( '-' )? ( '0' .. '9' )+ )\n // InternalDSL.g:16703:16: ( '-' )? ( '0' .. '9' )+\n {\n // InternalDSL.g:16703:16: ( '-' )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='-') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // InternalDSL.g:16703:16: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n // InternalDSL.g:16703:21: ( '0' .. '9' )+\n int cnt5=0;\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalDSL.g:16703:22: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt5 >= 1 ) break loop5;\n EarlyExitException eee =\n new EarlyExitException(5, input);\n throw eee;\n }\n cnt5++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23482:10: ( '0' .. '9' ( '0' .. '9' | '_' )* )\n // InternalSpeADL.g:23482:12: '0' .. '9' ( '0' .. '9' | '_' )*\n {\n matchRange('0','9'); \n // InternalSpeADL.g:23482:21: ( '0' .. '9' | '_' )*\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')||LA5_0=='_') ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalSpeADL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||input.LA(1)=='_' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop5;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public TerminalRule getIDRule() {\r\n\t\treturn gaXtype.getIDRule();\r\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaXtype.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaXtype.getIDRule();\n\t}", "IdListRule createIdListRule();", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:9: ( ( '_' | 'a' .. 'z' | 'A' .. 'Z' ) ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )* )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:11: ( '_' | 'a' .. 'z' | 'A' .. 'Z' ) ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )*\n {\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse =\n new MismatchedSetException(null,input);\n recover(mse); throw mse;\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:35: ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public void setRuleId(Integer value) {\n setAttributeInternal(RULEID, value);\n }", "public final void mINT() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.INT;\r\n final int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:54:7: ( '0' .. '9' )+\r\n int cnt4 = 0;\r\n loop4: do {\r\n int alt4 = 2;\r\n final int LA4_0 = this.input.LA(1);\r\n\r\n if (LA4_0 >= '0' && LA4_0 <= '9') {\r\n alt4 = 1;\r\n }\r\n\r\n switch (alt4) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:54:7: '0' ..\r\n // '9'\r\n {\r\n this.matchRange('0', '9');\r\n\r\n }\r\n break;\r\n\r\n default:\r\n if (cnt4 >= 1) {\r\n break loop4;\r\n }\r\n final EarlyExitException eee = new EarlyExitException(4, this.input);\r\n throw eee;\r\n }\r\n cnt4++;\r\n } while (true);\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public final void mRULE_INTEGER() throws RecognitionException {\n try {\n int _type = RULE_INTEGER;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:14: ( ( '0' .. '9' )+ )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:16: ( '0' .. '9' )+\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:16: ( '0' .. '9' )+\n int cnt8=0;\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:17: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt8 >= 1 ) break loop8;\n EarlyExitException eee =\n new EarlyExitException(8, input);\n throw eee;\n }\n cnt8++;\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_REALINT() throws RecognitionException {\n try {\n int _type = RULE_REALINT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2284:14: ( ( '-' )? RULE_INT )\n // InternalDSL.g:2284:16: ( '-' )? RULE_INT\n {\n // InternalDSL.g:2284:16: ( '-' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='-') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalDSL.g:2284:16: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n mRULE_INT(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public int getRuleId() {\n\t\treturn ruleId;\n\t}", "public Integer getRuleId() {\n return (Integer) getAttributeInternal(RULEID);\n }", "public final void mINT() throws RecognitionException {\n try {\n int _type = INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2945:2: ( ( DIGIT )+ )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2945:4: ( DIGIT )+\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2945:4: ( DIGIT )+\n int cnt9=0;\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='0' && LA9_0<='9')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2945:5: DIGIT\n \t {\n \t mDIGIT(); if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt9 >= 1 ) break loop9;\n \t if (state.backtracking>0) {state.failed=true; return ;}\n EarlyExitException eee =\n new EarlyExitException(9, input);\n throw eee;\n }\n cnt9++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void synpred3_InternalGo_fragment() throws RecognitionException { \r\n // InternalGo.g:3135:2: ( ( RULE_ID ) )\r\n // InternalGo.g:3135:2: ( RULE_ID )\r\n {\r\n // InternalGo.g:3135:2: ( RULE_ID )\r\n // InternalGo.g:3136:3: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_0()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n\r\n }\r\n }", "public void setRuleId(String ruleId) {\n this.ruleId = ruleId;\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public int getRuleID()\n {\n return schema.getRuleID();\n }", "public String getRuleId() {\n return ruleId;\n }", "public final void synpred142_AstValidator_fragment() throws RecognitionException {\n // /home/hoang/DATA/WORKSPACE/trunk0408/src/org/apache/pig/parser/AstValidator.g:467:31: ( INTEGER )\n // /home/hoang/DATA/WORKSPACE/trunk0408/src/org/apache/pig/parser/AstValidator.g:467:31: INTEGER\n {\n match(input,INTEGER,FOLLOW_INTEGER_in_synpred142_AstValidator2387); if (state.failed) return ;\n\n }\n\n }", "public final EObject ruleIntType() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n\n enterRule(); \n \n try {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:371:28: ( ( () otherlv_1= 'int' ) )\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:372:1: ( () otherlv_1= 'int' )\n {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:372:1: ( () otherlv_1= 'int' )\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:372:2: () otherlv_1= 'int'\n {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:372:2: ()\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:373:5: \n {\n\n current = forceCreateModelElement(\n grammarAccess.getIntTypeAccess().getIntTypeAction_0(),\n current);\n \n\n }\n\n otherlv_1=(Token)match(input,17,FOLLOW_17_in_ruleIntType826); \n\n \tnewLeafNode(otherlv_1, grammarAccess.getIntTypeAccess().getIntKeyword_1());\n \n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public Rule idExpr()\n \t{\n \t\treturn firstOf(idExprReq(), id());\n \t}", "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "public final void entryRuleInt1() throws RecognitionException {\n try {\n // InternalMyDsl.g:354:1: ( ruleInt1 EOF )\n // InternalMyDsl.g:355:1: ruleInt1 EOF\n {\n before(grammarAccess.getInt1Rule()); \n pushFollow(FOLLOW_1);\n ruleInt1();\n\n state._fsp--;\n\n after(grammarAccess.getInt1Rule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public void setRuleId(String value) {\r\n setAttributeInternal(RULEID, value);\r\n }", "public TerminalRule getIDRule() {\r\n\t\treturn gaTerminals.getIDRule();\r\n\t}", "public TerminalRule getIDRule() {\r\n\t\treturn gaTerminals.getIDRule();\r\n\t}", "public TerminalRule getIDRule() {\r\n\t\treturn gaTerminals.getIDRule();\r\n\t}", "public TerminalRule getIDRule() {\r\n\t\treturn gaTerminals.getIDRule();\r\n\t}", "public final void ruleInt1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:366:2: ( ( 'Int' ) )\n // InternalMyDsl.g:367:2: ( 'Int' )\n {\n // InternalMyDsl.g:367:2: ( 'Int' )\n // InternalMyDsl.g:368:3: 'Int'\n {\n before(grammarAccess.getInt1Access().getIntKeyword()); \n match(input,11,FOLLOW_2); \n after(grammarAccess.getInt1Access().getIntKeyword()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public TerminalRule getIDRule() {\n\t\treturn gaTerminals.getIDRule();\n\t}", "public String getRuleID() {\n\t\treturn adaptee.getConstraint().getDescriptor().getId();\n\t}", "@Override\r\n\tpublic Object visitIntLitExpression(IntLitExpression intLitExpression,\r\n\t\t\tObject arg) throws Exception {\r\n\t\tintLitExpression.setType(intType);\r\n\t\treturn intType;\r\n\t}", "public final void mRULE_MINUS_INTEGER() throws RecognitionException {\n try {\n int _type = RULE_MINUS_INTEGER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:85:20: ( '-' ( RULE_DIGIT )+ )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:85:22: '-' ( RULE_DIGIT )+\n {\n match('-'); \n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:85:26: ( RULE_DIGIT )+\n int cnt1=0;\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='0' && LA1_0<='9')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:85:26: RULE_DIGIT\n \t {\n \t mRULE_DIGIT(); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt1 >= 1 ) break loop1;\n EarlyExitException eee =\n new EarlyExitException(1, input);\n throw eee;\n }\n cnt1++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final ANTLRv3Parser.id_return id() throws RecognitionException {\r\n ANTLRv3Parser.id_return retval = new ANTLRv3Parser.id_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token TOKEN_REF198=null;\r\n Token RULE_REF199=null;\r\n\r\n CommonTree TOKEN_REF198_tree=null;\r\n CommonTree RULE_REF199_tree=null;\r\n RewriteRuleTokenStream stream_RULE_REF=new RewriteRuleTokenStream(adaptor,\"token RULE_REF\");\r\n RewriteRuleTokenStream stream_TOKEN_REF=new RewriteRuleTokenStream(adaptor,\"token TOKEN_REF\");\r\n\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:464:4: ( TOKEN_REF -> ID[$TOKEN_REF] | RULE_REF -> ID[$RULE_REF] )\r\n int alt85=2;\r\n int LA85_0 = input.LA(1);\r\n\r\n if ( (LA85_0==TOKEN_REF) ) {\r\n alt85=1;\r\n }\r\n else if ( (LA85_0==RULE_REF) ) {\r\n alt85=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 85, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n switch (alt85) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:464:6: TOKEN_REF\r\n {\r\n TOKEN_REF198=(Token)match(input,TOKEN_REF,FOLLOW_TOKEN_REF_in_id3241); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_TOKEN_REF.add(TOKEN_REF198);\r\n\r\n\r\n // AST REWRITE\r\n // elements: \r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 464:16: -> ID[$TOKEN_REF]\r\n {\r\n adaptor.addChild(root_0, \r\n (CommonTree)adaptor.create(ID, TOKEN_REF198)\r\n );\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:465:4: RULE_REF\r\n {\r\n RULE_REF199=(Token)match(input,RULE_REF,FOLLOW_RULE_REF_in_id3251); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_RULE_REF.add(RULE_REF199);\r\n\r\n\r\n // AST REWRITE\r\n // elements: \r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 465:14: -> ID[$RULE_REF]\r\n {\r\n adaptor.addChild(root_0, \r\n (CommonTree)adaptor.create(ID, RULE_REF199)\r\n );\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n break;\r\n\r\n }\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "public final void ruleValidID() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCsv.g:592:2: ( ( RULE_ID ) )\n // InternalCsv.g:593:2: ( RULE_ID )\n {\n // InternalCsv.g:593:2: ( RULE_ID )\n // InternalCsv.g:594:3: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public final void mINT() throws RecognitionException {\n try {\n int _type = INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:29:5: ( ( '0' .. '9' )+ )\n // metamorph.runtime/src/antlr/Ast.g:29:7: ( '0' .. '9' )+\n {\n // metamorph.runtime/src/antlr/Ast.g:29:7: ( '0' .. '9' )+\n int cnt2=0;\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0 >= '0' && LA2_0 <= '9')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // metamorph.runtime/src/antlr/Ast.g:\n \t {\n \t if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {\n \t input.consume();\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt2 >= 1 ) break loop2;\n EarlyExitException eee =\n new EarlyExitException(2, input);\n throw eee;\n }\n cnt2++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public String getRuleId() {\n return this.RuleId;\n }", "public final void ruleInt0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:191:2: ( ( 'Int' ) )\n // InternalMyDsl.g:192:2: ( 'Int' )\n {\n // InternalMyDsl.g:192:2: ( 'Int' )\n // InternalMyDsl.g:193:3: 'Int'\n {\n before(grammarAccess.getInt0Access().getIntKeyword()); \n match(input,11,FOLLOW_2); \n after(grammarAccess.getInt0Access().getIntKeyword()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public void setRule(int rule) {\n\t\tthis.rule = rule;\n\t}", "public final EObject entryRuleIntType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleIntType = null;\n\n\n try {\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:360:2: (iv_ruleIntType= ruleIntType EOF )\n // ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:361:2: iv_ruleIntType= ruleIntType EOF\n {\n newCompositeNode(grammarAccess.getIntTypeRule()); \n pushFollow(FOLLOW_ruleIntType_in_entryRuleIntType770);\n iv_ruleIntType=ruleIntType();\n\n state._fsp--;\n\n current =iv_ruleIntType; \n match(input,EOF,FOLLOW_EOF_in_entryRuleIntType780); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public final void rule__IDENTIFIER__Group_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalGo.g:4957:1: ( ( RULE_ID ) )\r\n // InternalGo.g:4958:1: ( RULE_ID )\r\n {\r\n // InternalGo.g:4958:1: ( RULE_ID )\r\n // InternalGo.g:4959:2: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_1_1()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIDENTIFIERAccess().getIDTerminalRuleCall_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "public final gUnitParser.id_return id() throws RecognitionException {\n\t\tgUnitParser.id_return retval = new gUnitParser.id_return();\n\t\tretval.start = input.LT(1);\n\n\t\tToken TOKEN_REF16=null;\n\t\tToken RULE_REF17=null;\n\n\t\ttry {\n\t\t\t// org/antlr/gunit/gUnit.g:176:2: ( TOKEN_REF | RULE_REF )\n\t\t\tint alt14=2;\n\t\t\tint LA14_0 = input.LA(1);\n\t\t\tif ( (LA14_0==TOKEN_REF) ) {\n\t\t\t\talt14=1;\n\t\t\t}\n\t\t\telse if ( (LA14_0==RULE_REF) ) {\n\t\t\t\talt14=2;\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 14, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\n\t\t\tswitch (alt14) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:176:4: TOKEN_REF\n\t\t\t\t\t{\n\t\t\t\t\tTOKEN_REF16=(Token)match(input,TOKEN_REF,FOLLOW_TOKEN_REF_in_id422); \n\t\t\t\t\tretval.line = (TOKEN_REF16!=null?TOKEN_REF16.getLine():0);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:177:4: RULE_REF\n\t\t\t\t\t{\n\t\t\t\t\tRULE_REF17=(Token)match(input,RULE_REF,FOLLOW_RULE_REF_in_id429); \n\t\t\t\t\tretval.line = (RULE_REF17!=null?RULE_REF17.getLine():0);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tretval.stop = input.LT(-1);\n\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn retval;\n\t}", "public final void entryRuleInt0() throws RecognitionException {\n try {\n // InternalMyDsl.g:179:1: ( ruleInt0 EOF )\n // InternalMyDsl.g:180:1: ruleInt0 EOF\n {\n before(grammarAccess.getInt0Rule()); \n pushFollow(FOLLOW_1);\n ruleInt0();\n\n state._fsp--;\n\n after(grammarAccess.getInt0Rule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public final void mRANGE_OR_INT() throws RecognitionException {\n try {\n int _type = RANGE_OR_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:5: ( ( INT '..' )=> INT | ( INT '.' NAME )=> INT | ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT | INT )\n int alt12=4;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='0' && LA12_0<='9')) ) {\n int LA12_1 = input.LA(2);\n\n if ( ((LA12_1>='0' && LA12_1<='9')) && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (LA12_1=='.') && (synpred3_Binding())) {\n alt12=3;\n }\n else if ( (synpred1_Binding()) ) {\n alt12=1;\n }\n else if ( (synpred2_Binding()) ) {\n alt12=2;\n }\n else if ( (true) ) {\n alt12=4;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 1, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 0, input);\n\n throw nvae;\n }\n switch (alt12) {\n case 1 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2954:9: ( INT '..' )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 2 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2955:7: ( INT '.' NAME )=> INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n case 3 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2956:9: ( INT '.' ~ ( '.' | 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\\\u00C0' .. '\\\\u00D6' | '\\\\u00D8' .. '\\\\u00F6' | '\\\\u00F8' .. '\\\\u00FF' ) )=> FLOAT\n {\n mFLOAT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = FLOAT; \n }\n\n }\n break;\n case 4 :\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2963:9: INT\n {\n mINT(); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n _type = INT; \n }\n\n }\n break;\n\n }\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Override\n public void visitIntLiteral(IntLiteral node){\n mPrintWriter.println(\"#Integer\");\n mPrintWriter.println(\"ldi r24,lo8(\"+node.getIntValue()+\")\");\n mPrintWriter.println(\"ldi r25,hi8(\"+node.getIntValue()+\")\");\n mPrintWriter.println(\"push r25\");\n mPrintWriter.println(\"push r24\");\n }" ]
[ "0.71224236", "0.7027942", "0.6977073", "0.6951975", "0.6914981", "0.6905315", "0.68468815", "0.6801681", "0.6787721", "0.6773665", "0.67654043", "0.67417437", "0.6723587", "0.66947734", "0.66927135", "0.6678529", "0.6646455", "0.65425164", "0.6534108", "0.651814", "0.6513181", "0.6503289", "0.6486217", "0.64492536", "0.6429916", "0.64207554", "0.641681", "0.64072627", "0.64063543", "0.64054763", "0.63680977", "0.6343828", "0.6337023", "0.62565094", "0.625124", "0.62251925", "0.6197962", "0.61539274", "0.6124882", "0.6038221", "0.5862042", "0.5846602", "0.5846602", "0.5842431", "0.58181137", "0.57128245", "0.5706308", "0.56739265", "0.5564232", "0.55171907", "0.54739994", "0.54533523", "0.5450908", "0.542362", "0.54116255", "0.5393669", "0.5392753", "0.53720635", "0.5352025", "0.5339098", "0.5315239", "0.5310213", "0.5288766", "0.52884287", "0.5288029", "0.5288029", "0.5288029", "0.5288029", "0.52875185", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5278837", "0.5261896", "0.52612305", "0.5247181", "0.5245887", "0.52457434", "0.5242244", "0.52334654", "0.5186103", "0.5174731", "0.5167224", "0.51649976", "0.51459855", "0.50988084", "0.50972855", "0.5093272", "0.5084329", "0.50707555" ]
0.6905719
5
$ANTLR end "RULE_INT" $ANTLR start "RULE_STRING"
public final void mRULE_STRING() throws RecognitionException { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:2290:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) // InternalDSL.g:2290:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { // InternalDSL.g:2290:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt8=2; int LA8_0 = input.LA(1); if ( (LA8_0=='\"') ) { alt8=1; } else if ( (LA8_0=='\'') ) { alt8=2; } else { NoViableAltException nvae = new NoViableAltException("", 8, 0, input); throw nvae; } switch (alt8) { case 1 : // InternalDSL.g:2290:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); // InternalDSL.g:2290:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop6: do { int alt6=3; int LA6_0 = input.LA(1); if ( (LA6_0=='\\') ) { alt6=1; } else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) { alt6=2; } switch (alt6) { case 1 : // InternalDSL.g:2290:21: '\\\\' . { match('\\'); matchAny(); } break; case 2 : // InternalDSL.g:2290:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse;} } break; default : break loop6; } } while (true); match('\"'); } break; case 2 : // InternalDSL.g:2290:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); // InternalDSL.g:2290:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop7: do { int alt7=3; int LA7_0 = input.LA(1); if ( (LA7_0=='\\') ) { alt7=1; } else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) { alt7=2; } switch (alt7) { case 1 : // InternalDSL.g:2290:54: '\\\\' . { match('\\'); matchAny(); } break; case 2 : // InternalDSL.g:2290:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse;} } break; default : break loop7; } } while (true); match('\''); } break; } } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TerminalRule getSTRINGRule() {\r\n\t\treturn gaXtype.getSTRINGRule();\r\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaXtype.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaXtype.getSTRINGRule();\n\t}", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_STRING_0=null;\n Token this_ID_1=null;\n\n enterRule(); \n \n try {\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:308:28: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:309:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n {\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:309:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0==RULE_STRING) ) {\n alt10=1;\n }\n else if ( (LA10_0==RULE_ID) ) {\n alt10=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 10, 0, input);\n\n throw nvae;\n }\n switch (alt10) {\n case 1 :\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:309:6: this_STRING_0= RULE_STRING\n {\n this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleEString524); \n\n \t\tcurrent.merge(this_STRING_0);\n \n \n newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); \n \n\n }\n break;\n case 2 :\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:317:10: this_ID_1= RULE_ID\n {\n this_ID_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEString550); \n\n \t\tcurrent.merge(this_ID_1);\n \n \n newLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); \n \n\n }\n break;\n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:10: ( ( '0' .. '9' )+ )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:12: ( '0' .. '9' )+\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:12: ( '0' .. '9' )+\r\n int cnt4=0;\r\n loop4:\r\n do {\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\r\n alt4=1;\r\n }\r\n\r\n\r\n switch (alt4) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2483:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt4 >= 1 ) break loop4;\r\n EarlyExitException eee =\r\n new EarlyExitException(4, input);\r\n throw eee;\r\n }\r\n cnt4++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_STRING_0=null;\n Token this_ID_1=null;\n\n enterRule(); \n \n try {\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:384:28: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:385:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n {\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:385:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0==RULE_STRING) ) {\n alt6=1;\n }\n else if ( (LA6_0==RULE_ID) ) {\n alt6=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 6, 0, input);\n\n throw nvae;\n }\n switch (alt6) {\n case 1 :\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:385:6: this_STRING_0= RULE_STRING\n {\n this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleEString877); \n\n \t\tcurrent.merge(this_STRING_0);\n \n \n newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); \n \n\n }\n break;\n case 2 :\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:393:10: this_ID_1= RULE_ID\n {\n this_ID_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEString903); \n\n \t\tcurrent.merge(this_ID_1);\n \n \n newLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); \n \n\n }\n break;\n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_STRING_0=null;\n Token this_ID_1=null;\n\n enterRule(); \n \n try {\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:423:28: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:424:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n {\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:424:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0==RULE_STRING) ) {\n alt9=1;\n }\n else if ( (LA9_0==RULE_ID) ) {\n alt9=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 9, 0, input);\n\n throw nvae;\n }\n switch (alt9) {\n case 1 :\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:424:6: this_STRING_0= RULE_STRING\n {\n this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleEString814); \n\n \t\tcurrent.merge(this_STRING_0);\n \n \n newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); \n \n\n }\n break;\n case 2 :\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:432:10: this_ID_1= RULE_ID\n {\n this_ID_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEString840); \n\n \t\tcurrent.merge(this_ID_1);\n \n \n newLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); \n \n\n }\n break;\n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2136:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6370:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:6370:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:6370:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalMyDsl.g:6370:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1720:10: ( ( '0' .. '9' )+ )\n // InternalReqLNG.g:1720:12: ( '0' .. '9' )+\n {\n // InternalReqLNG.g:1720:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalReqLNG.g:1720:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\r\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\r\n\r\n Token this_STRING_0=null;\r\n Token this_ID_1=null;\r\n\r\n\r\n \tenterRule();\r\n\r\n try {\r\n // InternalEsportDsl.g:1202:2: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\r\n // InternalEsportDsl.g:1203:2: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\r\n {\r\n // InternalEsportDsl.g:1203:2: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\r\n int alt22=2;\r\n int LA22_0 = input.LA(1);\r\n\r\n if ( (LA22_0==RULE_STRING) ) {\r\n alt22=1;\r\n }\r\n else if ( (LA22_0==RULE_ID) ) {\r\n alt22=2;\r\n }\r\n else {\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 22, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt22) {\r\n case 1 :\r\n // InternalEsportDsl.g:1204:3: this_STRING_0= RULE_STRING\r\n {\r\n this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_2); \r\n\r\n \t\t\tcurrent.merge(this_STRING_0);\r\n \t\t\r\n\r\n \t\t\tnewLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0());\r\n \t\t\r\n\r\n }\r\n break;\r\n case 2 :\r\n // InternalEsportDsl.g:1212:3: this_ID_1= RULE_ID\r\n {\r\n this_ID_1=(Token)match(input,RULE_ID,FOLLOW_2); \r\n\r\n \t\t\tcurrent.merge(this_ID_1);\r\n \t\t\r\n\r\n \t\t\tnewLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1());\r\n \t\t\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n \tleaveRule();\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34497:10: ( ( '0' .. '9' )+ )\r\n // InternalSpringConfigDsl.g:34497:12: ( '0' .. '9' )+\r\n {\r\n // InternalSpringConfigDsl.g:34497:12: ( '0' .. '9' )+\r\n int cnt3=0;\r\n loop3:\r\n do {\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\r\n alt3=1;\r\n }\r\n\r\n\r\n switch (alt3) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:34497:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt3 >= 1 ) break loop3;\r\n EarlyExitException eee =\r\n new EarlyExitException(3, input);\r\n throw eee;\r\n }\r\n cnt3++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5113:10: ( ( '0' .. '9' )+ )\n // InternalUniMapperGenerator.g:5113:12: ( '0' .. '9' )+\n {\n // InternalUniMapperGenerator.g:5113:12: ( '0' .. '9' )+\n int cnt5=0;\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalUniMapperGenerator.g:5113:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt5 >= 1 ) break loop5;\n EarlyExitException eee =\n new EarlyExitException(5, input);\n throw eee;\n }\n cnt5++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n // InternalDSL.g:2288:19: ( ( '0' .. '9' )+ )\n // InternalDSL.g:2288:21: ( '0' .. '9' )+\n {\n // InternalDSL.g:2288:21: ( '0' .. '9' )+\n int cnt5=0;\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalDSL.g:2288:22: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt5 >= 1 ) break loop5;\n EarlyExitException eee =\n new EarlyExitException(5, input);\n throw eee;\n }\n cnt5++;\n } while (true);\n\n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7230:10: ( ( '0' .. '9' )+ )\n // InternalIotLuaXtext.g:7230:12: ( '0' .. '9' )+\n {\n // InternalIotLuaXtext.g:7230:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:7230:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:10: ( ( '0' .. '9' )+ )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:12: ( '0' .. '9' )+\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:12: ( '0' .. '9' )+\r\n int cnt5=0;\r\n loop5:\r\n do {\r\n int alt5=2;\r\n int LA5_0 = input.LA(1);\r\n\r\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\r\n alt5=1;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3475:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt5 >= 1 ) break loop5;\r\n EarlyExitException eee =\r\n new EarlyExitException(5, input);\r\n throw eee;\r\n }\r\n cnt5++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void ruleEStringAsInt() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:271:2: ( ( RULE_INT ) )\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:272:1: ( RULE_INT )\n {\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:272:1: ( RULE_INT )\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:273:1: RULE_INT\n {\n before(grammarAccess.getEStringAsIntAccess().getINTTerminalRuleCall()); \n match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleEStringAsInt519); \n after(grammarAccess.getEStringAsIntAccess().getINTTerminalRuleCall()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2387:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:2387:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:2387:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalMyDsl.g:2387:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:10: ( ( '-' )? ( '0' .. '9' )+ )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:12: ( '-' )? ( '0' .. '9' )+\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:12: ( '-' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='-') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:12: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:17: ( '0' .. '9' )+\n int cnt2=0;\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:659:18: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt2 >= 1 ) break loop2;\n EarlyExitException eee =\n new EarlyExitException(2, input);\n throw eee;\n }\n cnt2++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:847:10: ( ( '0' .. '9' )+ )\n // InternalStateMachine.g:847:12: ( '0' .. '9' )+\n {\n // InternalStateMachine.g:847:12: ( '0' .. '9' )+\n int cnt4=0;\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalStateMachine.g:847:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt4 >= 1 ) break loop4;\n EarlyExitException eee =\n new EarlyExitException(4, input);\n throw eee;\n }\n cnt4++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:12: ( '0' .. '9' )+\n int cnt9=0;\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='0' && LA9_0<='9')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2535:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt9 >= 1 ) break loop9;\n EarlyExitException eee =\n new EarlyExitException(9, input);\n throw eee;\n }\n cnt9++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_STRING_0=null;\n Token this_ID_1=null;\n\n\n \tenterRule();\n\n try {\n // InternalStl.g:1807:2: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\n // InternalStl.g:1808:2: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n {\n // InternalStl.g:1808:2: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n int alt26=2;\n int LA26_0 = input.LA(1);\n\n if ( (LA26_0==RULE_STRING) ) {\n alt26=1;\n }\n else if ( (LA26_0==RULE_ID) ) {\n alt26=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 26, 0, input);\n\n throw nvae;\n }\n switch (alt26) {\n case 1 :\n // InternalStl.g:1809:3: this_STRING_0= RULE_STRING\n {\n this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tcurrent.merge(this_STRING_0);\n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0());\n \t\t\n }\n\n }\n break;\n case 2 :\n // InternalStl.g:1817:3: this_ID_1= RULE_ID\n {\n this_ID_1=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tcurrent.merge(this_ID_1);\n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1());\n \t\t\n }\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n\n \tleaveRule();\n\n }\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:10: ( ( '0' .. '9' )+ )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:12: ( '0' .. '9' )+\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40361:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public TerminalRule getSTRINGRule() {\r\n\t\treturn gaTerminals.getSTRINGRule();\r\n\t}", "public TerminalRule getSTRINGRule() {\r\n\t\treturn gaTerminals.getSTRINGRule();\r\n\t}", "public TerminalRule getSTRINGRule() {\r\n\t\treturn gaTerminals.getSTRINGRule();\r\n\t}", "public TerminalRule getSTRINGRule() {\r\n\t\treturn gaTerminals.getSTRINGRule();\r\n\t}", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15370:10: ( ( '0' .. '9' )+ )\n // InternalMyDsl.g:15370:12: ( '0' .. '9' )+\n {\n // InternalMyDsl.g:15370:12: ( '0' .. '9' )+\n int cnt9=0;\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='0' && LA9_0<='9')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalMyDsl.g:15370:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt9 >= 1 ) break loop9;\n EarlyExitException eee =\n new EarlyExitException(9, input);\n throw eee;\n }\n cnt9++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaTerminals.getSTRINGRule();\n\t}", "public final void rule__IdOrString__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:339:1: ( ( RULE_ID ) | ( RULE_STRING ) )\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0==RULE_ID) ) {\n alt3=1;\n }\n else if ( (LA3_0==RULE_STRING) ) {\n alt3=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"335:1: rule__IdOrString__Alternatives : ( ( RULE_ID ) | ( RULE_STRING ) );\", 3, 0, input);\n\n throw nvae;\n }\n switch (alt3) {\n case 1 :\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:340:1: ( RULE_ID )\n {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:340:1: ( RULE_ID )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:341:1: RULE_ID\n {\n before(grammarAccess.getIdOrStringAccess().getIDTerminalRuleCall_0()); \n match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_rule__IdOrString__Alternatives665); \n after(grammarAccess.getIdOrStringAccess().getIDTerminalRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:346:6: ( RULE_STRING )\n {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:346:6: ( RULE_STRING )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:347:1: RULE_STRING\n {\n before(grammarAccess.getIdOrStringAccess().getSTRINGTerminalRuleCall_1()); \n match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_rule__IdOrString__Alternatives682); \n after(grammarAccess.getIdOrStringAccess().getSTRINGTerminalRuleCall_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public final void mRULE_INT() throws RecognitionException {\r\n try {\r\n int _type = RULE_INT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:10: ( ( '0' .. '9' )+ )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:12: ( '0' .. '9' )+\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:12: ( '0' .. '9' )+\r\n int cnt11=0;\r\n loop11:\r\n do {\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( ((LA11_0>='0' && LA11_0<='9')) ) {\r\n alt11=1;\r\n }\r\n\r\n\r\n switch (alt11) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19804:13: '0' .. '9'\r\n \t {\r\n \t matchRange('0','9'); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt11 >= 1 ) break loop11;\r\n EarlyExitException eee =\r\n new EarlyExitException(11, input);\r\n throw eee;\r\n }\r\n cnt11++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_STRING_0=null;\n Token this_ID_1=null;\n\n\n \tenterRule();\n\n try {\n // InternalSPDSL.g:267:2: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\n // InternalSPDSL.g:268:2: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n {\n // InternalSPDSL.g:268:2: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0==RULE_STRING) ) {\n alt4=1;\n }\n else if ( (LA4_0==RULE_ID) ) {\n alt4=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 4, 0, input);\n\n throw nvae;\n }\n switch (alt4) {\n case 1 :\n // InternalSPDSL.g:269:3: this_STRING_0= RULE_STRING\n {\n this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_2); \n\n \t\t\tcurrent.merge(this_STRING_0);\n \t\t\n\n \t\t\tnewLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0());\n \t\t\n\n }\n break;\n case 2 :\n // InternalSPDSL.g:277:3: this_ID_1= RULE_ID\n {\n this_ID_1=(Token)match(input,RULE_ID,FOLLOW_2); \n\n \t\t\tcurrent.merge(this_ID_1);\n \t\t\n\n \t\t\tnewLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1());\n \t\t\n\n }\n break;\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7228:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalIotLuaXtext.g:7228:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalIotLuaXtext.g:7228:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalIotLuaXtext.g:7228:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalIotLuaXtext.g:7228:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1718:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalReqLNG.g:1718:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalReqLNG.g:1718:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalReqLNG.g:1718:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalReqLNG.g:1718:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalReqLNG.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "public final EObject ruleLiteral() throws RecognitionException {\n EObject current = null;\n int ruleLiteral_StartIndex = input.index();\n EObject this_IntLiteral_0 = null;\n\n EObject this_RealLiteral_1 = null;\n\n EObject this_BooleanLiteral_2 = null;\n\n EObject this_StringLiteral_3 = null;\n\n EObject this_NullLiteral_4 = null;\n\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 106) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4551:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral | this_BooleanLiteral_2= ruleBooleanLiteral | this_StringLiteral_3= ruleStringLiteral | this_NullLiteral_4= ruleNullLiteral ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4552:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral | this_BooleanLiteral_2= ruleBooleanLiteral | this_StringLiteral_3= ruleStringLiteral | this_NullLiteral_4= ruleNullLiteral )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4552:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral | this_BooleanLiteral_2= ruleBooleanLiteral | this_StringLiteral_3= ruleStringLiteral | this_NullLiteral_4= ruleNullLiteral )\n int alt76=5;\n switch ( input.LA(1) ) {\n case RULE_INT:\n {\n alt76=1;\n }\n break;\n case RULE_FLOAT:\n {\n alt76=2;\n }\n break;\n case KEYWORD_61:\n case KEYWORD_55:\n {\n alt76=3;\n }\n break;\n case RULE_STRING:\n {\n alt76=4;\n }\n break;\n case KEYWORD_51:\n {\n alt76=5;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 76, 0, input);\n\n throw nvae;\n }\n\n switch (alt76) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4553:2: this_IntLiteral_0= ruleIntLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getIntLiteralParserRuleCall_0()); \n \n }\n pushFollow(FOLLOW_ruleIntLiteral_in_ruleLiteral9222);\n this_IntLiteral_0=ruleIntLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_IntLiteral_0;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n case 2 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4566:2: this_RealLiteral_1= ruleRealLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getRealLiteralParserRuleCall_1()); \n \n }\n pushFollow(FOLLOW_ruleRealLiteral_in_ruleLiteral9252);\n this_RealLiteral_1=ruleRealLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_RealLiteral_1;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n case 3 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4579:2: this_BooleanLiteral_2= ruleBooleanLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_2()); \n \n }\n pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral9282);\n this_BooleanLiteral_2=ruleBooleanLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_BooleanLiteral_2;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n case 4 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4592:2: this_StringLiteral_3= ruleStringLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_3()); \n \n }\n pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral9312);\n this_StringLiteral_3=ruleStringLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_StringLiteral_3;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n case 5 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4605:2: this_NullLiteral_4= ruleNullLiteral\n {\n if ( state.backtracking==0 ) {\n \n \t /* */ \n \t\n }\n if ( state.backtracking==0 ) {\n \n newCompositeNode(grammarAccess.getLiteralAccess().getNullLiteralParserRuleCall_4()); \n \n }\n pushFollow(FOLLOW_ruleNullLiteral_in_ruleLiteral9342);\n this_NullLiteral_4=ruleNullLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = this_NullLiteral_4;\n afterParserOrEnumRuleCall();\n \n }\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 106, ruleLiteral_StartIndex); }\n }\n return current;\n }", "public final EObject ruleStringLiteral() throws RecognitionException {\n EObject current = null;\n\n Token lv_value_0_0=null;\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4706:6: ( ( (lv_value_0_0= RULE_STRING ) ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4707:1: ( (lv_value_0_0= RULE_STRING ) )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4707:1: ( (lv_value_0_0= RULE_STRING ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4708:1: (lv_value_0_0= RULE_STRING )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4708:1: (lv_value_0_0= RULE_STRING )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4709:3: lv_value_0_0= RULE_STRING\n {\n lv_value_0_0=(Token)input.LT(1);\n match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral8227); \n\n \t\t\tcreateLeafNode(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0(), \"value\"); \n \t\t\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getStringLiteralRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode, current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"value\",\n \t \t\tlv_value_0_0, \n \t \t\t\"STRING\", \n \t \t\tlastConsumedNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t \n\n }\n\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23486:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* )\n // InternalSpeADL.g:23486:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )*\n {\n // InternalSpeADL.g:23486:11: ( '^' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='^') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // InternalSpeADL.g:23486:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalSpeADL.g:23486:44: ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='$'||(LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalSpeADL.g:\n \t {\n \t if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12799:13: ( '$' )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12799:15: '$'\n {\n match('$'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16701:9: ( ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalDSL.g:16701:11: ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalDSL.g:16701:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalDSL.g:16701:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalDSL.g:16701:31: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INTEGER() throws RecognitionException {\n try {\n int _type = RULE_INTEGER;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:14: ( ( '0' .. '9' )+ )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:16: ( '0' .. '9' )+\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:16: ( '0' .. '9' )+\n int cnt8=0;\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6932:17: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt8 >= 1 ) break loop8;\n EarlyExitException eee =\n new EarlyExitException(8, input);\n throw eee;\n }\n cnt8++;\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:10: ( ( '0' .. '9' )+ )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:12: ( '0' .. '9' )+\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:12: ( '0' .. '9' )+\n int cnt24=0;\n loop24:\n do {\n int alt24=2;\n int LA24_0 = input.LA(1);\n\n if ( ((LA24_0>='0' && LA24_0<='9')) ) {\n alt24=1;\n }\n\n\n switch (alt24) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:95:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt24 >= 1 ) break loop24;\n EarlyExitException eee =\n new EarlyExitException(24, input);\n throw eee;\n }\n cnt24++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1754:10: ( ( '0' .. '9' )+ )\n // InternalVizualizer.g:1754:12: ( '0' .. '9' )+\n {\n // InternalVizualizer.g:1754:12: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalVizualizer.g:1754:13: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2286:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalDSL.g:2286:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalDSL.g:2286:11: ( '^' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='^') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // InternalDSL.g:2286:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalDSL.g:2286:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop4;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )?\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( (LA22_0=='^') ) {\n alt22=1;\n }\n switch (alt22) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop23:\n do {\n int alt23=2;\n int LA23_0 = input.LA(1);\n\n if ( ((LA23_0>='0' && LA23_0<='9')||(LA23_0>='A' && LA23_0<='Z')||LA23_0=='_'||(LA23_0>='a' && LA23_0<='z')) ) {\n alt23=1;\n }\n\n\n switch (alt23) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop23;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INT() throws RecognitionException {\n try {\n int _type = RULE_INT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2581:10: ( ( '-' )? ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ )? )\n // InternalCucumber.g:2581:12: ( '-' )? ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ )?\n {\n // InternalCucumber.g:2581:12: ( '-' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='-') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalCucumber.g:2581:12: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n // InternalCucumber.g:2581:17: ( '0' .. '9' )+\n int cnt2=0;\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalCucumber.g:2581:18: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt2 >= 1 ) break loop2;\n EarlyExitException eee =\n new EarlyExitException(2, input);\n throw eee;\n }\n cnt2++;\n } while (true);\n\n // InternalCucumber.g:2581:29: ( '.' ( '0' .. '9' )+ )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='.') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // InternalCucumber.g:2581:30: '.' ( '0' .. '9' )+\n {\n match('.'); \n // InternalCucumber.g:2581:34: ( '0' .. '9' )+\n int cnt3=0;\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalCucumber.g:2581:35: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt3 >= 1 ) break loop3;\n EarlyExitException eee =\n new EarlyExitException(3, input);\n throw eee;\n }\n cnt3++;\n } while (true);\n\n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2385:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:2385:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:2385:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalMyDsl.g:2385:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:2385:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )?\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='^') ) {\n alt6=1;\n }\n switch (alt6) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( ((LA7_0>='0' && LA7_0<='9')||(LA7_0>='A' && LA7_0<='Z')||LA7_0=='_'||(LA7_0>='a' && LA7_0<='z')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_INTEGER() throws RecognitionException {\n try {\n int _type = RULE_INTEGER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16703:14: ( ( '-' )? ( '0' .. '9' )+ )\n // InternalDSL.g:16703:16: ( '-' )? ( '0' .. '9' )+\n {\n // InternalDSL.g:16703:16: ( '-' )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='-') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // InternalDSL.g:16703:16: '-'\n {\n match('-'); \n\n }\n break;\n\n }\n\n // InternalDSL.g:16703:21: ( '0' .. '9' )+\n int cnt5=0;\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>='0' && LA5_0<='9')) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalDSL.g:16703:22: '0' .. '9'\n \t {\n \t matchRange('0','9'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt5 >= 1 ) break loop5;\n EarlyExitException eee =\n new EarlyExitException(5, input);\n throw eee;\n }\n cnt5++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:845:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalStateMachine.g:845:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalStateMachine.g:845:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalStateMachine.g:845:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalStateMachine.g:845:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalStateMachine.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6368:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:6368:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:6368:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalMyDsl.g:6368:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:6368:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "StringExpression createStringExpression();", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: ( '^' )?\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( (LA2_0=='^') ) {\r\n alt2=1;\r\n }\r\n switch (alt2) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2481:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop3:\r\n do {\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\r\n alt3=1;\r\n }\r\n\r\n\r\n switch (alt3) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop3;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "java.lang.String getRule();", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15368:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalMyDsl.g:15368:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalMyDsl.g:15368:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // InternalMyDsl.g:15368:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalMyDsl.g:15368:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34495:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // InternalSpringConfigDsl.g:34495:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // InternalSpringConfigDsl.g:34495:11: ( '^' )?\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0=='^') ) {\r\n alt1=1;\r\n }\r\n switch (alt1) {\r\n case 1 :\r\n // InternalSpringConfigDsl.g:34495:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // InternalSpringConfigDsl.g:34495:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop2:\r\n do {\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\r\n alt2=1;\r\n }\r\n\r\n\r\n switch (alt2) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop2;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final EObject ruleStringLiteral() throws RecognitionException {\n EObject current = null;\n\n Token lv_value_1_0=null;\n\n enterRule(); \n \n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1873:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1874:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1874:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1874:2: () ( (lv_value_1_0= RULE_STRING ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1874:2: ()\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1875:5: \n {\n if ( state.backtracking==0 ) {\n\n current = forceCreateModelElement(\n grammarAccess.getStringLiteralAccess().getStringLiteralAction_0(),\n current);\n \n }\n\n }\n\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1880:2: ( (lv_value_1_0= RULE_STRING ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1881:1: (lv_value_1_0= RULE_STRING )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1881:1: (lv_value_1_0= RULE_STRING )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1882:3: lv_value_1_0= RULE_STRING\n {\n lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral4466); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); \n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getStringLiteralRule());\n \t }\n \t\tsetWithLastConsumed(\n \t\t\tcurrent, \n \t\t\t\"value\",\n \t\tlv_value_1_0, \n \t\t\"STRING\");\n \t \n }\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )?\r\n int alt14=2;\r\n int LA14_0 = input.LA(1);\r\n\r\n if ( (LA14_0=='^') ) {\r\n alt14=1;\r\n }\r\n switch (alt14) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop15:\r\n do {\r\n int alt15=2;\r\n int LA15_0 = input.LA(1);\r\n\r\n if ( ((LA15_0>='0' && LA15_0<='9')||(LA15_0>='A' && LA15_0<='Z')||LA15_0=='_'||(LA15_0>='a' && LA15_0<='z')) ) {\r\n alt15=1;\r\n }\r\n\r\n\r\n switch (alt15) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop15;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "StringLiteralExp createStringLiteralExp();", "public final void entryRuleIdOrString() throws RecognitionException {\n try {\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:258:1: ( ruleIdOrString EOF )\n // ../org.eclipse.ese.android.dsl.ui/src-gen/org/eclipse/ese/ui/contentassist/antlr/internal/InternalAndroid.g:259:1: ruleIdOrString EOF\n {\n before(grammarAccess.getIdOrStringRule()); \n pushFollow(FollowSets000.FOLLOW_ruleIdOrString_in_entryRuleIdOrString481);\n ruleIdOrString();\n _fsp--;\n\n after(grammarAccess.getIdOrStringRule()); \n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleIdOrString488); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:9: ( ( '_' | 'a' .. 'z' | 'A' .. 'Z' ) ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )* )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:11: ( '_' | 'a' .. 'z' | 'A' .. 'Z' ) ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )*\n {\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse =\n new MismatchedSetException(null,input);\n recover(mse); throw mse;\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6926:35: ( '0' .. '9' | '_' | 'a' .. 'z' | 'A' .. 'Z' )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void entryRuleEStringAsInt() throws RecognitionException {\n try {\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:259:1: ( ruleEStringAsInt EOF )\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:260:1: ruleEStringAsInt EOF\n {\n before(grammarAccess.getEStringAsIntRule()); \n pushFollow(FOLLOW_ruleEStringAsInt_in_entryRuleEStringAsInt486);\n ruleEStringAsInt();\n\n state._fsp--;\n\n after(grammarAccess.getEStringAsIntRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleEStringAsInt493); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "public final void rule__EString__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:432:1: ( ( RULE_STRING ) | ( RULE_ID ) )\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0==RULE_STRING) ) {\n alt2=1;\n }\n else if ( (LA2_0==RULE_ID) ) {\n alt2=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 0, input);\n\n throw nvae;\n }\n switch (alt2) {\n case 1 :\n // InternalMyDsl.g:433:2: ( RULE_STRING )\n {\n // InternalMyDsl.g:433:2: ( RULE_STRING )\n // InternalMyDsl.g:434:3: RULE_STRING\n {\n before(grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); \n match(input,RULE_STRING,FOLLOW_2); \n after(grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); \n\n }\n\n\n }\n break;\n case 2 :\n // InternalMyDsl.g:439:2: ( RULE_ID )\n {\n // InternalMyDsl.g:439:2: ( RULE_ID )\n // InternalMyDsl.g:440:3: RULE_ID\n {\n before(grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); \n\n }\n\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public RamString(String string) throws IllegalArgumentException{\r\n if (string == null) {\r\n throw new IllegalArgumentException(\"Input cannot be null.\");\r\n }\r\n this.string = string; }", "public final EObject ruleStringLiteral() throws RecognitionException {\n EObject current = null;\n int ruleStringLiteral_StartIndex = input.index();\n Token lv_stringValue_0_0=null;\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 108) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4636:28: ( ( (lv_stringValue_0_0= RULE_STRING ) ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4637:1: ( (lv_stringValue_0_0= RULE_STRING ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4637:1: ( (lv_stringValue_0_0= RULE_STRING ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4638:1: (lv_stringValue_0_0= RULE_STRING )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4638:1: (lv_stringValue_0_0= RULE_STRING )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:4639:3: lv_stringValue_0_0= RULE_STRING\n {\n lv_stringValue_0_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral9427); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(lv_stringValue_0_0, grammarAccess.getStringLiteralAccess().getStringValueSTRINGTerminalRuleCall_0()); \n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getStringLiteralRule());\n \t }\n \t\tsetWithLastConsumed(\n \t\t\tcurrent, \n \t\t\t\"stringValue\",\n \t\tlv_stringValue_0_0, \n \t\t\"STRING\");\n \t \n }\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 108, ruleStringLiteral_StartIndex); }\n }\n return current;\n }", "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13288:9: ( ( '^' )? ( RULE_LETTER | '_' ) ( RULE_LETTER | '_' | '0' .. '9' )* )\n // InternalEsm.g:13288:11: ( '^' )? ( RULE_LETTER | '_' ) ( RULE_LETTER | '_' | '0' .. '9' )*\n {\n // InternalEsm.g:13288:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalEsm.g:13288:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\\u00C0' && input.LA(1)<='\\u00D6')||(input.LA(1)>='\\u00D8' && input.LA(1)<='\\u00F6')||(input.LA(1)>='\\u00F8' && input.LA(1)<='\\u00FF') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalEsm.g:13288:34: ( RULE_LETTER | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')||(LA2_0>='\\u00C0' && LA2_0<='\\u00D6')||(LA2_0>='\\u00D8' && LA2_0<='\\u00F6')||(LA2_0>='\\u00F8' && LA2_0<='\\u00FF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalEsm.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\\u00C0' && input.LA(1)<='\\u00D6')||(input.LA(1)>='\\u00D8' && input.LA(1)<='\\u00F6')||(input.LA(1)>='\\u00F8' && input.LA(1)<='\\u00FF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: ( '^' )?\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( (LA3_0=='^') ) {\r\n alt3=1;\r\n }\r\n switch (alt3) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3473:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop4:\r\n do {\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {\r\n alt4=1;\r\n }\r\n\r\n\r\n switch (alt4) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop4;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "@Test\n public void testExploratoryString() throws IOException {\n String simplestProgram = \"x := 1;\" +\n \"y :={0,1,2,33};\" +\n \"if (x>y) then \" +\n \"{x:=1;} \" +\n \"else \" +\n \"{y:=1;}\";\n\n CharStream inputCharStream = new ANTLRInputStream(new StringReader(simplestProgram));\n TokenSource tokenSource = new GrammarLexer(inputCharStream);\n TokenStream inputTokenStream = new CommonTokenStream(tokenSource);\n GrammarParser parser = new GrammarParser(inputTokenStream);\n\n //parser.addErrorListener(new TestErrorListener());\n parser.setErrorHandler(new BailErrorStrategy());\n\n GrammarParser.ProgramContext context = parser.program();\n\n System.out.println(context.getText());\n\n logger.info(context.toString());\n }", "public final EObject ruleLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject this_NumericLiteral_0 = null;\n\n EObject this_BooleanLiteral_1 = null;\n\n EObject this_StringLiteral_2 = null;\n\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4359:6: ( (this_NumericLiteral_0= ruleNumericLiteral | this_BooleanLiteral_1= ruleBooleanLiteral | this_StringLiteral_2= ruleStringLiteral ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4360:1: (this_NumericLiteral_0= ruleNumericLiteral | this_BooleanLiteral_1= ruleBooleanLiteral | this_StringLiteral_2= ruleStringLiteral )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4360:1: (this_NumericLiteral_0= ruleNumericLiteral | this_BooleanLiteral_1= ruleBooleanLiteral | this_StringLiteral_2= ruleStringLiteral )\n int alt64=3;\n switch ( input.LA(1) ) {\n case RULE_REAL:\n case RULE_INTEGER:\n {\n alt64=1;\n }\n break;\n case 76:\n case 77:\n {\n alt64=2;\n }\n break;\n case RULE_STRING:\n {\n alt64=3;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"4360:1: (this_NumericLiteral_0= ruleNumericLiteral | this_BooleanLiteral_1= ruleBooleanLiteral | this_StringLiteral_2= ruleStringLiteral )\", 64, 0, input);\n\n throw nvae;\n }\n\n switch (alt64) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4361:5: this_NumericLiteral_0= ruleNumericLiteral\n {\n \n currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_0(), currentNode); \n \n pushFollow(FOLLOW_ruleNumericLiteral_in_ruleLiteral7558);\n this_NumericLiteral_0=ruleNumericLiteral();\n _fsp--;\n\n \n current = this_NumericLiteral_0; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n case 2 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4371:5: this_BooleanLiteral_1= ruleBooleanLiteral\n {\n \n currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_1(), currentNode); \n \n pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral7585);\n this_BooleanLiteral_1=ruleBooleanLiteral();\n _fsp--;\n\n \n current = this_BooleanLiteral_1; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n case 3 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:4381:5: this_StringLiteral_2= ruleStringLiteral\n {\n \n currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2(), currentNode); \n \n pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral7612);\n this_StringLiteral_2=ruleStringLiteral();\n _fsp--;\n\n \n current = this_StringLiteral_2; \n currentNode = currentNode.getParent();\n \n\n }\n break;\n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "private static Expr parseValue(String string) {\r\n\t\tif (string.isEmpty()) return null;\r\n\r\n\t\tchar first = string.charAt(0);\r\n\t\tif (first != '\"' && first != '-' && isReserved(first)) {\r\n\t\t\treturn new ExprUnary(Operator.get(Character.toString(first)), new ExprVal(string.substring(1)));\r\n\t\t} else {\r\n\t\t\treturn new ExprVal(string);\r\n\t\t}\r\n\t}", "@Override\n\tpublic Handle stringLiteral(TerminalAST stringLiteralAST) {\n\t\tString chars = stringLiteralAST.getText();\n\t\tATNState left = newState(stringLiteralAST);\n\t\tATNState right;\n\t\tString s = CharSupport.getStringFromGrammarStringLiteral(chars);\n\t\tif (s == null) {\n\t\t\t// the lexer will already have given an error\n\t\t\treturn new Handle(left, left);\n\t\t}\n\n\t\tint n = s.length();\n\t\tATNState prev = left;\n\t\tright = null;\n\t\tfor (int i = 0; i < n; ) {\n\t\t\tright = newState(stringLiteralAST);\n\t\t\tint codePoint = s.codePointAt(i);\n\t\t\tprev.addTransition(createTransition(right, codePoint, codePoint, stringLiteralAST));\n\t\t\tprev = right;\n\t\t\ti += Character.charCount(codePoint);\n\t\t}\n\t\tstringLiteralAST.atnState = left;\n\t\treturn new Handle(left, right);\n\t}", "String getInt_lit();", "<C> StringLiteralExp<C> createStringLiteralExp();", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:13: ( '\\\"' (~ ( ( '\\\\\\\\' | '\\\"' ) ) | '\\\\\\\\' ( '\\\\'' | '\\\"' | '?' | '\\\\\\\\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' ) )* '\\\"' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:15: '\\\"' (~ ( ( '\\\\\\\\' | '\\\"' ) ) | '\\\\\\\\' ( '\\\\'' | '\\\"' | '?' | '\\\\\\\\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' ) )* '\\\"'\n {\n match('\\\"'); \n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:19: (~ ( ( '\\\\\\\\' | '\\\"' ) ) | '\\\\\\\\' ( '\\\\'' | '\\\"' | '?' | '\\\\\\\\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' ) )*\n loop2:\n do {\n int alt2=3;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='\\u0000' && LA2_0<='!')||(LA2_0>='#' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\\uFFFE')) ) {\n alt2=1;\n }\n else if ( (LA2_0=='\\\\') ) {\n alt2=2;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:20: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFE') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:34: '\\\\\\\\' ( '\\\\'' | '\\\"' | '?' | '\\\\\\\\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' )\n \t {\n \t match('\\\\'); \n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='?'||input.LA(1)=='\\\\'||(input.LA(1)>='a' && input.LA(1)<='b')||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t'||input.LA(1)=='v' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void ruleString0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:241:2: ( ( 'String' ) )\n // InternalMyDsl.g:242:2: ( 'String' )\n {\n // InternalMyDsl.g:242:2: ( 'String' )\n // InternalMyDsl.g:243:3: 'String'\n {\n before(grammarAccess.getString0Access().getStringKeyword()); \n match(input,13,FOLLOW_2); \n after(grammarAccess.getString0Access().getStringKeyword()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "@Test\n\tpublic void test_TCC___String_String_int() {\n {\n\n \t\t@SuppressWarnings(\"deprecation\")\n\t\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", AttributeType.ID.ordinal());\n \t\tassertTrue(\"incorrect attribute name\", attribute.getName().equals(\"test\"));\n \t\tassertTrue(\"incoorect attribute value\", attribute.getValue().equals(\"value\"));\n \t\tassertTrue(\"incorrect Namespace\", attribute.getNamespace().equals(Namespace.NO_NAMESPACE));\n\n assertEquals(\"incoorect attribute type\", attribute.getAttributeType(), Attribute.ID_TYPE);\n }\n\n\t}", "public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; }", "public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; }", "public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; }", "public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; }", "public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; }" ]
[ "0.6050415", "0.60277456", "0.60277456", "0.58526784", "0.5785938", "0.57319313", "0.57084656", "0.5693293", "0.56550896", "0.5648826", "0.56330603", "0.56287485", "0.5583691", "0.55671376", "0.5553853", "0.55499053", "0.55208296", "0.55076444", "0.5501312", "0.5490232", "0.5487964", "0.5461936", "0.54495335", "0.53774464", "0.53558695", "0.5343059", "0.53415436", "0.53415436", "0.53415436", "0.53415436", "0.5328727", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.5321615", "0.53088903", "0.52680856", "0.52621907", "0.52424496", "0.5233275", "0.52265286", "0.5187971", "0.5181445", "0.5179676", "0.51616704", "0.51606476", "0.51576173", "0.5151872", "0.5141302", "0.51384526", "0.51299375", "0.5124027", "0.51174", "0.51070255", "0.5105109", "0.51012176", "0.50956744", "0.50786", "0.5071439", "0.5057526", "0.50570565", "0.50456405", "0.50324404", "0.50281996", "0.49954647", "0.4994293", "0.49851072", "0.49824014", "0.4979891", "0.49691463", "0.49400362", "0.49207416", "0.49144945", "0.4908947", "0.48934874", "0.48929968", "0.48737195", "0.48655048", "0.48635596", "0.4840484", "0.48337123", "0.4827592", "0.48207143", "0.481473", "0.48146474", "0.48135713", "0.48019728", "0.48019728", "0.48019728", "0.48019728", "0.48019728" ]
0.0
-1
$ANTLR end "RULE_STRING" $ANTLR start "RULE_ML_COMMENT"
public final void mRULE_ML_COMMENT() throws RecognitionException { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:2292:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) // InternalDSL.g:2292:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); // InternalDSL.g:2292:24: ( options {greedy=false; } : . )* loop9: do { int alt9=2; int LA9_0 = input.LA(1); if ( (LA9_0=='*') ) { int LA9_1 = input.LA(2); if ( (LA9_1=='/') ) { alt9=2; } else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) { alt9=1; } } else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) { alt9=1; } switch (alt9) { case 1 : // InternalDSL.g:2292:52: . { matchAny(); } break; default : break loop9; } } while (true); match("*/"); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:24: ( options {greedy=false; } : . )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='*') ) {\n int LA1_1 = input.LA(2);\n\n if ( (LA1_1=='/') ) {\n alt1=2;\n }\n else if ( ((LA1_1>='\\u0000' && LA1_1<='.')||(LA1_1>='0' && LA1_1<='\\uFFFF')) ) {\n alt1=1;\n }\n\n\n }\n else if ( ((LA1_0>='\\u0000' && LA1_0<=')')||(LA1_0>='+' && LA1_0<='\\uFFFF')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:19: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:24: ( options {greedy=false; } : . )*\r\n loop8:\r\n do {\r\n int alt8=2;\r\n int LA8_0 = input.LA(1);\r\n\r\n if ( (LA8_0=='*') ) {\r\n int LA8_1 = input.LA(2);\r\n\r\n if ( (LA8_1=='/') ) {\r\n alt8=2;\r\n }\r\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n switch (alt8) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:52: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop8;\r\n }\r\n } while (true);\r\n\r\n match(\"*/\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:24: ( options {greedy=false; } : . )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='*') ) {\n int LA9_1 = input.LA(2);\n\n if ( (LA9_1=='/') ) {\n alt9=2;\n }\n else if ( ((LA9_1>='\\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\\uFFFE')) ) {\n alt9=1;\n }\n\n\n }\n else if ( ((LA9_0>='\\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\\uFFFE')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:24: ( options {greedy=false; } : . )*\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='*') ) {\n int LA11_1 = input.LA(2);\n\n if ( (LA11_1=='/') ) {\n alt11=2;\n }\n else if ( ((LA11_1>='\\u0000' && LA11_1<='.')||(LA11_1>='0' && LA11_1<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n }\n else if ( ((LA11_0>='\\u0000' && LA11_0<=')')||(LA11_0>='+' && LA11_0<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop11;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='\\u0000' && LA2_0<='\\t')||(LA2_0>='\\u000B' && LA2_0<='\\f')||(LA2_0>='\\u000E' && LA2_0<='\\uFFFF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='\\n'||LA4_0=='\\r') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:41: ( '\\\\r' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='\\r') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:19: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:24: ( options {greedy=false; } : . )*\r\n loop16:\r\n do {\r\n int alt16=2;\r\n int LA16_0 = input.LA(1);\r\n\r\n if ( (LA16_0=='*') ) {\r\n int LA16_1 = input.LA(2);\r\n\r\n if ( (LA16_1=='/') ) {\r\n alt16=2;\r\n }\r\n else if ( ((LA16_1>='\\u0000' && LA16_1<='.')||(LA16_1>='0' && LA16_1<='\\uFFFF')) ) {\r\n alt16=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA16_0>='\\u0000' && LA16_0<=')')||(LA16_0>='+' && LA16_0<='\\uFFFF')) ) {\r\n alt16=1;\r\n }\r\n\r\n\r\n switch (alt16) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:52: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop16;\r\n }\r\n } while (true);\r\n\r\n match(\"*/\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7234:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalIotLuaXtext.g:7234:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalIotLuaXtext.g:7234:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:7234:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:24: ( options {greedy=false; } : . )*\n loop28:\n do {\n int alt28=2;\n int LA28_0 = input.LA(1);\n\n if ( (LA28_0=='*') ) {\n int LA28_1 = input.LA(2);\n\n if ( (LA28_1=='/') ) {\n alt28=2;\n }\n else if ( ((LA28_1>='\\u0000' && LA28_1<='.')||(LA28_1>='0' && LA28_1<='\\uFFFF')) ) {\n alt28=1;\n }\n\n\n }\n else if ( ((LA28_0>='\\u0000' && LA28_0<=')')||(LA28_0>='+' && LA28_0<='\\uFFFF')) ) {\n alt28=1;\n }\n\n\n switch (alt28) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop28;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23490:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalSpeADL.g:23490:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalSpeADL.g:23490:24: ( options {greedy=false; } : . )*\n loop16:\n do {\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( (LA16_0=='*') ) {\n int LA16_1 = input.LA(2);\n\n if ( (LA16_1=='/') ) {\n alt16=2;\n }\n else if ( ((LA16_1>='\\u0000' && LA16_1<='.')||(LA16_1>='0' && LA16_1<='\\uFFFF')) ) {\n alt16=1;\n }\n\n\n }\n else if ( ((LA16_0>='\\u0000' && LA16_0<=')')||(LA16_0>='+' && LA16_0<='\\uFFFF')) ) {\n alt16=1;\n }\n\n\n switch (alt16) {\n \tcase 1 :\n \t // InternalSpeADL.g:23490:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop16;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13306:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalEsm.g:13306:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalEsm.g:13306:24: ( options {greedy=false; } : . )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='*') ) {\n int LA10_1 = input.LA(2);\n\n if ( (LA10_1=='/') ) {\n alt10=2;\n }\n else if ( ((LA10_1>='\\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\\uFFFF')) ) {\n alt10=1;\n }\n\n\n }\n else if ( ((LA10_0>='\\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\\uFFFF')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalEsm.g:13306:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:13: ( ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\\"') ) {\n alt12=1;\n }\n else if ( (LA12_0=='\\'') ) {\n alt12=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 0, input);\n\n throw nvae;\n }\n switch (alt12) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:16: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:20: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop10:\n do {\n int alt10=3;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\\\') ) {\n alt10=1;\n }\n else if ( ((LA10_0>='\\u0000' && LA10_0<='!')||(LA10_0>='#' && LA10_0<='[')||(LA10_0>=']' && LA10_0<='\\uFFFF')) ) {\n alt10=2;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:21: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:28: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:48: '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:53: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop11:\n do {\n int alt11=3;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\\\') ) {\n alt11=1;\n }\n else if ( ((LA11_0>='\\u0000' && LA11_0<='&')||(LA11_0>='(' && LA11_0<='[')||(LA11_0>=']' && LA11_0<='\\uFFFF')) ) {\n alt11=2;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:54: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2537:61: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop11;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:322:26: ( FRAGMENT_RULE_SL_COMMENT )\n // PsiInternalBacktrackingLexerTestLanguage.g:322:28: FRAGMENT_RULE_SL_COMMENT\n {\n mFRAGMENT_RULE_SL_COMMENT(); \n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:13: ( '\\\"' (~ ( ( '\\\\\\\\' | '\\\"' ) ) | '\\\\\\\\' ( '\\\\'' | '\\\"' | '?' | '\\\\\\\\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' ) )* '\\\"' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:15: '\\\"' (~ ( ( '\\\\\\\\' | '\\\"' ) ) | '\\\\\\\\' ( '\\\\'' | '\\\"' | '?' | '\\\\\\\\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' ) )* '\\\"'\n {\n match('\\\"'); \n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:19: (~ ( ( '\\\\\\\\' | '\\\"' ) ) | '\\\\\\\\' ( '\\\\'' | '\\\"' | '?' | '\\\\\\\\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' ) )*\n loop2:\n do {\n int alt2=3;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='\\u0000' && LA2_0<='!')||(LA2_0>='#' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\\uFFFE')) ) {\n alt2=1;\n }\n else if ( (LA2_0=='\\\\') ) {\n alt2=2;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:20: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFE') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6928:34: '\\\\\\\\' ( '\\\\'' | '\\\"' | '?' | '\\\\\\\\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' )\n \t {\n \t match('\\\\'); \n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='?'||input.LA(1)=='\\\\'||(input.LA(1)>='a' && input.LA(1)<='b')||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t'||input.LA(1)=='v' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15374:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalMyDsl.g:15374:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalMyDsl.g:15374:24: ( options {greedy=false; } : . )*\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='*') ) {\n int LA13_1 = input.LA(2);\n\n if ( (LA13_1=='/') ) {\n alt13=2;\n }\n else if ( ((LA13_1>='\\u0000' && LA13_1<='.')||(LA13_1>='0' && LA13_1<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n }\n else if ( ((LA13_0>='\\u0000' && LA13_0<=')')||(LA13_0>='+' && LA13_0<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // InternalMyDsl.g:15374:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop13;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mFRAGMENT_RULE_SL_COMMENT() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:323:35: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // PsiInternalBacktrackingLexerTestLanguage.g:323:37: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // PsiInternalBacktrackingLexerTestLanguage.g:323:42: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='\\u0000' && LA2_0<='\\t')||(LA2_0>='\\u000B' && LA2_0<='\\f')||(LA2_0>='\\u000E' && LA2_0<='\\uFFFF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // PsiInternalBacktrackingLexerTestLanguage.g:323:42: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n // PsiInternalBacktrackingLexerTestLanguage.g:323:58: ( ( '\\\\r' )? '\\\\n' )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='\\n'||LA4_0=='\\r') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // PsiInternalBacktrackingLexerTestLanguage.g:323:59: ( '\\\\r' )? '\\\\n'\n {\n // PsiInternalBacktrackingLexerTestLanguage.g:323:59: ( '\\\\r' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='\\r') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // PsiInternalBacktrackingLexerTestLanguage.g:323:59: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6374:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalMyDsl.g:6374:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalMyDsl.g:6374:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:6374:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1724:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalReqLNG.g:1724:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalReqLNG.g:1724:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalReqLNG.g:1724:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2391:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalMyDsl.g:2391:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalMyDsl.g:2391:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:2391:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:19: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:24: ( options {greedy=false; } : . )*\r\n loop9:\r\n do {\r\n int alt9=2;\r\n int LA9_0 = input.LA(1);\r\n\r\n if ( (LA9_0=='*') ) {\r\n int LA9_1 = input.LA(2);\r\n\r\n if ( (LA9_1=='/') ) {\r\n alt9=2;\r\n }\r\n else if ( ((LA9_1>='\\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\\uFFFF')) ) {\r\n alt9=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA9_0>='\\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\\uFFFF')) ) {\r\n alt9=1;\r\n }\r\n\r\n\r\n switch (alt9) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:52: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop9;\r\n }\r\n } while (true);\r\n\r\n match(\"*/\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\r\n try {\r\n int _type = RULE_STRING;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19806:13: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19806:15: '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\r\n {\r\n match('\\\"'); \r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19806:19: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\r\n loop12:\r\n do {\r\n int alt12=3;\r\n int LA12_0 = input.LA(1);\r\n\r\n if ( (LA12_0=='\\\\') ) {\r\n alt12=1;\r\n }\r\n else if ( ((LA12_0>='\\u0000' && LA12_0<='!')||(LA12_0>='#' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\\uFFFF')) ) {\r\n alt12=2;\r\n }\r\n\r\n\r\n switch (alt12) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19806:20: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\\\'' | '\\\\\\\\' )\r\n \t {\r\n \t match('\\\\'); \r\n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n \tcase 2 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19806:61: ~ ( ( '\\\\\\\\' | '\\\"' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop12;\r\n }\r\n } while (true);\r\n\r\n match('\\\"'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\r\n {\r\n match(\"//\"); \r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\r\n loop17:\r\n do {\r\n int alt17=2;\r\n int LA17_0 = input.LA(1);\r\n\r\n if ( ((LA17_0>='\\u0000' && LA17_0<='\\t')||(LA17_0>='\\u000B' && LA17_0<='\\f')||(LA17_0>='\\u000E' && LA17_0<='\\uFFFF')) ) {\r\n alt17=1;\r\n }\r\n\r\n\r\n switch (alt17) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:24: ~ ( ( '\\\\n' | '\\\\r' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop17;\r\n }\r\n } while (true);\r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:40: ( ( '\\\\r' )? '\\\\n' )?\r\n int alt19=2;\r\n int LA19_0 = input.LA(1);\r\n\r\n if ( (LA19_0=='\\n'||LA19_0=='\\r') ) {\r\n alt19=1;\r\n }\r\n switch (alt19) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:41: ( '\\\\r' )? '\\\\n'\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:41: ( '\\\\r' )?\r\n int alt18=2;\r\n int LA18_0 = input.LA(1);\r\n\r\n if ( (LA18_0=='\\r') ) {\r\n alt18=1;\r\n }\r\n switch (alt18) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:41: '\\\\r'\r\n {\r\n match('\\r'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n match('\\n'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_STRING() throws RecognitionException {\r\n try {\r\n int _type = RULE_STRING;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:13: ( ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\r\n int alt8=2;\r\n int LA8_0 = input.LA(1);\r\n\r\n if ( (LA8_0=='\\\"') ) {\r\n alt8=1;\r\n }\r\n else if ( (LA8_0=='\\'') ) {\r\n alt8=2;\r\n }\r\n else {\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 8, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt8) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:16: '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\r\n {\r\n match('\\\"'); \r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:20: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\r\n loop6:\r\n do {\r\n int alt6=3;\r\n int LA6_0 = input.LA(1);\r\n\r\n if ( (LA6_0=='\\\\') ) {\r\n alt6=1;\r\n }\r\n else if ( ((LA6_0>='\\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\\uFFFF')) ) {\r\n alt6=2;\r\n }\r\n\r\n\r\n switch (alt6) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:21: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\r\n \t {\r\n \t match('\\\\'); \r\n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n \tcase 2 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:66: ~ ( ( '\\\\\\\\' | '\\\"' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop6;\r\n }\r\n } while (true);\r\n\r\n match('\\\"'); \r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:86: '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\r\n {\r\n match('\\''); \r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:91: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\r\n loop7:\r\n do {\r\n int alt7=3;\r\n int LA7_0 = input.LA(1);\r\n\r\n if ( (LA7_0=='\\\\') ) {\r\n alt7=1;\r\n }\r\n else if ( ((LA7_0>='\\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\\uFFFF')) ) {\r\n alt7=2;\r\n }\r\n\r\n\r\n switch (alt7) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:92: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\r\n \t {\r\n \t match('\\\\'); \r\n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n \tcase 2 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3477:137: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop7;\r\n }\r\n } while (true);\r\n\r\n match('\\''); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2593:17: ( '#' (~ ( ( '\\\\n' | '\\\\r' ) ) )* RULE_NL )\n // InternalCucumber.g:2593:19: '#' (~ ( ( '\\\\n' | '\\\\r' ) ) )* RULE_NL\n {\n match('#'); \n // InternalCucumber.g:2593:23: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop17:\n do {\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( ((LA17_0>='\\u0000' && LA17_0<='\\t')||(LA17_0>='\\u000B' && LA17_0<='\\f')||(LA17_0>='\\u000E' && LA17_0<='\\uFFFF')) ) {\n alt17=1;\n }\n\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalCucumber.g:2593:23: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop17;\n }\n } while (true);\n\n mRULE_NL(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\u0000' && LA12_0<='\\t')||(LA12_0>='\\u000B' && LA12_0<='\\f')||(LA12_0>='\\u000E' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0=='\\n'||LA14_0=='\\r') ) {\n alt14=1;\n }\n switch (alt14) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:41: ( '\\\\r' )? '\\\\n'\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:41: ( '\\\\r' )?\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='\\r') ) {\n alt13=1;\n }\n switch (alt13) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop29:\n do {\n int alt29=2;\n int LA29_0 = input.LA(1);\n\n if ( ((LA29_0>='\\u0000' && LA29_0<='\\t')||(LA29_0>='\\u000B' && LA29_0<='\\f')||(LA29_0>='\\u000E' && LA29_0<='\\uFFFF')) ) {\n alt29=1;\n }\n\n\n switch (alt29) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop29;\n }\n } while (true);\n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt31=2;\n int LA31_0 = input.LA(1);\n\n if ( (LA31_0=='\\n'||LA31_0=='\\r') ) {\n alt31=1;\n }\n switch (alt31) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:41: ( '\\\\r' )?\n int alt30=2;\n int LA30_0 = input.LA(1);\n\n if ( (LA30_0=='\\r') ) {\n alt30=1;\n }\n switch (alt30) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\r\n {\r\n match(\"//\"); \r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\r\n loop9:\r\n do {\r\n int alt9=2;\r\n int LA9_0 = input.LA(1);\r\n\r\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\r\n alt9=1;\r\n }\r\n\r\n\r\n switch (alt9) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:24: ~ ( ( '\\\\n' | '\\\\r' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop9;\r\n }\r\n } while (true);\r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:40: ( ( '\\\\r' )? '\\\\n' )?\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\r\n alt11=1;\r\n }\r\n switch (alt11) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:41: ( '\\\\r' )? '\\\\n'\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:41: ( '\\\\r' )?\r\n int alt10=2;\r\n int LA10_0 = input.LA(1);\r\n\r\n if ( (LA10_0=='\\r') ) {\r\n alt10=1;\r\n }\r\n switch (alt10) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:41: '\\\\r'\r\n {\r\n match('\\r'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n match('\\n'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16709:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalDSL.g:16709:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalDSL.g:16709:24: ( options {greedy=false; } : . )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='*') ) {\n int LA12_1 = input.LA(2);\n\n if ( (LA12_1=='/') ) {\n alt12=2;\n }\n else if ( ((LA12_1>='\\u0000' && LA12_1<='.')||(LA12_1>='0' && LA12_1<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n }\n else if ( ((LA12_0>='\\u0000' && LA12_0<=')')||(LA12_0>='+' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalDSL.g:16709:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12799:13: ( '$' )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12799:15: '$'\n {\n match('$'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23492:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalSpeADL.g:23492:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalSpeADL.g:23492:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop17:\n do {\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( ((LA17_0>='\\u0000' && LA17_0<='\\t')||(LA17_0>='\\u000B' && LA17_0<='\\f')||(LA17_0>='\\u000E' && LA17_0<='\\uFFFF')) ) {\n alt17=1;\n }\n\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalSpeADL.g:23492:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop17;\n }\n } while (true);\n\n // InternalSpeADL.g:23492:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( (LA19_0=='\\n'||LA19_0=='\\r') ) {\n alt19=1;\n }\n switch (alt19) {\n case 1 :\n // InternalSpeADL.g:23492:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalSpeADL.g:23492:41: ( '\\\\r' )?\n int alt18=2;\n int LA18_0 = input.LA(1);\n\n if ( (LA18_0=='\\r') ) {\n alt18=1;\n }\n switch (alt18) {\n case 1 :\n // InternalSpeADL.g:23492:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( ((LA10_0>='\\u0000' && LA10_0<='\\t')||(LA10_0>='\\u000B' && LA10_0<='\\f')||(LA10_0>='\\u000E' && LA10_0<='\\uFFFE')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFE') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\n alt12=1;\n }\n switch (alt12) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:41: ( '\\\\r' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:13: ( ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='\\\"') ) {\n alt6=1;\n }\n else if ( (LA6_0=='\\'') ) {\n alt6=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 6, 0, input);\n\n throw nvae;\n }\n switch (alt6) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:16: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:20: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop4:\n do {\n int alt4=3;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='\\\\') ) {\n alt4=1;\n }\n else if ( ((LA4_0>='\\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\\uFFFF')) ) {\n alt4=2;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:21: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:28: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop4;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:48: '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:53: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop5:\n do {\n int alt5=3;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='\\\\') ) {\n alt5=1;\n }\n else if ( ((LA5_0>='\\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\\uFFFF')) ) {\n alt5=2;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:54: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2138:61: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop5;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34505:17: ( '<!--' ( options {greedy=false; } : . )* '-->' )\r\n // InternalSpringConfigDsl.g:34505:19: '<!--' ( options {greedy=false; } : . )* '-->'\r\n {\r\n match(\"<!--\"); \r\n\r\n // InternalSpringConfigDsl.g:34505:26: ( options {greedy=false; } : . )*\r\n loop8:\r\n do {\r\n int alt8=2;\r\n int LA8_0 = input.LA(1);\r\n\r\n if ( (LA8_0=='-') ) {\r\n int LA8_1 = input.LA(2);\r\n\r\n if ( (LA8_1=='-') ) {\r\n int LA8_3 = input.LA(3);\r\n\r\n if ( (LA8_3=='>') ) {\r\n alt8=2;\r\n }\r\n else if ( ((LA8_3>='\\u0000' && LA8_3<='=')||(LA8_3>='?' && LA8_3<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA8_1>='\\u0000' && LA8_1<=',')||(LA8_1>='.' && LA8_1<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA8_0>='\\u0000' && LA8_0<=',')||(LA8_0>='.' && LA8_0<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n switch (alt8) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:34505:54: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop8;\r\n }\r\n } while (true);\r\n\r\n match(\"-->\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13308:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalEsm.g:13308:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalEsm.g:13308:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\u0000' && LA11_0<='\\t')||(LA11_0>='\\u000B' && LA11_0<='\\f')||(LA11_0>='\\u000E' && LA11_0<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // InternalEsm.g:13308:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop11;\n }\n } while (true);\n\n // InternalEsm.g:13308:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='\\n'||LA13_0=='\\r') ) {\n alt13=1;\n }\n switch (alt13) {\n case 1 :\n // InternalEsm.g:13308:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalEsm.g:13308:41: ( '\\\\r' )?\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\r') ) {\n alt12=1;\n }\n switch (alt12) {\n case 1 :\n // InternalEsm.g:13308:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\r\n {\r\n match(\"//\"); \r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\r\n loop10:\r\n do {\r\n int alt10=2;\r\n int LA10_0 = input.LA(1);\r\n\r\n if ( ((LA10_0>='\\u0000' && LA10_0<='\\t')||(LA10_0>='\\u000B' && LA10_0<='\\f')||(LA10_0>='\\u000E' && LA10_0<='\\uFFFF')) ) {\r\n alt10=1;\r\n }\r\n\r\n\r\n switch (alt10) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:24: ~ ( ( '\\\\n' | '\\\\r' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop10;\r\n }\r\n } while (true);\r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:40: ( ( '\\\\r' )? '\\\\n' )?\r\n int alt12=2;\r\n int LA12_0 = input.LA(1);\r\n\r\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\r\n alt12=1;\r\n }\r\n switch (alt12) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:41: ( '\\\\r' )? '\\\\n'\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:41: ( '\\\\r' )?\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( (LA11_0=='\\r') ) {\r\n alt11=1;\r\n }\r\n switch (alt11) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:41: '\\\\r'\r\n {\r\n match('\\r'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n match('\\n'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1726:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalReqLNG.g:1726:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalReqLNG.g:1726:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalReqLNG.g:1726:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalReqLNG.g:1726:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalReqLNG.g:1726:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalReqLNG.g:1726:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalReqLNG.g:1726:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5145:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalUniMapperGenerator.g:5145:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalUniMapperGenerator.g:5145:24: ( options {greedy=false; } : . )*\n loop15:\n do {\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0=='*') ) {\n int LA15_1 = input.LA(2);\n\n if ( (LA15_1=='/') ) {\n alt15=2;\n }\n else if ( ((LA15_1>='\\u0000' && LA15_1<='.')||(LA15_1>='0' && LA15_1<='\\uFFFF')) ) {\n alt15=1;\n }\n\n\n }\n else if ( ((LA15_0>='\\u0000' && LA15_0<=')')||(LA15_0>='+' && LA15_0<='\\uFFFF')) ) {\n alt15=1;\n }\n\n\n switch (alt15) {\n \tcase 1 :\n \t // InternalUniMapperGenerator.g:5145:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop15;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2294:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalDSL.g:2294:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalDSL.g:2294:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( ((LA10_0>='\\u0000' && LA10_0<='\\t')||(LA10_0>='\\u000B' && LA10_0<='\\f')||(LA10_0>='\\u000E' && LA10_0<='\\uFFFF')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalDSL.g:2294:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n // InternalDSL.g:2294:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\n alt12=1;\n }\n switch (alt12) {\n case 1 :\n // InternalDSL.g:2294:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalDSL.g:2294:41: ( '\\\\r' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalDSL.g:2294:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final ANTLRv3Parser.grammarDef_return grammarDef() throws RecognitionException {\r\n ANTLRv3Parser.grammarDef_return retval = new ANTLRv3Parser.grammarDef_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token g=null;\r\n Token DOC_COMMENT1=null;\r\n Token string_literal2=null;\r\n Token string_literal3=null;\r\n Token string_literal4=null;\r\n Token char_literal6=null;\r\n Token EOF12=null;\r\n ANTLRv3Parser.id_return id5 =null;\r\n\r\n ANTLRv3Parser.optionsSpec_return optionsSpec7 =null;\r\n\r\n ANTLRv3Parser.tokensSpec_return tokensSpec8 =null;\r\n\r\n ANTLRv3Parser.attrScope_return attrScope9 =null;\r\n\r\n ANTLRv3Parser.action_return action10 =null;\r\n\r\n ANTLRv3Parser.rule_return rule11 =null;\r\n\r\n\r\n CommonTree g_tree=null;\r\n CommonTree DOC_COMMENT1_tree=null;\r\n CommonTree string_literal2_tree=null;\r\n CommonTree string_literal3_tree=null;\r\n CommonTree string_literal4_tree=null;\r\n CommonTree char_literal6_tree=null;\r\n CommonTree EOF12_tree=null;\r\n RewriteRuleTokenStream stream_DOC_COMMENT=new RewriteRuleTokenStream(adaptor,\"token DOC_COMMENT\");\r\n RewriteRuleTokenStream stream_90=new RewriteRuleTokenStream(adaptor,\"token 90\");\r\n RewriteRuleTokenStream stream_EOF=new RewriteRuleTokenStream(adaptor,\"token EOF\");\r\n RewriteRuleTokenStream stream_83=new RewriteRuleTokenStream(adaptor,\"token 83\");\r\n RewriteRuleTokenStream stream_84=new RewriteRuleTokenStream(adaptor,\"token 84\");\r\n RewriteRuleTokenStream stream_85=new RewriteRuleTokenStream(adaptor,\"token 85\");\r\n RewriteRuleTokenStream stream_76=new RewriteRuleTokenStream(adaptor,\"token 76\");\r\n RewriteRuleSubtreeStream stream_id=new RewriteRuleSubtreeStream(adaptor,\"rule id\");\r\n RewriteRuleSubtreeStream stream_tokensSpec=new RewriteRuleSubtreeStream(adaptor,\"rule tokensSpec\");\r\n RewriteRuleSubtreeStream stream_attrScope=new RewriteRuleSubtreeStream(adaptor,\"rule attrScope\");\r\n RewriteRuleSubtreeStream stream_rule=new RewriteRuleSubtreeStream(adaptor,\"rule rule\");\r\n RewriteRuleSubtreeStream stream_action=new RewriteRuleSubtreeStream(adaptor,\"rule action\");\r\n RewriteRuleSubtreeStream stream_optionsSpec=new RewriteRuleSubtreeStream(adaptor,\"rule optionsSpec\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:5: ( ( DOC_COMMENT )? ( 'lexer' | 'parser' | 'tree' |) g= 'grammar' id ';' ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ EOF -> ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ ) )\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: ( DOC_COMMENT )? ( 'lexer' | 'parser' | 'tree' |) g= 'grammar' id ';' ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ EOF\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: ( DOC_COMMENT )?\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0==DOC_COMMENT) ) {\r\n alt1=1;\r\n }\r\n switch (alt1) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: DOC_COMMENT\r\n {\r\n DOC_COMMENT1=(Token)match(input,DOC_COMMENT,FOLLOW_DOC_COMMENT_in_grammarDef367); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_DOC_COMMENT.add(DOC_COMMENT1);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:94:6: ( 'lexer' | 'parser' | 'tree' |)\r\n int alt2=4;\r\n switch ( input.LA(1) ) {\r\n case 84:\r\n {\r\n alt2=1;\r\n }\r\n break;\r\n case 85:\r\n {\r\n alt2=2;\r\n }\r\n break;\r\n case 90:\r\n {\r\n alt2=3;\r\n }\r\n break;\r\n case 83:\r\n {\r\n alt2=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 2, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n\r\n switch (alt2) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:94:8: 'lexer'\r\n {\r\n string_literal2=(Token)match(input,84,FOLLOW_84_in_grammarDef377); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_84.add(string_literal2);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=LEXER_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:95:10: 'parser'\r\n {\r\n string_literal3=(Token)match(input,85,FOLLOW_85_in_grammarDef395); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_85.add(string_literal3);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=PARSER_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 3 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:96:10: 'tree'\r\n {\r\n string_literal4=(Token)match(input,90,FOLLOW_90_in_grammarDef411); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_90.add(string_literal4);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=TREE_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 4 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:97:14: \r\n {\r\n if ( state.backtracking==0 ) {gtype=COMBINED_GRAMMAR;}\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n g=(Token)match(input,83,FOLLOW_83_in_grammarDef452); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_83.add(g);\r\n\r\n\r\n pushFollow(FOLLOW_id_in_grammarDef454);\r\n id5=id();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_id.add(id5.getTree());\r\n\r\n char_literal6=(Token)match(input,76,FOLLOW_76_in_grammarDef456); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_76.add(char_literal6);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:25: ( optionsSpec )?\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( (LA3_0==OPTIONS) ) {\r\n alt3=1;\r\n }\r\n switch (alt3) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:25: optionsSpec\r\n {\r\n pushFollow(FOLLOW_optionsSpec_in_grammarDef458);\r\n optionsSpec7=optionsSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_optionsSpec.add(optionsSpec7.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:38: ( tokensSpec )?\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( (LA4_0==TOKENS) ) {\r\n alt4=1;\r\n }\r\n switch (alt4) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:38: tokensSpec\r\n {\r\n pushFollow(FOLLOW_tokensSpec_in_grammarDef461);\r\n tokensSpec8=tokensSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_tokensSpec.add(tokensSpec8.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:50: ( attrScope )*\r\n loop5:\r\n do {\r\n int alt5=2;\r\n int LA5_0 = input.LA(1);\r\n\r\n if ( (LA5_0==SCOPE) ) {\r\n alt5=1;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:50: attrScope\r\n \t {\r\n \t pushFollow(FOLLOW_attrScope_in_grammarDef464);\r\n \t attrScope9=attrScope();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_attrScope.add(attrScope9.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop5;\r\n }\r\n } while (true);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:61: ( action )*\r\n loop6:\r\n do {\r\n int alt6=2;\r\n int LA6_0 = input.LA(1);\r\n\r\n if ( (LA6_0==AT) ) {\r\n alt6=1;\r\n }\r\n\r\n\r\n switch (alt6) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:61: action\r\n \t {\r\n \t pushFollow(FOLLOW_action_in_grammarDef467);\r\n \t action10=action();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_action.add(action10.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop6;\r\n }\r\n } while (true);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:100:6: ( rule )+\r\n int cnt7=0;\r\n loop7:\r\n do {\r\n int alt7=2;\r\n int LA7_0 = input.LA(1);\r\n\r\n if ( (LA7_0==DOC_COMMENT||LA7_0==FRAGMENT||LA7_0==RULE_REF||LA7_0==TOKEN_REF||(LA7_0 >= 86 && LA7_0 <= 88)) ) {\r\n alt7=1;\r\n }\r\n\r\n\r\n switch (alt7) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:100:6: rule\r\n \t {\r\n \t pushFollow(FOLLOW_rule_in_grammarDef475);\r\n \t rule11=rule();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_rule.add(rule11.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt7 >= 1 ) break loop7;\r\n \t if (state.backtracking>0) {state.failed=true; return retval;}\r\n EarlyExitException eee =\r\n new EarlyExitException(7, input);\r\n throw eee;\r\n }\r\n cnt7++;\r\n } while (true);\r\n\r\n\r\n EOF12=(Token)match(input,EOF,FOLLOW_EOF_in_grammarDef483); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_EOF.add(EOF12);\r\n\r\n\r\n // AST REWRITE\r\n // elements: attrScope, optionsSpec, tokensSpec, DOC_COMMENT, rule, action, id\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 102:6: -> ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:102:9: ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(adaptor.create(gtype,g), root_1);\r\n\r\n adaptor.addChild(root_1, stream_id.nextTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:12: ( DOC_COMMENT )?\r\n if ( stream_DOC_COMMENT.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_DOC_COMMENT.nextNode()\r\n );\r\n\r\n }\r\n stream_DOC_COMMENT.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:25: ( optionsSpec )?\r\n if ( stream_optionsSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_optionsSpec.nextTree());\r\n\r\n }\r\n stream_optionsSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:38: ( tokensSpec )?\r\n if ( stream_tokensSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_tokensSpec.nextTree());\r\n\r\n }\r\n stream_tokensSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:50: ( attrScope )*\r\n while ( stream_attrScope.hasNext() ) {\r\n adaptor.addChild(root_1, stream_attrScope.nextTree());\r\n\r\n }\r\n stream_attrScope.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:61: ( action )*\r\n while ( stream_action.hasNext() ) {\r\n adaptor.addChild(root_1, stream_action.nextTree());\r\n\r\n }\r\n stream_action.reset();\r\n\r\n if ( !(stream_rule.hasNext()) ) {\r\n throw new RewriteEarlyExitException();\r\n }\r\n while ( stream_rule.hasNext() ) {\r\n adaptor.addChild(root_1, stream_rule.nextTree());\r\n\r\n }\r\n stream_rule.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "DeclRule createDeclRule();", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:851:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalStateMachine.g:851:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalStateMachine.g:851:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalStateMachine.g:851:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_STRING_0=null;\n Token this_ID_1=null;\n\n enterRule(); \n \n try {\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:308:28: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:309:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n {\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:309:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0==RULE_STRING) ) {\n alt10=1;\n }\n else if ( (LA10_0==RULE_ID) ) {\n alt10=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 10, 0, input);\n\n throw nvae;\n }\n switch (alt10) {\n case 1 :\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:309:6: this_STRING_0= RULE_STRING\n {\n this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleEString524); \n\n \t\tcurrent.merge(this_STRING_0);\n \n \n newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); \n \n\n }\n break;\n case 2 :\n // ../ac.soton.xtext.contextDsl/src-gen/ac/soton/xtext/parser/antlr/internal/InternalContextDsl.g:317:10: this_ID_1= RULE_ID\n {\n this_ID_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEString550); \n\n \t\tcurrent.merge(this_ID_1);\n \n \n newLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); \n \n\n }\n break;\n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2393:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalMyDsl.g:2393:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalMyDsl.g:2393:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalMyDsl.g:2393:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalMyDsl.g:2393:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalMyDsl.g:2393:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalMyDsl.g:2393:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalMyDsl.g:2393:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6376:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalMyDsl.g:6376:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalMyDsl.g:6376:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalMyDsl.g:6376:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalMyDsl.g:6376:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalMyDsl.g:6376:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalMyDsl.g:6376:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalMyDsl.g:6376:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16711:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalDSL.g:16711:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalDSL.g:16711:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\u0000' && LA13_0<='\\t')||(LA13_0>='\\u000B' && LA13_0<='\\f')||(LA13_0>='\\u000E' && LA13_0<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // InternalDSL.g:16711:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop13;\n }\n } while (true);\n\n // InternalDSL.g:16711:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0=='\\n'||LA15_0=='\\r') ) {\n alt15=1;\n }\n switch (alt15) {\n case 1 :\n // InternalDSL.g:16711:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalDSL.g:16711:41: ( '\\\\r' )?\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0=='\\r') ) {\n alt14=1;\n }\n switch (alt14) {\n case 1 :\n // InternalDSL.g:16711:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15376:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalMyDsl.g:15376:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalMyDsl.g:15376:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop14:\n do {\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( ((LA14_0>='\\u0000' && LA14_0<='\\t')||(LA14_0>='\\u000B' && LA14_0<='\\f')||(LA14_0>='\\u000E' && LA14_0<='\\uFFFF')) ) {\n alt14=1;\n }\n\n\n switch (alt14) {\n \tcase 1 :\n \t // InternalMyDsl.g:15376:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop14;\n }\n } while (true);\n\n // InternalMyDsl.g:15376:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( (LA16_0=='\\n'||LA16_0=='\\r') ) {\n alt16=1;\n }\n switch (alt16) {\n case 1 :\n // InternalMyDsl.g:15376:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalMyDsl.g:15376:41: ( '\\\\r' )?\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0=='\\r') ) {\n alt15=1;\n }\n switch (alt15) {\n case 1 :\n // InternalMyDsl.g:15376:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:853:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalStateMachine.g:853:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalStateMachine.g:853:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalStateMachine.g:853:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalStateMachine.g:853:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalStateMachine.g:853:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalStateMachine.g:853:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalStateMachine.g:853:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public TerminalRule getSTRINGRule() {\n\t\treturn gaXtype.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\n\t\treturn gaXtype.getSTRINGRule();\n\t}", "public TerminalRule getSTRINGRule() {\r\n\t\treturn gaXtype.getSTRINGRule();\r\n\t}", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7236:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalIotLuaXtext.g:7236:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalIotLuaXtext.g:7236:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:7236:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // InternalIotLuaXtext.g:7236:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalIotLuaXtext.g:7236:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalIotLuaXtext.g:7236:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // InternalIotLuaXtext.g:7236:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void ruleListValue() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBrowser.g:541:2: ( ( ( RULE_STRING )* ) )\n // InternalBrowser.g:542:2: ( ( RULE_STRING )* )\n {\n // InternalBrowser.g:542:2: ( ( RULE_STRING )* )\n // InternalBrowser.g:543:3: ( RULE_STRING )*\n {\n before(grammarAccess.getListValueAccess().getSTRINGTerminalRuleCall()); \n // InternalBrowser.g:544:3: ( RULE_STRING )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0==RULE_STRING) ) {\n int LA2_2 = input.LA(2);\n\n if ( (LA2_2==EOF) ) {\n int LA2_3 = input.LA(3);\n\n if ( (LA2_3==EOF) ) {\n alt2=1;\n }\n\n\n }\n else if ( (LA2_2==RULE_STRING) ) {\n alt2=1;\n }\n\n\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalBrowser.g:544:4: RULE_STRING\n \t {\n \t match(input,RULE_STRING,FOLLOW_4); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n after(grammarAccess.getListValueAccess().getSTRINGTerminalRuleCall()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:13: ( ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt27=2;\n int LA27_0 = input.LA(1);\n\n if ( (LA27_0=='\\\"') ) {\n alt27=1;\n }\n else if ( (LA27_0=='\\'') ) {\n alt27=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 27, 0, input);\n\n throw nvae;\n }\n switch (alt27) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:16: '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:20: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop25:\n do {\n int alt25=3;\n int LA25_0 = input.LA(1);\n\n if ( (LA25_0=='\\\\') ) {\n alt25=1;\n }\n else if ( ((LA25_0>='\\u0000' && LA25_0<='!')||(LA25_0>='#' && LA25_0<='[')||(LA25_0>=']' && LA25_0<='\\uFFFF')) ) {\n alt25=2;\n }\n\n\n switch (alt25) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:21: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\n \t {\n \t match('\\\\'); \n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:66: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop25;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:86: '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:91: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop26:\n do {\n int alt26=3;\n int LA26_0 = input.LA(1);\n\n if ( (LA26_0=='\\\\') ) {\n alt26=1;\n }\n else if ( ((LA26_0>='\\u0000' && LA26_0<='&')||(LA26_0>='(' && LA26_0<='[')||(LA26_0>=']' && LA26_0<='\\uFFFF')) ) {\n alt26=2;\n }\n\n\n switch (alt26) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:92: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\n \t {\n \t match('\\\\'); \n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:97:137: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop26;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public BNFrule()\n {\n lhs = \"\";\n rhsSymbols = new ArrayList<String>();\n }", "StatementRule createStatementRule();", "public final void mRULE_DOC_STRING() throws RecognitionException {\n try {\n int _type = RULE_DOC_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2589:17: ( ( '\\\"\\\"\\\"' ( options {greedy=false; } : . )* '\\\"\\\"\\\"' | '\\\\'\\\\'\\\\'' ( options {greedy=false; } : . )* '\\\\'\\\\'\\\\'' ) RULE_NL )\n // InternalCucumber.g:2589:19: ( '\\\"\\\"\\\"' ( options {greedy=false; } : . )* '\\\"\\\"\\\"' | '\\\\'\\\\'\\\\'' ( options {greedy=false; } : . )* '\\\\'\\\\'\\\\'' ) RULE_NL\n {\n // InternalCucumber.g:2589:19: ( '\\\"\\\"\\\"' ( options {greedy=false; } : . )* '\\\"\\\"\\\"' | '\\\\'\\\\'\\\\'' ( options {greedy=false; } : . )* '\\\\'\\\\'\\\\'' )\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='\\\"') ) {\n alt13=1;\n }\n else if ( (LA13_0=='\\'') ) {\n alt13=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 13, 0, input);\n\n throw nvae;\n }\n switch (alt13) {\n case 1 :\n // InternalCucumber.g:2589:20: '\\\"\\\"\\\"' ( options {greedy=false; } : . )* '\\\"\\\"\\\"'\n {\n match(\"\\\"\\\"\\\"\"); \n\n // InternalCucumber.g:2589:26: ( options {greedy=false; } : . )*\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\\"') ) {\n int LA11_1 = input.LA(2);\n\n if ( (LA11_1=='\\\"') ) {\n int LA11_3 = input.LA(3);\n\n if ( (LA11_3=='\\\"') ) {\n alt11=2;\n }\n else if ( ((LA11_3>='\\u0000' && LA11_3<='!')||(LA11_3>='#' && LA11_3<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n }\n else if ( ((LA11_1>='\\u0000' && LA11_1<='!')||(LA11_1>='#' && LA11_1<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n }\n else if ( ((LA11_0>='\\u0000' && LA11_0<='!')||(LA11_0>='#' && LA11_0<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // InternalCucumber.g:2589:54: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop11;\n }\n } while (true);\n\n match(\"\\\"\\\"\\\"\"); \n\n\n }\n break;\n case 2 :\n // InternalCucumber.g:2589:64: '\\\\'\\\\'\\\\'' ( options {greedy=false; } : . )* '\\\\'\\\\'\\\\''\n {\n match(\"'''\"); \n\n // InternalCucumber.g:2589:73: ( options {greedy=false; } : . )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\'') ) {\n int LA12_1 = input.LA(2);\n\n if ( (LA12_1=='\\'') ) {\n int LA12_3 = input.LA(3);\n\n if ( (LA12_3=='\\'') ) {\n alt12=2;\n }\n else if ( ((LA12_3>='\\u0000' && LA12_3<='&')||(LA12_3>='(' && LA12_3<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n }\n else if ( ((LA12_1>='\\u0000' && LA12_1<='&')||(LA12_1>='(' && LA12_1<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n }\n else if ( ((LA12_0>='\\u0000' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalCucumber.g:2589:101: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n match(\"'''\"); \n\n\n }\n break;\n\n }\n\n mRULE_NL(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1758:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalVizualizer.g:1758:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalVizualizer.g:1758:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // InternalVizualizer.g:1758:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void setRule(java.lang.String rule) {\n this.rule = rule;\n }", "public final void mCOMMENT() throws RecognitionException {\n try {\n int _type = COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:5: ( ( '--' | '//' ) ( . )* ( '\\\\n' | '\\\\r' ) )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:7: ( '--' | '//' ) ( . )* ( '\\\\n' | '\\\\r' )\n {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:7: ( '--' | '//' )\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='-') ) {\n alt11=1;\n }\n else if ( (LA11_0=='/') ) {\n alt11=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 11, 0, input);\n\n throw nvae;\n }\n switch (alt11) {\n case 1 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:8: '--'\n {\n match(\"--\"); \n\n\n }\n break;\n case 2 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:15: '//'\n {\n match(\"//\"); \n\n\n }\n break;\n\n }\n\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:21: ( . )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\n alt12=2;\n }\n else if ( ((LA12_0>='\\u0000' && LA12_0<='\\t')||(LA12_0>='\\u000B' && LA12_0<='\\f')||(LA12_0>='\\u000E' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:21: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n if ( input.LA(1)=='\\n'||input.LA(1)=='\\r' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n _channel = HIDDEN; \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_STRING_0=null;\n Token this_ID_1=null;\n\n enterRule(); \n \n try {\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:384:28: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:385:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n {\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:385:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0==RULE_STRING) ) {\n alt6=1;\n }\n else if ( (LA6_0==RULE_ID) ) {\n alt6=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 6, 0, input);\n\n throw nvae;\n }\n switch (alt6) {\n case 1 :\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:385:6: this_STRING_0= RULE_STRING\n {\n this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleEString877); \n\n \t\tcurrent.merge(this_STRING_0);\n \n \n newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); \n \n\n }\n break;\n case 2 :\n // ../dk.dtu.se2.animation.language/src-gen/dk/dtu/se2/animation/parser/antlr/internal/InternalAnimationLanguage.g:393:10: this_ID_1= RULE_ID\n {\n this_ID_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEString903); \n\n \t\tcurrent.merge(this_ID_1);\n \n \n newLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); \n \n\n }\n break;\n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\n\n Token this_STRING_0=null;\n Token this_ID_1=null;\n\n enterRule(); \n \n try {\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:423:28: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:424:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n {\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:424:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0==RULE_STRING) ) {\n alt9=1;\n }\n else if ( (LA9_0==RULE_ID) ) {\n alt9=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 9, 0, input);\n\n throw nvae;\n }\n switch (alt9) {\n case 1 :\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:424:6: this_STRING_0= RULE_STRING\n {\n this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleEString814); \n\n \t\tcurrent.merge(this_STRING_0);\n \n \n newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); \n \n\n }\n break;\n case 2 :\n // ../dk.itu.smdp.survey.xtext/src-gen/dk/itu/smdp/survey/xtext/parser/antlr/internal/InternalTaco.g:432:10: this_ID_1= RULE_ID\n {\n this_ID_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEString840); \n\n \t\tcurrent.merge(this_ID_1);\n \n \n newLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); \n \n\n }\n break;\n\n }\n\n\n }\n\n leaveRule(); \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void ruleLanguage0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.mydsl.extensions.ui/src-gen/org/xtext/example/mydsl/extensions/ui/contentassist/antlr/internal/InternalMyDsl.g:269:2: ( ( RULE_STRING ) )\n // ../org.xtext.example.mydsl.extensions.ui/src-gen/org/xtext/example/mydsl/extensions/ui/contentassist/antlr/internal/InternalMyDsl.g:270:1: ( RULE_STRING )\n {\n // ../org.xtext.example.mydsl.extensions.ui/src-gen/org/xtext/example/mydsl/extensions/ui/contentassist/antlr/internal/InternalMyDsl.g:270:1: ( RULE_STRING )\n // ../org.xtext.example.mydsl.extensions.ui/src-gen/org/xtext/example/mydsl/extensions/ui/contentassist/antlr/internal/InternalMyDsl.g:271:1: RULE_STRING\n {\n before(grammarAccess.getLanguage0Access().getSTRINGTerminalRuleCall()); \n match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleLanguage0513); \n after(grammarAccess.getLanguage0Access().getSTRINGTerminalRuleCall()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16707:13: ( ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // InternalDSL.g:16707:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // InternalDSL.g:16707:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\\"') ) {\n alt11=1;\n }\n else if ( (LA11_0=='\\'') ) {\n alt11=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 11, 0, input);\n\n throw nvae;\n }\n switch (alt11) {\n case 1 :\n // InternalDSL.g:16707:16: '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // InternalDSL.g:16707:20: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop9:\n do {\n int alt9=3;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\\\') ) {\n alt9=1;\n }\n else if ( ((LA9_0>='\\u0000' && LA9_0<='!')||(LA9_0>='#' && LA9_0<='[')||(LA9_0>=']' && LA9_0<='\\uFFFF')) ) {\n alt9=2;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalDSL.g:16707:21: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\n \t {\n \t match('\\\\'); \n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalDSL.g:16707:66: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // InternalDSL.g:16707:86: '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // InternalDSL.g:16707:91: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop10:\n do {\n int alt10=3;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\\\') ) {\n alt10=1;\n }\n else if ( ((LA10_0>='\\u0000' && LA10_0<='&')||(LA10_0>='(' && LA10_0<='[')||(LA10_0>=']' && LA10_0<='\\uFFFF')) ) {\n alt10=2;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalDSL.g:16707:92: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\n \t {\n \t match('\\\\'); \n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalDSL.g:16707:137: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt13=0;\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\t' && LA13_0<='\\n')||LA13_0=='\\r'||LA13_0==' ') ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt13 >= 1 ) break loop13;\n EarlyExitException eee =\n new EarlyExitException(13, input);\n throw eee;\n }\n cnt13++;\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mFRAGMENT_RULE_WS() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:320:27: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // PsiInternalBacktrackingLexerTestLanguage.g:320:29: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // PsiInternalBacktrackingLexerTestLanguage.g:320:29: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt1=0;\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='\\t' && LA1_0<='\\n')||LA1_0=='\\r'||LA1_0==' ') ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // PsiInternalBacktrackingLexerTestLanguage.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt1 >= 1 ) break loop1;\n EarlyExitException eee =\n new EarlyExitException(1, input);\n throw eee;\n }\n cnt1++;\n } while (true);\n\n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:13: ( ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='\\\"') ) {\n alt6=1;\n }\n else if ( (LA6_0=='\\'') ) {\n alt6=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 6, 0, input);\n\n throw nvae;\n }\n switch (alt6) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:16: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:20: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop4:\n do {\n int alt4=3;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='\\\\') ) {\n alt4=1;\n }\n else if ( ((LA4_0>='\\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\\uFFFF')) ) {\n alt4=2;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:21: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:28: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop4;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:48: '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:53: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop5:\n do {\n int alt5=3;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='\\\\') ) {\n alt5=1;\n }\n else if ( ((LA5_0>='\\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\\uFFFF')) ) {\n alt5=2;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:54: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40363:61: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop5;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40359:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\r\n try {\r\n int _type = RULE_STRING;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:13: ( ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\r\n int alt7=2;\r\n int LA7_0 = input.LA(1);\r\n\r\n if ( (LA7_0=='\\\"') ) {\r\n alt7=1;\r\n }\r\n else if ( (LA7_0=='\\'') ) {\r\n alt7=2;\r\n }\r\n else {\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 7, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt7) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:16: '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\r\n {\r\n match('\\\"'); \r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:20: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\r\n loop5:\r\n do {\r\n int alt5=3;\r\n int LA5_0 = input.LA(1);\r\n\r\n if ( (LA5_0=='\\\\') ) {\r\n alt5=1;\r\n }\r\n else if ( ((LA5_0>='\\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\\uFFFF')) ) {\r\n alt5=2;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:21: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\r\n \t {\r\n \t match('\\\\'); \r\n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n \tcase 2 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:66: ~ ( ( '\\\\\\\\' | '\\\"' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop5;\r\n }\r\n } while (true);\r\n\r\n match('\\\"'); \r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:86: '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\r\n {\r\n match('\\''); \r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:91: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\r\n loop6:\r\n do {\r\n int alt6=3;\r\n int LA6_0 = input.LA(1);\r\n\r\n if ( (LA6_0=='\\\\') ) {\r\n alt6=1;\r\n }\r\n else if ( ((LA6_0>='\\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\\uFFFF')) ) {\r\n alt6=2;\r\n }\r\n\r\n\r\n switch (alt6) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:92: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\r\n \t {\r\n \t match('\\\\'); \r\n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n \tcase 2 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2485:137: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop6;\r\n }\r\n } while (true);\r\n\r\n match('\\''); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2134:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6372:13: ( ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // InternalMyDsl.g:6372:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // InternalMyDsl.g:6372:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='\\\"') ) {\n alt7=1;\n }\n else if ( (LA7_0=='\\'') ) {\n alt7=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 7, 0, input);\n\n throw nvae;\n }\n switch (alt7) {\n case 1 :\n // InternalMyDsl.g:6372:16: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // InternalMyDsl.g:6372:20: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop5:\n do {\n int alt5=3;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='\\\\') ) {\n alt5=1;\n }\n else if ( ((LA5_0>='\\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\\uFFFF')) ) {\n alt5=2;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalMyDsl.g:6372:21: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalMyDsl.g:6372:28: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop5;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // InternalMyDsl.g:6372:48: '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // InternalMyDsl.g:6372:53: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop6:\n do {\n int alt6=3;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='\\\\') ) {\n alt6=1;\n }\n else if ( ((LA6_0>='\\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\\uFFFF')) ) {\n alt6=2;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // InternalMyDsl.g:6372:54: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalMyDsl.g:6372:61: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop6;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1718:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalReqLNG.g:1718:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalReqLNG.g:1718:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalReqLNG.g:1718:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalReqLNG.g:1718:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalReqLNG.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "static public Rule parse(OrchestraSystem catalog, String rule, \r\n\t\t\tMap<String,RelationContext> locals) throws ParseException, RelationNotFoundException {\r\n\t\tHolder<Integer> counter = new Holder<Integer>(0);\r\n\t\tPositionedString str = new PositionedString(rule);\r\n\t\tstr.skipWhitespace();\r\n\t\tUntypedAtom h = UntypedAtom.parse(str, counter);\r\n\t\tboolean negateHead = false;\r\n\t\tif (h.getName().startsWith(\"NOT_\")) {\r\n\t\t\th.setName(h.getName().substring(4));\r\n\t\t\tnegateHead = true;\r\n\t\t}\r\n\r\n\t\tstr.skipWhitespace();\r\n\t\tif (!str.skipString(\":-\")) {\r\n\t\t\tcomplain(str, \"':-'\");\r\n\t\t}\r\n\t\tstr.skipWhitespace();\r\n\t\tArrayList<Atom> body = new ArrayList<Atom>();\r\n\t\tboolean first = true;\r\n\t\tstr.skipWhitespace();\r\n\t\twhile (str.inRange()) {\r\n\t\t\tif (first) {\r\n\t\t\t\tfirst = false;\r\n\t\t\t} else {\r\n\t\t\t\tif (!str.skipString(\",\")) {\r\n\t\t\t\t\tcomplain(str, \"','\");\r\n\t\t\t\t}\r\n\t\t\t\tstr.skipWhitespace();\r\n\t\t\t}\r\n\t\t\tUntypedAtom b = UntypedAtom.parse(str, counter);\r\n\t\t\tboolean isNegated = false;\r\n\t\t\tif (b.getName().startsWith(\"NOT_\")) {\r\n\t\t\t\tisNegated = true;\r\n\t\t\t\tb.setName(b.getName().substring(4));\r\n\t\t\t}\r\n\t\t\tAtom n = b.getTyped(catalog, locals);\r\n\t\t\tn.setNeg(isNegated);\r\n\t\t\tbody.add(n);\r\n\t\t\tstr.skipWhitespace();\r\n\t\t}\r\n\t\tAtom th;\r\n\t\ttry {\r\n\t\t\tth = h.getTyped(catalog, locals);\r\n\t\t} catch (ParseException e) {\r\n\t\t\tth = h.getTyped(body);\r\n\t\t\t// Add this as a local view definition\r\n\t\t\tif (!locals.containsKey(th.getRelationContext().toString()))\r\n\t\t\t\tlocals.put(th.getRelationContext().toString(), th.getRelationContext());\r\n\t\t} catch (RelationNotFoundException e) {\r\n\t\t\tth = h.getTyped(body);\r\n\t\t\t// Add this as a local view definition\r\n\t\t\tif (!locals.containsKey(th.getRelationContext().toString()))\r\n\t\t\t\tlocals.put(th.getRelationContext().toString(), th.getRelationContext());\r\n\t\t}\r\n\t\tth.setNeg(negateHead);\r\n\r\n\t\treturn new Rule(th, body, null, catalog.getMappingDb().getBuiltInSchemas());\r\n\t}", "public final void mML_COMMENT() throws RecognitionException {\n try {\n int _type = ML_COMMENT;\n // /Users/benjamincoe/HackWars/C.g:165:5: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // /Users/benjamincoe/HackWars/C.g:165:9: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // /Users/benjamincoe/HackWars/C.g:165:14: ( options {greedy=false; } : . )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='*') ) {\n int LA2_1 = input.LA(2);\n\n if ( (LA2_1=='/') ) {\n alt2=2;\n }\n else if ( ((LA2_1>='\\u0000' && LA2_1<='.')||(LA2_1>='0' && LA2_1<='\\uFFFE')) ) {\n alt2=1;\n }\n\n\n }\n else if ( ((LA2_0>='\\u0000' && LA2_0<=')')||(LA2_0>='+' && LA2_0<='\\uFFFE')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // /Users/benjamincoe/HackWars/C.g:165:41: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n match(\"*/\"); \n\n channel=HIDDEN;\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:13: ( ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\\"') ) {\n alt10=1;\n }\n else if ( (LA10_0=='\\'') ) {\n alt10=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 10, 0, input);\n\n throw nvae;\n }\n switch (alt10) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:16: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:20: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop8:\n do {\n int alt8=3;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='\\\\') ) {\n alt8=1;\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<='!')||(LA8_0>='#' && LA8_0<='[')||(LA8_0>=']' && LA8_0<='\\uFFFF')) ) {\n alt8=2;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:21: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:28: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:48: '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:53: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop9:\n do {\n int alt9=3;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\\\') ) {\n alt9=1;\n }\n else if ( ((LA9_0>='\\u0000' && LA9_0<='&')||(LA9_0>='(' && LA9_0<='[')||(LA9_0>=']' && LA9_0<='\\uFFFF')) ) {\n alt9=2;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:54: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:665:61: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2591:13: ( ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' | '\\\\r' | '\\\\n' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' | '\\\\r' | '\\\\n' ) ) )* '\\\\'' ) )\n // InternalCucumber.g:2591:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' | '\\\\r' | '\\\\n' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' | '\\\\r' | '\\\\n' ) ) )* '\\\\'' )\n {\n // InternalCucumber.g:2591:15: ( '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' | '\\\\r' | '\\\\n' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' | '\\\\r' | '\\\\n' ) ) )* '\\\\'' )\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( (LA16_0=='\\\"') ) {\n alt16=1;\n }\n else if ( (LA16_0=='\\'') ) {\n alt16=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 16, 0, input);\n\n throw nvae;\n }\n switch (alt16) {\n case 1 :\n // InternalCucumber.g:2591:16: '\\\"' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' | '\\\\r' | '\\\\n' ) ) )* '\\\"'\n {\n match('\\\"'); \n // InternalCucumber.g:2591:20: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\"' | '\\\\r' | '\\\\n' ) ) )*\n loop14:\n do {\n int alt14=3;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0=='\\\\') ) {\n alt14=1;\n }\n else if ( ((LA14_0>='\\u0000' && LA14_0<='\\t')||(LA14_0>='\\u000B' && LA14_0<='\\f')||(LA14_0>='\\u000E' && LA14_0<='!')||(LA14_0>='#' && LA14_0<='[')||(LA14_0>=']' && LA14_0<='\\uFFFF')) ) {\n alt14=2;\n }\n\n\n switch (alt14) {\n \tcase 1 :\n \t // InternalCucumber.g:2591:21: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\n \t {\n \t match('\\\\'); \n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalCucumber.g:2591:66: ~ ( ( '\\\\\\\\' | '\\\"' | '\\\\r' | '\\\\n' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop14;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // InternalCucumber.g:2591:96: '\\\\'' ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' | '\\\\r' | '\\\\n' ) ) )* '\\\\''\n {\n match('\\''); \n // InternalCucumber.g:2591:101: ( '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' ) | ~ ( ( '\\\\\\\\' | '\\\\'' | '\\\\r' | '\\\\n' ) ) )*\n loop15:\n do {\n int alt15=3;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0=='\\\\') ) {\n alt15=1;\n }\n else if ( ((LA15_0>='\\u0000' && LA15_0<='\\t')||(LA15_0>='\\u000B' && LA15_0<='\\f')||(LA15_0>='\\u000E' && LA15_0<='&')||(LA15_0>='(' && LA15_0<='[')||(LA15_0>=']' && LA15_0<='\\uFFFF')) ) {\n alt15=2;\n }\n\n\n switch (alt15) {\n \tcase 1 :\n \t // InternalCucumber.g:2591:102: '\\\\\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\\\"' | '\\\\'' | '\\\\\\\\' )\n \t {\n \t match('\\\\'); \n \t if ( input.LA(1)=='\\\"'||input.LA(1)=='\\''||input.LA(1)=='\\\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalCucumber.g:2591:147: ~ ( ( '\\\\\\\\' | '\\\\'' | '\\\\r' | '\\\\n' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop15;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5143:17: ( '//' (~ ( ( '\\\\r' | '\\\\n' ) ) )* ( '\\\\r' )? '\\\\n' )\n // InternalUniMapperGenerator.g:5143:19: '//' (~ ( ( '\\\\r' | '\\\\n' ) ) )* ( '\\\\r' )? '\\\\n'\n {\n match(\"//\"); \n\n // InternalUniMapperGenerator.g:5143:24: (~ ( ( '\\\\r' | '\\\\n' ) ) )*\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\u0000' && LA13_0<='\\t')||(LA13_0>='\\u000B' && LA13_0<='\\f')||(LA13_0>='\\u000E' && LA13_0<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // InternalUniMapperGenerator.g:5143:24: ~ ( ( '\\\\r' | '\\\\n' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop13;\n }\n } while (true);\n\n // InternalUniMapperGenerator.g:5143:40: ( '\\\\r' )?\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0=='\\r') ) {\n alt14=1;\n }\n switch (alt14) {\n case 1 :\n // InternalUniMapperGenerator.g:5143:40: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7228:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalIotLuaXtext.g:7228:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalIotLuaXtext.g:7228:11: ( '^' )?\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='^') ) {\n alt1=1;\n }\n switch (alt1) {\n case 1 :\n // InternalIotLuaXtext.g:7228:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalIotLuaXtext.g:7228:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2389:13: ( ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // InternalMyDsl.g:2389:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // InternalMyDsl.g:2389:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='\\\"') ) {\n alt7=1;\n }\n else if ( (LA7_0=='\\'') ) {\n alt7=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 7, 0, input);\n\n throw nvae;\n }\n switch (alt7) {\n case 1 :\n // InternalMyDsl.g:2389:16: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // InternalMyDsl.g:2389:20: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop5:\n do {\n int alt5=3;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='\\\\') ) {\n alt5=1;\n }\n else if ( ((LA5_0>='\\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\\uFFFF')) ) {\n alt5=2;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalMyDsl.g:2389:21: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalMyDsl.g:2389:28: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop5;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // InternalMyDsl.g:2389:48: '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // InternalMyDsl.g:2389:53: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop6:\n do {\n int alt6=3;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='\\\\') ) {\n alt6=1;\n }\n else if ( ((LA6_0>='\\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\\uFFFF')) ) {\n alt6=2;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // InternalMyDsl.g:2389:54: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalMyDsl.g:2389:61: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop6;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {\r\n AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();\r\n\r\n Token this_STRING_0=null;\r\n Token this_ID_1=null;\r\n\r\n\r\n \tenterRule();\r\n\r\n try {\r\n // InternalEsportDsl.g:1202:2: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) )\r\n // InternalEsportDsl.g:1203:2: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\r\n {\r\n // InternalEsportDsl.g:1203:2: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID )\r\n int alt22=2;\r\n int LA22_0 = input.LA(1);\r\n\r\n if ( (LA22_0==RULE_STRING) ) {\r\n alt22=1;\r\n }\r\n else if ( (LA22_0==RULE_ID) ) {\r\n alt22=2;\r\n }\r\n else {\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 22, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt22) {\r\n case 1 :\r\n // InternalEsportDsl.g:1204:3: this_STRING_0= RULE_STRING\r\n {\r\n this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_2); \r\n\r\n \t\t\tcurrent.merge(this_STRING_0);\r\n \t\t\r\n\r\n \t\t\tnewLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0());\r\n \t\t\r\n\r\n }\r\n break;\r\n case 2 :\r\n // InternalEsportDsl.g:1212:3: this_ID_1= RULE_ID\r\n {\r\n this_ID_1=(Token)match(input,RULE_ID,FOLLOW_2); \r\n\r\n \t\t\tcurrent.merge(this_ID_1);\r\n \t\t\r\n\r\n \t\t\tnewLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1());\r\n \t\t\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n \tleaveRule();\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "java.lang.String getRule();", "public final EObject ruleStringLiteral() throws RecognitionException {\n EObject current = null;\n\n Token lv_value_1_0=null;\n\n enterRule(); \n \n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1873:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1874:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1874:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1874:2: () ( (lv_value_1_0= RULE_STRING ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1874:2: ()\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1875:5: \n {\n if ( state.backtracking==0 ) {\n\n current = forceCreateModelElement(\n grammarAccess.getStringLiteralAccess().getStringLiteralAction_0(),\n current);\n \n }\n\n }\n\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1880:2: ( (lv_value_1_0= RULE_STRING ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1881:1: (lv_value_1_0= RULE_STRING )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1881:1: (lv_value_1_0= RULE_STRING )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:1882:3: lv_value_1_0= RULE_STRING\n {\n lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral4466); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); \n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getStringLiteralRule());\n \t }\n \t\tsetWithLastConsumed(\n \t\t\tcurrent, \n \t\t\t\"value\",\n \t\tlv_value_1_0, \n \t\t\"STRING\");\n \t \n }\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2286:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalDSL.g:2286:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalDSL.g:2286:11: ( '^' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='^') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // InternalDSL.g:2286:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalDSL.g:2286:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop4:\n do {\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) {\n alt4=1;\n }\n\n\n switch (alt4) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop4;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )?\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( (LA22_0=='^') ) {\n alt22=1;\n }\n switch (alt22) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop23:\n do {\n int alt23=2;\n int LA23_0 = input.LA(1);\n\n if ( ((LA23_0>='0' && LA23_0<='9')||(LA23_0>='A' && LA23_0<='Z')||LA23_0=='_'||(LA23_0>='a' && LA23_0<='z')) ) {\n alt23=1;\n }\n\n\n switch (alt23) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop23;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16701:9: ( ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // InternalDSL.g:16701:11: ( '^' )? ( 'a' .. 'z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // InternalDSL.g:16701:11: ( '^' )?\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='^') ) {\n alt2=1;\n }\n switch (alt2) {\n case 1 :\n // InternalDSL.g:16701:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalDSL.g:16701:31: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop3:\n do {\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {\n alt3=1;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void setRule(final String rule) {\r\n this.rule = rule;\r\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1722:13: ( ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // InternalReqLNG.g:1722:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // InternalReqLNG.g:1722:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='\\\"') ) {\n alt7=1;\n }\n else if ( (LA7_0=='\\'') ) {\n alt7=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 7, 0, input);\n\n throw nvae;\n }\n switch (alt7) {\n case 1 :\n // InternalReqLNG.g:1722:16: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // InternalReqLNG.g:1722:20: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop5:\n do {\n int alt5=3;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0=='\\\\') ) {\n alt5=1;\n }\n else if ( ((LA5_0>='\\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\\uFFFF')) ) {\n alt5=2;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // InternalReqLNG.g:1722:21: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalReqLNG.g:1722:28: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop5;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // InternalReqLNG.g:1722:48: '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // InternalReqLNG.g:1722:53: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop6:\n do {\n int alt6=3;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='\\\\') ) {\n alt6=1;\n }\n else if ( ((LA6_0>='\\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\\uFFFF')) ) {\n alt6=2;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // InternalReqLNG.g:1722:54: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalReqLNG.g:1722:61: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop6;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2290:13: ( ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // InternalDSL.g:2290:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // InternalDSL.g:2290:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='\\\"') ) {\n alt8=1;\n }\n else if ( (LA8_0=='\\'') ) {\n alt8=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 8, 0, input);\n\n throw nvae;\n }\n switch (alt8) {\n case 1 :\n // InternalDSL.g:2290:16: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // InternalDSL.g:2290:20: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop6:\n do {\n int alt6=3;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='\\\\') ) {\n alt6=1;\n }\n else if ( ((LA6_0>='\\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\\uFFFF')) ) {\n alt6=2;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // InternalDSL.g:2290:21: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalDSL.g:2290:28: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop6;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // InternalDSL.g:2290:48: '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // InternalDSL.g:2290:53: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop7:\n do {\n int alt7=3;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='\\\\') ) {\n alt7=1;\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\\uFFFF')) ) {\n alt7=2;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // InternalDSL.g:2290:54: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalDSL.g:2290:61: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15372:13: ( ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' ) )\n // InternalMyDsl.g:15372:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n {\n // InternalMyDsl.g:15372:15: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' | '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\'' )\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\\"') ) {\n alt12=1;\n }\n else if ( (LA12_0=='\\'') ) {\n alt12=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 12, 0, input);\n\n throw nvae;\n }\n switch (alt12) {\n case 1 :\n // InternalMyDsl.g:15372:16: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // InternalMyDsl.g:15372:20: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop10:\n do {\n int alt10=3;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\\\') ) {\n alt10=1;\n }\n else if ( ((LA10_0>='\\u0000' && LA10_0<='!')||(LA10_0>='#' && LA10_0<='[')||(LA10_0>=']' && LA10_0<='\\uFFFF')) ) {\n alt10=2;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalMyDsl.g:15372:21: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalMyDsl.g:15372:28: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n break;\n case 2 :\n // InternalMyDsl.g:15372:48: '\\\\'' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )* '\\\\''\n {\n match('\\''); \n // InternalMyDsl.g:15372:53: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\\'' ) ) )*\n loop11:\n do {\n int alt11=3;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\\\') ) {\n alt11=1;\n }\n else if ( ((LA11_0>='\\u0000' && LA11_0<='&')||(LA11_0>='(' && LA11_0<='[')||(LA11_0>=']' && LA11_0<='\\uFFFF')) ) {\n alt11=2;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // InternalMyDsl.g:15372:54: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalMyDsl.g:15372:61: ~ ( ( '\\\\\\\\' | '\\\\'' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop11;\n }\n } while (true);\n\n match('\\''); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mCOMMENT() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.COMMENT;\r\n int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:5: ( '//' (~ ( '\\\\n'\r\n // | '\\\\r' ) )* ( '\\\\r' )? '\\\\n' | '/*' ( options {greedy=false; } : . )* '*/' )\r\n int alt15 = 2;\r\n final int LA15_0 = this.input.LA(1);\r\n\r\n if (LA15_0 == '/') {\r\n final int LA15_1 = this.input.LA(2);\r\n\r\n if (LA15_1 == '/') {\r\n alt15 = 1;\r\n } else if (LA15_1 == '*') {\r\n alt15 = 2;\r\n } else {\r\n final NoViableAltException nvae = new NoViableAltException(\"\", 15, 1,\r\n this.input);\r\n\r\n throw nvae;\r\n }\r\n } else {\r\n final NoViableAltException nvae = new NoViableAltException(\"\", 15, 0, this.input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt15) {\r\n case 1:\r\n this.match(\"//\");\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:14: (~ ( '\\\\n'\r\n // | '\\\\r' ) )*\r\n loop12: do {\r\n int alt12 = 2;\r\n final int LA12_0 = this.input.LA(1);\r\n\r\n if (LA12_0 >= '\\u0000' && LA12_0 <= '\\t' || LA12_0 >= '\\u000B'\r\n && LA12_0 <= '\\f' || LA12_0 >= '\\u000E' && LA12_0 <= '\\uFFFF') {\r\n alt12 = 1;\r\n }\r\n\r\n switch (alt12) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:14: ~\r\n // ( '\\\\n' | '\\\\r' )\r\n {\r\n if (this.input.LA(1) >= '\\u0000' && this.input.LA(1) <= '\\t'\r\n || this.input.LA(1) >= '\\u000B' && this.input.LA(1) <= '\\f'\r\n || this.input.LA(1) >= '\\u000E'\r\n && this.input.LA(1) <= '\\uFFFF') {\r\n this.input.consume();\r\n\r\n } else {\r\n final MismatchedSetException mse = new MismatchedSetException(\r\n null, this.input);\r\n this.recover(mse);\r\n throw mse;\r\n }\r\n\r\n }\r\n break;\r\n\r\n default:\r\n break loop12;\r\n }\r\n } while (true);\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:28: ( '\\\\r' )?\r\n int alt13 = 2;\r\n final int LA13_0 = this.input.LA(1);\r\n if (LA13_0 == '\\r') {\r\n alt13 = 1;\r\n }\r\n switch (alt13) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:28: '\\\\r'\r\n {\r\n this.match('\\r');\r\n\r\n }\r\n break;\r\n\r\n }\r\n this.match('\\n');\r\n _channel = BaseRecognizer.HIDDEN;\r\n break;\r\n case 2:\r\n this.match(\"/*\");\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:65:14: ( options\r\n // {greedy=false; } : . )*\r\n loop14: do {\r\n int alt14 = 2;\r\n final int LA14_0 = this.input.LA(1);\r\n\r\n if (LA14_0 == '*') {\r\n final int LA14_1 = this.input.LA(2);\r\n\r\n if (LA14_1 == '/') {\r\n alt14 = 2;\r\n } else if (LA14_1 >= '\\u0000' && LA14_1 <= '.' || LA14_1 >= '0'\r\n && LA14_1 <= '\\uFFFF') {\r\n alt14 = 1;\r\n }\r\n\r\n } else if (LA14_0 >= '\\u0000' && LA14_0 <= ')' || LA14_0 >= '+'\r\n && LA14_0 <= '\\uFFFF') {\r\n alt14 = 1;\r\n }\r\n\r\n switch (alt14) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:65:42: .\r\n {\r\n this.matchAny();\r\n\r\n }\r\n break;\r\n\r\n default:\r\n break loop14;\r\n }\r\n } while (true);\r\n this.match(\"*/\");\r\n _channel = BaseRecognizer.HIDDEN;\r\n break;\r\n default:\r\n break;\r\n\r\n }\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public final void mRULE_STRING() throws RecognitionException {\n try {\n int _type = RULE_STRING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13290:13: ( '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"' )\n // InternalEsm.g:13290:15: '\\\"' ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )* '\\\"'\n {\n match('\\\"'); \n // InternalEsm.g:13290:19: ( '\\\\\\\\' . | ~ ( ( '\\\\\\\\' | '\\\"' ) ) )*\n loop3:\n do {\n int alt3=3;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='\\\\') ) {\n alt3=1;\n }\n else if ( ((LA3_0>='\\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\\uFFFF')) ) {\n alt3=2;\n }\n\n\n switch (alt3) {\n \tcase 1 :\n \t // InternalEsm.g:13290:20: '\\\\\\\\' .\n \t {\n \t match('\\\\'); \n \t matchAny(); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalEsm.g:13290:27: ~ ( ( '\\\\\\\\' | '\\\"' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop3;\n }\n } while (true);\n\n match('\\\"'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mCOMMENT() throws RecognitionException {\n try {\n int _type = COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2697:3: ( ( ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) ) ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:6: ( ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) ) )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:6: ( ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:7: ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:7: ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:8: ( '//' (~ ( '\\\\r' | '\\\\n' ) )* )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:8: ( '//' (~ ( '\\\\r' | '\\\\n' ) )* )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:9: '//' (~ ( '\\\\r' | '\\\\n' ) )*\n {\n match(\"//\"); if (state.failed) return ;\n\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:14: (~ ( '\\\\r' | '\\\\n' ) )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='\\u0000' && LA1_0<='\\t')||(LA1_0>='\\u000B' && LA1_0<='\\f')||(LA1_0>='\\u000E' && LA1_0<='\\uFFFF')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:15: ~ ( '\\\\r' | '\\\\n' )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n \t state.failed=false;\n \t }\n \t else {\n \t if (state.backtracking>0) {state.failed=true; return ;}\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n _channel=HIDDEN;\n }\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )?\r\n int alt14=2;\r\n int LA14_0 = input.LA(1);\r\n\r\n if ( (LA14_0=='^') ) {\r\n alt14=1;\r\n }\r\n switch (alt14) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop15:\r\n do {\r\n int alt15=2;\r\n int LA15_0 = input.LA(1);\r\n\r\n if ( ((LA15_0>='0' && LA15_0<='9')||(LA15_0>='A' && LA15_0<='Z')||LA15_0=='_'||(LA15_0>='a' && LA15_0<='z')) ) {\r\n alt15=1;\r\n }\r\n\r\n\r\n switch (alt15) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop15;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: ( '^' )?\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0=='^') ) {\n alt6=1;\n }\n switch (alt6) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:663:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( ((LA7_0>='0' && LA7_0<='9')||(LA7_0>='A' && LA7_0<='Z')||LA7_0=='_'||(LA7_0>='a' && LA7_0<='z')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }" ]
[ "0.6122126", "0.607356", "0.60719126", "0.59737796", "0.59000343", "0.58951205", "0.58908415", "0.58803076", "0.5873306", "0.5838943", "0.58039737", "0.572018", "0.56966823", "0.5669018", "0.56387377", "0.56357443", "0.56183493", "0.5602411", "0.55888534", "0.558237", "0.5580649", "0.5579318", "0.55787885", "0.55740875", "0.5558353", "0.55521", "0.5516481", "0.5515355", "0.55023676", "0.5490615", "0.5485096", "0.5474946", "0.54663426", "0.5460823", "0.5452937", "0.54486614", "0.54481375", "0.5434053", "0.54159594", "0.5410764", "0.5409989", "0.54002035", "0.54000664", "0.53742176", "0.53700954", "0.5354363", "0.5352631", "0.5342259", "0.53404367", "0.5333342", "0.5329176", "0.532574", "0.53089064", "0.530253", "0.530253", "0.53017735", "0.5278842", "0.5259411", "0.5230217", "0.52184725", "0.521128", "0.5189673", "0.51592004", "0.5156284", "0.5146205", "0.5145256", "0.5132981", "0.5132801", "0.5132752", "0.51186466", "0.511849", "0.5117968", "0.51172084", "0.51171446", "0.5116535", "0.5110024", "0.5109697", "0.51011604", "0.5099309", "0.5096003", "0.5092639", "0.50912344", "0.5068895", "0.5066001", "0.5062303", "0.50540954", "0.5042969", "0.5039865", "0.5034557", "0.5032455", "0.5032003", "0.50229406", "0.5022924", "0.5019632", "0.501346", "0.5012339", "0.5009266", "0.49964872", "0.49873438", "0.49860495" ]
0.5447673
37
$ANTLR end "RULE_ML_COMMENT" $ANTLR start "RULE_SL_COMMENT"
public final void mRULE_SL_COMMENT() throws RecognitionException { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:2294:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) // InternalDSL.g:2294:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); // InternalDSL.g:2294:24: (~ ( ( '\\n' | '\\r' ) ) )* loop10: do { int alt10=2; int LA10_0 = input.LA(1); if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) { alt10=1; } switch (alt10) { case 1 : // InternalDSL.g:2294:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse;} } break; default : break loop10; } } while (true); // InternalDSL.g:2294:40: ( ( '\\r' )? '\\n' )? int alt12=2; int LA12_0 = input.LA(1); if ( (LA12_0=='\n'||LA12_0=='\r') ) { alt12=1; } switch (alt12) { case 1 : // InternalDSL.g:2294:41: ( '\\r' )? '\\n' { // InternalDSL.g:2294:41: ( '\\r' )? int alt11=2; int LA11_0 = input.LA(1); if ( (LA11_0=='\r') ) { alt11=1; } switch (alt11) { case 1 : // InternalDSL.g:2294:41: '\\r' { match('\r'); } break; } match('\n'); } break; } } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:19: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:24: ( options {greedy=false; } : . )*\r\n loop8:\r\n do {\r\n int alt8=2;\r\n int LA8_0 = input.LA(1);\r\n\r\n if ( (LA8_0=='*') ) {\r\n int LA8_1 = input.LA(2);\r\n\r\n if ( (LA8_1=='/') ) {\r\n alt8=2;\r\n }\r\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n switch (alt8) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:52: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop8;\r\n }\r\n } while (true);\r\n\r\n match(\"*/\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='\\u0000' && LA2_0<='\\t')||(LA2_0>='\\u000B' && LA2_0<='\\f')||(LA2_0>='\\u000E' && LA2_0<='\\uFFFF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='\\n'||LA4_0=='\\r') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:41: ( '\\\\r' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='\\r') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:322:26: ( FRAGMENT_RULE_SL_COMMENT )\n // PsiInternalBacktrackingLexerTestLanguage.g:322:28: FRAGMENT_RULE_SL_COMMENT\n {\n mFRAGMENT_RULE_SL_COMMENT(); \n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:19: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:24: ( options {greedy=false; } : . )*\r\n loop16:\r\n do {\r\n int alt16=2;\r\n int LA16_0 = input.LA(1);\r\n\r\n if ( (LA16_0=='*') ) {\r\n int LA16_1 = input.LA(2);\r\n\r\n if ( (LA16_1=='/') ) {\r\n alt16=2;\r\n }\r\n else if ( ((LA16_1>='\\u0000' && LA16_1<='.')||(LA16_1>='0' && LA16_1<='\\uFFFF')) ) {\r\n alt16=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA16_0>='\\u0000' && LA16_0<=')')||(LA16_0>='+' && LA16_0<='\\uFFFF')) ) {\r\n alt16=1;\r\n }\r\n\r\n\r\n switch (alt16) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:52: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop16;\r\n }\r\n } while (true);\r\n\r\n match(\"*/\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:24: ( options {greedy=false; } : . )*\n loop28:\n do {\n int alt28=2;\n int LA28_0 = input.LA(1);\n\n if ( (LA28_0=='*') ) {\n int LA28_1 = input.LA(2);\n\n if ( (LA28_1=='/') ) {\n alt28=2;\n }\n else if ( ((LA28_1>='\\u0000' && LA28_1<='.')||(LA28_1>='0' && LA28_1<='\\uFFFF')) ) {\n alt28=1;\n }\n\n\n }\n else if ( ((LA28_0>='\\u0000' && LA28_0<=')')||(LA28_0>='+' && LA28_0<='\\uFFFF')) ) {\n alt28=1;\n }\n\n\n switch (alt28) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop28;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:24: ( options {greedy=false; } : . )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='*') ) {\n int LA9_1 = input.LA(2);\n\n if ( (LA9_1=='/') ) {\n alt9=2;\n }\n else if ( ((LA9_1>='\\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\\uFFFE')) ) {\n alt9=1;\n }\n\n\n }\n else if ( ((LA9_0>='\\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\\uFFFE')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:24: ( options {greedy=false; } : . )*\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='*') ) {\n int LA11_1 = input.LA(2);\n\n if ( (LA11_1=='/') ) {\n alt11=2;\n }\n else if ( ((LA11_1>='\\u0000' && LA11_1<='.')||(LA11_1>='0' && LA11_1<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n }\n else if ( ((LA11_0>='\\u0000' && LA11_0<=')')||(LA11_0>='+' && LA11_0<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop11;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:24: ( options {greedy=false; } : . )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='*') ) {\n int LA1_1 = input.LA(2);\n\n if ( (LA1_1=='/') ) {\n alt1=2;\n }\n else if ( ((LA1_1>='\\u0000' && LA1_1<='.')||(LA1_1>='0' && LA1_1<='\\uFFFF')) ) {\n alt1=1;\n }\n\n\n }\n else if ( ((LA1_0>='\\u0000' && LA1_0<=')')||(LA1_0>='+' && LA1_0<='\\uFFFF')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\r\n {\r\n match(\"//\"); \r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\r\n loop17:\r\n do {\r\n int alt17=2;\r\n int LA17_0 = input.LA(1);\r\n\r\n if ( ((LA17_0>='\\u0000' && LA17_0<='\\t')||(LA17_0>='\\u000B' && LA17_0<='\\f')||(LA17_0>='\\u000E' && LA17_0<='\\uFFFF')) ) {\r\n alt17=1;\r\n }\r\n\r\n\r\n switch (alt17) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:24: ~ ( ( '\\\\n' | '\\\\r' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop17;\r\n }\r\n } while (true);\r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:40: ( ( '\\\\r' )? '\\\\n' )?\r\n int alt19=2;\r\n int LA19_0 = input.LA(1);\r\n\r\n if ( (LA19_0=='\\n'||LA19_0=='\\r') ) {\r\n alt19=1;\r\n }\r\n switch (alt19) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:41: ( '\\\\r' )? '\\\\n'\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:41: ( '\\\\r' )?\r\n int alt18=2;\r\n int LA18_0 = input.LA(1);\r\n\r\n if ( (LA18_0=='\\r') ) {\r\n alt18=1;\r\n }\r\n switch (alt18) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:41: '\\\\r'\r\n {\r\n match('\\r'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n match('\\n'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop29:\n do {\n int alt29=2;\n int LA29_0 = input.LA(1);\n\n if ( ((LA29_0>='\\u0000' && LA29_0<='\\t')||(LA29_0>='\\u000B' && LA29_0<='\\f')||(LA29_0>='\\u000E' && LA29_0<='\\uFFFF')) ) {\n alt29=1;\n }\n\n\n switch (alt29) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop29;\n }\n } while (true);\n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt31=2;\n int LA31_0 = input.LA(1);\n\n if ( (LA31_0=='\\n'||LA31_0=='\\r') ) {\n alt31=1;\n }\n switch (alt31) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:41: ( '\\\\r' )?\n int alt30=2;\n int LA30_0 = input.LA(1);\n\n if ( (LA30_0=='\\r') ) {\n alt30=1;\n }\n switch (alt30) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\r\n {\r\n match(\"//\"); \r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\r\n loop9:\r\n do {\r\n int alt9=2;\r\n int LA9_0 = input.LA(1);\r\n\r\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\r\n alt9=1;\r\n }\r\n\r\n\r\n switch (alt9) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:24: ~ ( ( '\\\\n' | '\\\\r' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop9;\r\n }\r\n } while (true);\r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:40: ( ( '\\\\r' )? '\\\\n' )?\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\r\n alt11=1;\r\n }\r\n switch (alt11) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:41: ( '\\\\r' )? '\\\\n'\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:41: ( '\\\\r' )?\r\n int alt10=2;\r\n int LA10_0 = input.LA(1);\r\n\r\n if ( (LA10_0=='\\r') ) {\r\n alt10=1;\r\n }\r\n switch (alt10) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:41: '\\\\r'\r\n {\r\n match('\\r'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n match('\\n'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7234:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalIotLuaXtext.g:7234:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalIotLuaXtext.g:7234:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:7234:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2593:17: ( '#' (~ ( ( '\\\\n' | '\\\\r' ) ) )* RULE_NL )\n // InternalCucumber.g:2593:19: '#' (~ ( ( '\\\\n' | '\\\\r' ) ) )* RULE_NL\n {\n match('#'); \n // InternalCucumber.g:2593:23: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop17:\n do {\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( ((LA17_0>='\\u0000' && LA17_0<='\\t')||(LA17_0>='\\u000B' && LA17_0<='\\f')||(LA17_0>='\\u000E' && LA17_0<='\\uFFFF')) ) {\n alt17=1;\n }\n\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalCucumber.g:2593:23: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop17;\n }\n } while (true);\n\n mRULE_NL(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\u0000' && LA12_0<='\\t')||(LA12_0>='\\u000B' && LA12_0<='\\f')||(LA12_0>='\\u000E' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0=='\\n'||LA14_0=='\\r') ) {\n alt14=1;\n }\n switch (alt14) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:41: ( '\\\\r' )? '\\\\n'\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:41: ( '\\\\r' )?\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='\\r') ) {\n alt13=1;\n }\n switch (alt13) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\r\n {\r\n match(\"//\"); \r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\r\n loop10:\r\n do {\r\n int alt10=2;\r\n int LA10_0 = input.LA(1);\r\n\r\n if ( ((LA10_0>='\\u0000' && LA10_0<='\\t')||(LA10_0>='\\u000B' && LA10_0<='\\f')||(LA10_0>='\\u000E' && LA10_0<='\\uFFFF')) ) {\r\n alt10=1;\r\n }\r\n\r\n\r\n switch (alt10) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:24: ~ ( ( '\\\\n' | '\\\\r' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop10;\r\n }\r\n } while (true);\r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:40: ( ( '\\\\r' )? '\\\\n' )?\r\n int alt12=2;\r\n int LA12_0 = input.LA(1);\r\n\r\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\r\n alt12=1;\r\n }\r\n switch (alt12) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:41: ( '\\\\r' )? '\\\\n'\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:41: ( '\\\\r' )?\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( (LA11_0=='\\r') ) {\r\n alt11=1;\r\n }\r\n switch (alt11) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:41: '\\\\r'\r\n {\r\n match('\\r'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n match('\\n'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23490:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalSpeADL.g:23490:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalSpeADL.g:23490:24: ( options {greedy=false; } : . )*\n loop16:\n do {\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( (LA16_0=='*') ) {\n int LA16_1 = input.LA(2);\n\n if ( (LA16_1=='/') ) {\n alt16=2;\n }\n else if ( ((LA16_1>='\\u0000' && LA16_1<='.')||(LA16_1>='0' && LA16_1<='\\uFFFF')) ) {\n alt16=1;\n }\n\n\n }\n else if ( ((LA16_0>='\\u0000' && LA16_0<=')')||(LA16_0>='+' && LA16_0<='\\uFFFF')) ) {\n alt16=1;\n }\n\n\n switch (alt16) {\n \tcase 1 :\n \t // InternalSpeADL.g:23490:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop16;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13306:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalEsm.g:13306:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalEsm.g:13306:24: ( options {greedy=false; } : . )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='*') ) {\n int LA10_1 = input.LA(2);\n\n if ( (LA10_1=='/') ) {\n alt10=2;\n }\n else if ( ((LA10_1>='\\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\\uFFFF')) ) {\n alt10=1;\n }\n\n\n }\n else if ( ((LA10_0>='\\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\\uFFFF')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalEsm.g:13306:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13308:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalEsm.g:13308:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalEsm.g:13308:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\u0000' && LA11_0<='\\t')||(LA11_0>='\\u000B' && LA11_0<='\\f')||(LA11_0>='\\u000E' && LA11_0<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // InternalEsm.g:13308:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop11;\n }\n } while (true);\n\n // InternalEsm.g:13308:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='\\n'||LA13_0=='\\r') ) {\n alt13=1;\n }\n switch (alt13) {\n case 1 :\n // InternalEsm.g:13308:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalEsm.g:13308:41: ( '\\\\r' )?\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\r') ) {\n alt12=1;\n }\n switch (alt12) {\n case 1 :\n // InternalEsm.g:13308:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23492:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalSpeADL.g:23492:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalSpeADL.g:23492:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop17:\n do {\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( ((LA17_0>='\\u0000' && LA17_0<='\\t')||(LA17_0>='\\u000B' && LA17_0<='\\f')||(LA17_0>='\\u000E' && LA17_0<='\\uFFFF')) ) {\n alt17=1;\n }\n\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalSpeADL.g:23492:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop17;\n }\n } while (true);\n\n // InternalSpeADL.g:23492:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( (LA19_0=='\\n'||LA19_0=='\\r') ) {\n alt19=1;\n }\n switch (alt19) {\n case 1 :\n // InternalSpeADL.g:23492:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalSpeADL.g:23492:41: ( '\\\\r' )?\n int alt18=2;\n int LA18_0 = input.LA(1);\n\n if ( (LA18_0=='\\r') ) {\n alt18=1;\n }\n switch (alt18) {\n case 1 :\n // InternalSpeADL.g:23492:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15374:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalMyDsl.g:15374:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalMyDsl.g:15374:24: ( options {greedy=false; } : . )*\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='*') ) {\n int LA13_1 = input.LA(2);\n\n if ( (LA13_1=='/') ) {\n alt13=2;\n }\n else if ( ((LA13_1>='\\u0000' && LA13_1<='.')||(LA13_1>='0' && LA13_1<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n }\n else if ( ((LA13_0>='\\u0000' && LA13_0<=')')||(LA13_0>='+' && LA13_0<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // InternalMyDsl.g:15374:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop13;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16711:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalDSL.g:16711:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalDSL.g:16711:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\u0000' && LA13_0<='\\t')||(LA13_0>='\\u000B' && LA13_0<='\\f')||(LA13_0>='\\u000E' && LA13_0<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // InternalDSL.g:16711:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop13;\n }\n } while (true);\n\n // InternalDSL.g:16711:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0=='\\n'||LA15_0=='\\r') ) {\n alt15=1;\n }\n switch (alt15) {\n case 1 :\n // InternalDSL.g:16711:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalDSL.g:16711:41: ( '\\\\r' )?\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0=='\\r') ) {\n alt14=1;\n }\n switch (alt14) {\n case 1 :\n // InternalDSL.g:16711:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:19: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:24: ( options {greedy=false; } : . )*\r\n loop9:\r\n do {\r\n int alt9=2;\r\n int LA9_0 = input.LA(1);\r\n\r\n if ( (LA9_0=='*') ) {\r\n int LA9_1 = input.LA(2);\r\n\r\n if ( (LA9_1=='/') ) {\r\n alt9=2;\r\n }\r\n else if ( ((LA9_1>='\\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\\uFFFF')) ) {\r\n alt9=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA9_0>='\\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\\uFFFF')) ) {\r\n alt9=1;\r\n }\r\n\r\n\r\n switch (alt9) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:52: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop9;\r\n }\r\n } while (true);\r\n\r\n match(\"*/\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2391:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalMyDsl.g:2391:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalMyDsl.g:2391:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:2391:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( ((LA10_0>='\\u0000' && LA10_0<='\\t')||(LA10_0>='\\u000B' && LA10_0<='\\f')||(LA10_0>='\\u000E' && LA10_0<='\\uFFFE')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFE') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\n alt12=1;\n }\n switch (alt12) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:41: ( '\\\\r' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6374:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalMyDsl.g:6374:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalMyDsl.g:6374:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:6374:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2393:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalMyDsl.g:2393:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalMyDsl.g:2393:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalMyDsl.g:2393:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalMyDsl.g:2393:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalMyDsl.g:2393:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalMyDsl.g:2393:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalMyDsl.g:2393:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:853:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalStateMachine.g:853:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalStateMachine.g:853:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalStateMachine.g:853:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalStateMachine.g:853:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalStateMachine.g:853:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalStateMachine.g:853:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalStateMachine.g:853:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6376:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalMyDsl.g:6376:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalMyDsl.g:6376:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalMyDsl.g:6376:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalMyDsl.g:6376:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalMyDsl.g:6376:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalMyDsl.g:6376:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalMyDsl.g:6376:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15376:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalMyDsl.g:15376:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalMyDsl.g:15376:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop14:\n do {\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( ((LA14_0>='\\u0000' && LA14_0<='\\t')||(LA14_0>='\\u000B' && LA14_0<='\\f')||(LA14_0>='\\u000E' && LA14_0<='\\uFFFF')) ) {\n alt14=1;\n }\n\n\n switch (alt14) {\n \tcase 1 :\n \t // InternalMyDsl.g:15376:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop14;\n }\n } while (true);\n\n // InternalMyDsl.g:15376:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( (LA16_0=='\\n'||LA16_0=='\\r') ) {\n alt16=1;\n }\n switch (alt16) {\n case 1 :\n // InternalMyDsl.g:15376:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalMyDsl.g:15376:41: ( '\\\\r' )?\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0=='\\r') ) {\n alt15=1;\n }\n switch (alt15) {\n case 1 :\n // InternalMyDsl.g:15376:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mFRAGMENT_RULE_SL_COMMENT() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:323:35: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // PsiInternalBacktrackingLexerTestLanguage.g:323:37: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // PsiInternalBacktrackingLexerTestLanguage.g:323:42: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='\\u0000' && LA2_0<='\\t')||(LA2_0>='\\u000B' && LA2_0<='\\f')||(LA2_0>='\\u000E' && LA2_0<='\\uFFFF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // PsiInternalBacktrackingLexerTestLanguage.g:323:42: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n // PsiInternalBacktrackingLexerTestLanguage.g:323:58: ( ( '\\\\r' )? '\\\\n' )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='\\n'||LA4_0=='\\r') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // PsiInternalBacktrackingLexerTestLanguage.g:323:59: ( '\\\\r' )? '\\\\n'\n {\n // PsiInternalBacktrackingLexerTestLanguage.g:323:59: ( '\\\\r' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='\\r') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // PsiInternalBacktrackingLexerTestLanguage.g:323:59: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16709:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalDSL.g:16709:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalDSL.g:16709:24: ( options {greedy=false; } : . )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='*') ) {\n int LA12_1 = input.LA(2);\n\n if ( (LA12_1=='/') ) {\n alt12=2;\n }\n else if ( ((LA12_1>='\\u0000' && LA12_1<='.')||(LA12_1>='0' && LA12_1<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n }\n else if ( ((LA12_0>='\\u0000' && LA12_0<=')')||(LA12_0>='+' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalDSL.g:16709:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2292:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalDSL.g:2292:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalDSL.g:2292:24: ( options {greedy=false; } : . )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='*') ) {\n int LA9_1 = input.LA(2);\n\n if ( (LA9_1=='/') ) {\n alt9=2;\n }\n else if ( ((LA9_1>='\\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n }\n else if ( ((LA9_0>='\\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalDSL.g:2292:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1726:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalReqLNG.g:1726:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalReqLNG.g:1726:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalReqLNG.g:1726:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalReqLNG.g:1726:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalReqLNG.g:1726:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalReqLNG.g:1726:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalReqLNG.g:1726:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1724:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalReqLNG.g:1724:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalReqLNG.g:1724:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalReqLNG.g:1724:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7236:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalIotLuaXtext.g:7236:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalIotLuaXtext.g:7236:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:7236:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // InternalIotLuaXtext.g:7236:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalIotLuaXtext.g:7236:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalIotLuaXtext.g:7236:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // InternalIotLuaXtext.g:7236:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:851:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalStateMachine.g:851:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalStateMachine.g:851:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalStateMachine.g:851:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34505:17: ( '<!--' ( options {greedy=false; } : . )* '-->' )\r\n // InternalSpringConfigDsl.g:34505:19: '<!--' ( options {greedy=false; } : . )* '-->'\r\n {\r\n match(\"<!--\"); \r\n\r\n // InternalSpringConfigDsl.g:34505:26: ( options {greedy=false; } : . )*\r\n loop8:\r\n do {\r\n int alt8=2;\r\n int LA8_0 = input.LA(1);\r\n\r\n if ( (LA8_0=='-') ) {\r\n int LA8_1 = input.LA(2);\r\n\r\n if ( (LA8_1=='-') ) {\r\n int LA8_3 = input.LA(3);\r\n\r\n if ( (LA8_3=='>') ) {\r\n alt8=2;\r\n }\r\n else if ( ((LA8_3>='\\u0000' && LA8_3<='=')||(LA8_3>='?' && LA8_3<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA8_1>='\\u0000' && LA8_1<=',')||(LA8_1>='.' && LA8_1<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA8_0>='\\u0000' && LA8_0<=',')||(LA8_0>='.' && LA8_0<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n switch (alt8) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:34505:54: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop8;\r\n }\r\n } while (true);\r\n\r\n match(\"-->\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5145:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalUniMapperGenerator.g:5145:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalUniMapperGenerator.g:5145:24: ( options {greedy=false; } : . )*\n loop15:\n do {\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0=='*') ) {\n int LA15_1 = input.LA(2);\n\n if ( (LA15_1=='/') ) {\n alt15=2;\n }\n else if ( ((LA15_1>='\\u0000' && LA15_1<='.')||(LA15_1>='0' && LA15_1<='\\uFFFF')) ) {\n alt15=1;\n }\n\n\n }\n else if ( ((LA15_0>='\\u0000' && LA15_0<=')')||(LA15_0>='+' && LA15_0<='\\uFFFF')) ) {\n alt15=1;\n }\n\n\n switch (alt15) {\n \tcase 1 :\n \t // InternalUniMapperGenerator.g:5145:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop15;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1758:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalVizualizer.g:1758:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalVizualizer.g:1758:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // InternalVizualizer.g:1758:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5143:17: ( '//' (~ ( ( '\\\\r' | '\\\\n' ) ) )* ( '\\\\r' )? '\\\\n' )\n // InternalUniMapperGenerator.g:5143:19: '//' (~ ( ( '\\\\r' | '\\\\n' ) ) )* ( '\\\\r' )? '\\\\n'\n {\n match(\"//\"); \n\n // InternalUniMapperGenerator.g:5143:24: (~ ( ( '\\\\r' | '\\\\n' ) ) )*\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\u0000' && LA13_0<='\\t')||(LA13_0>='\\u000B' && LA13_0<='\\f')||(LA13_0>='\\u000E' && LA13_0<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // InternalUniMapperGenerator.g:5143:24: ~ ( ( '\\\\r' | '\\\\n' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop13;\n }\n } while (true);\n\n // InternalUniMapperGenerator.g:5143:40: ( '\\\\r' )?\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0=='\\r') ) {\n alt14=1;\n }\n switch (alt14) {\n case 1 :\n // InternalUniMapperGenerator.g:5143:40: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1760:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalVizualizer.g:1760:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalVizualizer.g:1760:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalVizualizer.g:1760:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // InternalVizualizer.g:1760:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalVizualizer.g:1760:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalVizualizer.g:1760:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // InternalVizualizer.g:1760:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mCOMMENT() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.COMMENT;\r\n int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:5: ( '//' (~ ( '\\\\n'\r\n // | '\\\\r' ) )* ( '\\\\r' )? '\\\\n' | '/*' ( options {greedy=false; } : . )* '*/' )\r\n int alt15 = 2;\r\n final int LA15_0 = this.input.LA(1);\r\n\r\n if (LA15_0 == '/') {\r\n final int LA15_1 = this.input.LA(2);\r\n\r\n if (LA15_1 == '/') {\r\n alt15 = 1;\r\n } else if (LA15_1 == '*') {\r\n alt15 = 2;\r\n } else {\r\n final NoViableAltException nvae = new NoViableAltException(\"\", 15, 1,\r\n this.input);\r\n\r\n throw nvae;\r\n }\r\n } else {\r\n final NoViableAltException nvae = new NoViableAltException(\"\", 15, 0, this.input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt15) {\r\n case 1:\r\n this.match(\"//\");\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:14: (~ ( '\\\\n'\r\n // | '\\\\r' ) )*\r\n loop12: do {\r\n int alt12 = 2;\r\n final int LA12_0 = this.input.LA(1);\r\n\r\n if (LA12_0 >= '\\u0000' && LA12_0 <= '\\t' || LA12_0 >= '\\u000B'\r\n && LA12_0 <= '\\f' || LA12_0 >= '\\u000E' && LA12_0 <= '\\uFFFF') {\r\n alt12 = 1;\r\n }\r\n\r\n switch (alt12) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:14: ~\r\n // ( '\\\\n' | '\\\\r' )\r\n {\r\n if (this.input.LA(1) >= '\\u0000' && this.input.LA(1) <= '\\t'\r\n || this.input.LA(1) >= '\\u000B' && this.input.LA(1) <= '\\f'\r\n || this.input.LA(1) >= '\\u000E'\r\n && this.input.LA(1) <= '\\uFFFF') {\r\n this.input.consume();\r\n\r\n } else {\r\n final MismatchedSetException mse = new MismatchedSetException(\r\n null, this.input);\r\n this.recover(mse);\r\n throw mse;\r\n }\r\n\r\n }\r\n break;\r\n\r\n default:\r\n break loop12;\r\n }\r\n } while (true);\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:28: ( '\\\\r' )?\r\n int alt13 = 2;\r\n final int LA13_0 = this.input.LA(1);\r\n if (LA13_0 == '\\r') {\r\n alt13 = 1;\r\n }\r\n switch (alt13) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:28: '\\\\r'\r\n {\r\n this.match('\\r');\r\n\r\n }\r\n break;\r\n\r\n }\r\n this.match('\\n');\r\n _channel = BaseRecognizer.HIDDEN;\r\n break;\r\n case 2:\r\n this.match(\"/*\");\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:65:14: ( options\r\n // {greedy=false; } : . )*\r\n loop14: do {\r\n int alt14 = 2;\r\n final int LA14_0 = this.input.LA(1);\r\n\r\n if (LA14_0 == '*') {\r\n final int LA14_1 = this.input.LA(2);\r\n\r\n if (LA14_1 == '/') {\r\n alt14 = 2;\r\n } else if (LA14_1 >= '\\u0000' && LA14_1 <= '.' || LA14_1 >= '0'\r\n && LA14_1 <= '\\uFFFF') {\r\n alt14 = 1;\r\n }\r\n\r\n } else if (LA14_0 >= '\\u0000' && LA14_0 <= ')' || LA14_0 >= '+'\r\n && LA14_0 <= '\\uFFFF') {\r\n alt14 = 1;\r\n }\r\n\r\n switch (alt14) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:65:42: .\r\n {\r\n this.matchAny();\r\n\r\n }\r\n break;\r\n\r\n default:\r\n break loop14;\r\n }\r\n } while (true);\r\n this.match(\"*/\");\r\n _channel = BaseRecognizer.HIDDEN;\r\n break;\r\n default:\r\n break;\r\n\r\n }\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "DeclRule createDeclRule();", "public final void mML_COMMENT() throws RecognitionException {\n try {\n int _type = ML_COMMENT;\n // /Users/benjamincoe/HackWars/C.g:165:5: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // /Users/benjamincoe/HackWars/C.g:165:9: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // /Users/benjamincoe/HackWars/C.g:165:14: ( options {greedy=false; } : . )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='*') ) {\n int LA2_1 = input.LA(2);\n\n if ( (LA2_1=='/') ) {\n alt2=2;\n }\n else if ( ((LA2_1>='\\u0000' && LA2_1<='.')||(LA2_1>='0' && LA2_1<='\\uFFFE')) ) {\n alt2=1;\n }\n\n\n }\n else if ( ((LA2_0>='\\u0000' && LA2_0<=')')||(LA2_0>='+' && LA2_0<='\\uFFFE')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // /Users/benjamincoe/HackWars/C.g:165:41: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n match(\"*/\"); \n\n channel=HIDDEN;\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mCOMMENT() throws RecognitionException {\n try {\n int _type = COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2697:3: ( ( ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) ) ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:6: ( ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) ) )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:6: ( ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:7: ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:7: ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:8: ( '//' (~ ( '\\\\r' | '\\\\n' ) )* )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:8: ( '//' (~ ( '\\\\r' | '\\\\n' ) )* )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:9: '//' (~ ( '\\\\r' | '\\\\n' ) )*\n {\n match(\"//\"); if (state.failed) return ;\n\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:14: (~ ( '\\\\r' | '\\\\n' ) )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='\\u0000' && LA1_0<='\\t')||(LA1_0>='\\u000B' && LA1_0<='\\f')||(LA1_0>='\\u000E' && LA1_0<='\\uFFFF')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:15: ~ ( '\\\\r' | '\\\\n' )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n \t state.failed=false;\n \t }\n \t else {\n \t if (state.backtracking>0) {state.failed=true; return ;}\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n _channel=HIDDEN;\n }\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mCOMMENT() throws RecognitionException {\n try {\n int _type = COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:5: ( ( '--' | '//' ) ( . )* ( '\\\\n' | '\\\\r' ) )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:7: ( '--' | '//' ) ( . )* ( '\\\\n' | '\\\\r' )\n {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:7: ( '--' | '//' )\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='-') ) {\n alt11=1;\n }\n else if ( (LA11_0=='/') ) {\n alt11=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 11, 0, input);\n\n throw nvae;\n }\n switch (alt11) {\n case 1 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:8: '--'\n {\n match(\"--\"); \n\n\n }\n break;\n case 2 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:15: '//'\n {\n match(\"//\"); \n\n\n }\n break;\n\n }\n\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:21: ( . )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\n alt12=2;\n }\n else if ( ((LA12_0>='\\u0000' && LA12_0<='\\t')||(LA12_0>='\\u000B' && LA12_0<='\\f')||(LA12_0>='\\u000E' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:21: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n if ( input.LA(1)=='\\n'||input.LA(1)=='\\r' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n _channel = HIDDEN; \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mCOMMENT() throws RecognitionException {\r\n try {\r\n int _type = COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:253:9: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:253:12: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n\r\n\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:253:17: ( options {greedy=false; } : . )*\r\n loop1:\r\n do {\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0=='*') ) {\r\n int LA1_1 = input.LA(2);\r\n\r\n if ( (LA1_1=='/') ) {\r\n alt1=2;\r\n }\r\n else if ( ((LA1_1 >= '\\u0000' && LA1_1 <= '.')||(LA1_1 >= '0' && LA1_1 <= '\\uFFFF')) ) {\r\n alt1=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA1_0 >= '\\u0000' && LA1_0 <= ')')||(LA1_0 >= '+' && LA1_0 <= '\\uFFFF')) ) {\r\n alt1=1;\r\n }\r\n\r\n\r\n switch (alt1) {\r\n \tcase 1 :\r\n \t // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:253:45: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop1;\r\n }\r\n } while (true);\r\n\r\n\r\n match(\"*/\"); \r\n\r\n\r\n\r\n _channel = HIDDEN; \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n }", "public final void rulePredicate() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:332:2: ( ( ( rule__Predicate__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:333:1: ( ( rule__Predicate__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:333:1: ( ( rule__Predicate__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:334:1: ( rule__Predicate__Group__0 )\n {\n before(grammarAccess.getPredicateAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:335:1: ( rule__Predicate__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:335:2: rule__Predicate__Group__0\n {\n pushFollow(FOLLOW_rule__Predicate__Group__0_in_rulePredicate586);\n rule__Predicate__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPredicateAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public static ParseAction<Located<Void>> matchTLAComment(){\n\t\treturn parseOneOf(\n\t\t\t\tmatchTLAMultilineComment(),\n\t\t\t\tmatchTLALineComment()\n\t\t);\n\t}", "public final void ruleTerm() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1952:2: ( ( ( rule__Term__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1953:1: ( ( rule__Term__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1953:1: ( ( rule__Term__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1954:1: ( rule__Term__Group__0 )\n {\n before(grammarAccess.getTermAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1955:1: ( rule__Term__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1955:2: rule__Term__Group__0\n {\n pushFollow(FOLLOW_rule__Term__Group__0_in_ruleTerm3685);\n rule__Term__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getTermAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void mCOMMENT() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = COMMENT;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:320:9: ( ( '//' ( . )* NEWLINE | '/*' ( . )* '*/' ) )\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:320:11: ( '//' ( . )* NEWLINE | '/*' ( . )* '*/' )\n\t\t\t{\n\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:320:11: ( '//' ( . )* NEWLINE | '/*' ( . )* '*/' )\n\t\t\tint alt9=2;\n\t\t\tint LA9_0 = input.LA(1);\n\t\t\tif ( (LA9_0=='/') ) {\n\t\t\t\tint LA9_1 = input.LA(2);\n\t\t\t\tif ( (LA9_1=='/') ) {\n\t\t\t\t\talt9=1;\n\t\t\t\t}\n\t\t\t\telse if ( (LA9_1=='*') ) {\n\t\t\t\t\talt9=2;\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 9, 1, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 9, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\n\t\t\tswitch (alt9) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:320:13: '//' ( . )* NEWLINE\n\t\t\t\t\t{\n\t\t\t\t\tmatch(\"//\"); \n\n\t\t\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:320:18: ( . )*\n\t\t\t\t\tloop7:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt7=2;\n\t\t\t\t\t\tint LA7_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA7_0=='\\r') ) {\n\t\t\t\t\t\t\talt7=2;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if ( (LA7_0=='\\n') ) {\n\t\t\t\t\t\t\talt7=2;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if ( ((LA7_0 >= '\\u0000' && LA7_0 <= '\\t')||(LA7_0 >= '\\u000B' && LA7_0 <= '\\f')||(LA7_0 >= '\\u000E' && LA7_0 <= '\\uFFFF')) ) {\n\t\t\t\t\t\t\talt7=1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt7) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:320:18: .\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmatchAny(); \n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tbreak loop7;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tmNEWLINE(); \n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:320:31: '/*' ( . )* '*/'\n\t\t\t\t\t{\n\t\t\t\t\tmatch(\"/*\"); \n\n\t\t\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:320:36: ( . )*\n\t\t\t\t\tloop8:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt8=2;\n\t\t\t\t\t\tint LA8_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA8_0=='*') ) {\n\t\t\t\t\t\t\tint LA8_1 = input.LA(2);\n\t\t\t\t\t\t\tif ( (LA8_1=='/') ) {\n\t\t\t\t\t\t\t\talt8=2;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse if ( ((LA8_1 >= '\\u0000' && LA8_1 <= '.')||(LA8_1 >= '0' && LA8_1 <= '\\uFFFF')) ) {\n\t\t\t\t\t\t\t\talt8=1;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if ( ((LA8_0 >= '\\u0000' && LA8_0 <= ')')||(LA8_0 >= '+' && LA8_0 <= '\\uFFFF')) ) {\n\t\t\t\t\t\t\talt8=1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt8) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// /Users/probst/workspace/MiniJava_A6/src/compiler/Frontend/MiniJava.g:320:36: .\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmatchAny(); \n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tbreak loop8;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tmatch(\"*/\"); \n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\t _channel=HIDDEN; \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "StatementRule createStatementRule();", "public final void mCOMMENT() throws RecognitionException\n\t{\n\t\ttry\n\t\t{\n\t\t\tfinal int _type = AshvmLexer.COMMENT;\n\t\t\tfinal int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\n\t\t\t// D:\\\\Programmieren\\\\projects\\\\ashvm\\\\Ashvm.g:787:5: ( ';' ( . )*\n\t\t\t// '\\\\n' )\n\t\t\t// D:\\\\Programmieren\\\\projects\\\\ashvm\\\\Ashvm.g:787:9: ';' ( . )*\n\t\t\t// '\\\\n'\n\t\t\t{\n\t\t\t\tthis.match(';');\n\t\t\t\t// D:\\\\Programmieren\\\\projects\\\\ashvm\\\\Ashvm.g:787:13: ( . )*\n\t\t\t\tloop5:\n\t\t\t\tdo\n\t\t\t\t{\n\t\t\t\t\tint alt5 = 2;\n\t\t\t\t\tfinal int LA5_0 = this.input.LA(1);\n\n\t\t\t\t\tif ((LA5_0 == '\\n'))\n\t\t\t\t\t{\n\t\t\t\t\t\talt5 = 2;\n\t\t\t\t\t}\n\t\t\t\t\telse if (((LA5_0 >= '\\u0000' && LA5_0 <= '\\t') || (LA5_0 >= '\\u000B' && LA5_0 <= '\\uFFFF')))\n\t\t\t\t\t{\n\t\t\t\t\t\talt5 = 1;\n\t\t\t\t\t}\n\n\t\t\t\t\tswitch (alt5)\n\t\t\t\t\t{\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t// D:\\\\Programmieren\\\\projects\\\\ashvm\\\\Ashvm.g:787:13: .\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tthis.matchAny();\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tbreak loop5;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\twhile (true);\n\n\t\t\t\tthis.match('\\n');\n\n\t\t\t}\n\n\t\t\tthis.state.type = _type;\n\t\t\tthis.state.channel = _channel;\n\t\t}\n\t\tfinally\n\t\t{\n\t\t}\n\t}", "public final void mMULTI_LINE_COMMENT() throws RecognitionException {\n try {\n int _type = MULTI_LINE_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2703:3: ( ( ( ( '/*' ( options {greedy=false; } : ( '\\\\n' | ~ '\\\\n' ) )* '*/' ) ) ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2704:6: ( ( ( '/*' ( options {greedy=false; } : ( '\\\\n' | ~ '\\\\n' ) )* '*/' ) ) )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2704:6: ( ( ( '/*' ( options {greedy=false; } : ( '\\\\n' | ~ '\\\\n' ) )* '*/' ) ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2704:7: ( ( '/*' ( options {greedy=false; } : ( '\\\\n' | ~ '\\\\n' ) )* '*/' ) )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2704:7: ( ( '/*' ( options {greedy=false; } : ( '\\\\n' | ~ '\\\\n' ) )* '*/' ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2704:8: ( '/*' ( options {greedy=false; } : ( '\\\\n' | ~ '\\\\n' ) )* '*/' )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2704:8: ( '/*' ( options {greedy=false; } : ( '\\\\n' | ~ '\\\\n' ) )* '*/' )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2704:9: '/*' ( options {greedy=false; } : ( '\\\\n' | ~ '\\\\n' ) )* '*/'\n {\n match(\"/*\"); if (state.failed) return ;\n\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2704:14: ( options {greedy=false; } : ( '\\\\n' | ~ '\\\\n' ) )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='*') ) {\n int LA2_1 = input.LA(2);\n\n if ( (LA2_1=='/') ) {\n alt2=2;\n }\n else if ( ((LA2_1>='\\u0000' && LA2_1<='.')||(LA2_1>='0' && LA2_1<='\\uFFFF')) ) {\n alt2=1;\n }\n\n\n }\n else if ( ((LA2_0>='\\u0000' && LA2_0<=')')||(LA2_0>='+' && LA2_0<='\\uFFFF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2704:43: ( '\\\\n' | ~ '\\\\n' )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n \t state.failed=false;\n \t }\n \t else {\n \t if (state.backtracking>0) {state.failed=true; return ;}\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n match(\"*/\"); if (state.failed) return ;\n\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n _channel=HIDDEN;\n }\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void ruleModel() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:80:2: ( ( ( rule__Model__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:81:1: ( ( rule__Model__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:81:1: ( ( rule__Model__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:82:1: ( rule__Model__Group__0 )\n {\n before(grammarAccess.getModelAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:83:1: ( rule__Model__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:83:2: rule__Model__Group__0\n {\n pushFollow(FOLLOW_rule__Model__Group__0_in_ruleModel103);\n rule__Model__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getModelAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void mCOMMENT() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = COMMENT;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:154:6: ( '/*' ( . )* '*/' | '//' (~ '\\\\n' )* )\r\n\t\t\tint alt3=2;\r\n\t\t\tint LA3_0 = input.LA(1);\r\n\t\t\tif ( (LA3_0=='/') ) {\r\n\t\t\t\tint LA3_1 = input.LA(2);\r\n\t\t\t\tif ( (LA3_1=='*') ) {\r\n\t\t\t\t\talt3=1;\r\n\t\t\t\t}\r\n\t\t\t\telse if ( (LA3_1=='/') ) {\r\n\t\t\t\t\talt3=2;\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse {\r\n\t\t\t\t\tint nvaeMark = input.mark();\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tinput.consume();\r\n\t\t\t\t\t\tNoViableAltException nvae =\r\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 3, 1, input);\r\n\t\t\t\t\t\tthrow nvae;\r\n\t\t\t\t\t} finally {\r\n\t\t\t\t\t\tinput.rewind(nvaeMark);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\r\n\t\t\telse {\r\n\t\t\t\tNoViableAltException nvae =\r\n\t\t\t\t\tnew NoViableAltException(\"\", 3, 0, input);\r\n\t\t\t\tthrow nvae;\r\n\t\t\t}\r\n\r\n\t\t\tswitch (alt3) {\r\n\t\t\t\tcase 1 :\r\n\t\t\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:154:10: '/*' ( . )* '*/'\r\n\t\t\t\t\t{\r\n\t\t\t\t\tmatch(\"/*\"); \r\n\r\n\t\t\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:154:15: ( . )*\r\n\t\t\t\t\tloop1:\r\n\t\t\t\t\twhile (true) {\r\n\t\t\t\t\t\tint alt1=2;\r\n\t\t\t\t\t\tint LA1_0 = input.LA(1);\r\n\t\t\t\t\t\tif ( (LA1_0=='*') ) {\r\n\t\t\t\t\t\t\tint LA1_1 = input.LA(2);\r\n\t\t\t\t\t\t\tif ( (LA1_1=='/') ) {\r\n\t\t\t\t\t\t\t\talt1=2;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse if ( ((LA1_1 >= '\\u0000' && LA1_1 <= '.')||(LA1_1 >= '0' && LA1_1 <= '\\uFFFF')) ) {\r\n\t\t\t\t\t\t\t\talt1=1;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if ( ((LA1_0 >= '\\u0000' && LA1_0 <= ')')||(LA1_0 >= '+' && LA1_0 <= '\\uFFFF')) ) {\r\n\t\t\t\t\t\t\talt1=1;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tswitch (alt1) {\r\n\t\t\t\t\t\tcase 1 :\r\n\t\t\t\t\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:154:15: .\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tmatchAny(); \r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\tdefault :\r\n\t\t\t\t\t\t\tbreak loop1;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tmatch(\"*/\"); \r\n\r\n\t\t\t\t\t_channel=HIDDEN;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2 :\r\n\t\t\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:155:10: '//' (~ '\\\\n' )*\r\n\t\t\t\t\t{\r\n\t\t\t\t\tmatch(\"//\"); \r\n\r\n\t\t\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:155:15: (~ '\\\\n' )*\r\n\t\t\t\t\tloop2:\r\n\t\t\t\t\twhile (true) {\r\n\t\t\t\t\t\tint alt2=2;\r\n\t\t\t\t\t\tint LA2_0 = input.LA(1);\r\n\t\t\t\t\t\tif ( ((LA2_0 >= '\\u0000' && LA2_0 <= '\\t')||(LA2_0 >= '\\u000B' && LA2_0 <= '\\uFFFF')) ) {\r\n\t\t\t\t\t\t\talt2=1;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tswitch (alt2) {\r\n\t\t\t\t\t\tcase 1 :\r\n\t\t\t\t\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif ( (input.LA(1) >= '\\u0000' && input.LA(1) <= '\\t')||(input.LA(1) >= '\\u000B' && input.LA(1) <= '\\uFFFF') ) {\r\n\t\t\t\t\t\t\t\tinput.consume();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\tMismatchedSetException mse = new MismatchedSetException(null,input);\r\n\t\t\t\t\t\t\t\trecover(mse);\r\n\t\t\t\t\t\t\t\tthrow mse;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\tdefault :\r\n\t\t\t\t\t\t\tbreak loop2;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t_channel=HIDDEN;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t}\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public final void ruleAction() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:296:2: ( ( ( rule__Action__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:297:1: ( ( rule__Action__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:297:1: ( ( rule__Action__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:298:1: ( rule__Action__Group__0 )\n {\n before(grammarAccess.getActionAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:299:1: ( rule__Action__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:299:2: rule__Action__Group__0\n {\n pushFollow(FOLLOW_rule__Action__Group__0_in_ruleAction517);\n rule__Action__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getActionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void mRULE_EOL() throws RecognitionException {\n try {\n int _type = RULE_EOL;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2601:10: ( RULE_NL )\n // InternalCucumber.g:2601:12: RULE_NL\n {\n mRULE_NL(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_NL() throws RecognitionException {\n try {\n // InternalCucumber.g:2603:18: ( ( '\\\\r' )? ( '\\\\n' )? )\n // InternalCucumber.g:2603:20: ( '\\\\r' )? ( '\\\\n' )?\n {\n // InternalCucumber.g:2603:20: ( '\\\\r' )?\n int alt20=2;\n int LA20_0 = input.LA(1);\n\n if ( (LA20_0=='\\r') ) {\n alt20=1;\n }\n switch (alt20) {\n case 1 :\n // InternalCucumber.g:2603:20: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n // InternalCucumber.g:2603:26: ( '\\\\n' )?\n int alt21=2;\n int LA21_0 = input.LA(1);\n\n if ( (LA21_0=='\\n') ) {\n alt21=1;\n }\n switch (alt21) {\n case 1 :\n // InternalCucumber.g:2603:26: '\\\\n'\n {\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n }\n finally {\n }\n }", "public void dispatchAsComment(LexicalHandler lh) throws SAXException {}", "public final EObject ruleRuleDeclaration() throws RecognitionException {\n EObject current = null;\n int ruleRuleDeclaration_StartIndex = input.index();\n Token lv_traced_3_0=null;\n Token lv_stealth_4_0=null;\n Token lv_virtual_5_0=null;\n Token lv_multi_6_0=null;\n Token lv_name_7_0=null;\n Token otherlv_8=null;\n Token otherlv_10=null;\n Token otherlv_12=null;\n Token otherlv_13=null;\n Token otherlv_14=null;\n Token otherlv_16=null;\n Token otherlv_18=null;\n Token otherlv_19=null;\n Token otherlv_21=null;\n Token otherlv_23=null;\n Token otherlv_25=null;\n Token otherlv_27=null;\n Token otherlv_30=null;\n Token otherlv_32=null;\n EObject lv_annotations_0_0 = null;\n\n Enumerator lv_visibility_1_0 = null;\n\n Enumerator lv_exec_2_0 = null;\n\n EObject lv_formalParameters_9_0 = null;\n\n EObject lv_formalParameters_11_0 = null;\n\n EObject lv_returnParameters_15_0 = null;\n\n EObject lv_returnParameters_17_0 = null;\n\n EObject lv_implementedRules_20_0 = null;\n\n EObject lv_implementedRules_22_0 = null;\n\n EObject lv_overriddenRule_24_0 = null;\n\n EObject lv_excludingRules_26_0 = null;\n\n EObject lv_excludingRules_28_0 = null;\n\n EObject lv_trigger_29_0 = null;\n\n EObject lv_javaSpec_31_0 = null;\n\n EObject lv_body_33_0 = null;\n\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 10) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:512:28: ( ( ( (lv_annotations_0_0= ruleAnnotation ) )* ( (lv_visibility_1_0= ruleVisibilityModifier ) )? ( (lv_exec_2_0= ruleExecutionModifier ) ) ( ( (lv_traced_3_0= KEYWORD_74 ) ) | ( (lv_stealth_4_0= KEYWORD_81 ) ) )? ( (lv_virtual_5_0= KEYWORD_83 ) )? ( (lv_multi_6_0= KEYWORD_62 ) )? ( (lv_name_7_0= RULE_ID ) ) otherlv_8= KEYWORD_4 ( ( (lv_formalParameters_9_0= ruleFormalParameter ) ) (otherlv_10= KEYWORD_8 ( (lv_formalParameters_11_0= ruleFormalParameter ) ) )* )? otherlv_12= KEYWORD_5 (otherlv_13= KEYWORD_12 otherlv_14= KEYWORD_4 ( (lv_returnParameters_15_0= ruleReturnParameter ) ) (otherlv_16= KEYWORD_8 ( (lv_returnParameters_17_0= ruleReturnParameter ) ) )* otherlv_18= KEYWORD_5 )? (otherlv_19= KEYWORD_95 ( (lv_implementedRules_20_0= ruleSimpleRuleReference ) ) (otherlv_21= KEYWORD_8 ( (lv_implementedRules_22_0= ruleSimpleRuleReference ) ) )* )? (otherlv_23= KEYWORD_89 ( (lv_overriddenRule_24_0= ruleSimpleRuleReference ) ) )? (otherlv_25= KEYWORD_94 ( (lv_excludingRules_26_0= ruleSimpleRuleReference ) ) (otherlv_27= KEYWORD_8 ( (lv_excludingRules_28_0= ruleSimpleRuleReference ) ) )* )? ( (lv_trigger_29_0= ruleTrigger ) )? (otherlv_30= KEYWORD_13 | ( ( (lv_javaSpec_31_0= ruleJavaSpec ) ) otherlv_32= KEYWORD_13 ) | ( (lv_body_33_0= ruleBlock ) ) ) ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:513:1: ( ( (lv_annotations_0_0= ruleAnnotation ) )* ( (lv_visibility_1_0= ruleVisibilityModifier ) )? ( (lv_exec_2_0= ruleExecutionModifier ) ) ( ( (lv_traced_3_0= KEYWORD_74 ) ) | ( (lv_stealth_4_0= KEYWORD_81 ) ) )? ( (lv_virtual_5_0= KEYWORD_83 ) )? ( (lv_multi_6_0= KEYWORD_62 ) )? ( (lv_name_7_0= RULE_ID ) ) otherlv_8= KEYWORD_4 ( ( (lv_formalParameters_9_0= ruleFormalParameter ) ) (otherlv_10= KEYWORD_8 ( (lv_formalParameters_11_0= ruleFormalParameter ) ) )* )? otherlv_12= KEYWORD_5 (otherlv_13= KEYWORD_12 otherlv_14= KEYWORD_4 ( (lv_returnParameters_15_0= ruleReturnParameter ) ) (otherlv_16= KEYWORD_8 ( (lv_returnParameters_17_0= ruleReturnParameter ) ) )* otherlv_18= KEYWORD_5 )? (otherlv_19= KEYWORD_95 ( (lv_implementedRules_20_0= ruleSimpleRuleReference ) ) (otherlv_21= KEYWORD_8 ( (lv_implementedRules_22_0= ruleSimpleRuleReference ) ) )* )? (otherlv_23= KEYWORD_89 ( (lv_overriddenRule_24_0= ruleSimpleRuleReference ) ) )? (otherlv_25= KEYWORD_94 ( (lv_excludingRules_26_0= ruleSimpleRuleReference ) ) (otherlv_27= KEYWORD_8 ( (lv_excludingRules_28_0= ruleSimpleRuleReference ) ) )* )? ( (lv_trigger_29_0= ruleTrigger ) )? (otherlv_30= KEYWORD_13 | ( ( (lv_javaSpec_31_0= ruleJavaSpec ) ) otherlv_32= KEYWORD_13 ) | ( (lv_body_33_0= ruleBlock ) ) ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:513:1: ( ( (lv_annotations_0_0= ruleAnnotation ) )* ( (lv_visibility_1_0= ruleVisibilityModifier ) )? ( (lv_exec_2_0= ruleExecutionModifier ) ) ( ( (lv_traced_3_0= KEYWORD_74 ) ) | ( (lv_stealth_4_0= KEYWORD_81 ) ) )? ( (lv_virtual_5_0= KEYWORD_83 ) )? ( (lv_multi_6_0= KEYWORD_62 ) )? ( (lv_name_7_0= RULE_ID ) ) otherlv_8= KEYWORD_4 ( ( (lv_formalParameters_9_0= ruleFormalParameter ) ) (otherlv_10= KEYWORD_8 ( (lv_formalParameters_11_0= ruleFormalParameter ) ) )* )? otherlv_12= KEYWORD_5 (otherlv_13= KEYWORD_12 otherlv_14= KEYWORD_4 ( (lv_returnParameters_15_0= ruleReturnParameter ) ) (otherlv_16= KEYWORD_8 ( (lv_returnParameters_17_0= ruleReturnParameter ) ) )* otherlv_18= KEYWORD_5 )? (otherlv_19= KEYWORD_95 ( (lv_implementedRules_20_0= ruleSimpleRuleReference ) ) (otherlv_21= KEYWORD_8 ( (lv_implementedRules_22_0= ruleSimpleRuleReference ) ) )* )? (otherlv_23= KEYWORD_89 ( (lv_overriddenRule_24_0= ruleSimpleRuleReference ) ) )? (otherlv_25= KEYWORD_94 ( (lv_excludingRules_26_0= ruleSimpleRuleReference ) ) (otherlv_27= KEYWORD_8 ( (lv_excludingRules_28_0= ruleSimpleRuleReference ) ) )* )? ( (lv_trigger_29_0= ruleTrigger ) )? (otherlv_30= KEYWORD_13 | ( ( (lv_javaSpec_31_0= ruleJavaSpec ) ) otherlv_32= KEYWORD_13 ) | ( (lv_body_33_0= ruleBlock ) ) ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:513:2: ( (lv_annotations_0_0= ruleAnnotation ) )* ( (lv_visibility_1_0= ruleVisibilityModifier ) )? ( (lv_exec_2_0= ruleExecutionModifier ) ) ( ( (lv_traced_3_0= KEYWORD_74 ) ) | ( (lv_stealth_4_0= KEYWORD_81 ) ) )? ( (lv_virtual_5_0= KEYWORD_83 ) )? ( (lv_multi_6_0= KEYWORD_62 ) )? ( (lv_name_7_0= RULE_ID ) ) otherlv_8= KEYWORD_4 ( ( (lv_formalParameters_9_0= ruleFormalParameter ) ) (otherlv_10= KEYWORD_8 ( (lv_formalParameters_11_0= ruleFormalParameter ) ) )* )? otherlv_12= KEYWORD_5 (otherlv_13= KEYWORD_12 otherlv_14= KEYWORD_4 ( (lv_returnParameters_15_0= ruleReturnParameter ) ) (otherlv_16= KEYWORD_8 ( (lv_returnParameters_17_0= ruleReturnParameter ) ) )* otherlv_18= KEYWORD_5 )? (otherlv_19= KEYWORD_95 ( (lv_implementedRules_20_0= ruleSimpleRuleReference ) ) (otherlv_21= KEYWORD_8 ( (lv_implementedRules_22_0= ruleSimpleRuleReference ) ) )* )? (otherlv_23= KEYWORD_89 ( (lv_overriddenRule_24_0= ruleSimpleRuleReference ) ) )? (otherlv_25= KEYWORD_94 ( (lv_excludingRules_26_0= ruleSimpleRuleReference ) ) (otherlv_27= KEYWORD_8 ( (lv_excludingRules_28_0= ruleSimpleRuleReference ) ) )* )? ( (lv_trigger_29_0= ruleTrigger ) )? (otherlv_30= KEYWORD_13 | ( ( (lv_javaSpec_31_0= ruleJavaSpec ) ) otherlv_32= KEYWORD_13 ) | ( (lv_body_33_0= ruleBlock ) ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:513:2: ( (lv_annotations_0_0= ruleAnnotation ) )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0==KEYWORD_17) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:514:1: (lv_annotations_0_0= ruleAnnotation )\n \t {\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:514:1: (lv_annotations_0_0= ruleAnnotation )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:515:3: lv_annotations_0_0= ruleAnnotation\n \t {\n \t if ( state.backtracking==0 ) {\n \t \n \t \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getAnnotationsAnnotationParserRuleCall_0_0()); \n \t \t \n \t }\n \t pushFollow(FOLLOW_ruleAnnotation_in_ruleRuleDeclaration964);\n \t lv_annotations_0_0=ruleAnnotation();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t if (current==null) {\n \t \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t \t }\n \t \t\tadd(\n \t \t\t\tcurrent, \n \t \t\t\t\"annotations\",\n \t \t\tlv_annotations_0_0, \n \t \t\t\"Annotation\");\n \t \t afterParserOrEnumRuleCall();\n \t \t \n \t }\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:531:3: ( (lv_visibility_1_0= ruleVisibilityModifier ) )?\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0==KEYWORD_80||LA13_0==KEYWORD_72) ) {\n alt13=1;\n }\n switch (alt13) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:532:1: (lv_visibility_1_0= ruleVisibilityModifier )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:532:1: (lv_visibility_1_0= ruleVisibilityModifier )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:533:3: lv_visibility_1_0= ruleVisibilityModifier\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getVisibilityVisibilityModifierEnumRuleCall_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleVisibilityModifier_in_ruleRuleDeclaration986);\n lv_visibility_1_0=ruleVisibilityModifier();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"visibility\",\n \t\tlv_visibility_1_0, \n \t\t\"VisibilityModifier\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n break;\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:549:3: ( (lv_exec_2_0= ruleExecutionModifier ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:550:1: (lv_exec_2_0= ruleExecutionModifier )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:550:1: (lv_exec_2_0= ruleExecutionModifier )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:551:3: lv_exec_2_0= ruleExecutionModifier\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getExecExecutionModifierEnumRuleCall_2_0()); \n \t \n }\n pushFollow(FOLLOW_ruleExecutionModifier_in_ruleRuleDeclaration1008);\n lv_exec_2_0=ruleExecutionModifier();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"exec\",\n \t\tlv_exec_2_0, \n \t\t\"ExecutionModifier\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:567:2: ( ( (lv_traced_3_0= KEYWORD_74 ) ) | ( (lv_stealth_4_0= KEYWORD_81 ) ) )?\n int alt14=3;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0==KEYWORD_74) ) {\n alt14=1;\n }\n else if ( (LA14_0==KEYWORD_81) ) {\n alt14=2;\n }\n switch (alt14) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:567:3: ( (lv_traced_3_0= KEYWORD_74 ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:567:3: ( (lv_traced_3_0= KEYWORD_74 ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:568:1: (lv_traced_3_0= KEYWORD_74 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:568:1: (lv_traced_3_0= KEYWORD_74 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:569:3: lv_traced_3_0= KEYWORD_74\n {\n lv_traced_3_0=(Token)match(input,KEYWORD_74,FOLLOW_KEYWORD_74_in_ruleRuleDeclaration1028); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n newLeafNode(lv_traced_3_0, grammarAccess.getRuleDeclarationAccess().getTracedTracedKeyword_3_0_0());\n \n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tsetWithLastConsumed(current, \"traced\", true, \"traced\");\n \t \n }\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:584:6: ( (lv_stealth_4_0= KEYWORD_81 ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:584:6: ( (lv_stealth_4_0= KEYWORD_81 ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:585:1: (lv_stealth_4_0= KEYWORD_81 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:585:1: (lv_stealth_4_0= KEYWORD_81 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:586:3: lv_stealth_4_0= KEYWORD_81\n {\n lv_stealth_4_0=(Token)match(input,KEYWORD_81,FOLLOW_KEYWORD_81_in_ruleRuleDeclaration1064); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n newLeafNode(lv_stealth_4_0, grammarAccess.getRuleDeclarationAccess().getStealthStealthKeyword_3_1_0());\n \n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tsetWithLastConsumed(current, \"stealth\", true, \"stealth\");\n \t \n }\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:600:4: ( (lv_virtual_5_0= KEYWORD_83 ) )?\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0==KEYWORD_83) ) {\n alt15=1;\n }\n switch (alt15) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:601:1: (lv_virtual_5_0= KEYWORD_83 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:601:1: (lv_virtual_5_0= KEYWORD_83 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:602:3: lv_virtual_5_0= KEYWORD_83\n {\n lv_virtual_5_0=(Token)match(input,KEYWORD_83,FOLLOW_KEYWORD_83_in_ruleRuleDeclaration1096); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n newLeafNode(lv_virtual_5_0, grammarAccess.getRuleDeclarationAccess().getVirtualVirtualKeyword_4_0());\n \n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tsetWithLastConsumed(current, \"virtual\", true, \"virtual\");\n \t \n }\n\n }\n\n\n }\n break;\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:616:3: ( (lv_multi_6_0= KEYWORD_62 ) )?\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( (LA16_0==KEYWORD_62) ) {\n alt16=1;\n }\n switch (alt16) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:617:1: (lv_multi_6_0= KEYWORD_62 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:617:1: (lv_multi_6_0= KEYWORD_62 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:618:3: lv_multi_6_0= KEYWORD_62\n {\n lv_multi_6_0=(Token)match(input,KEYWORD_62,FOLLOW_KEYWORD_62_in_ruleRuleDeclaration1127); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n newLeafNode(lv_multi_6_0, grammarAccess.getRuleDeclarationAccess().getMultiMultiKeyword_5_0());\n \n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tsetWithLastConsumed(current, \"multi\", true, \"multi\");\n \t \n }\n\n }\n\n\n }\n break;\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:632:3: ( (lv_name_7_0= RULE_ID ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:633:1: (lv_name_7_0= RULE_ID )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:633:1: (lv_name_7_0= RULE_ID )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:634:3: lv_name_7_0= RULE_ID\n {\n lv_name_7_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRuleDeclaration1156); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\tnewLeafNode(lv_name_7_0, grammarAccess.getRuleDeclarationAccess().getNameIDTerminalRuleCall_6_0()); \n \t\t\n }\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElement(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tsetWithLastConsumed(\n \t\t\tcurrent, \n \t\t\t\"name\",\n \t\tlv_name_7_0, \n \t\t\"ID\");\n \t \n }\n\n }\n\n\n }\n\n otherlv_8=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_ruleRuleDeclaration1174); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_8, grammarAccess.getRuleDeclarationAccess().getLeftParenthesisKeyword_7());\n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:655:1: ( ( (lv_formalParameters_9_0= ruleFormalParameter ) ) (otherlv_10= KEYWORD_8 ( (lv_formalParameters_11_0= ruleFormalParameter ) ) )* )?\n int alt18=2;\n alt18 = dfa18.predict(input);\n switch (alt18) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:655:2: ( (lv_formalParameters_9_0= ruleFormalParameter ) ) (otherlv_10= KEYWORD_8 ( (lv_formalParameters_11_0= ruleFormalParameter ) ) )*\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:655:2: ( (lv_formalParameters_9_0= ruleFormalParameter ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:656:1: (lv_formalParameters_9_0= ruleFormalParameter )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:656:1: (lv_formalParameters_9_0= ruleFormalParameter )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:657:3: lv_formalParameters_9_0= ruleFormalParameter\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getFormalParametersFormalParameterParserRuleCall_8_0_0()); \n \t \n }\n pushFollow(FOLLOW_ruleFormalParameter_in_ruleRuleDeclaration1195);\n lv_formalParameters_9_0=ruleFormalParameter();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tadd(\n \t\t\tcurrent, \n \t\t\t\"formalParameters\",\n \t\tlv_formalParameters_9_0, \n \t\t\"FormalParameter\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:673:2: (otherlv_10= KEYWORD_8 ( (lv_formalParameters_11_0= ruleFormalParameter ) ) )*\n loop17:\n do {\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( (LA17_0==KEYWORD_8) ) {\n alt17=1;\n }\n\n\n switch (alt17) {\n \tcase 1 :\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:674:2: otherlv_10= KEYWORD_8 ( (lv_formalParameters_11_0= ruleFormalParameter ) )\n \t {\n \t otherlv_10=(Token)match(input,KEYWORD_8,FOLLOW_KEYWORD_8_in_ruleRuleDeclaration1209); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \tnewLeafNode(otherlv_10, grammarAccess.getRuleDeclarationAccess().getCommaKeyword_8_1_0());\n \t \n \t }\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:678:1: ( (lv_formalParameters_11_0= ruleFormalParameter ) )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:679:1: (lv_formalParameters_11_0= ruleFormalParameter )\n \t {\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:679:1: (lv_formalParameters_11_0= ruleFormalParameter )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:680:3: lv_formalParameters_11_0= ruleFormalParameter\n \t {\n \t if ( state.backtracking==0 ) {\n \t \n \t \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getFormalParametersFormalParameterParserRuleCall_8_1_1_0()); \n \t \t \n \t }\n \t pushFollow(FOLLOW_ruleFormalParameter_in_ruleRuleDeclaration1229);\n \t lv_formalParameters_11_0=ruleFormalParameter();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t if (current==null) {\n \t \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t \t }\n \t \t\tadd(\n \t \t\t\tcurrent, \n \t \t\t\t\"formalParameters\",\n \t \t\tlv_formalParameters_11_0, \n \t \t\t\"FormalParameter\");\n \t \t afterParserOrEnumRuleCall();\n \t \t \n \t }\n\n \t }\n\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop17;\n }\n } while (true);\n\n\n }\n break;\n\n }\n\n otherlv_12=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_ruleRuleDeclaration1246); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_12, grammarAccess.getRuleDeclarationAccess().getRightParenthesisKeyword_9());\n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:701:1: (otherlv_13= KEYWORD_12 otherlv_14= KEYWORD_4 ( (lv_returnParameters_15_0= ruleReturnParameter ) ) (otherlv_16= KEYWORD_8 ( (lv_returnParameters_17_0= ruleReturnParameter ) ) )* otherlv_18= KEYWORD_5 )?\n int alt20=2;\n int LA20_0 = input.LA(1);\n\n if ( (LA20_0==KEYWORD_12) ) {\n alt20=1;\n }\n switch (alt20) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:702:2: otherlv_13= KEYWORD_12 otherlv_14= KEYWORD_4 ( (lv_returnParameters_15_0= ruleReturnParameter ) ) (otherlv_16= KEYWORD_8 ( (lv_returnParameters_17_0= ruleReturnParameter ) ) )* otherlv_18= KEYWORD_5\n {\n otherlv_13=(Token)match(input,KEYWORD_12,FOLLOW_KEYWORD_12_in_ruleRuleDeclaration1259); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_13, grammarAccess.getRuleDeclarationAccess().getColonKeyword_10_0());\n \n }\n otherlv_14=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_ruleRuleDeclaration1271); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_14, grammarAccess.getRuleDeclarationAccess().getLeftParenthesisKeyword_10_1());\n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:711:1: ( (lv_returnParameters_15_0= ruleReturnParameter ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:712:1: (lv_returnParameters_15_0= ruleReturnParameter )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:712:1: (lv_returnParameters_15_0= ruleReturnParameter )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:713:3: lv_returnParameters_15_0= ruleReturnParameter\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getReturnParametersReturnParameterParserRuleCall_10_2_0()); \n \t \n }\n pushFollow(FOLLOW_ruleReturnParameter_in_ruleRuleDeclaration1291);\n lv_returnParameters_15_0=ruleReturnParameter();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tadd(\n \t\t\tcurrent, \n \t\t\t\"returnParameters\",\n \t\tlv_returnParameters_15_0, \n \t\t\"ReturnParameter\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:729:2: (otherlv_16= KEYWORD_8 ( (lv_returnParameters_17_0= ruleReturnParameter ) ) )*\n loop19:\n do {\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( (LA19_0==KEYWORD_8) ) {\n alt19=1;\n }\n\n\n switch (alt19) {\n \tcase 1 :\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:730:2: otherlv_16= KEYWORD_8 ( (lv_returnParameters_17_0= ruleReturnParameter ) )\n \t {\n \t otherlv_16=(Token)match(input,KEYWORD_8,FOLLOW_KEYWORD_8_in_ruleRuleDeclaration1305); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \tnewLeafNode(otherlv_16, grammarAccess.getRuleDeclarationAccess().getCommaKeyword_10_3_0());\n \t \n \t }\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:734:1: ( (lv_returnParameters_17_0= ruleReturnParameter ) )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:735:1: (lv_returnParameters_17_0= ruleReturnParameter )\n \t {\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:735:1: (lv_returnParameters_17_0= ruleReturnParameter )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:736:3: lv_returnParameters_17_0= ruleReturnParameter\n \t {\n \t if ( state.backtracking==0 ) {\n \t \n \t \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getReturnParametersReturnParameterParserRuleCall_10_3_1_0()); \n \t \t \n \t }\n \t pushFollow(FOLLOW_ruleReturnParameter_in_ruleRuleDeclaration1325);\n \t lv_returnParameters_17_0=ruleReturnParameter();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t if (current==null) {\n \t \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t \t }\n \t \t\tadd(\n \t \t\t\tcurrent, \n \t \t\t\t\"returnParameters\",\n \t \t\tlv_returnParameters_17_0, \n \t \t\t\"ReturnParameter\");\n \t \t afterParserOrEnumRuleCall();\n \t \t \n \t }\n\n \t }\n\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop19;\n }\n } while (true);\n\n otherlv_18=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_ruleRuleDeclaration1340); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_18, grammarAccess.getRuleDeclarationAccess().getRightParenthesisKeyword_10_4());\n \n }\n\n }\n break;\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:757:3: (otherlv_19= KEYWORD_95 ( (lv_implementedRules_20_0= ruleSimpleRuleReference ) ) (otherlv_21= KEYWORD_8 ( (lv_implementedRules_22_0= ruleSimpleRuleReference ) ) )* )?\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( (LA22_0==KEYWORD_95) ) {\n alt22=1;\n }\n switch (alt22) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:758:2: otherlv_19= KEYWORD_95 ( (lv_implementedRules_20_0= ruleSimpleRuleReference ) ) (otherlv_21= KEYWORD_8 ( (lv_implementedRules_22_0= ruleSimpleRuleReference ) ) )*\n {\n otherlv_19=(Token)match(input,KEYWORD_95,FOLLOW_KEYWORD_95_in_ruleRuleDeclaration1355); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_19, grammarAccess.getRuleDeclarationAccess().getImplementsKeyword_11_0());\n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:762:1: ( (lv_implementedRules_20_0= ruleSimpleRuleReference ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:763:1: (lv_implementedRules_20_0= ruleSimpleRuleReference )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:763:1: (lv_implementedRules_20_0= ruleSimpleRuleReference )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:764:3: lv_implementedRules_20_0= ruleSimpleRuleReference\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getImplementedRulesSimpleRuleReferenceParserRuleCall_11_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleSimpleRuleReference_in_ruleRuleDeclaration1375);\n lv_implementedRules_20_0=ruleSimpleRuleReference();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tadd(\n \t\t\tcurrent, \n \t\t\t\"implementedRules\",\n \t\tlv_implementedRules_20_0, \n \t\t\"SimpleRuleReference\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:780:2: (otherlv_21= KEYWORD_8 ( (lv_implementedRules_22_0= ruleSimpleRuleReference ) ) )*\n loop21:\n do {\n int alt21=2;\n int LA21_0 = input.LA(1);\n\n if ( (LA21_0==KEYWORD_8) ) {\n alt21=1;\n }\n\n\n switch (alt21) {\n \tcase 1 :\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:781:2: otherlv_21= KEYWORD_8 ( (lv_implementedRules_22_0= ruleSimpleRuleReference ) )\n \t {\n \t otherlv_21=(Token)match(input,KEYWORD_8,FOLLOW_KEYWORD_8_in_ruleRuleDeclaration1389); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \tnewLeafNode(otherlv_21, grammarAccess.getRuleDeclarationAccess().getCommaKeyword_11_2_0());\n \t \n \t }\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:785:1: ( (lv_implementedRules_22_0= ruleSimpleRuleReference ) )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:786:1: (lv_implementedRules_22_0= ruleSimpleRuleReference )\n \t {\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:786:1: (lv_implementedRules_22_0= ruleSimpleRuleReference )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:787:3: lv_implementedRules_22_0= ruleSimpleRuleReference\n \t {\n \t if ( state.backtracking==0 ) {\n \t \n \t \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getImplementedRulesSimpleRuleReferenceParserRuleCall_11_2_1_0()); \n \t \t \n \t }\n \t pushFollow(FOLLOW_ruleSimpleRuleReference_in_ruleRuleDeclaration1409);\n \t lv_implementedRules_22_0=ruleSimpleRuleReference();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t if (current==null) {\n \t \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t \t }\n \t \t\tadd(\n \t \t\t\tcurrent, \n \t \t\t\t\"implementedRules\",\n \t \t\tlv_implementedRules_22_0, \n \t \t\t\"SimpleRuleReference\");\n \t \t afterParserOrEnumRuleCall();\n \t \t \n \t }\n\n \t }\n\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop21;\n }\n } while (true);\n\n\n }\n break;\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:803:6: (otherlv_23= KEYWORD_89 ( (lv_overriddenRule_24_0= ruleSimpleRuleReference ) ) )?\n int alt23=2;\n int LA23_0 = input.LA(1);\n\n if ( (LA23_0==KEYWORD_89) ) {\n alt23=1;\n }\n switch (alt23) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:804:2: otherlv_23= KEYWORD_89 ( (lv_overriddenRule_24_0= ruleSimpleRuleReference ) )\n {\n otherlv_23=(Token)match(input,KEYWORD_89,FOLLOW_KEYWORD_89_in_ruleRuleDeclaration1427); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_23, grammarAccess.getRuleDeclarationAccess().getOverridesKeyword_12_0());\n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:808:1: ( (lv_overriddenRule_24_0= ruleSimpleRuleReference ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:809:1: (lv_overriddenRule_24_0= ruleSimpleRuleReference )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:809:1: (lv_overriddenRule_24_0= ruleSimpleRuleReference )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:810:3: lv_overriddenRule_24_0= ruleSimpleRuleReference\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getOverriddenRuleSimpleRuleReferenceParserRuleCall_12_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleSimpleRuleReference_in_ruleRuleDeclaration1447);\n lv_overriddenRule_24_0=ruleSimpleRuleReference();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"overriddenRule\",\n \t\tlv_overriddenRule_24_0, \n \t\t\"SimpleRuleReference\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:826:4: (otherlv_25= KEYWORD_94 ( (lv_excludingRules_26_0= ruleSimpleRuleReference ) ) (otherlv_27= KEYWORD_8 ( (lv_excludingRules_28_0= ruleSimpleRuleReference ) ) )* )?\n int alt25=2;\n int LA25_0 = input.LA(1);\n\n if ( (LA25_0==KEYWORD_94) ) {\n alt25=1;\n }\n switch (alt25) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:827:2: otherlv_25= KEYWORD_94 ( (lv_excludingRules_26_0= ruleSimpleRuleReference ) ) (otherlv_27= KEYWORD_8 ( (lv_excludingRules_28_0= ruleSimpleRuleReference ) ) )*\n {\n otherlv_25=(Token)match(input,KEYWORD_94,FOLLOW_KEYWORD_94_in_ruleRuleDeclaration1463); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_25, grammarAccess.getRuleDeclarationAccess().getExcludedByKeyword_13_0());\n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:831:1: ( (lv_excludingRules_26_0= ruleSimpleRuleReference ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:832:1: (lv_excludingRules_26_0= ruleSimpleRuleReference )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:832:1: (lv_excludingRules_26_0= ruleSimpleRuleReference )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:833:3: lv_excludingRules_26_0= ruleSimpleRuleReference\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getExcludingRulesSimpleRuleReferenceParserRuleCall_13_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleSimpleRuleReference_in_ruleRuleDeclaration1483);\n lv_excludingRules_26_0=ruleSimpleRuleReference();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tadd(\n \t\t\tcurrent, \n \t\t\t\"excludingRules\",\n \t\tlv_excludingRules_26_0, \n \t\t\"SimpleRuleReference\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:849:2: (otherlv_27= KEYWORD_8 ( (lv_excludingRules_28_0= ruleSimpleRuleReference ) ) )*\n loop24:\n do {\n int alt24=2;\n int LA24_0 = input.LA(1);\n\n if ( (LA24_0==KEYWORD_8) ) {\n alt24=1;\n }\n\n\n switch (alt24) {\n \tcase 1 :\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:850:2: otherlv_27= KEYWORD_8 ( (lv_excludingRules_28_0= ruleSimpleRuleReference ) )\n \t {\n \t otherlv_27=(Token)match(input,KEYWORD_8,FOLLOW_KEYWORD_8_in_ruleRuleDeclaration1497); if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \tnewLeafNode(otherlv_27, grammarAccess.getRuleDeclarationAccess().getCommaKeyword_13_2_0());\n \t \n \t }\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:854:1: ( (lv_excludingRules_28_0= ruleSimpleRuleReference ) )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:855:1: (lv_excludingRules_28_0= ruleSimpleRuleReference )\n \t {\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:855:1: (lv_excludingRules_28_0= ruleSimpleRuleReference )\n \t // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:856:3: lv_excludingRules_28_0= ruleSimpleRuleReference\n \t {\n \t if ( state.backtracking==0 ) {\n \t \n \t \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getExcludingRulesSimpleRuleReferenceParserRuleCall_13_2_1_0()); \n \t \t \n \t }\n \t pushFollow(FOLLOW_ruleSimpleRuleReference_in_ruleRuleDeclaration1517);\n \t lv_excludingRules_28_0=ruleSimpleRuleReference();\n\n \t state._fsp--;\n \t if (state.failed) return current;\n \t if ( state.backtracking==0 ) {\n\n \t \t if (current==null) {\n \t \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t \t }\n \t \t\tadd(\n \t \t\t\tcurrent, \n \t \t\t\t\"excludingRules\",\n \t \t\tlv_excludingRules_28_0, \n \t \t\t\"SimpleRuleReference\");\n \t \t afterParserOrEnumRuleCall();\n \t \t \n \t }\n\n \t }\n\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop24;\n }\n } while (true);\n\n\n }\n break;\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:872:6: ( (lv_trigger_29_0= ruleTrigger ) )?\n int alt26=2;\n int LA26_0 = input.LA(1);\n\n if ( (LA26_0==KEYWORD_82) ) {\n alt26=1;\n }\n switch (alt26) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:873:1: (lv_trigger_29_0= ruleTrigger )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:873:1: (lv_trigger_29_0= ruleTrigger )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:874:3: lv_trigger_29_0= ruleTrigger\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getTriggerTriggerParserRuleCall_14_0()); \n \t \n }\n pushFollow(FOLLOW_ruleTrigger_in_ruleRuleDeclaration1542);\n lv_trigger_29_0=ruleTrigger();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"trigger\",\n \t\tlv_trigger_29_0, \n \t\t\"Trigger\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n break;\n\n }\n\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:890:3: (otherlv_30= KEYWORD_13 | ( ( (lv_javaSpec_31_0= ruleJavaSpec ) ) otherlv_32= KEYWORD_13 ) | ( (lv_body_33_0= ruleBlock ) ) )\n int alt27=3;\n switch ( input.LA(1) ) {\n case KEYWORD_13:\n {\n alt27=1;\n }\n break;\n case KEYWORD_50:\n {\n alt27=2;\n }\n break;\n case KEYWORD_18:\n {\n alt27=3;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 27, 0, input);\n\n throw nvae;\n }\n\n switch (alt27) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:891:2: otherlv_30= KEYWORD_13\n {\n otherlv_30=(Token)match(input,KEYWORD_13,FOLLOW_KEYWORD_13_in_ruleRuleDeclaration1557); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_30, grammarAccess.getRuleDeclarationAccess().getSemicolonKeyword_15_0());\n \n }\n\n }\n break;\n case 2 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:896:6: ( ( (lv_javaSpec_31_0= ruleJavaSpec ) ) otherlv_32= KEYWORD_13 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:896:6: ( ( (lv_javaSpec_31_0= ruleJavaSpec ) ) otherlv_32= KEYWORD_13 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:896:7: ( (lv_javaSpec_31_0= ruleJavaSpec ) ) otherlv_32= KEYWORD_13\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:896:7: ( (lv_javaSpec_31_0= ruleJavaSpec ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:897:1: (lv_javaSpec_31_0= ruleJavaSpec )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:897:1: (lv_javaSpec_31_0= ruleJavaSpec )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:898:3: lv_javaSpec_31_0= ruleJavaSpec\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getJavaSpecJavaSpecParserRuleCall_15_1_0_0()); \n \t \n }\n pushFollow(FOLLOW_ruleJavaSpec_in_ruleRuleDeclaration1584);\n lv_javaSpec_31_0=ruleJavaSpec();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"javaSpec\",\n \t\tlv_javaSpec_31_0, \n \t\t\"JavaSpec\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n otherlv_32=(Token)match(input,KEYWORD_13,FOLLOW_KEYWORD_13_in_ruleRuleDeclaration1597); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_32, grammarAccess.getRuleDeclarationAccess().getSemicolonKeyword_15_1_1());\n \n }\n\n }\n\n\n }\n break;\n case 3 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:920:6: ( (lv_body_33_0= ruleBlock ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:920:6: ( (lv_body_33_0= ruleBlock ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:921:1: (lv_body_33_0= ruleBlock )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:921:1: (lv_body_33_0= ruleBlock )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:922:3: lv_body_33_0= ruleBlock\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getRuleDeclarationAccess().getBodyBlockParserRuleCall_15_2_0()); \n \t \n }\n pushFollow(FOLLOW_ruleBlock_in_ruleRuleDeclaration1624);\n lv_body_33_0=ruleBlock();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getRuleDeclarationRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"body\",\n \t\tlv_body_33_0, \n \t\t\"Block\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 10, ruleRuleDeclaration_StartIndex); }\n }\n return current;\n }", "public final void mRULE_NEWLINE() throws RecognitionException {\n try {\n int _type = RULE_NEWLINE;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16725:14: ( ( '\\\\r' | '\\\\n' )+ )\n // InternalDSL.g:16725:16: ( '\\\\r' | '\\\\n' )+\n {\n // InternalDSL.g:16725:16: ( '\\\\r' | '\\\\n' )+\n int cnt22=0;\n loop22:\n do {\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( (LA22_0=='\\n'||LA22_0=='\\r') ) {\n alt22=1;\n }\n\n\n switch (alt22) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( input.LA(1)=='\\n'||input.LA(1)=='\\r' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt22 >= 1 ) break loop22;\n EarlyExitException eee =\n new EarlyExitException(22, input);\n throw eee;\n }\n cnt22++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "NextDeclRule createNextDeclRule();", "public final ANTLRv3Parser.grammarDef_return grammarDef() throws RecognitionException {\r\n ANTLRv3Parser.grammarDef_return retval = new ANTLRv3Parser.grammarDef_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token g=null;\r\n Token DOC_COMMENT1=null;\r\n Token string_literal2=null;\r\n Token string_literal3=null;\r\n Token string_literal4=null;\r\n Token char_literal6=null;\r\n Token EOF12=null;\r\n ANTLRv3Parser.id_return id5 =null;\r\n\r\n ANTLRv3Parser.optionsSpec_return optionsSpec7 =null;\r\n\r\n ANTLRv3Parser.tokensSpec_return tokensSpec8 =null;\r\n\r\n ANTLRv3Parser.attrScope_return attrScope9 =null;\r\n\r\n ANTLRv3Parser.action_return action10 =null;\r\n\r\n ANTLRv3Parser.rule_return rule11 =null;\r\n\r\n\r\n CommonTree g_tree=null;\r\n CommonTree DOC_COMMENT1_tree=null;\r\n CommonTree string_literal2_tree=null;\r\n CommonTree string_literal3_tree=null;\r\n CommonTree string_literal4_tree=null;\r\n CommonTree char_literal6_tree=null;\r\n CommonTree EOF12_tree=null;\r\n RewriteRuleTokenStream stream_DOC_COMMENT=new RewriteRuleTokenStream(adaptor,\"token DOC_COMMENT\");\r\n RewriteRuleTokenStream stream_90=new RewriteRuleTokenStream(adaptor,\"token 90\");\r\n RewriteRuleTokenStream stream_EOF=new RewriteRuleTokenStream(adaptor,\"token EOF\");\r\n RewriteRuleTokenStream stream_83=new RewriteRuleTokenStream(adaptor,\"token 83\");\r\n RewriteRuleTokenStream stream_84=new RewriteRuleTokenStream(adaptor,\"token 84\");\r\n RewriteRuleTokenStream stream_85=new RewriteRuleTokenStream(adaptor,\"token 85\");\r\n RewriteRuleTokenStream stream_76=new RewriteRuleTokenStream(adaptor,\"token 76\");\r\n RewriteRuleSubtreeStream stream_id=new RewriteRuleSubtreeStream(adaptor,\"rule id\");\r\n RewriteRuleSubtreeStream stream_tokensSpec=new RewriteRuleSubtreeStream(adaptor,\"rule tokensSpec\");\r\n RewriteRuleSubtreeStream stream_attrScope=new RewriteRuleSubtreeStream(adaptor,\"rule attrScope\");\r\n RewriteRuleSubtreeStream stream_rule=new RewriteRuleSubtreeStream(adaptor,\"rule rule\");\r\n RewriteRuleSubtreeStream stream_action=new RewriteRuleSubtreeStream(adaptor,\"rule action\");\r\n RewriteRuleSubtreeStream stream_optionsSpec=new RewriteRuleSubtreeStream(adaptor,\"rule optionsSpec\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:5: ( ( DOC_COMMENT )? ( 'lexer' | 'parser' | 'tree' |) g= 'grammar' id ';' ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ EOF -> ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ ) )\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: ( DOC_COMMENT )? ( 'lexer' | 'parser' | 'tree' |) g= 'grammar' id ';' ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ EOF\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: ( DOC_COMMENT )?\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0==DOC_COMMENT) ) {\r\n alt1=1;\r\n }\r\n switch (alt1) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: DOC_COMMENT\r\n {\r\n DOC_COMMENT1=(Token)match(input,DOC_COMMENT,FOLLOW_DOC_COMMENT_in_grammarDef367); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_DOC_COMMENT.add(DOC_COMMENT1);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:94:6: ( 'lexer' | 'parser' | 'tree' |)\r\n int alt2=4;\r\n switch ( input.LA(1) ) {\r\n case 84:\r\n {\r\n alt2=1;\r\n }\r\n break;\r\n case 85:\r\n {\r\n alt2=2;\r\n }\r\n break;\r\n case 90:\r\n {\r\n alt2=3;\r\n }\r\n break;\r\n case 83:\r\n {\r\n alt2=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 2, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n\r\n switch (alt2) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:94:8: 'lexer'\r\n {\r\n string_literal2=(Token)match(input,84,FOLLOW_84_in_grammarDef377); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_84.add(string_literal2);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=LEXER_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:95:10: 'parser'\r\n {\r\n string_literal3=(Token)match(input,85,FOLLOW_85_in_grammarDef395); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_85.add(string_literal3);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=PARSER_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 3 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:96:10: 'tree'\r\n {\r\n string_literal4=(Token)match(input,90,FOLLOW_90_in_grammarDef411); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_90.add(string_literal4);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=TREE_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 4 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:97:14: \r\n {\r\n if ( state.backtracking==0 ) {gtype=COMBINED_GRAMMAR;}\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n g=(Token)match(input,83,FOLLOW_83_in_grammarDef452); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_83.add(g);\r\n\r\n\r\n pushFollow(FOLLOW_id_in_grammarDef454);\r\n id5=id();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_id.add(id5.getTree());\r\n\r\n char_literal6=(Token)match(input,76,FOLLOW_76_in_grammarDef456); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_76.add(char_literal6);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:25: ( optionsSpec )?\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( (LA3_0==OPTIONS) ) {\r\n alt3=1;\r\n }\r\n switch (alt3) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:25: optionsSpec\r\n {\r\n pushFollow(FOLLOW_optionsSpec_in_grammarDef458);\r\n optionsSpec7=optionsSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_optionsSpec.add(optionsSpec7.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:38: ( tokensSpec )?\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( (LA4_0==TOKENS) ) {\r\n alt4=1;\r\n }\r\n switch (alt4) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:38: tokensSpec\r\n {\r\n pushFollow(FOLLOW_tokensSpec_in_grammarDef461);\r\n tokensSpec8=tokensSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_tokensSpec.add(tokensSpec8.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:50: ( attrScope )*\r\n loop5:\r\n do {\r\n int alt5=2;\r\n int LA5_0 = input.LA(1);\r\n\r\n if ( (LA5_0==SCOPE) ) {\r\n alt5=1;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:50: attrScope\r\n \t {\r\n \t pushFollow(FOLLOW_attrScope_in_grammarDef464);\r\n \t attrScope9=attrScope();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_attrScope.add(attrScope9.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop5;\r\n }\r\n } while (true);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:61: ( action )*\r\n loop6:\r\n do {\r\n int alt6=2;\r\n int LA6_0 = input.LA(1);\r\n\r\n if ( (LA6_0==AT) ) {\r\n alt6=1;\r\n }\r\n\r\n\r\n switch (alt6) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:61: action\r\n \t {\r\n \t pushFollow(FOLLOW_action_in_grammarDef467);\r\n \t action10=action();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_action.add(action10.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop6;\r\n }\r\n } while (true);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:100:6: ( rule )+\r\n int cnt7=0;\r\n loop7:\r\n do {\r\n int alt7=2;\r\n int LA7_0 = input.LA(1);\r\n\r\n if ( (LA7_0==DOC_COMMENT||LA7_0==FRAGMENT||LA7_0==RULE_REF||LA7_0==TOKEN_REF||(LA7_0 >= 86 && LA7_0 <= 88)) ) {\r\n alt7=1;\r\n }\r\n\r\n\r\n switch (alt7) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:100:6: rule\r\n \t {\r\n \t pushFollow(FOLLOW_rule_in_grammarDef475);\r\n \t rule11=rule();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_rule.add(rule11.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt7 >= 1 ) break loop7;\r\n \t if (state.backtracking>0) {state.failed=true; return retval;}\r\n EarlyExitException eee =\r\n new EarlyExitException(7, input);\r\n throw eee;\r\n }\r\n cnt7++;\r\n } while (true);\r\n\r\n\r\n EOF12=(Token)match(input,EOF,FOLLOW_EOF_in_grammarDef483); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_EOF.add(EOF12);\r\n\r\n\r\n // AST REWRITE\r\n // elements: attrScope, optionsSpec, tokensSpec, DOC_COMMENT, rule, action, id\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 102:6: -> ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:102:9: ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(adaptor.create(gtype,g), root_1);\r\n\r\n adaptor.addChild(root_1, stream_id.nextTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:12: ( DOC_COMMENT )?\r\n if ( stream_DOC_COMMENT.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_DOC_COMMENT.nextNode()\r\n );\r\n\r\n }\r\n stream_DOC_COMMENT.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:25: ( optionsSpec )?\r\n if ( stream_optionsSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_optionsSpec.nextTree());\r\n\r\n }\r\n stream_optionsSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:38: ( tokensSpec )?\r\n if ( stream_tokensSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_tokensSpec.nextTree());\r\n\r\n }\r\n stream_tokensSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:50: ( attrScope )*\r\n while ( stream_attrScope.hasNext() ) {\r\n adaptor.addChild(root_1, stream_attrScope.nextTree());\r\n\r\n }\r\n stream_attrScope.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:61: ( action )*\r\n while ( stream_action.hasNext() ) {\r\n adaptor.addChild(root_1, stream_action.nextTree());\r\n\r\n }\r\n stream_action.reset();\r\n\r\n if ( !(stream_rule.hasNext()) ) {\r\n throw new RewriteEarlyExitException();\r\n }\r\n while ( stream_rule.hasNext() ) {\r\n adaptor.addChild(root_1, stream_rule.nextTree());\r\n\r\n }\r\n stream_rule.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: ( '^' )?\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='^') ) {\n alt7=1;\n }\n switch (alt7) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2533:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='0' && LA8_0<='9')||(LA8_0>='A' && LA8_0<='Z')||LA8_0=='_'||(LA8_0>='a' && LA8_0<='z')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt13=0;\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\t' && LA13_0<='\\n')||LA13_0=='\\r'||LA13_0==' ') ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt13 >= 1 ) break loop13;\n EarlyExitException eee =\n new EarlyExitException(13, input);\n throw eee;\n }\n cnt13++;\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void ruleUpdates() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1016:2: ( ( ( rule__Updates__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1017:1: ( ( rule__Updates__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1017:1: ( ( rule__Updates__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1018:1: ( rule__Updates__Group__0 )\n {\n before(grammarAccess.getUpdatesAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1019:1: ( rule__Updates__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1019:2: rule__Updates__Group__0\n {\n pushFollow(FOLLOW_rule__Updates__Group__0_in_ruleUpdates1893);\n rule__Updates__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getUpdatesAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public static ParseAction<Located<Void>> matchTLAMultilineComment(){\n\t\treturn sequence(\n\t\t\t\tdrop(matchString(\"(*\")),\n\t\t\t\tdrop(matchPattern(TLA_NOT_A_COMMENT_MARKER_MULTILINE)),\n\t\t\t\tdrop(repeat(\n\t\t\t\t\t\tsequence(\n\t\t\t\t\t\t\t\tdrop(nop().chain(v -> matchTLAMultilineComment())),\n\t\t\t\t\t\t\t\tdrop(matchPattern(TLA_NOT_A_COMMENT_MARKER_MULTILINE))\n\t\t\t\t\t\t).map(seq -> new Located<>(seq.getLocation(), null))\n\t\t\t\t)),\n\t\t\t\tdrop(matchString(\"*)\"))\n\t\t).map(seq -> new Located<>(seq.getLocation(), null));\n\t}", "public final void mCOMMENT() throws RecognitionException {\n try {\n int _type = COMMENT;\n // /Users/benjamincoe/HackWars/C.g:158:9: ( '//' (~ ( '\\\\r\\\\n' | '\\\\r' | '\\\\n' ) )* )\n // /Users/benjamincoe/HackWars/C.g:158:11: '//' (~ ( '\\\\r\\\\n' | '\\\\r' | '\\\\n' ) )*\n {\n match(\"//\"); \n\n // /Users/benjamincoe/HackWars/C.g:158:16: (~ ( '\\\\r\\\\n' | '\\\\r' | '\\\\n' ) )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='\\u0000' && LA1_0<='\\t')||(LA1_0>='\\u000B' && LA1_0<='\\f')||(LA1_0>='\\u000E' && LA1_0<='\\uFFFE')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // /Users/benjamincoe/HackWars/C.g:158:16: ~ ( '\\\\r\\\\n' | '\\\\r' | '\\\\n' )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFE') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n channel=HIDDEN;\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_SL() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3471:9: ( ( '\\\\\\\\' | '\\\\\\\\\\\\\\\\' | '/' ) )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3471:11: ( '\\\\\\\\' | '\\\\\\\\\\\\\\\\' | '/' )\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3471:11: ( '\\\\\\\\' | '\\\\\\\\\\\\\\\\' | '/' )\r\n int alt2=3;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( (LA2_0=='\\\\') ) {\r\n int LA2_1 = input.LA(2);\r\n\r\n if ( (LA2_1=='\\\\') ) {\r\n alt2=2;\r\n }\r\n else {\r\n alt2=1;}\r\n }\r\n else if ( (LA2_0=='/') ) {\r\n alt2=3;\r\n }\r\n else {\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 2, 0, input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt2) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3471:12: '\\\\\\\\'\r\n {\r\n match('\\\\'); \r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3471:17: '\\\\\\\\\\\\\\\\'\r\n {\r\n match(\"\\\\\\\\\"); \r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3471:24: '/'\r\n {\r\n match('/'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12789:9: ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+ )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12789:11: ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+\n {\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12789:11: ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "public final void ruleProcess() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1628:2: ( ( ( rule__Process__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1629:1: ( ( rule__Process__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1629:1: ( ( rule__Process__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1630:1: ( rule__Process__Group__0 )\n {\n before(grammarAccess.getProcessAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1631:1: ( rule__Process__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1631:2: rule__Process__Group__0\n {\n pushFollow(FOLLOW_rule__Process__Group__0_in_ruleProcess3065);\n rule__Process__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getProcessAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void mFRAGMENT_RULE_WS() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:320:27: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // PsiInternalBacktrackingLexerTestLanguage.g:320:29: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // PsiInternalBacktrackingLexerTestLanguage.g:320:29: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt1=0;\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='\\t' && LA1_0<='\\n')||LA1_0=='\\r'||LA1_0==' ') ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // PsiInternalBacktrackingLexerTestLanguage.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt1 >= 1 ) break loop1;\n EarlyExitException eee =\n new EarlyExitException(1, input);\n throw eee;\n }\n cnt1++;\n } while (true);\n\n\n }\n\n }\n finally {\n }\n }", "static public Rule parse(OrchestraSystem catalog, String rule, \r\n\t\t\tMap<String,RelationContext> locals) throws ParseException, RelationNotFoundException {\r\n\t\tHolder<Integer> counter = new Holder<Integer>(0);\r\n\t\tPositionedString str = new PositionedString(rule);\r\n\t\tstr.skipWhitespace();\r\n\t\tUntypedAtom h = UntypedAtom.parse(str, counter);\r\n\t\tboolean negateHead = false;\r\n\t\tif (h.getName().startsWith(\"NOT_\")) {\r\n\t\t\th.setName(h.getName().substring(4));\r\n\t\t\tnegateHead = true;\r\n\t\t}\r\n\r\n\t\tstr.skipWhitespace();\r\n\t\tif (!str.skipString(\":-\")) {\r\n\t\t\tcomplain(str, \"':-'\");\r\n\t\t}\r\n\t\tstr.skipWhitespace();\r\n\t\tArrayList<Atom> body = new ArrayList<Atom>();\r\n\t\tboolean first = true;\r\n\t\tstr.skipWhitespace();\r\n\t\twhile (str.inRange()) {\r\n\t\t\tif (first) {\r\n\t\t\t\tfirst = false;\r\n\t\t\t} else {\r\n\t\t\t\tif (!str.skipString(\",\")) {\r\n\t\t\t\t\tcomplain(str, \"','\");\r\n\t\t\t\t}\r\n\t\t\t\tstr.skipWhitespace();\r\n\t\t\t}\r\n\t\t\tUntypedAtom b = UntypedAtom.parse(str, counter);\r\n\t\t\tboolean isNegated = false;\r\n\t\t\tif (b.getName().startsWith(\"NOT_\")) {\r\n\t\t\t\tisNegated = true;\r\n\t\t\t\tb.setName(b.getName().substring(4));\r\n\t\t\t}\r\n\t\t\tAtom n = b.getTyped(catalog, locals);\r\n\t\t\tn.setNeg(isNegated);\r\n\t\t\tbody.add(n);\r\n\t\t\tstr.skipWhitespace();\r\n\t\t}\r\n\t\tAtom th;\r\n\t\ttry {\r\n\t\t\tth = h.getTyped(catalog, locals);\r\n\t\t} catch (ParseException e) {\r\n\t\t\tth = h.getTyped(body);\r\n\t\t\t// Add this as a local view definition\r\n\t\t\tif (!locals.containsKey(th.getRelationContext().toString()))\r\n\t\t\t\tlocals.put(th.getRelationContext().toString(), th.getRelationContext());\r\n\t\t} catch (RelationNotFoundException e) {\r\n\t\t\tth = h.getTyped(body);\r\n\t\t\t// Add this as a local view definition\r\n\t\t\tif (!locals.containsKey(th.getRelationContext().toString()))\r\n\t\t\t\tlocals.put(th.getRelationContext().toString(), th.getRelationContext());\r\n\t\t}\r\n\t\tth.setNeg(negateHead);\r\n\r\n\t\treturn new Rule(th, body, null, catalog.getMappingDb().getBuiltInSchemas());\r\n\t}", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:103:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:103:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:103:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt32=0;\n loop32:\n do {\n int alt32=2;\n int LA32_0 = input.LA(1);\n\n if ( ((LA32_0>='\\t' && LA32_0<='\\n')||LA32_0=='\\r'||LA32_0==' ') ) {\n alt32=1;\n }\n\n\n switch (alt32) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt32 >= 1 ) break loop32;\n EarlyExitException eee =\n new EarlyExitException(32, input);\n throw eee;\n }\n cnt32++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mMULTILINE_COMMENT() throws RecognitionException {\n try {\n int _type = MULTILINE_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:623:5: ( '/*' ( . )* '*/' )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:623:7: '/*' ( . )* '*/'\n {\n match(\"/*\"); \n\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:623:12: ( . )*\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='*') ) {\n int LA13_1 = input.LA(2);\n\n if ( (LA13_1=='/') ) {\n alt13=2;\n }\n else if ( ((LA13_1>='\\u0000' && LA13_1<='.')||(LA13_1>='0' && LA13_1<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n }\n else if ( ((LA13_0>='\\u0000' && LA13_0<=')')||(LA13_0>='+' && LA13_0<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:623:12: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop13;\n }\n } while (true);\n\n match(\"*/\"); \n\n _channel = HIDDEN; \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public BNFrule()\n {\n lhs = \"\";\n rhsSymbols = new ArrayList<String>();\n }", "AxiomDeclRule createAxiomDeclRule();", "public static ParseAction<Located<Void>> matchTLALineComment(){\n\t\treturn sequence(\n\t\t\t\tdrop(matchString(\"\\\\*\")),\n\t\t\t\tdrop(matchPattern(TLA_NOT_A_COMMENT_MARKER_LINE))\n\t\t).map(seq -> new Located<>(seq.getLocation(), null));\n\t}", "SpecDeclRule createSpecDeclRule();", "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: ( '^' )?\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( (LA22_0=='^') ) {\n alt22=1;\n }\n switch (alt22) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:11: '^'\n {\n match('^'); \n\n }\n break;\n\n }\n\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:93:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\n loop23:\n do {\n int alt23=2;\n int LA23_0 = input.LA(1);\n\n if ( ((LA23_0>='0' && LA23_0<='9')||(LA23_0>='A' && LA23_0<='Z')||LA23_0=='_'||(LA23_0>='a' && LA23_0<='z')) ) {\n alt23=1;\n }\n\n\n switch (alt23) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:\n \t {\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop23;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2144:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2144:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2144:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34501:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // InternalSpringConfigDsl.g:34501:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // InternalSpringConfigDsl.g:34501:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt7=0;\r\n loop7:\r\n do {\r\n int alt7=2;\r\n int LA7_0 = input.LA(1);\r\n\r\n if ( ((LA7_0>='\\t' && LA7_0<='\\n')||LA7_0=='\\r'||LA7_0==' ') ) {\r\n alt7=1;\r\n }\r\n\r\n\r\n switch (alt7) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt7 >= 1 ) break loop7;\r\n EarlyExitException eee =\r\n new EarlyExitException(7, input);\r\n throw eee;\r\n }\r\n cnt7++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2491:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2491:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2491:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt12=0;\r\n loop12:\r\n do {\r\n int alt12=2;\r\n int LA12_0 = input.LA(1);\r\n\r\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\r\n alt12=1;\r\n }\r\n\r\n\r\n switch (alt12) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt12 >= 1 ) break loop12;\r\n EarlyExitException eee =\r\n new EarlyExitException(12, input);\r\n throw eee;\r\n }\r\n cnt12++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19816:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19816:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19816:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt20=0;\r\n loop20:\r\n do {\r\n int alt20=2;\r\n int LA20_0 = input.LA(1);\r\n\r\n if ( ((LA20_0>='\\t' && LA20_0<='\\n')||LA20_0=='\\r'||LA20_0==' ') ) {\r\n alt20=1;\r\n }\r\n\r\n\r\n switch (alt20) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt20 >= 1 ) break loop20;\r\n EarlyExitException eee =\r\n new EarlyExitException(20, input);\r\n throw eee;\r\n }\r\n cnt20++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "Rule createRule();", "Rule createRule();", "Rule createRule();", "public void setRule(java.lang.String rule) {\n this.rule = rule;\n }", "public final void entryRuleAction() throws RecognitionException {\n\n \tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n\n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:280:1: ( ruleAction EOF )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:281:1: ruleAction EOF\n {\n before(grammarAccess.getActionRule()); \n pushFollow(FOLLOW_ruleAction_in_entryRuleAction480);\n ruleAction();\n\n state._fsp--;\n\n after(grammarAccess.getActionRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleAction487); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: ( '^' )?\r\n int alt14=2;\r\n int LA14_0 = input.LA(1);\r\n\r\n if ( (LA14_0=='^') ) {\r\n alt14=1;\r\n }\r\n switch (alt14) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:11: '^'\r\n {\r\n match('^'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n input.consume();\r\n\r\n }\r\n else {\r\n MismatchedSetException mse = new MismatchedSetException(null,input);\r\n recover(mse);\r\n throw mse;}\r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19810:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*\r\n loop15:\r\n do {\r\n int alt15=2;\r\n int LA15_0 = input.LA(1);\r\n\r\n if ( ((LA15_0>='0' && LA15_0<='9')||(LA15_0>='A' && LA15_0<='Z')||LA15_0=='_'||(LA15_0>='a' && LA15_0<='z')) ) {\r\n alt15=1;\r\n }\r\n\r\n\r\n switch (alt15) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:\r\n \t {\r\n \t if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop15;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "ExprListRule createExprListRule();", "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}" ]
[ "0.7091535", "0.6967233", "0.6940224", "0.68746495", "0.6842372", "0.67963475", "0.6790338", "0.6772482", "0.6771268", "0.67685497", "0.67580473", "0.67198384", "0.6717259", "0.67063266", "0.6662746", "0.6655578", "0.6647795", "0.6633538", "0.66037875", "0.6592474", "0.6579295", "0.6569557", "0.64952636", "0.6490312", "0.64874285", "0.6448609", "0.6433129", "0.64317966", "0.64258057", "0.64143056", "0.64011824", "0.6377447", "0.6366936", "0.6356132", "0.6355727", "0.6344567", "0.6335533", "0.63177186", "0.6240711", "0.61974764", "0.61898476", "0.6167299", "0.6113324", "0.6092402", "0.6087793", "0.5862264", "0.5854916", "0.5794361", "0.57601666", "0.57507443", "0.5745239", "0.56444186", "0.5613975", "0.5584896", "0.5582291", "0.5543239", "0.55198735", "0.5515707", "0.5492134", "0.5466941", "0.5435431", "0.5407469", "0.5386663", "0.5355814", "0.5344242", "0.53419113", "0.53258276", "0.5276068", "0.52655125", "0.5261263", "0.5226276", "0.51972234", "0.51942", "0.51918423", "0.5191251", "0.5187082", "0.5163222", "0.51547426", "0.5150042", "0.5137668", "0.51207787", "0.51127553", "0.50947016", "0.5092787", "0.50753564", "0.50609607", "0.5032627", "0.50198233", "0.5016904", "0.5007185", "0.5001047", "0.49941975", "0.49882177", "0.49882177", "0.49882177", "0.49825633", "0.49745846", "0.49628383", "0.4962222", "0.4940664" ]
0.6467985
25
$ANTLR end "RULE_SL_COMMENT" $ANTLR start "RULE_WS"
public final void mRULE_WS() throws RecognitionException { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:2296:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) // InternalDSL.g:2296:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { // InternalDSL.g:2296:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt13=0; loop13: do { int alt13=2; int LA13_0 = input.LA(1); if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) { alt13=1; } switch (alt13) { case 1 : // InternalDSL.g: { if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { input.consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse;} } break; default : if ( cnt13 >= 1 ) break loop13; EarlyExitException eee = new EarlyExitException(13, input); throw eee; } cnt13++; } while (true); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mRULE_WS() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:319:18: ( FRAGMENT_RULE_WS )\n // PsiInternalBacktrackingLexerTestLanguage.g:319:20: FRAGMENT_RULE_WS\n {\n mFRAGMENT_RULE_WS(); \n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12789:9: ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+ )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12789:11: ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+\n {\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12789:11: ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34501:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // InternalSpringConfigDsl.g:34501:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // InternalSpringConfigDsl.g:34501:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt7=0;\r\n loop7:\r\n do {\r\n int alt7=2;\r\n int LA7_0 = input.LA(1);\r\n\r\n if ( ((LA7_0>='\\t' && LA7_0<='\\n')||LA7_0=='\\r'||LA7_0==' ') ) {\r\n alt7=1;\r\n }\r\n\r\n\r\n switch (alt7) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt7 >= 1 ) break loop7;\r\n EarlyExitException eee =\r\n new EarlyExitException(7, input);\r\n throw eee;\r\n }\r\n cnt7++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2144:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2144:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2144:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:103:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:103:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:103:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt32=0;\n loop32:\n do {\n int alt32=2;\n int LA32_0 = input.LA(1);\n\n if ( ((LA32_0>='\\t' && LA32_0<='\\n')||LA32_0=='\\r'||LA32_0==' ') ) {\n alt32=1;\n }\n\n\n switch (alt32) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt32 >= 1 ) break loop32;\n EarlyExitException eee =\n new EarlyExitException(32, input);\n throw eee;\n }\n cnt32++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13310:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalEsm.g:13310:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalEsm.g:13310:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt14=0;\n loop14:\n do {\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( ((LA14_0>='\\t' && LA14_0<='\\n')||LA14_0=='\\r'||LA14_0==' ') ) {\n alt14=1;\n }\n\n\n switch (alt14) {\n \tcase 1 :\n \t // InternalEsm.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt14 >= 1 ) break loop14;\n EarlyExitException eee =\n new EarlyExitException(14, input);\n throw eee;\n }\n cnt14++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:671:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:671:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:671:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt15=0;\n loop15:\n do {\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( ((LA15_0>='\\t' && LA15_0<='\\n')||LA15_0=='\\r'||LA15_0==' ') ) {\n alt15=1;\n }\n\n\n switch (alt15) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt15 >= 1 ) break loop15;\n EarlyExitException eee =\n new EarlyExitException(15, input);\n throw eee;\n }\n cnt15++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2531:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2531:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2531:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt6=0;\n loop6:\n do {\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( ((LA6_0>='\\t' && LA6_0<='\\n')||LA6_0=='\\r'||LA6_0==' ') ) {\n alt6=1;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt6 >= 1 ) break loop6;\n EarlyExitException eee =\n new EarlyExitException(6, input);\n throw eee;\n }\n cnt6++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2395:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalMyDsl.g:2395:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalMyDsl.g:2395:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt12=0;\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt12 >= 1 ) break loop12;\n EarlyExitException eee =\n new EarlyExitException(12, input);\n throw eee;\n }\n cnt12++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23494:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalSpeADL.g:23494:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalSpeADL.g:23494:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt20=0;\n loop20:\n do {\n int alt20=2;\n int LA20_0 = input.LA(1);\n\n if ( ((LA20_0>='\\t' && LA20_0<='\\n')||LA20_0=='\\r'||LA20_0==' ') ) {\n alt20=1;\n }\n\n\n switch (alt20) {\n \tcase 1 :\n \t // InternalSpeADL.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt20 >= 1 ) break loop20;\n EarlyExitException eee =\n new EarlyExitException(20, input);\n throw eee;\n }\n cnt20++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15378:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalMyDsl.g:15378:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalMyDsl.g:15378:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt17=0;\n loop17:\n do {\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( ((LA17_0>='\\t' && LA17_0<='\\n')||LA17_0=='\\r'||LA17_0==' ') ) {\n alt17=1;\n }\n\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt17 >= 1 ) break loop17;\n EarlyExitException eee =\n new EarlyExitException(17, input);\n throw eee;\n }\n cnt17++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6378:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalMyDsl.g:6378:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalMyDsl.g:6378:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt12=0;\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt12 >= 1 ) break loop12;\n EarlyExitException eee =\n new EarlyExitException(12, input);\n throw eee;\n }\n cnt12++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2491:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2491:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2491:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt12=0;\r\n loop12:\r\n do {\r\n int alt12=2;\r\n int LA12_0 = input.LA(1);\r\n\r\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\r\n alt12=1;\r\n }\r\n\r\n\r\n switch (alt12) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt12 >= 1 ) break loop12;\r\n EarlyExitException eee =\r\n new EarlyExitException(12, input);\r\n throw eee;\r\n }\r\n cnt12++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt13=0;\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\t' && LA13_0<='\\n')||LA13_0=='\\r'||LA13_0==' ') ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt13 >= 1 ) break loop13;\n EarlyExitException eee =\n new EarlyExitException(13, input);\n throw eee;\n }\n cnt13++;\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19816:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19816:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19816:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt20=0;\r\n loop20:\r\n do {\r\n int alt20=2;\r\n int LA20_0 = input.LA(1);\r\n\r\n if ( ((LA20_0>='\\t' && LA20_0<='\\n')||LA20_0=='\\r'||LA20_0==' ') ) {\r\n alt20=1;\r\n }\r\n\r\n\r\n switch (alt20) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt20 >= 1 ) break loop20;\r\n EarlyExitException eee =\r\n new EarlyExitException(20, input);\r\n throw eee;\r\n }\r\n cnt20++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mFRAGMENT_RULE_WS() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:320:27: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // PsiInternalBacktrackingLexerTestLanguage.g:320:29: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // PsiInternalBacktrackingLexerTestLanguage.g:320:29: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt1=0;\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='\\t' && LA1_0<='\\n')||LA1_0=='\\r'||LA1_0==' ') ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // PsiInternalBacktrackingLexerTestLanguage.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt1 >= 1 ) break loop1;\n EarlyExitException eee =\n new EarlyExitException(1, input);\n throw eee;\n }\n cnt1++;\n } while (true);\n\n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5147:9: ( ( ' ' | '\\\\t' | '\\\\f' | ( '\\\\r' )? '\\\\n' )+ )\n // InternalUniMapperGenerator.g:5147:11: ( ' ' | '\\\\t' | '\\\\f' | ( '\\\\r' )? '\\\\n' )+\n {\n // InternalUniMapperGenerator.g:5147:11: ( ' ' | '\\\\t' | '\\\\f' | ( '\\\\r' )? '\\\\n' )+\n int cnt17=0;\n loop17:\n do {\n int alt17=5;\n switch ( input.LA(1) ) {\n case ' ':\n {\n alt17=1;\n }\n break;\n case '\\t':\n {\n alt17=2;\n }\n break;\n case '\\f':\n {\n alt17=3;\n }\n break;\n case '\\n':\n case '\\r':\n {\n alt17=4;\n }\n break;\n\n }\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalUniMapperGenerator.g:5147:12: ' '\n \t {\n \t match(' '); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalUniMapperGenerator.g:5147:16: '\\\\t'\n \t {\n \t match('\\t'); \n\n \t }\n \t break;\n \tcase 3 :\n \t // InternalUniMapperGenerator.g:5147:21: '\\\\f'\n \t {\n \t match('\\f'); \n\n \t }\n \t break;\n \tcase 4 :\n \t // InternalUniMapperGenerator.g:5147:26: ( '\\\\r' )? '\\\\n'\n \t {\n \t // InternalUniMapperGenerator.g:5147:26: ( '\\\\r' )?\n \t int alt16=2;\n \t int LA16_0 = input.LA(1);\n\n \t if ( (LA16_0=='\\r') ) {\n \t alt16=1;\n \t }\n \t switch (alt16) {\n \t case 1 :\n \t // InternalUniMapperGenerator.g:5147:26: '\\\\r'\n \t {\n \t match('\\r'); \n\n \t }\n \t break;\n\n \t }\n\n \t match('\\n'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt17 >= 1 ) break loop17;\n EarlyExitException eee =\n new EarlyExitException(17, input);\n throw eee;\n }\n cnt17++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3483:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3483:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3483:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt13=0;\r\n loop13:\r\n do {\r\n int alt13=2;\r\n int LA13_0 = input.LA(1);\r\n\r\n if ( ((LA13_0>='\\t' && LA13_0<='\\n')||LA13_0=='\\r'||LA13_0==' ') ) {\r\n alt13=1;\r\n }\r\n\r\n\r\n switch (alt13) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt13 >= 1 ) break loop13;\r\n EarlyExitException eee =\r\n new EarlyExitException(13, input);\r\n throw eee;\r\n }\r\n cnt13++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7238:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalIotLuaXtext.g:7238:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalIotLuaXtext.g:7238:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1728:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalReqLNG.g:1728:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalReqLNG.g:1728:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt12=0;\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalReqLNG.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt12 >= 1 ) break loop12;\n EarlyExitException eee =\n new EarlyExitException(12, input);\n throw eee;\n }\n cnt12++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:855:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalStateMachine.g:855:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalStateMachine.g:855:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt12=0;\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalStateMachine.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt12 >= 1 ) break loop12;\n EarlyExitException eee =\n new EarlyExitException(12, input);\n throw eee;\n }\n cnt12++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16723:9: ( ( ' ' | '\\\\t' )+ )\n // InternalDSL.g:16723:11: ( ' ' | '\\\\t' )+\n {\n // InternalDSL.g:16723:11: ( ' ' | '\\\\t' )+\n int cnt21=0;\n loop21:\n do {\n int alt21=2;\n int LA21_0 = input.LA(1);\n\n if ( (LA21_0=='\\t'||LA21_0==' ') ) {\n alt21=1;\n }\n\n\n switch (alt21) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( input.LA(1)=='\\t'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt21 >= 1 ) break loop21;\n EarlyExitException eee =\n new EarlyExitException(21, input);\n throw eee;\n }\n cnt21++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40369:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40369:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40369:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2599:9: ( ( ' ' | '\\\\t' ) )\n // InternalCucumber.g:2599:11: ( ' ' | '\\\\t' )\n {\n if ( input.LA(1)=='\\t'||input.LA(1)==' ' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1762:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalVizualizer.g:1762:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalVizualizer.g:1762:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // InternalVizualizer.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='\\u0000' && LA2_0<='\\t')||(LA2_0>='\\u000B' && LA2_0<='\\f')||(LA2_0>='\\u000E' && LA2_0<='\\uFFFF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='\\n'||LA4_0=='\\r') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:41: ( '\\\\r' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='\\r') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2525:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2142:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:322:26: ( FRAGMENT_RULE_SL_COMMENT )\n // PsiInternalBacktrackingLexerTestLanguage.g:322:28: FRAGMENT_RULE_SL_COMMENT\n {\n mFRAGMENT_RULE_SL_COMMENT(); \n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:19: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:24: ( options {greedy=false; } : . )*\r\n loop8:\r\n do {\r\n int alt8=2;\r\n int LA8_0 = input.LA(1);\r\n\r\n if ( (LA8_0=='*') ) {\r\n int LA8_1 = input.LA(2);\r\n\r\n if ( (LA8_1=='/') ) {\r\n alt8=2;\r\n }\r\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\r\n alt8=1;\r\n }\r\n\r\n\r\n switch (alt8) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2487:52: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop8;\r\n }\r\n } while (true);\r\n\r\n match(\"*/\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mFRAGMENT_RULE_SL_COMMENT() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:323:35: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // PsiInternalBacktrackingLexerTestLanguage.g:323:37: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // PsiInternalBacktrackingLexerTestLanguage.g:323:42: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( ((LA2_0>='\\u0000' && LA2_0<='\\t')||(LA2_0>='\\u000B' && LA2_0<='\\f')||(LA2_0>='\\u000E' && LA2_0<='\\uFFFF')) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // PsiInternalBacktrackingLexerTestLanguage.g:323:42: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n // PsiInternalBacktrackingLexerTestLanguage.g:323:58: ( ( '\\\\r' )? '\\\\n' )?\n int alt4=2;\n int LA4_0 = input.LA(1);\n\n if ( (LA4_0=='\\n'||LA4_0=='\\r') ) {\n alt4=1;\n }\n switch (alt4) {\n case 1 :\n // PsiInternalBacktrackingLexerTestLanguage.g:323:59: ( '\\\\r' )? '\\\\n'\n {\n // PsiInternalBacktrackingLexerTestLanguage.g:323:59: ( '\\\\r' )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0=='\\r') ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // PsiInternalBacktrackingLexerTestLanguage.g:323:59: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2140:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\r\n {\r\n match(\"//\"); \r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\r\n loop17:\r\n do {\r\n int alt17=2;\r\n int LA17_0 = input.LA(1);\r\n\r\n if ( ((LA17_0>='\\u0000' && LA17_0<='\\t')||(LA17_0>='\\u000B' && LA17_0<='\\f')||(LA17_0>='\\u000E' && LA17_0<='\\uFFFF')) ) {\r\n alt17=1;\r\n }\r\n\r\n\r\n switch (alt17) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:24: ~ ( ( '\\\\n' | '\\\\r' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop17;\r\n }\r\n } while (true);\r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:40: ( ( '\\\\r' )? '\\\\n' )?\r\n int alt19=2;\r\n int LA19_0 = input.LA(1);\r\n\r\n if ( (LA19_0=='\\n'||LA19_0=='\\r') ) {\r\n alt19=1;\r\n }\r\n switch (alt19) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:41: ( '\\\\r' )? '\\\\n'\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:41: ( '\\\\r' )?\r\n int alt18=2;\r\n int LA18_0 = input.LA(1);\r\n\r\n if ( (LA18_0=='\\r') ) {\r\n alt18=1;\r\n }\r\n switch (alt18) {\r\n case 1 :\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19814:41: '\\\\r'\r\n {\r\n match('\\r'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n match('\\n'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\r\n {\r\n match(\"//\"); \r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\r\n loop9:\r\n do {\r\n int alt9=2;\r\n int LA9_0 = input.LA(1);\r\n\r\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\r\n alt9=1;\r\n }\r\n\r\n\r\n switch (alt9) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:24: ~ ( ( '\\\\n' | '\\\\r' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop9;\r\n }\r\n } while (true);\r\n\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:40: ( ( '\\\\r' )? '\\\\n' )?\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\r\n alt11=1;\r\n }\r\n switch (alt11) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:41: ( '\\\\r' )? '\\\\n'\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:41: ( '\\\\r' )?\r\n int alt10=2;\r\n int LA10_0 = input.LA(1);\r\n\r\n if ( (LA10_0=='\\r') ) {\r\n alt10=1;\r\n }\r\n switch (alt10) {\r\n case 1 :\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2489:41: '\\\\r'\r\n {\r\n match('\\r'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n match('\\n'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12787:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\u0000' && LA12_0<='\\t')||(LA12_0>='\\u000B' && LA12_0<='\\f')||(LA12_0>='\\u000E' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0=='\\n'||LA14_0=='\\r') ) {\n alt14=1;\n }\n switch (alt14) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:41: ( '\\\\r' )? '\\\\n'\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:41: ( '\\\\r' )?\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='\\r') ) {\n alt13=1;\n }\n switch (alt13) {\n case 1 :\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:669:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mWS() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = WS;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:3: ( ( ' ' | '\\\\t' | ( '\\\\n' | '\\\\r' ( '\\\\n' ) ) )+ )\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:5: ( ' ' | '\\\\t' | ( '\\\\n' | '\\\\r' ( '\\\\n' ) ) )+\n\t\t\t{\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:5: ( ' ' | '\\\\t' | ( '\\\\n' | '\\\\r' ( '\\\\n' ) ) )+\n\t\t\tint cnt8=0;\n\t\t\tloop8:\n\t\t\twhile (true) {\n\t\t\t\tint alt8=4;\n\t\t\t\tswitch ( input.LA(1) ) {\n\t\t\t\tcase ' ':\n\t\t\t\t\t{\n\t\t\t\t\talt8=1;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase '\\t':\n\t\t\t\t\t{\n\t\t\t\t\talt8=2;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase '\\n':\n\t\t\t\tcase '\\r':\n\t\t\t\t\t{\n\t\t\t\t\talt8=3;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (alt8) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:6: ' '\n\t\t\t\t\t{\n\t\t\t\t\tmatch(' '); \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:10: '\\\\t'\n\t\t\t\t\t{\n\t\t\t\t\tmatch('\\t'); \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:15: ( '\\\\n' | '\\\\r' ( '\\\\n' ) )\n\t\t\t\t\t{\n\t\t\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:15: ( '\\\\n' | '\\\\r' ( '\\\\n' ) )\n\t\t\t\t\tint alt7=2;\n\t\t\t\t\tint LA7_0 = input.LA(1);\n\t\t\t\t\tif ( (LA7_0=='\\n') ) {\n\t\t\t\t\t\talt7=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if ( (LA7_0=='\\r') ) {\n\t\t\t\t\t\talt7=2;\n\t\t\t\t\t}\n\n\t\t\t\t\telse {\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 7, 0, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t}\n\n\t\t\t\t\tswitch (alt7) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:16: '\\\\n'\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmatch('\\n'); \n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2 :\n\t\t\t\t\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:21: '\\\\r' ( '\\\\n' )\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmatch('\\r'); \n\t\t\t\t\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:25: ( '\\\\n' )\n\t\t\t\t\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:479:26: '\\\\n'\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmatch('\\n'); \n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault :\n\t\t\t\t\tif ( cnt8 >= 1 ) break loop8;\n\t\t\t\t\tEarlyExitException eee = new EarlyExitException(8, input);\n\t\t\t\t\tthrow eee;\n\t\t\t\t}\n\t\t\t\tcnt8++;\n\t\t\t}\n\n\t\t\t_channel=HIDDEN;\n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2593:17: ( '#' (~ ( ( '\\\\n' | '\\\\r' ) ) )* RULE_NL )\n // InternalCucumber.g:2593:19: '#' (~ ( ( '\\\\n' | '\\\\r' ) ) )* RULE_NL\n {\n match('#'); \n // InternalCucumber.g:2593:23: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop17:\n do {\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( ((LA17_0>='\\u0000' && LA17_0<='\\t')||(LA17_0>='\\u000B' && LA17_0<='\\f')||(LA17_0>='\\u000E' && LA17_0<='\\uFFFF')) ) {\n alt17=1;\n }\n\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalCucumber.g:2593:23: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop17;\n }\n } while (true);\n\n mRULE_NL(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mWS() throws RecognitionException {\n try {\n int _type = WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:615:5: ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+ )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:615:7: ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+\n {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:615:7: ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+\n int cnt10=0;\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( ((LA10_0>='\\t' && LA10_0<='\\n')||LA10_0=='\\r'||LA10_0==' ') ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt10 >= 1 ) break loop10;\n EarlyExitException eee =\n new EarlyExitException(10, input);\n throw eee;\n }\n cnt10++;\n } while (true);\n\n _channel = HIDDEN; \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:24: ( options {greedy=false; } : . )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0=='*') ) {\n int LA1_1 = input.LA(2);\n\n if ( (LA1_1=='/') ) {\n alt1=2;\n }\n else if ( ((LA1_1>='\\u0000' && LA1_1<='.')||(LA1_1>='0' && LA1_1<='\\uFFFF')) ) {\n alt1=1;\n }\n\n\n }\n else if ( ((LA1_0>='\\u0000' && LA1_0<=')')||(LA1_0>='+' && LA1_0<='\\uFFFF')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2523:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "StatementRule createStatementRule();", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:24: ( options {greedy=false; } : . )*\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='*') ) {\n int LA11_1 = input.LA(2);\n\n if ( (LA11_1=='/') ) {\n alt11=2;\n }\n else if ( ((LA11_1>='\\u0000' && LA11_1<='.')||(LA11_1>='0' && LA11_1<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n }\n else if ( ((LA11_0>='\\u0000' && LA11_0<=')')||(LA11_0>='+' && LA11_0<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:667:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop11;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "DeclRule createDeclRule();", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:19: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:24: ( options {greedy=false; } : . )*\r\n loop16:\r\n do {\r\n int alt16=2;\r\n int LA16_0 = input.LA(1);\r\n\r\n if ( (LA16_0=='*') ) {\r\n int LA16_1 = input.LA(2);\r\n\r\n if ( (LA16_1=='/') ) {\r\n alt16=2;\r\n }\r\n else if ( ((LA16_1>='\\u0000' && LA16_1<='.')||(LA16_1>='0' && LA16_1<='\\uFFFF')) ) {\r\n alt16=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA16_0>='\\u0000' && LA16_0<=')')||(LA16_0>='+' && LA16_0<='\\uFFFF')) ) {\r\n alt16=1;\r\n }\r\n\r\n\r\n switch (alt16) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19812:52: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop16;\r\n }\r\n } while (true);\r\n\r\n match(\"*/\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:24: ( options {greedy=false; } : . )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='*') ) {\n int LA9_1 = input.LA(2);\n\n if ( (LA9_1=='/') ) {\n alt9=2;\n }\n else if ( ((LA9_1>='\\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\\uFFFE')) ) {\n alt9=1;\n }\n\n\n }\n else if ( ((LA9_0>='\\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\\uFFFE')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6934:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12785:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40367:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop29:\n do {\n int alt29=2;\n int LA29_0 = input.LA(1);\n\n if ( ((LA29_0>='\\u0000' && LA29_0<='\\t')||(LA29_0>='\\u000B' && LA29_0<='\\f')||(LA29_0>='\\u000E' && LA29_0<='\\uFFFF')) ) {\n alt29=1;\n }\n\n\n switch (alt29) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop29;\n }\n } while (true);\n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt31=2;\n int LA31_0 = input.LA(1);\n\n if ( (LA31_0=='\\n'||LA31_0=='\\r') ) {\n alt31=1;\n }\n switch (alt31) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:41: ( '\\\\r' )?\n int alt30=2;\n int LA30_0 = input.LA(1);\n\n if ( (LA30_0=='\\r') ) {\n alt30=1;\n }\n switch (alt30) {\n case 1 :\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:101:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WORD() throws RecognitionException {\n try {\n int _type = RULE_WORD;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2597:11: (~ ( ( '@' | '|' | ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) (~ ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) )* )\n // InternalCucumber.g:2597:13: ~ ( ( '@' | '|' | ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) (~ ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) )*\n {\n if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\b')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\u001F')||(input.LA(1)>='!' && input.LA(1)<='?')||(input.LA(1)>='A' && input.LA(1)<='{')||(input.LA(1)>='}' && input.LA(1)<='\\uFFFF') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalCucumber.g:2597:45: (~ ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) )*\n loop19:\n do {\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( ((LA19_0>='\\u0000' && LA19_0<='\\b')||(LA19_0>='\\u000B' && LA19_0<='\\f')||(LA19_0>='\\u000E' && LA19_0<='\\u001F')||(LA19_0>='!' && LA19_0<='\\uFFFF')) ) {\n alt19=1;\n }\n\n\n switch (alt19) {\n \tcase 1 :\n \t // InternalCucumber.g:2597:45: ~ ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\b')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\u001F')||(input.LA(1)>='!' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop19;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_SL_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\r\n {\r\n match(\"//\"); \r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\r\n loop10:\r\n do {\r\n int alt10=2;\r\n int LA10_0 = input.LA(1);\r\n\r\n if ( ((LA10_0>='\\u0000' && LA10_0<='\\t')||(LA10_0>='\\u000B' && LA10_0<='\\f')||(LA10_0>='\\u000E' && LA10_0<='\\uFFFF')) ) {\r\n alt10=1;\r\n }\r\n\r\n\r\n switch (alt10) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:24: ~ ( ( '\\\\n' | '\\\\r' ) )\r\n \t {\r\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop10;\r\n }\r\n } while (true);\r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:40: ( ( '\\\\r' )? '\\\\n' )?\r\n int alt12=2;\r\n int LA12_0 = input.LA(1);\r\n\r\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\r\n alt12=1;\r\n }\r\n switch (alt12) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:41: ( '\\\\r' )? '\\\\n'\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:41: ( '\\\\r' )?\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( (LA11_0=='\\r') ) {\r\n alt11=1;\r\n }\r\n switch (alt11) {\r\n case 1 :\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3481:41: '\\\\r'\r\n {\r\n match('\\r'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n match('\\n'); \r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13308:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalEsm.g:13308:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalEsm.g:13308:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\u0000' && LA11_0<='\\t')||(LA11_0>='\\u000B' && LA11_0<='\\f')||(LA11_0>='\\u000E' && LA11_0<='\\uFFFF')) ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // InternalEsm.g:13308:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop11;\n }\n } while (true);\n\n // InternalEsm.g:13308:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='\\n'||LA13_0=='\\r') ) {\n alt13=1;\n }\n switch (alt13) {\n case 1 :\n // InternalEsm.g:13308:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalEsm.g:13308:41: ( '\\\\r' )?\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\r') ) {\n alt12=1;\n }\n switch (alt12) {\n case 1 :\n // InternalEsm.g:13308:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( ((LA10_0>='\\u0000' && LA10_0<='\\t')||(LA10_0>='\\u000B' && LA10_0<='\\f')||(LA10_0>='\\u000E' && LA10_0<='\\uFFFE')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFE') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\n alt12=1;\n }\n switch (alt12) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:41: ( '\\\\r' )? '\\\\n'\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:41: ( '\\\\r' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6936:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23492:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalSpeADL.g:23492:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalSpeADL.g:23492:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop17:\n do {\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( ((LA17_0>='\\u0000' && LA17_0<='\\t')||(LA17_0>='\\u000B' && LA17_0<='\\f')||(LA17_0>='\\u000E' && LA17_0<='\\uFFFF')) ) {\n alt17=1;\n }\n\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalSpeADL.g:23492:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop17;\n }\n } while (true);\n\n // InternalSpeADL.g:23492:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( (LA19_0=='\\n'||LA19_0=='\\r') ) {\n alt19=1;\n }\n switch (alt19) {\n case 1 :\n // InternalSpeADL.g:23492:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalSpeADL.g:23492:41: ( '\\\\r' )?\n int alt18=2;\n int LA18_0 = input.LA(1);\n\n if ( (LA18_0=='\\r') ) {\n alt18=1;\n }\n switch (alt18) {\n case 1 :\n // InternalSpeADL.g:23492:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7234:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalIotLuaXtext.g:7234:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalIotLuaXtext.g:7234:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:7234:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void testWS2() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 283, \" \", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public void testWS1() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 282, \" \", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public final void mWS() throws RecognitionException {\r\n try {\r\n int _type = WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:304:6: ( ( '\\\\u000C' | ' ' | '\\\\t' )+ )\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:304:8: ( '\\\\u000C' | ' ' | '\\\\t' )+\r\n {\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:304:8: ( '\\\\u000C' | ' ' | '\\\\t' )+\r\n int cnt11=0;\r\n loop11:\r\n do {\r\n int alt11=2;\r\n int LA11_0 = input.LA(1);\r\n\r\n if ( (LA11_0=='\\t'||LA11_0=='\\f'||LA11_0==' ') ) {\r\n alt11=1;\r\n }\r\n\r\n\r\n switch (alt11) {\r\n \tcase 1 :\r\n \t // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:\r\n \t {\r\n \t if ( input.LA(1)=='\\t'||input.LA(1)=='\\f'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;\r\n \t }\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt11 >= 1 ) break loop11;\r\n EarlyExitException eee =\r\n new EarlyExitException(11, input);\r\n throw eee;\r\n }\r\n cnt11++;\r\n } while (true);\r\n\r\n\r\n _channel = HIDDEN; \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23490:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalSpeADL.g:23490:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalSpeADL.g:23490:24: ( options {greedy=false; } : . )*\n loop16:\n do {\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( (LA16_0=='*') ) {\n int LA16_1 = input.LA(2);\n\n if ( (LA16_1=='/') ) {\n alt16=2;\n }\n else if ( ((LA16_1>='\\u0000' && LA16_1<='.')||(LA16_1>='0' && LA16_1<='\\uFFFF')) ) {\n alt16=1;\n }\n\n\n }\n else if ( ((LA16_0>='\\u0000' && LA16_0<=')')||(LA16_0>='+' && LA16_0<='\\uFFFF')) ) {\n alt16=1;\n }\n\n\n switch (alt16) {\n \tcase 1 :\n \t // InternalSpeADL.g:23490:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop16;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void rulePredicate() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:332:2: ( ( ( rule__Predicate__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:333:1: ( ( rule__Predicate__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:333:1: ( ( rule__Predicate__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:334:1: ( rule__Predicate__Group__0 )\n {\n before(grammarAccess.getPredicateAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:335:1: ( rule__Predicate__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:335:2: rule__Predicate__Group__0\n {\n pushFollow(FOLLOW_rule__Predicate__Group__0_in_rulePredicate586);\n rule__Predicate__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPredicateAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:24: ( options {greedy=false; } : . )*\n loop28:\n do {\n int alt28=2;\n int LA28_0 = input.LA(1);\n\n if ( (LA28_0=='*') ) {\n int LA28_1 = input.LA(2);\n\n if ( (LA28_1=='/') ) {\n alt28=2;\n }\n else if ( ((LA28_1>='\\u0000' && LA28_1<='.')||(LA28_1>='0' && LA28_1<='\\uFFFF')) ) {\n alt28=1;\n }\n\n\n }\n else if ( ((LA28_0>='\\u0000' && LA28_0<=')')||(LA28_0>='+' && LA28_0<='\\uFFFF')) ) {\n alt28=1;\n }\n\n\n switch (alt28) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:99:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop28;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:24: ( options {greedy=false; } : . )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0=='*') ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1=='/') ) {\n alt7=2;\n }\n else if ( ((LA7_1>='\\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n }\n else if ( ((LA7_0>='\\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\\uFFFF')) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40365:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2294:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalDSL.g:2294:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalDSL.g:2294:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( ((LA10_0>='\\u0000' && LA10_0<='\\t')||(LA10_0>='\\u000B' && LA10_0<='\\f')||(LA10_0>='\\u000E' && LA10_0<='\\uFFFF')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalDSL.g:2294:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n // InternalDSL.g:2294:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\n alt12=1;\n }\n switch (alt12) {\n case 1 :\n // InternalDSL.g:2294:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalDSL.g:2294:41: ( '\\\\r' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalDSL.g:2294:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13306:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalEsm.g:13306:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalEsm.g:13306:24: ( options {greedy=false; } : . )*\n loop10:\n do {\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='*') ) {\n int LA10_1 = input.LA(2);\n\n if ( (LA10_1=='/') ) {\n alt10=2;\n }\n else if ( ((LA10_1>='\\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\\uFFFF')) ) {\n alt10=1;\n }\n\n\n }\n else if ( ((LA10_0>='\\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\\uFFFF')) ) {\n alt10=1;\n }\n\n\n switch (alt10) {\n \tcase 1 :\n \t // InternalEsm.g:13306:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop10;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mWS() throws RecognitionException {\n try {\n int _type = WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:32:5: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' ) )\n // metamorph.runtime/src/antlr/Ast.g:32:9: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )\n {\n if ( (input.LA(1) >= '\\t' && input.LA(1) <= '\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n input.consume();\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;\n }\n\n\n _channel=HIDDEN;\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2393:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalMyDsl.g:2393:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalMyDsl.g:2393:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalMyDsl.g:2393:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalMyDsl.g:2393:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalMyDsl.g:2393:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalMyDsl.g:2393:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalMyDsl.g:2393:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mWS() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = WS;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:158:5: ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) )\r\n\t\t\t// C:\\\\Users\\\\don\\\\workspace\\\\sea-of-ql-repo-3\\\\ckonig\\\\QLJava\\\\src\\\\org\\\\uva\\\\sea\\\\ql\\\\parser\\\\antlr\\\\QL.g:158:8: ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )\r\n\t\t\t{\r\n\t\t\tif ( (input.LA(1) >= '\\t' && input.LA(1) <= '\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n\t\t\t\tinput.consume();\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tMismatchedSetException mse = new MismatchedSetException(null,input);\r\n\t\t\t\trecover(mse);\r\n\t\t\t\tthrow mse;\r\n\t\t\t}\r\n\t\t\t _channel=HIDDEN; \r\n\t\t\t}\r\n\r\n\t\t\tstate.type = _type;\r\n\t\t\tstate.channel = _channel;\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\t// do for sure before leaving\r\n\t\t}\r\n\t}", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16711:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalDSL.g:16711:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalDSL.g:16711:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\u0000' && LA13_0<='\\t')||(LA13_0>='\\u000B' && LA13_0<='\\f')||(LA13_0>='\\u000E' && LA13_0<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // InternalDSL.g:16711:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop13;\n }\n } while (true);\n\n // InternalDSL.g:16711:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0=='\\n'||LA15_0=='\\r') ) {\n alt15=1;\n }\n switch (alt15) {\n case 1 :\n // InternalDSL.g:16711:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalDSL.g:16711:41: ( '\\\\r' )?\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0=='\\r') ) {\n alt14=1;\n }\n switch (alt14) {\n case 1 :\n // InternalDSL.g:16711:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6376:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalMyDsl.g:6376:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalMyDsl.g:6376:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalMyDsl.g:6376:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalMyDsl.g:6376:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalMyDsl.g:6376:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalMyDsl.g:6376:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalMyDsl.g:6376:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15376:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalMyDsl.g:15376:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalMyDsl.g:15376:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop14:\n do {\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( ((LA14_0>='\\u0000' && LA14_0<='\\t')||(LA14_0>='\\u000B' && LA14_0<='\\f')||(LA14_0>='\\u000E' && LA14_0<='\\uFFFF')) ) {\n alt14=1;\n }\n\n\n switch (alt14) {\n \tcase 1 :\n \t // InternalMyDsl.g:15376:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop14;\n }\n } while (true);\n\n // InternalMyDsl.g:15376:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt16=2;\n int LA16_0 = input.LA(1);\n\n if ( (LA16_0=='\\n'||LA16_0=='\\r') ) {\n alt16=1;\n }\n switch (alt16) {\n case 1 :\n // InternalMyDsl.g:15376:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalMyDsl.g:15376:41: ( '\\\\r' )?\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( (LA15_0=='\\r') ) {\n alt15=1;\n }\n switch (alt15) {\n case 1 :\n // InternalMyDsl.g:15376:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:853:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalStateMachine.g:853:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalStateMachine.g:853:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalStateMachine.g:853:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalStateMachine.g:853:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalStateMachine.g:853:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalStateMachine.g:853:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalStateMachine.g:853:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void ruleTerm() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1952:2: ( ( ( rule__Term__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1953:1: ( ( rule__Term__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1953:1: ( ( rule__Term__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1954:1: ( rule__Term__Group__0 )\n {\n before(grammarAccess.getTermAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1955:1: ( rule__Term__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1955:2: rule__Term__Group__0\n {\n pushFollow(FOLLOW_rule__Term__Group__0_in_ruleTerm3685);\n rule__Term__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getTermAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void mCOMMENT() throws RecognitionException {\n try {\n int _type = COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2697:3: ( ( ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) ) ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:6: ( ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) ) )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:6: ( ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:7: ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:7: ( ( '//' (~ ( '\\\\r' | '\\\\n' ) )* ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:8: ( '//' (~ ( '\\\\r' | '\\\\n' ) )* )\n {\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:8: ( '//' (~ ( '\\\\r' | '\\\\n' ) )* )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:9: '//' (~ ( '\\\\r' | '\\\\n' ) )*\n {\n match(\"//\"); if (state.failed) return ;\n\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:14: (~ ( '\\\\r' | '\\\\n' ) )*\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='\\u0000' && LA1_0<='\\t')||(LA1_0>='\\u000B' && LA1_0<='\\f')||(LA1_0>='\\u000E' && LA1_0<='\\uFFFF')) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2698:15: ~ ( '\\\\r' | '\\\\n' )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n \t state.failed=false;\n \t }\n \t else {\n \t if (state.backtracking>0) {state.failed=true; return ;}\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop1;\n }\n } while (true);\n\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n _channel=HIDDEN;\n }\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mWS() throws RecognitionException {\n try {\n int _type = WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/dannluciano/Sources/MyLanguage/expr.g:189:5: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' ) )\n // /Users/dannluciano/Sources/MyLanguage/expr.g:189:9: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )\n {\n if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n _channel=HIDDEN;\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15374:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalMyDsl.g:15374:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalMyDsl.g:15374:24: ( options {greedy=false; } : . )*\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0=='*') ) {\n int LA13_1 = input.LA(2);\n\n if ( (LA13_1=='/') ) {\n alt13=2;\n }\n else if ( ((LA13_1>='\\u0000' && LA13_1<='.')||(LA13_1>='0' && LA13_1<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n }\n else if ( ((LA13_0>='\\u0000' && LA13_0<=')')||(LA13_0>='+' && LA13_0<='\\uFFFF')) ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // InternalMyDsl.g:15374:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop13;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7236:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalIotLuaXtext.g:7236:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalIotLuaXtext.g:7236:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( ((LA8_0>='\\u0000' && LA8_0<='\\t')||(LA8_0>='\\u000B' && LA8_0<='\\f')||(LA8_0>='\\u000E' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:7236:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // InternalIotLuaXtext.g:7236:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\n'||LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalIotLuaXtext.g:7236:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalIotLuaXtext.g:7236:41: ( '\\\\r' )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='\\r') ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // InternalIotLuaXtext.g:7236:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mWS() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = WS;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// src/aofC/AspectParser/AOC.g:182:3: ( ( ' ' | '\\\\n' | '\\\\t' | '\\\\r' )+ )\n\t\t\t// src/aofC/AspectParser/AOC.g:182:5: ( ' ' | '\\\\n' | '\\\\t' | '\\\\r' )+\n\t\t\t{\n\t\t\t// src/aofC/AspectParser/AOC.g:182:5: ( ' ' | '\\\\n' | '\\\\t' | '\\\\r' )+\n\t\t\tint cnt3=0;\n\t\t\tloop3:\n\t\t\twhile (true) {\n\t\t\t\tint alt3=2;\n\t\t\t\tint LA3_0 = input.LA(1);\n\t\t\t\tif ( ((LA3_0 >= '\\t' && LA3_0 <= '\\n')||LA3_0=='\\r'||LA3_0==' ') ) {\n\t\t\t\t\talt3=1;\n\t\t\t\t}\n\n\t\t\t\tswitch (alt3) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// src/aofC/AspectParser/AOC.g:\n\t\t\t\t\t{\n\t\t\t\t\tif ( (input.LA(1) >= '\\t' && input.LA(1) <= '\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tMismatchedSetException mse = new MismatchedSetException(null,input);\n\t\t\t\t\t\trecover(mse);\n\t\t\t\t\t\tthrow mse;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault :\n\t\t\t\t\tif ( cnt3 >= 1 ) break loop3;\n\t\t\t\t\tEarlyExitException eee = new EarlyExitException(3, input);\n\t\t\t\t\tthrow eee;\n\t\t\t\t}\n\t\t\t\tcnt3++;\n\t\t\t}\n\n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6374:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalMyDsl.g:6374:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalMyDsl.g:6374:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:6374:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2391:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalMyDsl.g:2391:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalMyDsl.g:2391:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalMyDsl.g:2391:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_SL_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_SL_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1726:17: ( '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )? )\n // InternalReqLNG.g:1726:19: '//' (~ ( ( '\\\\n' | '\\\\r' ) ) )* ( ( '\\\\r' )? '\\\\n' )?\n {\n match(\"//\"); \n\n // InternalReqLNG.g:1726:24: (~ ( ( '\\\\n' | '\\\\r' ) ) )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>='\\u0000' && LA9_0<='\\t')||(LA9_0>='\\u000B' && LA9_0<='\\f')||(LA9_0>='\\u000E' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalReqLNG.g:1726:24: ~ ( ( '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\t')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n // InternalReqLNG.g:1726:40: ( ( '\\\\r' )? '\\\\n' )?\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='\\n'||LA11_0=='\\r') ) {\n alt11=1;\n }\n switch (alt11) {\n case 1 :\n // InternalReqLNG.g:1726:41: ( '\\\\r' )? '\\\\n'\n {\n // InternalReqLNG.g:1726:41: ( '\\\\r' )?\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0=='\\r') ) {\n alt10=1;\n }\n switch (alt10) {\n case 1 :\n // InternalReqLNG.g:1726:41: '\\\\r'\n {\n match('\\r'); \n\n }\n break;\n\n }\n\n match('\\n'); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mWS() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.WS;\r\n int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n if (this.input.LA(1) >= '\\t' && this.input.LA(1) <= '\\n'\r\n || this.input.LA(1) == '\\r' || this.input.LA(1) == ' ') {\r\n this.input.consume();\r\n\r\n } else {\r\n final MismatchedSetException mse = new MismatchedSetException(null, this.input);\r\n this.recover(mse);\r\n throw mse;\r\n }\r\n _channel = BaseRecognizer.HIDDEN;\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\r\n try {\r\n int _type = RULE_ML_COMMENT;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:19: '/*' ( options {greedy=false; } : . )* '*/'\r\n {\r\n match(\"/*\"); \r\n\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:24: ( options {greedy=false; } : . )*\r\n loop9:\r\n do {\r\n int alt9=2;\r\n int LA9_0 = input.LA(1);\r\n\r\n if ( (LA9_0=='*') ) {\r\n int LA9_1 = input.LA(2);\r\n\r\n if ( (LA9_1=='/') ) {\r\n alt9=2;\r\n }\r\n else if ( ((LA9_1>='\\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\\uFFFF')) ) {\r\n alt9=1;\r\n }\r\n\r\n\r\n }\r\n else if ( ((LA9_0>='\\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\\uFFFF')) ) {\r\n alt9=1;\r\n }\r\n\r\n\r\n switch (alt9) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3479:52: .\r\n \t {\r\n \t matchAny(); \r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop9;\r\n }\r\n } while (true);\r\n\r\n match(\"*/\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public void testWS6() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 287, \"\\t \\t \", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16709:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalDSL.g:16709:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalDSL.g:16709:24: ( options {greedy=false; } : . )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='*') ) {\n int LA12_1 = input.LA(2);\n\n if ( (LA12_1=='/') ) {\n alt12=2;\n }\n else if ( ((LA12_1>='\\u0000' && LA12_1<='.')||(LA12_1>='0' && LA12_1<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n }\n else if ( ((LA12_0>='\\u0000' && LA12_0<=')')||(LA12_0>='+' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalDSL.g:16709:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void testWS4() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 285, \"\\t\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public final void mRULE_EOL() throws RecognitionException {\n try {\n int _type = RULE_EOL;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2601:10: ( RULE_NL )\n // InternalCucumber.g:2601:12: RULE_NL\n {\n mRULE_NL(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULES() throws RecognitionException {\r\n try {\r\n int _type = RULES;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // Satmc.g:19:7: ( 'RULES:' )\r\n // Satmc.g:19:9: 'RULES:'\r\n {\r\n match(\"RULES:\"); \r\n\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2292:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalDSL.g:2292:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalDSL.g:2292:24: ( options {greedy=false; } : . )*\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0=='*') ) {\n int LA9_1 = input.LA(2);\n\n if ( (LA9_1=='/') ) {\n alt9=2;\n }\n else if ( ((LA9_1>='\\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n }\n else if ( ((LA9_0>='\\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\\uFFFF')) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // InternalDSL.g:2292:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop9;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void entryRuleAction() throws RecognitionException {\n\n \tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n\n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:280:1: ( ruleAction EOF )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:281:1: ruleAction EOF\n {\n before(grammarAccess.getActionRule()); \n pushFollow(FOLLOW_ruleAction_in_entryRuleAction480);\n ruleAction();\n\n state._fsp--;\n\n after(grammarAccess.getActionRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleAction487); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void mCOMMENT() throws RecognitionException {\n try {\n int _type = COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:5: ( ( '--' | '//' ) ( . )* ( '\\\\n' | '\\\\r' ) )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:7: ( '--' | '//' ) ( . )* ( '\\\\n' | '\\\\r' )\n {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:7: ( '--' | '//' )\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( (LA11_0=='-') ) {\n alt11=1;\n }\n else if ( (LA11_0=='/') ) {\n alt11=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 11, 0, input);\n\n throw nvae;\n }\n switch (alt11) {\n case 1 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:8: '--'\n {\n match(\"--\"); \n\n\n }\n break;\n case 2 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:15: '//'\n {\n match(\"//\"); \n\n\n }\n break;\n\n }\n\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:21: ( . )*\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( (LA12_0=='\\n'||LA12_0=='\\r') ) {\n alt12=2;\n }\n else if ( ((LA12_0>='\\u0000' && LA12_0<='\\t')||(LA12_0>='\\u000B' && LA12_0<='\\f')||(LA12_0>='\\u000E' && LA12_0<='\\uFFFF')) ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:619:21: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop12;\n }\n } while (true);\n\n if ( input.LA(1)=='\\n'||input.LA(1)=='\\r' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n _channel = HIDDEN; \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void ruleAction() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:296:2: ( ( ( rule__Action__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:297:1: ( ( rule__Action__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:297:1: ( ( rule__Action__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:298:1: ( rule__Action__Group__0 )\n {\n before(grammarAccess.getActionAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:299:1: ( rule__Action__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:299:2: rule__Action__Group__0\n {\n pushFollow(FOLLOW_rule__Action__Group__0_in_ruleAction517);\n rule__Action__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getActionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "NextDeclRule createNextDeclRule();", "public final ANTLRv3Parser.grammarDef_return grammarDef() throws RecognitionException {\r\n ANTLRv3Parser.grammarDef_return retval = new ANTLRv3Parser.grammarDef_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token g=null;\r\n Token DOC_COMMENT1=null;\r\n Token string_literal2=null;\r\n Token string_literal3=null;\r\n Token string_literal4=null;\r\n Token char_literal6=null;\r\n Token EOF12=null;\r\n ANTLRv3Parser.id_return id5 =null;\r\n\r\n ANTLRv3Parser.optionsSpec_return optionsSpec7 =null;\r\n\r\n ANTLRv3Parser.tokensSpec_return tokensSpec8 =null;\r\n\r\n ANTLRv3Parser.attrScope_return attrScope9 =null;\r\n\r\n ANTLRv3Parser.action_return action10 =null;\r\n\r\n ANTLRv3Parser.rule_return rule11 =null;\r\n\r\n\r\n CommonTree g_tree=null;\r\n CommonTree DOC_COMMENT1_tree=null;\r\n CommonTree string_literal2_tree=null;\r\n CommonTree string_literal3_tree=null;\r\n CommonTree string_literal4_tree=null;\r\n CommonTree char_literal6_tree=null;\r\n CommonTree EOF12_tree=null;\r\n RewriteRuleTokenStream stream_DOC_COMMENT=new RewriteRuleTokenStream(adaptor,\"token DOC_COMMENT\");\r\n RewriteRuleTokenStream stream_90=new RewriteRuleTokenStream(adaptor,\"token 90\");\r\n RewriteRuleTokenStream stream_EOF=new RewriteRuleTokenStream(adaptor,\"token EOF\");\r\n RewriteRuleTokenStream stream_83=new RewriteRuleTokenStream(adaptor,\"token 83\");\r\n RewriteRuleTokenStream stream_84=new RewriteRuleTokenStream(adaptor,\"token 84\");\r\n RewriteRuleTokenStream stream_85=new RewriteRuleTokenStream(adaptor,\"token 85\");\r\n RewriteRuleTokenStream stream_76=new RewriteRuleTokenStream(adaptor,\"token 76\");\r\n RewriteRuleSubtreeStream stream_id=new RewriteRuleSubtreeStream(adaptor,\"rule id\");\r\n RewriteRuleSubtreeStream stream_tokensSpec=new RewriteRuleSubtreeStream(adaptor,\"rule tokensSpec\");\r\n RewriteRuleSubtreeStream stream_attrScope=new RewriteRuleSubtreeStream(adaptor,\"rule attrScope\");\r\n RewriteRuleSubtreeStream stream_rule=new RewriteRuleSubtreeStream(adaptor,\"rule rule\");\r\n RewriteRuleSubtreeStream stream_action=new RewriteRuleSubtreeStream(adaptor,\"rule action\");\r\n RewriteRuleSubtreeStream stream_optionsSpec=new RewriteRuleSubtreeStream(adaptor,\"rule optionsSpec\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:5: ( ( DOC_COMMENT )? ( 'lexer' | 'parser' | 'tree' |) g= 'grammar' id ';' ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ EOF -> ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ ) )\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: ( DOC_COMMENT )? ( 'lexer' | 'parser' | 'tree' |) g= 'grammar' id ';' ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ EOF\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: ( DOC_COMMENT )?\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0==DOC_COMMENT) ) {\r\n alt1=1;\r\n }\r\n switch (alt1) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: DOC_COMMENT\r\n {\r\n DOC_COMMENT1=(Token)match(input,DOC_COMMENT,FOLLOW_DOC_COMMENT_in_grammarDef367); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_DOC_COMMENT.add(DOC_COMMENT1);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:94:6: ( 'lexer' | 'parser' | 'tree' |)\r\n int alt2=4;\r\n switch ( input.LA(1) ) {\r\n case 84:\r\n {\r\n alt2=1;\r\n }\r\n break;\r\n case 85:\r\n {\r\n alt2=2;\r\n }\r\n break;\r\n case 90:\r\n {\r\n alt2=3;\r\n }\r\n break;\r\n case 83:\r\n {\r\n alt2=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 2, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n\r\n switch (alt2) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:94:8: 'lexer'\r\n {\r\n string_literal2=(Token)match(input,84,FOLLOW_84_in_grammarDef377); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_84.add(string_literal2);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=LEXER_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:95:10: 'parser'\r\n {\r\n string_literal3=(Token)match(input,85,FOLLOW_85_in_grammarDef395); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_85.add(string_literal3);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=PARSER_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 3 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:96:10: 'tree'\r\n {\r\n string_literal4=(Token)match(input,90,FOLLOW_90_in_grammarDef411); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_90.add(string_literal4);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=TREE_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 4 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:97:14: \r\n {\r\n if ( state.backtracking==0 ) {gtype=COMBINED_GRAMMAR;}\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n g=(Token)match(input,83,FOLLOW_83_in_grammarDef452); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_83.add(g);\r\n\r\n\r\n pushFollow(FOLLOW_id_in_grammarDef454);\r\n id5=id();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_id.add(id5.getTree());\r\n\r\n char_literal6=(Token)match(input,76,FOLLOW_76_in_grammarDef456); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_76.add(char_literal6);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:25: ( optionsSpec )?\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( (LA3_0==OPTIONS) ) {\r\n alt3=1;\r\n }\r\n switch (alt3) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:25: optionsSpec\r\n {\r\n pushFollow(FOLLOW_optionsSpec_in_grammarDef458);\r\n optionsSpec7=optionsSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_optionsSpec.add(optionsSpec7.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:38: ( tokensSpec )?\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( (LA4_0==TOKENS) ) {\r\n alt4=1;\r\n }\r\n switch (alt4) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:38: tokensSpec\r\n {\r\n pushFollow(FOLLOW_tokensSpec_in_grammarDef461);\r\n tokensSpec8=tokensSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_tokensSpec.add(tokensSpec8.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:50: ( attrScope )*\r\n loop5:\r\n do {\r\n int alt5=2;\r\n int LA5_0 = input.LA(1);\r\n\r\n if ( (LA5_0==SCOPE) ) {\r\n alt5=1;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:50: attrScope\r\n \t {\r\n \t pushFollow(FOLLOW_attrScope_in_grammarDef464);\r\n \t attrScope9=attrScope();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_attrScope.add(attrScope9.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop5;\r\n }\r\n } while (true);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:61: ( action )*\r\n loop6:\r\n do {\r\n int alt6=2;\r\n int LA6_0 = input.LA(1);\r\n\r\n if ( (LA6_0==AT) ) {\r\n alt6=1;\r\n }\r\n\r\n\r\n switch (alt6) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:61: action\r\n \t {\r\n \t pushFollow(FOLLOW_action_in_grammarDef467);\r\n \t action10=action();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_action.add(action10.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop6;\r\n }\r\n } while (true);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:100:6: ( rule )+\r\n int cnt7=0;\r\n loop7:\r\n do {\r\n int alt7=2;\r\n int LA7_0 = input.LA(1);\r\n\r\n if ( (LA7_0==DOC_COMMENT||LA7_0==FRAGMENT||LA7_0==RULE_REF||LA7_0==TOKEN_REF||(LA7_0 >= 86 && LA7_0 <= 88)) ) {\r\n alt7=1;\r\n }\r\n\r\n\r\n switch (alt7) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:100:6: rule\r\n \t {\r\n \t pushFollow(FOLLOW_rule_in_grammarDef475);\r\n \t rule11=rule();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_rule.add(rule11.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt7 >= 1 ) break loop7;\r\n \t if (state.backtracking>0) {state.failed=true; return retval;}\r\n EarlyExitException eee =\r\n new EarlyExitException(7, input);\r\n throw eee;\r\n }\r\n cnt7++;\r\n } while (true);\r\n\r\n\r\n EOF12=(Token)match(input,EOF,FOLLOW_EOF_in_grammarDef483); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_EOF.add(EOF12);\r\n\r\n\r\n // AST REWRITE\r\n // elements: attrScope, optionsSpec, tokensSpec, DOC_COMMENT, rule, action, id\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 102:6: -> ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:102:9: ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(adaptor.create(gtype,g), root_1);\r\n\r\n adaptor.addChild(root_1, stream_id.nextTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:12: ( DOC_COMMENT )?\r\n if ( stream_DOC_COMMENT.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_DOC_COMMENT.nextNode()\r\n );\r\n\r\n }\r\n stream_DOC_COMMENT.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:25: ( optionsSpec )?\r\n if ( stream_optionsSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_optionsSpec.nextTree());\r\n\r\n }\r\n stream_optionsSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:38: ( tokensSpec )?\r\n if ( stream_tokensSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_tokensSpec.nextTree());\r\n\r\n }\r\n stream_tokensSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:50: ( attrScope )*\r\n while ( stream_attrScope.hasNext() ) {\r\n adaptor.addChild(root_1, stream_attrScope.nextTree());\r\n\r\n }\r\n stream_attrScope.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:61: ( action )*\r\n while ( stream_action.hasNext() ) {\r\n adaptor.addChild(root_1, stream_action.nextTree());\r\n\r\n }\r\n stream_action.reset();\r\n\r\n if ( !(stream_rule.hasNext()) ) {\r\n throw new RewriteEarlyExitException();\r\n }\r\n while ( stream_rule.hasNext() ) {\r\n adaptor.addChild(root_1, stream_rule.nextTree());\r\n\r\n }\r\n stream_rule.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "AxiomDeclRule createAxiomDeclRule();", "public final void entryRuleStatement() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:155:1: ( ruleStatement EOF )\r\n // InternalDroneScript.g:156:1: ruleStatement EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getStatementRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleStatement();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getStatementRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "public final void ruleUpdates() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1016:2: ( ( ( rule__Updates__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1017:1: ( ( rule__Updates__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1017:1: ( ( rule__Updates__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1018:1: ( rule__Updates__Group__0 )\n {\n before(grammarAccess.getUpdatesAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1019:1: ( rule__Updates__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1019:2: rule__Updates__Group__0\n {\n pushFollow(FOLLOW_rule__Updates__Group__0_in_ruleUpdates1893);\n rule__Updates__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getUpdatesAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:851:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalStateMachine.g:851:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalStateMachine.g:851:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalStateMachine.g:851:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mCOMMENT() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.COMMENT;\r\n int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:5: ( '//' (~ ( '\\\\n'\r\n // | '\\\\r' ) )* ( '\\\\r' )? '\\\\n' | '/*' ( options {greedy=false; } : . )* '*/' )\r\n int alt15 = 2;\r\n final int LA15_0 = this.input.LA(1);\r\n\r\n if (LA15_0 == '/') {\r\n final int LA15_1 = this.input.LA(2);\r\n\r\n if (LA15_1 == '/') {\r\n alt15 = 1;\r\n } else if (LA15_1 == '*') {\r\n alt15 = 2;\r\n } else {\r\n final NoViableAltException nvae = new NoViableAltException(\"\", 15, 1,\r\n this.input);\r\n\r\n throw nvae;\r\n }\r\n } else {\r\n final NoViableAltException nvae = new NoViableAltException(\"\", 15, 0, this.input);\r\n\r\n throw nvae;\r\n }\r\n switch (alt15) {\r\n case 1:\r\n this.match(\"//\");\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:14: (~ ( '\\\\n'\r\n // | '\\\\r' ) )*\r\n loop12: do {\r\n int alt12 = 2;\r\n final int LA12_0 = this.input.LA(1);\r\n\r\n if (LA12_0 >= '\\u0000' && LA12_0 <= '\\t' || LA12_0 >= '\\u000B'\r\n && LA12_0 <= '\\f' || LA12_0 >= '\\u000E' && LA12_0 <= '\\uFFFF') {\r\n alt12 = 1;\r\n }\r\n\r\n switch (alt12) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:14: ~\r\n // ( '\\\\n' | '\\\\r' )\r\n {\r\n if (this.input.LA(1) >= '\\u0000' && this.input.LA(1) <= '\\t'\r\n || this.input.LA(1) >= '\\u000B' && this.input.LA(1) <= '\\f'\r\n || this.input.LA(1) >= '\\u000E'\r\n && this.input.LA(1) <= '\\uFFFF') {\r\n this.input.consume();\r\n\r\n } else {\r\n final MismatchedSetException mse = new MismatchedSetException(\r\n null, this.input);\r\n this.recover(mse);\r\n throw mse;\r\n }\r\n\r\n }\r\n break;\r\n\r\n default:\r\n break loop12;\r\n }\r\n } while (true);\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:28: ( '\\\\r' )?\r\n int alt13 = 2;\r\n final int LA13_0 = this.input.LA(1);\r\n if (LA13_0 == '\\r') {\r\n alt13 = 1;\r\n }\r\n switch (alt13) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:64:28: '\\\\r'\r\n {\r\n this.match('\\r');\r\n\r\n }\r\n break;\r\n\r\n }\r\n this.match('\\n');\r\n _channel = BaseRecognizer.HIDDEN;\r\n break;\r\n case 2:\r\n this.match(\"/*\");\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:65:14: ( options\r\n // {greedy=false; } : . )*\r\n loop14: do {\r\n int alt14 = 2;\r\n final int LA14_0 = this.input.LA(1);\r\n\r\n if (LA14_0 == '*') {\r\n final int LA14_1 = this.input.LA(2);\r\n\r\n if (LA14_1 == '/') {\r\n alt14 = 2;\r\n } else if (LA14_1 >= '\\u0000' && LA14_1 <= '.' || LA14_1 >= '0'\r\n && LA14_1 <= '\\uFFFF') {\r\n alt14 = 1;\r\n }\r\n\r\n } else if (LA14_0 >= '\\u0000' && LA14_0 <= ')' || LA14_0 >= '+'\r\n && LA14_0 <= '\\uFFFF') {\r\n alt14 = 1;\r\n }\r\n\r\n switch (alt14) {\r\n case 1:\r\n // /Users/Marco/Desktop/Tesi Davide/Antlr-doc/SparqlMarco.g:65:42: .\r\n {\r\n this.matchAny();\r\n\r\n }\r\n break;\r\n\r\n default:\r\n break loop14;\r\n }\r\n } while (true);\r\n this.match(\"*/\");\r\n _channel = BaseRecognizer.HIDDEN;\r\n break;\r\n default:\r\n break;\r\n\r\n }\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "public final void mRULE_ML_COMMENT() throws RecognitionException {\n try {\n int _type = RULE_ML_COMMENT;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1724:17: ( '/*' ( options {greedy=false; } : . )* '*/' )\n // InternalReqLNG.g:1724:19: '/*' ( options {greedy=false; } : . )* '*/'\n {\n match(\"/*\"); \n\n // InternalReqLNG.g:1724:24: ( options {greedy=false; } : . )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0=='*') ) {\n int LA8_1 = input.LA(2);\n\n if ( (LA8_1=='/') ) {\n alt8=2;\n }\n else if ( ((LA8_1>='\\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n }\n else if ( ((LA8_0>='\\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\\uFFFF')) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalReqLNG.g:1724:52: .\n \t {\n \t matchAny(); \n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n match(\"*/\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mWS() throws RecognitionException {\n try {\n int _type = WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2896:2: ( ( ' ' | '\\\\t' ) )\n // C:\\\\Documents and Settings\\\\D043530\\\\runtime-workspace\\\\com.sap.ap.cts.editor\\\\generated\\\\generated\\\\Binding.g:2896:4: ( ' ' | '\\\\t' )\n {\n if ( input.LA(1)=='\\t'||input.LA(1)==' ' ) {\n input.consume();\n state.failed=false;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( state.backtracking==0 ) {\n _channel=HIDDEN;\n }\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void add_rule(Rule rule) throws Exception;", "public final void mRULE_WSNLCHARS() throws RecognitionException {\n try {\n // InternalUniMapperGenerator.g:5149:25: ( ( ' ' | '\\\\t' | '\\\\f' | '\\\\n' | '\\\\r' ) )\n // InternalUniMapperGenerator.g:5149:27: ( ' ' | '\\\\t' | '\\\\f' | '\\\\n' | '\\\\r' )\n {\n if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||(input.LA(1)>='\\f' && input.LA(1)<='\\r')||input.LA(1)==' ' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n }\n finally {\n }\n }" ]
[ "0.70137703", "0.6779135", "0.67616725", "0.6740695", "0.66926545", "0.6664246", "0.66456664", "0.6644598", "0.6636739", "0.66224927", "0.66201746", "0.6616826", "0.6614444", "0.66010284", "0.6590512", "0.65652317", "0.6551418", "0.6431558", "0.63493454", "0.6337743", "0.6290018", "0.62756544", "0.6216838", "0.6144353", "0.5987504", "0.58410597", "0.57229614", "0.5720853", "0.5658406", "0.5624555", "0.56223994", "0.5600513", "0.55394655", "0.5535781", "0.5476926", "0.5472504", "0.54627675", "0.54415166", "0.54363716", "0.5430791", "0.5430103", "0.54300636", "0.5427995", "0.5415817", "0.53954846", "0.5387645", "0.5364336", "0.5364281", "0.5360119", "0.533256", "0.53279907", "0.53151286", "0.53084457", "0.5292948", "0.52907395", "0.5262669", "0.52535605", "0.52470994", "0.52379704", "0.5227139", "0.5209657", "0.5201788", "0.5195208", "0.5194514", "0.51910573", "0.5172534", "0.5171467", "0.51705545", "0.5159195", "0.51548773", "0.51467854", "0.5142183", "0.513227", "0.510918", "0.5105174", "0.5097933", "0.5095831", "0.5043355", "0.50177115", "0.50080335", "0.50071466", "0.50049967", "0.5002092", "0.49960303", "0.49921006", "0.49914867", "0.4987923", "0.49864358", "0.4959349", "0.4949485", "0.4938003", "0.49232396", "0.49159205", "0.49087876", "0.4896974", "0.48917437", "0.48783967", "0.48770455", "0.48770222", "0.48708767" ]
0.65592897
16
$ANTLR end "RULE_WS" $ANTLR start "RULE_ANY_OTHER"
public final void mRULE_ANY_OTHER() throws RecognitionException { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; // InternalDSL.g:2298:16: ( . ) // InternalDSL.g:2298:18: . { matchAny(); } state.type = _type; state.channel = _channel; } finally { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2146:16: ( . )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2146:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2539:16: ( . )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2539:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:673:16: ( . )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:673:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:105:16: ( . )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:105:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7240:16: ( . )\n // InternalIotLuaXtext.g:7240:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\r\n try {\r\n int _type = RULE_ANY_OTHER;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2493:16: ( . )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2493:18: .\r\n {\r\n matchAny(); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1730:16: ( . )\n // InternalReqLNG.g:1730:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6940:16: ( . )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6940:18: .\n {\n matchAny(); \n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6380:16: ( . )\n // InternalMyDsl.g:6380:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15380:16: ( . )\n // InternalMyDsl.g:15380:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23496:16: ( . )\n // InternalSpeADL.g:23496:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2397:16: ( . )\n // InternalMyDsl.g:2397:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13312:16: ( . )\n // InternalEsm.g:13312:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16741:16: ( . )\n // InternalDSL.g:16741:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:857:16: ( . )\n // InternalStateMachine.g:857:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40371:16: ( . )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40371:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\r\n try {\r\n int _type = RULE_ANY_OTHER;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34503:16: ( . )\r\n // InternalSpringConfigDsl.g:34503:18: .\r\n {\r\n matchAny(); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\r\n try {\r\n int _type = RULE_ANY_OTHER;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19818:16: ( . )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19818:18: .\r\n {\r\n matchAny(); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\r\n try {\r\n int _type = RULE_ANY_OTHER;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3485:16: ( . )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3485:18: .\r\n {\r\n matchAny(); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_ANY_OTHER() throws RecognitionException {\n try {\n int _type = RULE_ANY_OTHER;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1764:16: ( . )\n // InternalVizualizer.g:1764:18: .\n {\n matchAny(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:13310:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalEsm.g:13310:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalEsm.g:13310:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt14=0;\n loop14:\n do {\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( ((LA14_0>='\\t' && LA14_0<='\\n')||LA14_0=='\\r'||LA14_0==' ') ) {\n alt14=1;\n }\n\n\n switch (alt14) {\n \tcase 1 :\n \t // InternalEsm.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt14 >= 1 ) break loop14;\n EarlyExitException eee =\n new EarlyExitException(14, input);\n throw eee;\n }\n cnt14++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:319:18: ( FRAGMENT_RULE_WS )\n // PsiInternalBacktrackingLexerTestLanguage.g:319:20: FRAGMENT_RULE_WS\n {\n mFRAGMENT_RULE_WS(); \n\n }\n\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40369:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40369:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:40369:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:15378:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalMyDsl.g:15378:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalMyDsl.g:15378:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt17=0;\n loop17:\n do {\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( ((LA17_0>='\\t' && LA17_0<='\\n')||LA17_0=='\\r'||LA17_0==' ') ) {\n alt17=1;\n }\n\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt17 >= 1 ) break loop17;\n EarlyExitException eee =\n new EarlyExitException(17, input);\n throw eee;\n }\n cnt17++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:2395:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalMyDsl.g:2395:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalMyDsl.g:2395:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt12=0;\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt12 >= 1 ) break loop12;\n EarlyExitException eee =\n new EarlyExitException(12, input);\n throw eee;\n }\n cnt12++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalSpeADL.g:23494:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalSpeADL.g:23494:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalSpeADL.g:23494:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt20=0;\n loop20:\n do {\n int alt20=2;\n int LA20_0 = input.LA(1);\n\n if ( ((LA20_0>='\\t' && LA20_0<='\\n')||LA20_0=='\\r'||LA20_0==' ') ) {\n alt20=1;\n }\n\n\n switch (alt20) {\n \tcase 1 :\n \t // InternalSpeADL.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt20 >= 1 ) break loop20;\n EarlyExitException eee =\n new EarlyExitException(20, input);\n throw eee;\n }\n cnt20++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:6378:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalMyDsl.g:6378:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalMyDsl.g:6378:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt12=0;\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt12 >= 1 ) break loop12;\n EarlyExitException eee =\n new EarlyExitException(12, input);\n throw eee;\n }\n cnt12++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2144:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2144:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:2144:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../org.xtext.example.mydslsample/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDslSample.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:103:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:103:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:103:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt32=0;\n loop32:\n do {\n int alt32=2;\n int LA32_0 = input.LA(1);\n\n if ( ((LA32_0>='\\t' && LA32_0<='\\n')||LA32_0=='\\r'||LA32_0==' ') ) {\n alt32=1;\n }\n\n\n switch (alt32) {\n \tcase 1 :\n \t // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt32 >= 1 ) break loop32;\n EarlyExitException eee =\n new EarlyExitException(32, input);\n throw eee;\n }\n cnt32++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2531:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2531:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:2531:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt6=0;\n loop6:\n do {\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( ((LA6_0>='\\t' && LA6_0<='\\n')||LA6_0=='\\r'||LA6_0==' ') ) {\n alt6=1;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // ../org.xtext.example.webgme_mtl/src-gen/org/xtext/example/webgme/parser/antlr/internal/InternalMTL.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt6 >= 1 ) break loop6;\n EarlyExitException eee =\n new EarlyExitException(6, input);\n throw eee;\n }\n cnt6++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:671:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:671:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:671:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt15=0;\n loop15:\n do {\n int alt15=2;\n int LA15_0 = input.LA(1);\n\n if ( ((LA15_0>='\\t' && LA15_0<='\\n')||LA15_0=='\\r'||LA15_0==' ') ) {\n alt15=1;\n }\n\n\n switch (alt15) {\n \tcase 1 :\n \t // ../com.pellcorp.mydsl/src-gen/com/pellcorp/mydsl/parser/antlr/internal/InternalMyDsl.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt15 >= 1 ) break loop15;\n EarlyExitException eee =\n new EarlyExitException(15, input);\n throw eee;\n }\n cnt15++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:2296:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalDSL.g:2296:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalDSL.g:2296:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt13=0;\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\t' && LA13_0<='\\n')||LA13_0=='\\r'||LA13_0==' ') ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt13 >= 1 ) break loop13;\n EarlyExitException eee =\n new EarlyExitException(13, input);\n throw eee;\n }\n cnt13++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3483:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3483:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:3483:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt13=0;\r\n loop13:\r\n do {\r\n int alt13=2;\r\n int LA13_0 = input.LA(1);\r\n\r\n if ( ((LA13_0>='\\t' && LA13_0<='\\n')||LA13_0=='\\r'||LA13_0==' ') ) {\r\n alt13=1;\r\n }\r\n\r\n\r\n switch (alt13) {\r\n \tcase 1 :\r\n \t // ../org.ow2.mindEd.adl.textual/src-gen/org/ow2/mindEd/adl/textual/parser/antlr/internal/InternalFractal.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt13 >= 1 ) break loop13;\r\n EarlyExitException eee =\r\n new EarlyExitException(13, input);\r\n throw eee;\r\n }\r\n cnt13++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12789:9: ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+ )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12789:11: ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+\n {\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12789:11: ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalReqLNG.g:1728:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalReqLNG.g:1728:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalReqLNG.g:1728:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt12=0;\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalReqLNG.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt12 >= 1 ) break loop12;\n EarlyExitException eee =\n new EarlyExitException(12, input);\n throw eee;\n }\n cnt12++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:34501:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // InternalSpringConfigDsl.g:34501:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // InternalSpringConfigDsl.g:34501:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt7=0;\r\n loop7:\r\n do {\r\n int alt7=2;\r\n int LA7_0 = input.LA(1);\r\n\r\n if ( ((LA7_0>='\\t' && LA7_0<='\\n')||LA7_0=='\\r'||LA7_0==' ') ) {\r\n alt7=1;\r\n }\r\n\r\n\r\n switch (alt7) {\r\n \tcase 1 :\r\n \t // InternalSpringConfigDsl.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt7 >= 1 ) break loop7;\r\n EarlyExitException eee =\r\n new EarlyExitException(7, input);\r\n throw eee;\r\n }\r\n cnt7++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalDSL.g:16723:9: ( ( ' ' | '\\\\t' )+ )\n // InternalDSL.g:16723:11: ( ' ' | '\\\\t' )+\n {\n // InternalDSL.g:16723:11: ( ' ' | '\\\\t' )+\n int cnt21=0;\n loop21:\n do {\n int alt21=2;\n int LA21_0 = input.LA(1);\n\n if ( (LA21_0=='\\t'||LA21_0==' ') ) {\n alt21=1;\n }\n\n\n switch (alt21) {\n \tcase 1 :\n \t // InternalDSL.g:\n \t {\n \t if ( input.LA(1)=='\\t'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt21 >= 1 ) break loop21;\n EarlyExitException eee =\n new EarlyExitException(21, input);\n throw eee;\n }\n cnt21++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalStateMachine.g:855:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalStateMachine.g:855:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalStateMachine.g:855:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt12=0;\n loop12:\n do {\n int alt12=2;\n int LA12_0 = input.LA(1);\n\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\n alt12=1;\n }\n\n\n switch (alt12) {\n \tcase 1 :\n \t // InternalStateMachine.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt12 >= 1 ) break loop12;\n EarlyExitException eee =\n new EarlyExitException(12, input);\n throw eee;\n }\n cnt12++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_OR() throws RecognitionException {\n try {\n int _type = RULE_OR;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12793:9: ( '|' '|' )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12793:11: '|' '|'\n {\n match('|'); \n match('|'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalIotLuaXtext.g:7238:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalIotLuaXtext.g:7238:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalIotLuaXtext.g:7238:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // InternalIotLuaXtext.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19816:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19816:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:19816:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt20=0;\r\n loop20:\r\n do {\r\n int alt20=2;\r\n int LA20_0 = input.LA(1);\r\n\r\n if ( ((LA20_0>='\\t' && LA20_0<='\\n')||LA20_0=='\\r'||LA20_0==' ') ) {\r\n alt20=1;\r\n }\r\n\r\n\r\n switch (alt20) {\r\n \tcase 1 :\r\n \t // ../org.openmodelica.modelicaml.editor.xtext.modification.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/modification/ui/contentassist/antlr/internal/InternalModification.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt20 >= 1 ) break loop20;\r\n EarlyExitException eee =\r\n new EarlyExitException(20, input);\r\n throw eee;\r\n }\r\n cnt20++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public void testOTHER_ORDINARY1() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 21, \"base\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "public final void rule__Model__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:483:1: ( ( ( ruleother )* ) )\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:484:1: ( ( ruleother )* )\n {\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:484:1: ( ( ruleother )* )\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:485:1: ( ruleother )*\n {\n before(grammarAccess.getModelAccess().getOtherParserRuleCall_1()); \n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:486:1: ( ruleother )*\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( ((LA5_0>=RULE_ML_COMMENT && LA5_0<=RULE_OTHER_COMMAND)) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:486:3: ruleother\n \t {\n \t pushFollow(FOLLOW_ruleother_in_rule__Model__Group__1__Impl982);\n \t ruleother();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop5;\n }\n } while (true);\n\n after(grammarAccess.getModelAccess().getOtherParserRuleCall_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:6938:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt13=0;\n loop13:\n do {\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( ((LA13_0>='\\t' && LA13_0<='\\n')||LA13_0=='\\r'||LA13_0==' ') ) {\n alt13=1;\n }\n\n\n switch (alt13) {\n \tcase 1 :\n \t // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse =\n \t new MismatchedSetException(null,input);\n \t recover(mse); throw mse;\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt13 >= 1 ) break loop13;\n EarlyExitException eee =\n new EarlyExitException(13, input);\n throw eee;\n }\n cnt13++;\n } while (true);\n\n\n }\n\n this.type = _type;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5147:9: ( ( ' ' | '\\\\t' | '\\\\f' | ( '\\\\r' )? '\\\\n' )+ )\n // InternalUniMapperGenerator.g:5147:11: ( ' ' | '\\\\t' | '\\\\f' | ( '\\\\r' )? '\\\\n' )+\n {\n // InternalUniMapperGenerator.g:5147:11: ( ' ' | '\\\\t' | '\\\\f' | ( '\\\\r' )? '\\\\n' )+\n int cnt17=0;\n loop17:\n do {\n int alt17=5;\n switch ( input.LA(1) ) {\n case ' ':\n {\n alt17=1;\n }\n break;\n case '\\t':\n {\n alt17=2;\n }\n break;\n case '\\f':\n {\n alt17=3;\n }\n break;\n case '\\n':\n case '\\r':\n {\n alt17=4;\n }\n break;\n\n }\n\n switch (alt17) {\n \tcase 1 :\n \t // InternalUniMapperGenerator.g:5147:12: ' '\n \t {\n \t match(' '); \n\n \t }\n \t break;\n \tcase 2 :\n \t // InternalUniMapperGenerator.g:5147:16: '\\\\t'\n \t {\n \t match('\\t'); \n\n \t }\n \t break;\n \tcase 3 :\n \t // InternalUniMapperGenerator.g:5147:21: '\\\\f'\n \t {\n \t match('\\f'); \n\n \t }\n \t break;\n \tcase 4 :\n \t // InternalUniMapperGenerator.g:5147:26: ( '\\\\r' )? '\\\\n'\n \t {\n \t // InternalUniMapperGenerator.g:5147:26: ( '\\\\r' )?\n \t int alt16=2;\n \t int LA16_0 = input.LA(1);\n\n \t if ( (LA16_0=='\\r') ) {\n \t alt16=1;\n \t }\n \t switch (alt16) {\n \t case 1 :\n \t // InternalUniMapperGenerator.g:5147:26: '\\\\r'\n \t {\n \t match('\\r'); \n\n \t }\n \t break;\n\n \t }\n\n \t match('\\n'); \n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt17 >= 1 ) break loop17;\n EarlyExitException eee =\n new EarlyExitException(17, input);\n throw eee;\n }\n cnt17++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void testOTHER_ORDINARY4() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 24, \"pale\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "public final void mRULE_WS() throws RecognitionException {\r\n try {\r\n int _type = RULE_WS;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2491:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2491:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n {\r\n // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:2491:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\r\n int cnt12=0;\r\n loop12:\r\n do {\r\n int alt12=2;\r\n int LA12_0 = input.LA(1);\r\n\r\n if ( ((LA12_0>='\\t' && LA12_0<='\\n')||LA12_0=='\\r'||LA12_0==' ') ) {\r\n alt12=1;\r\n }\r\n\r\n\r\n switch (alt12) {\r\n \tcase 1 :\r\n \t // ../ooi.coi.bspl.ui/src-gen/ooi/coi/bspl/ui/contentassist/antlr/internal/InternalBSPL.g:\r\n \t {\r\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\r\n \t input.consume();\r\n\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;}\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt12 >= 1 ) break loop12;\r\n EarlyExitException eee =\r\n new EarlyExitException(12, input);\r\n throw eee;\r\n }\r\n cnt12++;\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "public void testOTHER_ORDINARY2() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 22, \"chief\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2599:9: ( ( ' ' | '\\\\t' ) )\n // InternalCucumber.g:2599:11: ( ' ' | '\\\\t' )\n {\n if ( input.LA(1)=='\\t'||input.LA(1)==' ' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mFRAGMENT_RULE_WS() throws RecognitionException {\n try {\n // PsiInternalBacktrackingLexerTestLanguage.g:320:27: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // PsiInternalBacktrackingLexerTestLanguage.g:320:29: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // PsiInternalBacktrackingLexerTestLanguage.g:320:29: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt1=0;\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( ((LA1_0>='\\t' && LA1_0<='\\n')||LA1_0=='\\r'||LA1_0==' ') ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // PsiInternalBacktrackingLexerTestLanguage.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt1 >= 1 ) break loop1;\n EarlyExitException eee =\n new EarlyExitException(1, input);\n throw eee;\n }\n cnt1++;\n } while (true);\n\n\n }\n\n }\n finally {\n }\n }", "public final void entryRuleOpOther() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:780:1: ( ruleOpOther EOF )\r\n // InternalDroneScript.g:781:1: ruleOpOther EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleOpOther();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "public final void entryRuleother() throws RecognitionException {\n try {\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:315:1: ( ruleother EOF )\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:316:1: ruleother EOF\n {\n before(grammarAccess.getOtherRule()); \n pushFollow(FOLLOW_ruleother_in_entryRuleother604);\n ruleother();\n\n state._fsp--;\n\n after(grammarAccess.getOtherRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleother611); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "@Test\n public void testAndOrRules() throws Exception {\n final PackageDescr pkg = ((PackageDescr) (parseResource(\"compilationUnit\", \"and_or_rule.drl\")));\n TestCase.assertNotNull(pkg);\n TestCase.assertEquals(1, pkg.getRules().size());\n final RuleDescr rule = ((RuleDescr) (pkg.getRules().get(0)));\n TestCase.assertEquals(\"simple_rule\", rule.getName());\n // we will have 3 children under the main And node\n final AndDescr and = rule.getLhs();\n TestCase.assertEquals(3, and.getDescrs().size());\n PatternDescr left = ((PatternDescr) (and.getDescrs().get(0)));\n PatternDescr right = ((PatternDescr) (and.getDescrs().get(1)));\n TestCase.assertEquals(\"Person\", left.getObjectType());\n TestCase.assertEquals(\"Cheese\", right.getObjectType());\n TestCase.assertEquals(1, getDescrs().size());\n ExprConstraintDescr fld = ((ExprConstraintDescr) (getDescrs().get(0)));\n TestCase.assertEquals(\"name == \\\"mark\\\"\", fld.getExpression());\n TestCase.assertEquals(1, getDescrs().size());\n fld = ((ExprConstraintDescr) (getDescrs().get(0)));\n TestCase.assertEquals(\"type == \\\"stilton\\\"\", fld.getExpression());\n // now the \"||\" part\n final OrDescr or = ((OrDescr) (and.getDescrs().get(2)));\n TestCase.assertEquals(2, or.getDescrs().size());\n left = ((PatternDescr) (or.getDescrs().get(0)));\n right = ((PatternDescr) (or.getDescrs().get(1)));\n TestCase.assertEquals(\"Person\", left.getObjectType());\n TestCase.assertEquals(\"Cheese\", right.getObjectType());\n TestCase.assertEquals(1, getDescrs().size());\n fld = ((ExprConstraintDescr) (getDescrs().get(0)));\n TestCase.assertEquals(\"name == \\\"mark\\\"\", fld.getExpression());\n TestCase.assertEquals(1, getDescrs().size());\n fld = ((ExprConstraintDescr) (getDescrs().get(0)));\n TestCase.assertEquals(\"type == \\\"stilton\\\"\", fld.getExpression());\n assertEqualsIgnoreWhitespace(\"System.out.println( \\\"Mark and Michael\\\" );\", ((String) (rule.getConsequence())));\n }", "public final void rulePredicateExpression() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:368:2: ( ( rulePredicateOr ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:369:1: ( rulePredicateOr )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:369:1: ( rulePredicateOr )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:370:1: rulePredicateOr\n {\n before(grammarAccess.getPredicateExpressionAccess().getPredicateOrParserRuleCall()); \n pushFollow(FOLLOW_rulePredicateOr_in_rulePredicateExpression655);\n rulePredicateOr();\n\n state._fsp--;\n\n after(grammarAccess.getPredicateExpressionAccess().getPredicateOrParserRuleCall()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public void testWS2() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 283, \" \", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public void testOTHER_ORDINARY3() throws Exception {\n\t\tObject retval = execLexer(\"OTHER_ORDINARY\", 23, \"bend\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"OTHER_ORDINARY\", expecting, actual);\n\t}", "public final void entryRuleOpOther() throws RecognitionException {\n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:603:1: ( ruleOpOther EOF )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:604:1: ruleOpOther EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getOpOtherRule()); \n }\n pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther1214);\n ruleOpOther();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getOpOtherRule()); \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther1221); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "@Test\n public void testOrBindingComplex() throws Exception {\n final PackageDescr pkg = ((PackageDescr) (parseResource(\"compilationUnit\", \"or_binding_complex.drl\")));\n TestCase.assertEquals(1, pkg.getRules().size());\n final RuleDescr rule = ((RuleDescr) (pkg.getRules().get(0)));\n TestCase.assertEquals(1, getDescrs().size());\n TestCase.assertEquals(1, getDescrs().size());\n final OrDescr or = ((OrDescr) (getDescrs().get(0)));\n TestCase.assertEquals(2, or.getDescrs().size());\n // first fact\n final PatternDescr firstFact = ((PatternDescr) (or.getDescrs().get(0)));\n TestCase.assertEquals(\"Person\", firstFact.getObjectType());\n TestCase.assertEquals(\"foo\", firstFact.getIdentifier());\n // second \"option\"\n final PatternDescr secondFact = ((PatternDescr) (or.getDescrs().get(1)));\n TestCase.assertEquals(\"Person\", secondFact.getObjectType());\n TestCase.assertEquals(1, getDescrs().size());\n TestCase.assertEquals(\"foo\", secondFact.getIdentifier());\n assertEqualsIgnoreWhitespace(\"System.out.println( \\\"Mark and Michael\\\" + bar );\", ((String) (rule.getConsequence())));\n }", "public final void mRULE_WORD() throws RecognitionException {\n try {\n int _type = RULE_WORD;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalCucumber.g:2597:11: (~ ( ( '@' | '|' | ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) (~ ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) )* )\n // InternalCucumber.g:2597:13: ~ ( ( '@' | '|' | ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) (~ ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) )*\n {\n if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\b')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\u001F')||(input.LA(1)>='!' && input.LA(1)<='?')||(input.LA(1)>='A' && input.LA(1)<='{')||(input.LA(1)>='}' && input.LA(1)<='\\uFFFF') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n // InternalCucumber.g:2597:45: (~ ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) ) )*\n loop19:\n do {\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( ((LA19_0>='\\u0000' && LA19_0<='\\b')||(LA19_0>='\\u000B' && LA19_0<='\\f')||(LA19_0>='\\u000E' && LA19_0<='\\u001F')||(LA19_0>='!' && LA19_0<='\\uFFFF')) ) {\n alt19=1;\n }\n\n\n switch (alt19) {\n \tcase 1 :\n \t // InternalCucumber.g:2597:45: ~ ( ( ' ' | '\\\\t' | '\\\\n' | '\\\\r' ) )\n \t {\n \t if ( (input.LA(1)>='\\u0000' && input.LA(1)<='\\b')||(input.LA(1)>='\\u000B' && input.LA(1)<='\\f')||(input.LA(1)>='\\u000E' && input.LA(1)<='\\u001F')||(input.LA(1)>='!' && input.LA(1)<='\\uFFFF') ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop19;\n }\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mRULE_WS() throws RecognitionException {\n try {\n int _type = RULE_WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalVizualizer.g:1762:9: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+ )\n // InternalVizualizer.g:1762:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n {\n // InternalVizualizer.g:1762:11: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )+\n int cnt11=0;\n loop11:\n do {\n int alt11=2;\n int LA11_0 = input.LA(1);\n\n if ( ((LA11_0>='\\t' && LA11_0<='\\n')||LA11_0=='\\r'||LA11_0==' ') ) {\n alt11=1;\n }\n\n\n switch (alt11) {\n \tcase 1 :\n \t // InternalVizualizer.g:\n \t {\n \t if ( (input.LA(1)>='\\t' && input.LA(1)<='\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n \t input.consume();\n\n \t }\n \t else {\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\n \t recover(mse);\n \t throw mse;}\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt11 >= 1 ) break loop11;\n EarlyExitException eee =\n new EarlyExitException(11, input);\n throw eee;\n }\n cnt11++;\n } while (true);\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void testWS1() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 282, \" \", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public final void entryRuleOpOther() throws RecognitionException {\r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:686:1: ( ruleOpOther EOF )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:687:1: ruleOpOther EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherRule()); \r\n }\r\n pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther1394);\r\n ruleOpOther();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherRule()); \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther1401); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "public final void rulePredicateOr() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:404:2: ( ( ( rule__PredicateOr__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:405:1: ( ( rule__PredicateOr__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:405:1: ( ( rule__PredicateOr__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:406:1: ( rule__PredicateOr__Group__0 )\n {\n before(grammarAccess.getPredicateOrAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:407:1: ( rule__PredicateOr__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:407:2: rule__PredicateOr__Group__0\n {\n pushFollow(FOLLOW_rule__PredicateOr__Group__0_in_rulePredicateOr723);\n rule__PredicateOr__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPredicateOrAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public final void entryRulePredicateOr() throws RecognitionException {\n\n \tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n\n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:388:1: ( rulePredicateOr EOF )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:389:1: rulePredicateOr EOF\n {\n before(grammarAccess.getPredicateOrRule()); \n pushFollow(FOLLOW_rulePredicateOr_in_entryRulePredicateOr686);\n rulePredicateOr();\n\n state._fsp--;\n\n after(grammarAccess.getPredicateOrRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRulePredicateOr693); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public Rule formals()\n \t{\n \t\treturn sequence(typeAndOrId(), zeroOrMore(sequence(noNl(), SP_COMMA, typeAndOrId())));\n \t}", "public static void main(String[] args) {\n\t\t\n//\t\t//PA4 a\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"S\");rhs11.add(\"a\");\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"b\");\t\t\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\n//\t\tRule r1 = new Rule(\"S\", rhs1); // S -> Aa | b\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\t\t\n//\t\t//PA4 b\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"S\");rhs11.add(\"a\");rhs11.add(\"b\");\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"c\");rhs12.add(\"d\");\t\t\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\n//\t\tRule r1 = new Rule(\"S\", rhs1); // S -> Aa | b\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\t\t\n//\t\t//PA4 c\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"S\");rhs11.add(\"U\");rhs11.add(\"S\");\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"S\");rhs12.add(\"S\");\t\t\n//\t\tArrayList<String> rhs13 = new ArrayList<>();\n//\t\trhs13.add(\"S\");rhs13.add(\"*\");\n//\t\tArrayList<String> rhs14 = new ArrayList<>();\n//\t\trhs14.add(\"(\");rhs14.add(\"S\");rhs14.add(\")\");\n//\t\tArrayList<String> rhs15 = new ArrayList<>();\n//\t\trhs15.add(\"a\");\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\t\trhs1.add(rhs13);\n//\t\trhs1.add(rhs14);\n//\t\trhs1.add(rhs15);\n//\n//\n//\t\tRule r1 = new Rule(\"S\", rhs1); // S -> Aa | b\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\t\t\n\t\t\n//\t\t//PA-3 d\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"rexpr\");rhs11.add(\"U\");rhs11.add(\"rterm\");\t\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"rterm\");\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\t\tRule r1 = new Rule(\"rexpr\", rhs1);\n//\n//\t\tArrayList<ArrayList<String>> rhs2 = new ArrayList<>();\n//\t\tArrayList<String> rhs21 = new ArrayList<>();\n//\t\trhs21.add(\"rterm\");rhs21.add(\"r factor\");\n//\t\tArrayList<String> rhs22 = new ArrayList<>();\n//\t\trhs22.add(\"r factor\");\n//\t\trhs2.add(rhs21);\n//\t\trhs2.add(rhs22);\n//\t\tRule r2 = new Rule(\"rterm\", rhs2);\n//\n//\t\tArrayList<ArrayList<String>> rhs3 = new ArrayList<>();\n//\t\tArrayList<String> rhs31 = new ArrayList<>();\n//\t\trhs31.add(\"r factor\");rhs31.add(\"*\");\n//\t\tArrayList<String> rhs32 = new ArrayList<>();\n//\t\trhs32.add(\"rprimary\");\n//\t\trhs3.add(rhs31);\n//\t\trhs3.add(rhs32);\n//\t\tRule r3 = new Rule(\"r factor\", rhs3);\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs4 = new ArrayList<>();\n//\t\tArrayList<String> rhs41 = new ArrayList<>();\n//\t\trhs41.add(\"a\");\n//\t\tArrayList<String> rhs42 = new ArrayList<>();\n//\t\trhs42.add(\"b\");\n//\t\trhs4.add(rhs41);\n//\t\trhs4.add(rhs42);\n//\t\tRule r4 = new Rule(\"rprimary\", rhs4);\n//\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\trules.add(r2);\n//\t\trules.add(r3);\n//\t\trules.add(r4);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\t\n\t\t\t\n//\t\t//PA-3 e\t\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"0\");\n//\t\tArrayList<String> rhs12 = new ArrayList<>();\n//\t\trhs12.add(\"T\");rhs12.add(\"1\");\t\t\n//\t\trhs1.add(rhs11);\n//\t\trhs1.add(rhs12);\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs2 = new ArrayList<>();\n//\t\tArrayList<String> rhs21 = new ArrayList<>();\n//\t\trhs21.add(\"1\");\n//\t\tArrayList<String> rhs22 = new ArrayList<>();\n//\t\trhs22.add(\"A\");rhs22.add(\"0\");\t\t\n//\t\trhs2.add(rhs21);\n//\t\trhs2.add(rhs22);\n//\n//\t\tRule r1 = new Rule(\"A\", rhs1);\n//\t\tRule r2 = new Rule(\"T\", rhs2);\n//\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\trules.add(r2);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tg.eliminateEpsilonRule();\n//\t\tg.eliminateLR();\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\n\n\t\t\n//\t\t//PA-3 f\n//\t\t\n//\t\tArrayList<ArrayList<String>> rhs1 = new ArrayList<>();\n//\t\tArrayList<String> rhs11 = new ArrayList<>();\n//\t\trhs11.add(\"B\");rhs11.add(\"C\");\t\n//\t\trhs1.add(rhs11);\n//\t\tRule r1 = new Rule(\"A\", rhs1);\n//\n//\t\tArrayList<ArrayList<String>> rhs2 = new ArrayList<>();\n//\t\tArrayList<String> rhs21 = new ArrayList<>();\n//\t\trhs21.add(\"B\");rhs21.add(\"b\");\n//\t\tArrayList<String> rhs22 = new ArrayList<>();\n//\t\trhs22.add(\"e\");\n//\t\trhs2.add(rhs21);\n//\t\trhs2.add(rhs22);\n//\t\tRule r2 = new Rule(\"B\", rhs2);\n//\n//\t\tArrayList<ArrayList<String>> rhs3 = new ArrayList<>();\n//\t\tArrayList<String> rhs31 = new ArrayList<>();\n//\t\trhs31.add(\"A\");rhs31.add(\"C\");\n//\t\tArrayList<String> rhs32 = new ArrayList<>();\n//\t\trhs32.add(\"a\");\n//\t\trhs3.add(rhs31);\n//\t\trhs3.add(rhs32);\n//\t\tRule r3 = new Rule(\"C\", rhs3);\n//\n//\t\tArrayList<Rule> rules = new ArrayList<>();\n//\t\trules.add(r1);\n//\t\trules.add(r2);\n//\t\trules.add(r3);\n//\t\tGrammar g = new Grammar(rules);\n//\t\tSystem.out.println(g);\n//\t\tg.eliminateEpsilonRule();\n//\t\tSystem.out.println(g);\n//\n//\t\tg.eliminateLR();\n//\n//\t\tSystem.out.println(g);\n//\t\tSystem.out.println(\"----------------------\");\n\n\t}", "public final void mWS() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = WS;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// src/aofC/AspectParser/AOC.g:182:3: ( ( ' ' | '\\\\n' | '\\\\t' | '\\\\r' )+ )\n\t\t\t// src/aofC/AspectParser/AOC.g:182:5: ( ' ' | '\\\\n' | '\\\\t' | '\\\\r' )+\n\t\t\t{\n\t\t\t// src/aofC/AspectParser/AOC.g:182:5: ( ' ' | '\\\\n' | '\\\\t' | '\\\\r' )+\n\t\t\tint cnt3=0;\n\t\t\tloop3:\n\t\t\twhile (true) {\n\t\t\t\tint alt3=2;\n\t\t\t\tint LA3_0 = input.LA(1);\n\t\t\t\tif ( ((LA3_0 >= '\\t' && LA3_0 <= '\\n')||LA3_0=='\\r'||LA3_0==' ') ) {\n\t\t\t\t\talt3=1;\n\t\t\t\t}\n\n\t\t\t\tswitch (alt3) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// src/aofC/AspectParser/AOC.g:\n\t\t\t\t\t{\n\t\t\t\t\tif ( (input.LA(1) >= '\\t' && input.LA(1) <= '\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tMismatchedSetException mse = new MismatchedSetException(null,input);\n\t\t\t\t\t\trecover(mse);\n\t\t\t\t\t\tthrow mse;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault :\n\t\t\t\t\tif ( cnt3 >= 1 ) break loop3;\n\t\t\t\t\tEarlyExitException eee = new EarlyExitException(3, input);\n\t\t\t\t\tthrow eee;\n\t\t\t\t}\n\t\t\t\tcnt3++;\n\t\t\t}\n\n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "public void testWS3() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 284, \" \", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public final void mRULE_BOR() throws RecognitionException {\n try {\n int _type = RULE_BOR;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12821:10: ( '|' )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12821:12: '|'\n {\n match('|'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public void testSUBORDINARY6() throws Exception {\n\t\tObject retval = execLexer(\"SUBORDINARY\", 38, \"orle\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"SUBORDINARY\", expecting, actual);\n\t}", "public SingleRuleBuilder or(String predicate, String... variables) { return or(false, predicate, variables); }", "private Term parseLogicalOr(final boolean required) throws ParseException {\n Term t1 = parseLogicalAnd(required);\n while (t1 != null) {\n /*int tt =*/ _tokenizer.next();\n if (isSpecial(\"||\") || isKeyword(\"or\")) {\n Term t2 = parseLogicalAnd(true);\n if ((t1.isB() && t2.isB()) || !isTypeChecking()) {\n t1 = new Term.OrB(t1, t2);\n } else {\n reportTypeErrorB2(\"'||' or 'or'\");\n }\n } else {\n _tokenizer.pushBack();\n break;\n }\n }\n return t1;\n }", "public void testWS6() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 287, \"\\t \\t \", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "@Override\npublic final void accept(TreeVisitor visitor) {\n visitor.visitWord(OpCodes.OR_NAME);\n if (ops != null) {\n for (int i = 0; i < ops.length; i++) {\n ops[i].accept(visitor);\n }\n } else {\n visitor.visitConstant(null, \"?\");\n }\n visitor.visitEnd();\n }", "public final void rule__InsertSQL__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:636:1: ( ( ( ruleother )* ) )\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:637:1: ( ( ruleother )* )\n {\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:637:1: ( ( ruleother )* )\n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:638:1: ( ruleother )*\n {\n before(grammarAccess.getInsertSQLAccess().getOtherParserRuleCall_3()); \n // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:639:1: ( ruleother )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( ((LA7_0>=RULE_ML_COMMENT && LA7_0<=RULE_OTHER_COMMAND)) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // ../eu.artist.migration.mdt.database.sql.editor.ui/src-gen/eu/artist/migration/mdt/database/sql/editor/ui/contentassist/antlr/internal/InternalSQLDSL.g:639:3: ruleother\n \t {\n \t pushFollow(FOLLOW_ruleother_in_rule__InsertSQL__Group__3__Impl1288);\n \t ruleother();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n after(grammarAccess.getInsertSQLAccess().getOtherParserRuleCall_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "private Expr or() { // This uses the same recursive matching structure as other binary operators.\n Expr expr = and(); // OR takes precedence over AND.\n while(match(OR)) {\n Token operator = previous();\n Expr right = and();\n expr = new Expr.Logical(expr, operator, right);\n }\n return expr;\n }", "@Test\n public void testOrWithBinding() throws Exception {\n final PackageDescr pkg = ((PackageDescr) (parseResource(\"compilationUnit\", \"or_binding.drl\")));\n TestCase.assertEquals(1, pkg.getRules().size());\n final RuleDescr rule = ((RuleDescr) (pkg.getRules().get(0)));\n TestCase.assertEquals(2, getDescrs().size());\n final OrDescr or = ((OrDescr) (getDescrs().get(0)));\n TestCase.assertEquals(2, or.getDescrs().size());\n final PatternDescr leftPattern = ((PatternDescr) (or.getDescrs().get(0)));\n TestCase.assertEquals(\"Person\", leftPattern.getObjectType());\n TestCase.assertEquals(\"foo\", leftPattern.getIdentifier());\n final PatternDescr rightPattern = ((PatternDescr) (or.getDescrs().get(1)));\n TestCase.assertEquals(\"Person\", rightPattern.getObjectType());\n TestCase.assertEquals(\"foo\", rightPattern.getIdentifier());\n final PatternDescr cheeseDescr = ((PatternDescr) (getDescrs().get(1)));\n TestCase.assertEquals(\"Cheese\", cheeseDescr.getObjectType());\n TestCase.assertEquals(null, cheeseDescr.getIdentifier());\n assertEqualsIgnoreWhitespace(\"System.out.println( \\\"Mark and Michael\\\" + bar );\", ((String) (rule.getConsequence())));\n }", "public void setMatchAny() {\n this.value = ANY;\n }", "public static List<Rule> fromRDF(final Iterable<Statement> model) {\n\n // Load namespaces from model metadata, reusing default prefix/ns mappings\n final Map<String, String> namespaces = new HashMap<>(Namespaces.DEFAULT.uriMap());\n if (model instanceof Model) {\n for (final Namespace namespace : ((Model) model).getNamespaces()) {\n namespaces.put(namespace.getPrefix(), namespace.getName());\n }\n }\n for (final Statement stmt : model) {\n if (stmt.getSubject() instanceof URI && stmt.getObject() instanceof Literal\n && stmt.getPredicate().equals(RR.PREFIX_PROPERTY)) {\n namespaces.put(stmt.getObject().stringValue(), stmt.getSubject().stringValue());\n }\n }\n\n // Use a 5-fields Object[] record to collect the attributes of each rule.\n // fields: 0 = fixpoint, 1 = phase, 2 = delete expr, 3 = insert expr, 4 = where expr\n final Map<URI, Object[]> records = new HashMap<>();\n\n // Scan the statements, extracting rule properties and populating the records map\n for (final Statement stmt : model) {\n try {\n if (stmt.getSubject() instanceof URI) {\n\n // Extract relevant statement components\n final URI subj = (URI) stmt.getSubject();\n final URI pred = stmt.getPredicate();\n final Value obj = stmt.getObject();\n\n // Identify field and value (if any) of corresponding Object[] record\n int field = -1;\n Object value = null;\n if (pred.equals(RDF.TYPE)) {\n field = 0;\n if (obj.equals(RR.FIXPOINT_RULE)) {\n value = true;\n } else if (obj.equals(RR.NON_FIXPOINT_RULE)) {\n value = false;\n }\n } else if (pred.equals(RR.PHASE)) {\n field = 1;\n value = ((Literal) obj).intValue();\n } else if (pred.equals(RR.DELETE)) {\n field = 2;\n } else if (pred.equals(RR.INSERT) || pred.equals(RR.HEAD)) {\n field = 3;\n } else if (pred.equals(RR.WHERE) || pred.equals(RR.BODY)) {\n field = 4;\n }\n if (field == 2 || field == 3 || field == 4) {\n value = Algebra.parseTupleExpr(stmt.getObject().stringValue(), null,\n namespaces);\n }\n\n // Update Object[] records if the statement is about a rule\n if (value != null) {\n Object[] record = records.get(subj);\n if (record == null) {\n record = new Object[] { true, 0, null, null, null };\n records.put(subj, record);\n }\n record[field] = value;\n }\n }\n } catch (final Throwable ex) {\n throw new IllegalArgumentException(\"Invalid rule attribute in statement: \" + stmt,\n ex);\n }\n }\n\n // Generate the rules from parsed heads and bodies\n final List<Rule> rules = new ArrayList<>();\n for (final Map.Entry<URI, Object[]> entry : records.entrySet()) {\n final URI id = entry.getKey();\n final Object[] record = entry.getValue();\n rules.add(new Rule(id, (Boolean) record[0], (Integer) record[1],\n (TupleExpr) record[2], (TupleExpr) record[3], (TupleExpr) record[4]));\n }\n return rules;\n }", "public <T extends Collection<? super Statement>> T toRDF(final T output) {\n\n final ValueFactory vf = Statements.VALUE_FACTORY;\n output.add(vf.createStatement(this.id, RDF.TYPE, RR.RULE));\n output.add(vf.createStatement(this.id, RDF.TYPE, this.fixpoint ? RR.FIXPOINT_RULE\n : RR.NON_FIXPOINT_RULE));\n if (this.phase != 0) {\n output.add(vf.createStatement(this.id, RR.PHASE, vf.createLiteral(this.phase)));\n }\n try {\n if (this.deleteExpr != null) {\n output.add(vf.createStatement(this.id, RR.DELETE,\n vf.createLiteral(Algebra.renderExpr(this.deleteExpr, null))));\n }\n if (this.insertExpr != null) {\n output.add(vf.createStatement(this.id, RR.INSERT,\n vf.createLiteral(Algebra.renderExpr(this.insertExpr, null))));\n }\n if (this.whereExpr != null) {\n output.add(vf.createStatement(this.id, RR.WHERE,\n vf.createLiteral(Algebra.renderExpr(this.whereExpr, null))));\n }\n } catch (final Exception ex) {\n throw new RuntimeException(ex);\n }\n return output;\n }", "@Override\n public void exitEveryRule(final ParserRuleContext ctx) {\n }", "public final void mWS() throws RecognitionException {\n try {\n int _type = WS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // metamorph.runtime/src/antlr/Ast.g:32:5: ( ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' ) )\n // metamorph.runtime/src/antlr/Ast.g:32:9: ( ' ' | '\\\\t' | '\\\\r' | '\\\\n' )\n {\n if ( (input.LA(1) >= '\\t' && input.LA(1) <= '\\n')||input.LA(1)=='\\r'||input.LA(1)==' ' ) {\n input.consume();\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;\n }\n\n\n _channel=HIDDEN;\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }", "@Override\n public void enterEveryRule(ParserRuleContext ctx) {\n\n }", "public void testWS8() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 289, \" a \", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public String getRuleBodySQLQueries(List<SWRLAtom> bodyAtoms, Map<String, String> v2prefix) {\n\t\tOntopOWLConnection conn = null;\n\t\tOntopOWLStatement st = null;\n\t\tString sql = null;\n\t\ttry{\n\t\t\tconn = _reasoner.getConnection();\n\t\t\tst = conn.createStatement();\n\t\t\tList<String> lines = new LinkedList<String>();\n\t\t\t\n\t\t\t// parse atoms into sparql query constraints\n\t\t\tfor(SWRLAtom atom : bodyAtoms) {\n\t\t\t\tif (atom instanceof SWRLClassAtom) {\n\t\t\t\t\t// class assertion\n\t\t\t\t\tString cls = atom.getPredicate().toString();\n\t\t\t\t\tString var = null;\n\t\t\t\t\tfor(SWRLArgument arg : atom.getAllArguments()) {\n\t\t\t\t\t\tif (arg instanceof SWRLVariable) {\n\t\t\t\t\t\t\t var = ((SWRLVariable)arg).getIRI().getRemainder().get();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlines.add(String.format(\"?%s a %s .\", var, cls));\n\t\t\t\t}else if(atom instanceof SWRLDataPropertyAtom) {\n\t\t\t\t\t//data value property\n\t\t\t\t\tString pred = atom.getPredicate().toString();\n\t\t\t\t\tList<String> vars = new LinkedList<String>();\n\t\t\t\t\tString val = \"\";\n\t\t\t\t\tfor(SWRLArgument arg : atom.getAllArguments()) {\n\t\t\t\t\t\tif (arg instanceof SWRLVariable) {\n\t\t\t\t\t\t\tvars.add(((SWRLVariable)arg).getIRI().getRemainder().get());\n\t\t\t\t\t\t}else if (arg instanceof SWRLLiteralArgument) {\n\t\t\t\t\t\t\t val = arg.toString();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (vars.size() == 2)\n\t\t\t\t\t\tlines.add(String.format(\"?%s %s ?%s .\", vars.get(0), pred, vars.get(1)));\n\t\t\t\t\telse\n\t\t\t\t\t\tlines.add(String.format(\"?%s %s %s .\", vars.get(0), pred, val));\n\t\t\t\t}else if(atom instanceof SWRLObjectPropertyAtom) {\n\t\t\t\t\t// object property\n\t\t\t\t\tString pred = atom.getPredicate().toString();\n\t\t\t\t\tList<String> vars = new LinkedList<String>();\n\t\t\t\t\tfor(SWRLArgument arg : atom.getAllArguments()) {\n\t\t\t\t\t\tif (arg instanceof SWRLVariable) {\n\t\t\t\t\t\t\tvars.add(((SWRLVariable)arg).getIRI().getRemainder().get());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (vars.size() == 2)\n\t\t\t\t\t\tlines.add(String.format(\"?%s %s ?%s .\", vars.get(0), pred, vars.get(1)));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tString sparqlQuery = String.format(queryTemplate, String.join(\"\\n\", lines));\n\t\t\t_logger.info(String.format(\"SPARQL: [%s]\", sparqlQuery));\n\t sql = st.getExecutableQuery(sparqlQuery).toString();\n } catch(Exception e){\n \te.printStackTrace();\n }finally {\n \tif (conn != null) {\n \t\ttry {\n \t\t\tst.close();\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (OWLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n \t}\n }\n\t\tif (null != sql) {\n\t\t\tsql = clearGeneratedSQl(sql);\n\t\t\tsql = fixURIPrefixIssue(sql, v2prefix);\n\t\t}\n\t\t_logger.info(String.format(\"translated SQL is: [%s]\", sql));\n\t\treturn sql;\n\t}", "IRuleset add(IRuleset...rules);", "public void testWS7() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 288, \"blah\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.FAIL, retval);\n\t\tObject expecting = \"FAIL\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public final void entryRuleOpOr() throws RecognitionException {\r\n try {\r\n // InternalDroneScript.g:580:1: ( ruleOpOr EOF )\r\n // InternalDroneScript.g:581:1: ruleOpOr EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOrRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleOpOr();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOrRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "public final EObject ruleDoStatement() throws RecognitionException {\n EObject current = null;\n int ruleDoStatement_StartIndex = input.index();\n Token otherlv_0=null;\n Token otherlv_2=null;\n Token otherlv_3=null;\n Token otherlv_5=null;\n Token otherlv_6=null;\n EObject lv_statement_1_0 = null;\n\n EObject lv_expression_4_0 = null;\n\n\n enterRule(); \n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 64) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:2971:28: ( (otherlv_0= KEYWORD_34 ( (lv_statement_1_0= ruleStatement ) ) otherlv_2= KEYWORD_65 otherlv_3= KEYWORD_4 ( (lv_expression_4_0= ruleExpression ) ) otherlv_5= KEYWORD_5 otherlv_6= KEYWORD_13 ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:2972:1: (otherlv_0= KEYWORD_34 ( (lv_statement_1_0= ruleStatement ) ) otherlv_2= KEYWORD_65 otherlv_3= KEYWORD_4 ( (lv_expression_4_0= ruleExpression ) ) otherlv_5= KEYWORD_5 otherlv_6= KEYWORD_13 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:2972:1: (otherlv_0= KEYWORD_34 ( (lv_statement_1_0= ruleStatement ) ) otherlv_2= KEYWORD_65 otherlv_3= KEYWORD_4 ( (lv_expression_4_0= ruleExpression ) ) otherlv_5= KEYWORD_5 otherlv_6= KEYWORD_13 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:2973:2: otherlv_0= KEYWORD_34 ( (lv_statement_1_0= ruleStatement ) ) otherlv_2= KEYWORD_65 otherlv_3= KEYWORD_4 ( (lv_expression_4_0= ruleExpression ) ) otherlv_5= KEYWORD_5 otherlv_6= KEYWORD_13\n {\n otherlv_0=(Token)match(input,KEYWORD_34,FOLLOW_KEYWORD_34_in_ruleDoStatement5926); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_0, grammarAccess.getDoStatementAccess().getDoKeyword_0());\n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:2977:1: ( (lv_statement_1_0= ruleStatement ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:2978:1: (lv_statement_1_0= ruleStatement )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:2978:1: (lv_statement_1_0= ruleStatement )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:2979:3: lv_statement_1_0= ruleStatement\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getDoStatementAccess().getStatementStatementParserRuleCall_1_0()); \n \t \n }\n pushFollow(FOLLOW_ruleStatement_in_ruleDoStatement5946);\n lv_statement_1_0=ruleStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getDoStatementRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"statement\",\n \t\tlv_statement_1_0, \n \t\t\"Statement\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n otherlv_2=(Token)match(input,KEYWORD_65,FOLLOW_KEYWORD_65_in_ruleDoStatement5959); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_2, grammarAccess.getDoStatementAccess().getWhileKeyword_2());\n \n }\n otherlv_3=(Token)match(input,KEYWORD_4,FOLLOW_KEYWORD_4_in_ruleDoStatement5971); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_3, grammarAccess.getDoStatementAccess().getLeftParenthesisKeyword_3());\n \n }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3005:1: ( (lv_expression_4_0= ruleExpression ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3006:1: (lv_expression_4_0= ruleExpression )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3006:1: (lv_expression_4_0= ruleExpression )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:3007:3: lv_expression_4_0= ruleExpression\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getDoStatementAccess().getExpressionExpressionParserRuleCall_4_0()); \n \t \n }\n pushFollow(FOLLOW_ruleExpression_in_ruleDoStatement5991);\n lv_expression_4_0=ruleExpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getDoStatementRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"expression\",\n \t\tlv_expression_4_0, \n \t\t\"Expression\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n otherlv_5=(Token)match(input,KEYWORD_5,FOLLOW_KEYWORD_5_in_ruleDoStatement6004); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_5, grammarAccess.getDoStatementAccess().getRightParenthesisKeyword_5());\n \n }\n otherlv_6=(Token)match(input,KEYWORD_13,FOLLOW_KEYWORD_13_in_ruleDoStatement6016); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_6, grammarAccess.getDoStatementAccess().getSemicolonKeyword_6());\n \n }\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 64, ruleDoStatement_StartIndex); }\n }\n return current;\n }", "public final void mRULE_PLUS() throws RecognitionException {\n try {\n int _type = RULE_PLUS;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12805:11: ( '+' )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12805:13: '+'\n {\n match('+'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void rule__OpOther__Alternatives() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2368:1: ( ( '->' ) | ( '..' ) | ( '=>' ) | ( ( rule__OpOther__Group_3__0 ) ) | ( ( rule__OpOther__Group_4__0 ) ) | ( '<>' ) | ( '?:' ) | ( '<=>' ) )\r\n int alt9=8;\r\n switch ( input.LA(1) ) {\r\n case 24:\r\n {\r\n alt9=1;\r\n }\r\n break;\r\n case 25:\r\n {\r\n alt9=2;\r\n }\r\n break;\r\n case 26:\r\n {\r\n alt9=3;\r\n }\r\n break;\r\n case 22:\r\n {\r\n alt9=4;\r\n }\r\n break;\r\n case 23:\r\n {\r\n alt9=5;\r\n }\r\n break;\r\n case 27:\r\n {\r\n alt9=6;\r\n }\r\n break;\r\n case 28:\r\n {\r\n alt9=7;\r\n }\r\n break;\r\n case 29:\r\n {\r\n alt9=8;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 9, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt9) {\r\n case 1 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2369:1: ( '->' )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2369:1: ( '->' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2370:1: '->'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); \r\n }\r\n match(input,24,FOLLOW_24_in_rule__OpOther__Alternatives5017); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2377:6: ( '..' )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2377:6: ( '..' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2378:1: '..'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_1()); \r\n }\r\n match(input,25,FOLLOW_25_in_rule__OpOther__Alternatives5037); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2385:6: ( '=>' )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2385:6: ( '=>' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2386:1: '=>'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_2()); \r\n }\r\n match(input,26,FOLLOW_26_in_rule__OpOther__Alternatives5057); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_2()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2393:6: ( ( rule__OpOther__Group_3__0 ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2393:6: ( ( rule__OpOther__Group_3__0 ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2394:1: ( rule__OpOther__Group_3__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherAccess().getGroup_3()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2395:1: ( rule__OpOther__Group_3__0 )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2395:2: rule__OpOther__Group_3__0\r\n {\r\n pushFollow(FOLLOW_rule__OpOther__Group_3__0_in_rule__OpOther__Alternatives5076);\r\n rule__OpOther__Group_3__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherAccess().getGroup_3()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 5 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2399:6: ( ( rule__OpOther__Group_4__0 ) )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2399:6: ( ( rule__OpOther__Group_4__0 ) )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2400:1: ( rule__OpOther__Group_4__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherAccess().getGroup_4()); \r\n }\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2401:1: ( rule__OpOther__Group_4__0 )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2401:2: rule__OpOther__Group_4__0\r\n {\r\n pushFollow(FOLLOW_rule__OpOther__Group_4__0_in_rule__OpOther__Alternatives5094);\r\n rule__OpOther__Group_4__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherAccess().getGroup_4()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 6 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2405:6: ( '<>' )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2405:6: ( '<>' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2406:1: '<>'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_5()); \r\n }\r\n match(input,27,FOLLOW_27_in_rule__OpOther__Alternatives5113); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_5()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 7 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2413:6: ( '?:' )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2413:6: ( '?:' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2414:1: '?:'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_6()); \r\n }\r\n match(input,28,FOLLOW_28_in_rule__OpOther__Alternatives5133); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_6()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 8 :\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2421:6: ( '<=>' )\r\n {\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2421:6: ( '<=>' )\r\n // ../de.nie.fin.ui/src-gen/de/nie/fin/ui/contentassist/antlr/internal/InternalFin.g:2422:1: '<=>'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getOpOtherAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_7()); \r\n }\r\n match(input,29,FOLLOW_29_in_rule__OpOther__Alternatives5153); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getOpOtherAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_7()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "public final void mRULE_REST() throws RecognitionException {\n try {\n int _type = RULE_REST;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12839:11: (~ ( RULE_SEMICOLON ) )\n // ../org.sqlproc.meta/src-gen/org/sqlproc/meta/parser/antlr/internal/InternalProcessorMeta.g:12839:13: ~ ( RULE_SEMICOLON )\n {\n if ( (input.LA(1)>='\\u0000' && input.LA(1)<=':')||(input.LA(1)>='<' && input.LA(1)<='\\uFFFF') ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "public final void mWS() throws RecognitionException {\r\n try {\r\n final int _type = SparqlMarcoLexer.WS;\r\n int _channel = BaseRecognizer.DEFAULT_TOKEN_CHANNEL;\r\n if (this.input.LA(1) >= '\\t' && this.input.LA(1) <= '\\n'\r\n || this.input.LA(1) == '\\r' || this.input.LA(1) == ' ') {\r\n this.input.consume();\r\n\r\n } else {\r\n final MismatchedSetException mse = new MismatchedSetException(null, this.input);\r\n this.recover(mse);\r\n throw mse;\r\n }\r\n _channel = BaseRecognizer.HIDDEN;\r\n this.state.type = _type;\r\n this.state.channel = _channel;\r\n } finally {\r\n }\r\n }", "StatementRule createStatementRule();", "public void toGrammar() {\n System.out.println(\"<binary_expression> -> <arithmeitc_expression> <arithmetic_op> <arithmetic_expression>\");\n left.toGrammar();\n operator.toGrammar();\n right.toGrammar();\n prefix();\n }", "public Rule typeAndOrId()\n \t{\n \t\treturn firstOf(sequence(type(), id()), type()/*, id()*/);\n \t}", "public void testWS4() throws Exception {\n\t\tObject retval = execLexer(\"WS\", 285, \"\\t\", false);\n\t\tObject actual = examineExecResult(org.antlr.gunit.gUnitParser.OK, retval);\n\t\tObject expecting = \"OK\";\n\n\t\tassertEquals(\"testing rule \"+\"WS\", expecting, actual);\n\t}", "public final void synpred6_InternalMyDsl_fragment() throws RecognitionException { \n Token otherlv_3=null;\n Token otherlv_5=null;\n Token otherlv_6=null;\n Token otherlv_8=null;\n Token otherlv_9=null;\n EObject lv_left_1_0 = null;\n\n EObject lv_left_2_0 = null;\n\n EObject lv_left_4_0 = null;\n\n EObject lv_left_7_0 = null;\n\n EObject lv_right_10_0 = null;\n\n\n // InternalMyDsl.g:183:3: ( ( () ( ( (lv_left_1_0= ruleUnaryProperty ) ) | ( (lv_left_2_0= ruleBinaryProperty ) ) | (otherlv_3= '(' ( (lv_left_4_0= ruleUnaryProperty ) ) otherlv_5= ')' ) | (otherlv_6= '(' ( (lv_left_7_0= ruleBinaryProperty ) ) otherlv_8= ')' ) ) otherlv_9= 'and' ( (lv_right_10_0= ruleProperty ) ) ) )\n // InternalMyDsl.g:183:3: ( () ( ( (lv_left_1_0= ruleUnaryProperty ) ) | ( (lv_left_2_0= ruleBinaryProperty ) ) | (otherlv_3= '(' ( (lv_left_4_0= ruleUnaryProperty ) ) otherlv_5= ')' ) | (otherlv_6= '(' ( (lv_left_7_0= ruleBinaryProperty ) ) otherlv_8= ')' ) ) otherlv_9= 'and' ( (lv_right_10_0= ruleProperty ) ) )\n {\n // InternalMyDsl.g:183:3: ( () ( ( (lv_left_1_0= ruleUnaryProperty ) ) | ( (lv_left_2_0= ruleBinaryProperty ) ) | (otherlv_3= '(' ( (lv_left_4_0= ruleUnaryProperty ) ) otherlv_5= ')' ) | (otherlv_6= '(' ( (lv_left_7_0= ruleBinaryProperty ) ) otherlv_8= ')' ) ) otherlv_9= 'and' ( (lv_right_10_0= ruleProperty ) ) )\n // InternalMyDsl.g:184:4: () ( ( (lv_left_1_0= ruleUnaryProperty ) ) | ( (lv_left_2_0= ruleBinaryProperty ) ) | (otherlv_3= '(' ( (lv_left_4_0= ruleUnaryProperty ) ) otherlv_5= ')' ) | (otherlv_6= '(' ( (lv_left_7_0= ruleBinaryProperty ) ) otherlv_8= ')' ) ) otherlv_9= 'and' ( (lv_right_10_0= ruleProperty ) )\n {\n // InternalMyDsl.g:184:4: ()\n // InternalMyDsl.g:185:5: \n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t/* */\n \t\t\t\t\n }\n\n }\n\n // InternalMyDsl.g:194:4: ( ( (lv_left_1_0= ruleUnaryProperty ) ) | ( (lv_left_2_0= ruleBinaryProperty ) ) | (otherlv_3= '(' ( (lv_left_4_0= ruleUnaryProperty ) ) otherlv_5= ')' ) | (otherlv_6= '(' ( (lv_left_7_0= ruleBinaryProperty ) ) otherlv_8= ')' ) )\n int alt150=4;\n alt150 = dfa150.predict(input);\n switch (alt150) {\n case 1 :\n // InternalMyDsl.g:195:5: ( (lv_left_1_0= ruleUnaryProperty ) )\n {\n // InternalMyDsl.g:195:5: ( (lv_left_1_0= ruleUnaryProperty ) )\n // InternalMyDsl.g:196:6: (lv_left_1_0= ruleUnaryProperty )\n {\n // InternalMyDsl.g:196:6: (lv_left_1_0= ruleUnaryProperty )\n // InternalMyDsl.g:197:7: lv_left_1_0= ruleUnaryProperty\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getPropertyAccess().getLeftUnaryPropertyParserRuleCall_0_1_0_0());\n \t\t\t\t\t\t\n }\n pushFollow(FOLLOW_6);\n lv_left_1_0=ruleUnaryProperty();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // InternalMyDsl.g:215:5: ( (lv_left_2_0= ruleBinaryProperty ) )\n {\n // InternalMyDsl.g:215:5: ( (lv_left_2_0= ruleBinaryProperty ) )\n // InternalMyDsl.g:216:6: (lv_left_2_0= ruleBinaryProperty )\n {\n // InternalMyDsl.g:216:6: (lv_left_2_0= ruleBinaryProperty )\n // InternalMyDsl.g:217:7: lv_left_2_0= ruleBinaryProperty\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getPropertyAccess().getLeftBinaryPropertyParserRuleCall_0_1_1_0());\n \t\t\t\t\t\t\n }\n pushFollow(FOLLOW_6);\n lv_left_2_0=ruleBinaryProperty();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n break;\n case 3 :\n // InternalMyDsl.g:235:5: (otherlv_3= '(' ( (lv_left_4_0= ruleUnaryProperty ) ) otherlv_5= ')' )\n {\n // InternalMyDsl.g:235:5: (otherlv_3= '(' ( (lv_left_4_0= ruleUnaryProperty ) ) otherlv_5= ')' )\n // InternalMyDsl.g:236:6: otherlv_3= '(' ( (lv_left_4_0= ruleUnaryProperty ) ) otherlv_5= ')'\n {\n otherlv_3=(Token)match(input,20,FOLLOW_7); if (state.failed) return ;\n // InternalMyDsl.g:240:6: ( (lv_left_4_0= ruleUnaryProperty ) )\n // InternalMyDsl.g:241:7: (lv_left_4_0= ruleUnaryProperty )\n {\n // InternalMyDsl.g:241:7: (lv_left_4_0= ruleUnaryProperty )\n // InternalMyDsl.g:242:8: lv_left_4_0= ruleUnaryProperty\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getPropertyAccess().getLeftUnaryPropertyParserRuleCall_0_1_2_1_0());\n \t\t\t\t\t\t\t\n }\n pushFollow(FOLLOW_8);\n lv_left_4_0=ruleUnaryProperty();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_5=(Token)match(input,21,FOLLOW_6); if (state.failed) return ;\n\n }\n\n\n }\n break;\n case 4 :\n // InternalMyDsl.g:265:5: (otherlv_6= '(' ( (lv_left_7_0= ruleBinaryProperty ) ) otherlv_8= ')' )\n {\n // InternalMyDsl.g:265:5: (otherlv_6= '(' ( (lv_left_7_0= ruleBinaryProperty ) ) otherlv_8= ')' )\n // InternalMyDsl.g:266:6: otherlv_6= '(' ( (lv_left_7_0= ruleBinaryProperty ) ) otherlv_8= ')'\n {\n otherlv_6=(Token)match(input,20,FOLLOW_9); if (state.failed) return ;\n // InternalMyDsl.g:270:6: ( (lv_left_7_0= ruleBinaryProperty ) )\n // InternalMyDsl.g:271:7: (lv_left_7_0= ruleBinaryProperty )\n {\n // InternalMyDsl.g:271:7: (lv_left_7_0= ruleBinaryProperty )\n // InternalMyDsl.g:272:8: lv_left_7_0= ruleBinaryProperty\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getPropertyAccess().getLeftBinaryPropertyParserRuleCall_0_1_3_1_0());\n \t\t\t\t\t\t\t\n }\n pushFollow(FOLLOW_8);\n lv_left_7_0=ruleBinaryProperty();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n otherlv_8=(Token)match(input,21,FOLLOW_6); if (state.failed) return ;\n\n }\n\n\n }\n break;\n\n }\n\n otherlv_9=(Token)match(input,22,FOLLOW_10); if (state.failed) return ;\n // InternalMyDsl.g:299:4: ( (lv_right_10_0= ruleProperty ) )\n // InternalMyDsl.g:300:5: (lv_right_10_0= ruleProperty )\n {\n // InternalMyDsl.g:300:5: (lv_right_10_0= ruleProperty )\n // InternalMyDsl.g:301:6: lv_right_10_0= ruleProperty\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getPropertyAccess().getRightPropertyParserRuleCall_0_3_0());\n \t\t\t\t\t\n }\n pushFollow(FOLLOW_2);\n lv_right_10_0=ruleProperty();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n\n\n }\n }", "IRuleset add(IRuleset rule);", "public final Enumerator ruleRelationalOperator() throws RecognitionException {\n Enumerator current = null;\n int ruleRelationalOperator_StartIndex = input.index();\n Token enumLiteral_0=null;\n Token enumLiteral_1=null;\n Token enumLiteral_2=null;\n Token enumLiteral_3=null;\n\n enterRule(); \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 157) ) { return current; }\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6508:28: ( ( (enumLiteral_0= KEYWORD_14 ) | (enumLiteral_1= KEYWORD_16 ) | (enumLiteral_2= KEYWORD_30 ) | (enumLiteral_3= KEYWORD_32 ) ) )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6509:1: ( (enumLiteral_0= KEYWORD_14 ) | (enumLiteral_1= KEYWORD_16 ) | (enumLiteral_2= KEYWORD_30 ) | (enumLiteral_3= KEYWORD_32 ) )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6509:1: ( (enumLiteral_0= KEYWORD_14 ) | (enumLiteral_1= KEYWORD_16 ) | (enumLiteral_2= KEYWORD_30 ) | (enumLiteral_3= KEYWORD_32 ) )\n int alt118=4;\n switch ( input.LA(1) ) {\n case KEYWORD_14:\n {\n alt118=1;\n }\n break;\n case KEYWORD_16:\n {\n alt118=2;\n }\n break;\n case KEYWORD_30:\n {\n alt118=3;\n }\n break;\n case KEYWORD_32:\n {\n alt118=4;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 118, 0, input);\n\n throw nvae;\n }\n\n switch (alt118) {\n case 1 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6509:2: (enumLiteral_0= KEYWORD_14 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6509:2: (enumLiteral_0= KEYWORD_14 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6509:7: enumLiteral_0= KEYWORD_14\n {\n enumLiteral_0=(Token)match(input,KEYWORD_14,FOLLOW_KEYWORD_14_in_ruleRelationalOperator13716); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = grammarAccess.getRelationalOperatorAccess().getLtEnumLiteralDeclaration_0().getEnumLiteral().getInstance();\n newLeafNode(enumLiteral_0, grammarAccess.getRelationalOperatorAccess().getLtEnumLiteralDeclaration_0()); \n \n }\n\n }\n\n\n }\n break;\n case 2 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6515:6: (enumLiteral_1= KEYWORD_16 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6515:6: (enumLiteral_1= KEYWORD_16 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6515:11: enumLiteral_1= KEYWORD_16\n {\n enumLiteral_1=(Token)match(input,KEYWORD_16,FOLLOW_KEYWORD_16_in_ruleRelationalOperator13738); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = grammarAccess.getRelationalOperatorAccess().getGtEnumLiteralDeclaration_1().getEnumLiteral().getInstance();\n newLeafNode(enumLiteral_1, grammarAccess.getRelationalOperatorAccess().getGtEnumLiteralDeclaration_1()); \n \n }\n\n }\n\n\n }\n break;\n case 3 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6521:6: (enumLiteral_2= KEYWORD_30 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6521:6: (enumLiteral_2= KEYWORD_30 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6521:11: enumLiteral_2= KEYWORD_30\n {\n enumLiteral_2=(Token)match(input,KEYWORD_30,FOLLOW_KEYWORD_30_in_ruleRelationalOperator13760); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = grammarAccess.getRelationalOperatorAccess().getLeqEnumLiteralDeclaration_2().getEnumLiteral().getInstance();\n newLeafNode(enumLiteral_2, grammarAccess.getRelationalOperatorAccess().getLeqEnumLiteralDeclaration_2()); \n \n }\n\n }\n\n\n }\n break;\n case 4 :\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6527:6: (enumLiteral_3= KEYWORD_32 )\n {\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6527:6: (enumLiteral_3= KEYWORD_32 )\n // ../de.jevopi.mitra2/src-gen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:6527:11: enumLiteral_3= KEYWORD_32\n {\n enumLiteral_3=(Token)match(input,KEYWORD_32,FOLLOW_KEYWORD_32_in_ruleRelationalOperator13782); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n current = grammarAccess.getRelationalOperatorAccess().getGeqEnumLiteralDeclaration_3().getEnumLiteral().getInstance();\n newLeafNode(enumLiteral_3, grammarAccess.getRelationalOperatorAccess().getGeqEnumLiteralDeclaration_3()); \n \n }\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n \tcatch (RecognitionException re) { \n \t recover(input,re); \n \t appendSkippedTokens();\n \t}\n finally {\n if ( state.backtracking>0 ) { memoize(input, 157, ruleRelationalOperator_StartIndex); }\n }\n return current;\n }" ]
[ "0.6809037", "0.67437947", "0.66697466", "0.66124547", "0.6604893", "0.659858", "0.65919614", "0.6587545", "0.65591353", "0.65563685", "0.65544045", "0.65473676", "0.6521717", "0.6520972", "0.64699256", "0.64236534", "0.6417004", "0.64148283", "0.6357078", "0.6216326", "0.55265844", "0.55030036", "0.544699", "0.54327303", "0.54258627", "0.54086137", "0.5398627", "0.5360712", "0.533842", "0.5229989", "0.51861656", "0.51586217", "0.50860816", "0.5084067", "0.5081539", "0.50450397", "0.5043937", "0.5030899", "0.5025733", "0.49892563", "0.4961376", "0.49464542", "0.4937083", "0.49204722", "0.4919286", "0.4890626", "0.48807794", "0.48738664", "0.48302338", "0.4830076", "0.48203227", "0.48170418", "0.47835428", "0.47706074", "0.47602162", "0.47446164", "0.47418424", "0.46970326", "0.4689641", "0.46738875", "0.4673615", "0.4614565", "0.45801407", "0.45537227", "0.45480007", "0.45101526", "0.44730234", "0.4453874", "0.44089273", "0.43823755", "0.43543807", "0.4346052", "0.43403858", "0.43390697", "0.432145", "0.4320172", "0.42884442", "0.42839223", "0.4265603", "0.42645946", "0.42640623", "0.4257323", "0.42486608", "0.42455977", "0.42403528", "0.42002067", "0.4191977", "0.41904944", "0.418941", "0.41889238", "0.41860187", "0.41836742", "0.4179772", "0.41788933", "0.41752255", "0.41549045", "0.41474152", "0.4142915", "0.41420582", "0.41324526" ]
0.6519376
14
The class declared in the is enclosed by the 's class.
public void testStaticFieldAnonymousClass() { assertEquals(AnnotationsTest.class, staticAnonymous.getClass().getEnclosingClass()); // However, because it is anonymous, it has no declaring class. // https://code.google.com/p/android/issues/detail?id=61003 assertNull(staticAnonymous.getClass().getDeclaringClass()); // Because the class is declared in <clinit> which is not exposed through reflection, // it has no enclosing method or constructor. assertNull(staticAnonymous.getClass().getEnclosingMethod()); assertNull(staticAnonymous.getClass().getEnclosingConstructor()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object getClass_();", "Object getClass_();", "java.lang.String getClass_();", "java.lang.String getClass_();", "public ClassInfo declaringClass();", "Class<?> getDeclaringClass();", "public ClassElement getDeclaringClass() {\n return patternAnalyser.getClassElement();\n }", "@Override\n public TypeJavaSymbol enclosingClass() {\n JavaSymbol result = this;\n while (result != null && result.kind != TYP) {\n result = result.owner;\n }\n return (TypeJavaSymbol) result;\n }", "public String getOuterClass(){\n\t\treturn targetClass.outerClass;\n\t}", "@Override\n\tpublic void VisitClassNode(BunClassNode Node) {\n\n\t}", "public TypeJavaSymbol outermostClass() {\n JavaSymbol symbol = this;\n JavaSymbol result = null;\n while (symbol.kind != PCK) {\n result = symbol;\n symbol = symbol.owner();\n }\n return (TypeJavaSymbol) result;\n }", "west.twouse.language.sparqlas.Class getClass_();", "@Override\n\tpublic String typeKey() {\n\t return \"class\";\n\t}", "@Override\n String getClassRef() {\n return this.classNode.name;\n }", "public Klass getKlass() {\r\n return klass;\r\n }", "public Class returnedClass();", "public String getType() {\n\t\treturn \"class\";\n\t}", "public Class typeClass() {\n if (myClass == null) myClass = AST.globalSymbolTable.classForName(name);\n return myClass;\n }", "public String getName_Class() {\n\t\treturn name;\n\t}", "default boolean isClass() {\n return false;\n }", "ClassInstanceCreationExpression getClass_();", "public Class<?> currentClass() {\n\t\treturn JetArgument.getCurrent().getElementClass();\n\t}", "ClassType outer();", "public String getClassName() { return className; }", "boolean hasEnclosingInstance(ClassType encl);", "public interface ClassType extends Importable, ReferenceType, MemberInstance\n{\n public static class Kind extends Enum {\n public Kind(String name) {\n super(name);\n }\n }\n\n public static final Kind TOP_LEVEL = new Kind(\"top-level\");\n public static final Kind MEMBER = new Kind(\"member\");\n public static final Kind LOCAL = new Kind(\"local\");\n public static final Kind ANONYMOUS = new Kind(\"anonymous\");\n\n /** Get the class's kind. */\n Kind kind();\n\n /**\n * Return true if the class is top-level (i.e., not inner).\n * Equivalent to kind() == TOP_LEVEL.\n */\n boolean isTopLevel();\n\n /**\n * Return true if the class is an inner class.\n * Equivalent to kind() == MEMBER || kind() == LOCAL || kind() == ANONYMOUS.\n * @deprecated Was incorrectly defined. Use isNested for nested classes,\n * and isInnerClass for inner classes.\n */\n boolean isInner();\n\n /**\n * Return true if the class is a nested.\n * Equivalent to kind() == MEMBER || kind() == LOCAL || kind() == ANONYMOUS.\n */\n boolean isNested();\n\n /**\n * Return true if the class is an inner class, that is, it is a nested\n * class that is not explicitly or implicitly declared static; an interface\n * is never an inner class.\n */\n boolean isInnerClass();\n\n /**\n * Return true if the class is a member class.\n * Equivalent to kind() == MEMBER.\n */\n boolean isMember();\n\n /**\n * Return true if the class is a local class.\n * Equivalent to kind() == LOCAL.\n */\n boolean isLocal();\n\n /**\n * Return true if the class is an anonymous class.\n * Equivalent to kind() == ANONYMOUS.\n */\n boolean isAnonymous();\n\n /**\n * Return true if the class declaration occurs in a static context.\n * Is used to determine if a nested class is implicitly static.\n */\n boolean inStaticContext();\n\n /**\n * The class's constructors.\n * A list of <code>ConstructorInstance</code>.\n * @see polyglot.types.ConstructorInstance\n */\n List constructors();\n\n /**\n * The class's member classes.\n * A list of <code>ClassType</code>.\n * @see polyglot.types.ClassType\n */\n List memberClasses();\n\n /** Returns the member class with the given name, or null. */\n ClassType memberClassNamed(String name);\n\n /** Get a field by name, or null. */\n FieldInstance fieldNamed(String name);\n\n /** Return true if the class is strictly contained in <code>outer</code>. */\n boolean isEnclosed(ClassType outer);\n\n /**\n * Implementation of <code>isEnclosed</code>.\n * This method should only be called by the <code>TypeSystem</code>\n * or by a subclass.\n */\n boolean isEnclosedImpl(ClassType outer);\n\n /** Return true if an object of the class has\n * an enclosing instance of <code>encl</code>. */\n boolean hasEnclosingInstance(ClassType encl);\n\n /**\n * Implementation of <code>hasEnclosingInstance</code>.\n * This method should only be called by the <code>TypeSystem</code>\n * or by a subclass.\n */\n boolean hasEnclosingInstanceImpl(ClassType encl);\n\n /** The class's outer class if this is a nested class, or null. */\n ClassType outer();\n}", "public static Class<?> declaredClass(Class<?> class_)\n {\n if (class_.getName().contains(\"$\"))\n {\n LOGGER.info(\"Anonymous class so aquiring 'superclass'\");\n return declaredClass(class_.getSuperclass());\n }\n else\n {\n return class_;\n }\n }", "public IClassHolder getOuterClass() {\n return m_outerClass;\n }", "String getInstanceOfClass();", "public static String classDecl()\n {\n read_if_needed_();\n \n return _class_decl;\n }", "public void consulterClassement() {\n\t\t\n\t}", "public Class getInstanceClass()\n {\n return _cl;\n }", "public String getClassName () { return _className; }", "public final ClassElement getDeclaringClass () {\n return declaringClass;\n }", "public abstract Class getExpectedClass ();", "@Override\n\tpublic void attendClass() {\n\t\tSystem.out.println(\"Attanding class locally\");\n\t}", "boolean hasClassname();", "public String getElementClass ();", "IArenaClass getClass(final String name);", "public static Class<?> getOuterClass(Class<?> cl) {\n \t\tClass<?> enclosingClass;\n \t\twhile ((enclosingClass = cl.getEnclosingClass()) != null) {\n \t\t\tcl = enclosingClass;\n \t\t}\n \t\treturn cl;\n \t}", "@Override\n public ClassNode getClassNode() {\n return this.classNode;\n }", "@Override\n\tpublic void inAClassBody(AClassBody node) {\n // Determine the start and end line numbers.\n int begin = findBeginLine(node);\n int end = node.getRBrace().getLine();\n String cname = null;\n Node parentNode = node.parent();\n if (parentNode instanceof AClassDeclaration) {\n // This handles normal class declarations, as well as\n // named inner class declaractions.\n AClassDeclaration parent = (AClassDeclaration) parentNode;\n TIdentifier name = parent.getIdentifier();\n cname = name.getText();\n\n } else if (parentNode instanceof\n ASimpleClassInstanceCreationExpression\n || parentNode instanceof\n AQualifiedClassInstanceCreationExpression\n || parentNode instanceof\n AInnerclassClassInstanceCreationExpression) {\n // This handles an anonymous inner class declaration.\n // Use special value of 'new' for anonymous classes.\n cname = ANONYMOUS_CLASS_NAME;\n }\n int braceLine = node.getLBrace().getLine();\n ClassDefinition cd = new ClassDefinition(cname, braceLine, begin, end);\n classLines.add(cd);\n }", "public String getClassname() {\n return classname;\n }", "@Override\n\tpublic Void visit(ClassDef classDef) {\n\t\tprintIndent(\"class\");\n\t\tindent++;\n\t\tclassDef.self_type.accept(this);\n\t\tclassDef.base_type.accept(this);\n\t\tfor (var v : classDef.body)\n\t\t\tv.accept(this);\n\t\tindent--;\n\t\treturn null;\n\t}", "ClassVariable getClassVariable();", "RefClass getOwnerClass();", "public String getClassname() {\n\t\treturn classname;\n\t}", "public String getClassname()\r\n {\r\n return m_classname;\r\n }", "XClass getElementClass();", "abstract String getClassName();", "public Class getJavaClass() {\n return _class;\n }", "@Override\r\n\tpublic Class getClase() {\n\t\treturn null;\r\n\t}", "public String getClassName();", "@Override\r\n\t\tpublic String getClassName()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "public Element getClassElement() {\n return classElement;\n }", "public RubyClass getClass(String name) {\n return objectClass.getClass(name);\n }", "public final ClassReferenceMirror getDeclaringClass() {\n\t\treturn this.parent;\n\t}", "public interface ClassNode\n{\n}", "public abstract Class getDescriptedClass();", "com.google.protobuf.ByteString\n getClass_Bytes();", "com.google.protobuf.ByteString\n getClass_Bytes();", "@Override\n public String getClassName() {\n return kelas;\n }", "@Override\n public String getClassName() {\n return kelas;\n }", "boolean hasEnclosingInstanceImpl(ClassType encl);", "public ITravelClassType getClassCode();", "public String getClassName(){\n\t\treturn classname;\n\t}", "public void firstClass(){\n }", "String getClassName();", "String getClassName();", "String getClassName();", "public String getClazzName();", "private void classDeclaration(Modifier modifier, Scope scope, String basename)\r\n {\r\n Vector queue = new Vector();\r\n HashSet dummy = unresolved;\r\n ClassType x = new ClassType();\r\n unresolved = x.unresolved;\r\n\r\n if (comment != null && comment.length() > 0)\r\n {\r\n x.comment = comment + '\\n';\r\n resetComment();\r\n }\r\n\r\n matchKeyword(Keyword.CLASSSY);\r\n\r\n if (!scopeStack.contains(scope))\r\n scopeStack.add(scope);\r\n\r\n x.name = nextToken;\r\n\r\n //if (basename.compareTo(nextToken.string) != 0 && basename.length() > 0)\r\n // modifier.access &= ~Keyword.PUBLICSY.value;\r\n\r\n modifier.check(modifier.classes | modifier.access & (basename.compareToIgnoreCase(nextToken.string) != 0 && basename.length() > 0?~Keyword.PUBLICSY.value:-1));\r\n\r\n if ((modifier.cur & Keyword.ABSTRACTSY.value) == 0)\r\n modifier.methods &= ~Keyword.ABSTRACTSY.value;\r\n else\r\n modifier.methods |= Keyword.ABSTRACTSY.value;\r\n\r\n x.modify |= modifier.cur;\r\n\r\n matchKeyword(Keyword.IDENTSY);\r\n\r\n declMember(scope, x);\r\n\r\n x.scope = new Scope(scope, Scope.classed, x.name.string);\r\n\r\n if (nextSymbol == Keyword.EXTENDSSY)\r\n {\r\n lookAhead();\r\n Type t = type();\r\n x.extend = new ClassType(t.ident.string.substring(t.ident.string.lastIndexOf('.') + 1));\r\n }\r\n else if (((x.modify & Keyword.STATICSY.value) != 0 || (Scope)scopeStack.get(0) == scope) && x.name.string.compareTo(\"Object\") != 0)\r\n {\r\n x.extend = new ClassType(\"Object\");\r\n unresolved.add(x.extend.name.string);\r\n }\r\n else\r\n x.extend = new ClassType();\r\n\r\n if (nextSymbol == Keyword.IMPLEMENTSSY)\r\n {\r\n lookAhead();\r\n x.implement = typeList();\r\n }\r\n else\r\n x.implement = new ClassType[0];\r\n\r\n if ((modifier.cur & Keyword.ABSTRACTSY.value) != 0 && (modifier.cur & modifier.constructors) == 0)\r\n modifier.cur |= Keyword.PUBLICSY.value ;\r\n\r\n modifier.cur &= modifier.constructors;\r\n\r\n classBody(x, new Modifier(), \"\", queue);\r\n\r\n Iterator iter = x.scope.iterator();\r\n\r\n while(iter.hasNext())\r\n {\r\n Basic b = (Basic)iter.next();\r\n\r\n if (b instanceof MethodType)\r\n if ((b.modify & Keyword.STATICSY.value) != 0)\r\n { // remove this from static method\r\n MethodType m = (MethodType)b;\r\n m.scope.remove(\"§this\");\r\n if (m.parameter.length > 0 && m.parameter[0].name.string.compareTo(\"§this\") == 0)\r\n {\r\n Parameter [] p = new Parameter[m.parameter.length - 1];\r\n\r\n for(int i = 0; i < p.length; i++)\r\n p[i] = m.parameter[i + 1];\r\n\r\n m.parameter = p;\r\n }\r\n }\r\n }\r\n\r\n // add queue to constructors\r\n addToConstructor(x, queue);\r\n unresolved = dummy;\r\n\r\n writeList(x);\r\n }", "boolean isInnerClass();", "private String getClassname() {\r\n\t\tString classname = this.getClass().getName();\r\n\t\tint index = classname.lastIndexOf('.');\r\n\t\tif (index >= 0)\r\n\t\t\tclassname = classname.substring(index + 1);\r\n\t\treturn classname;\r\n\t}", "ClassType memberClassNamed(String name);", "default String getClassName() {\n return declaringType().getClassName();\n }", "public java.lang.Class classForCoder(){\n return null; //TODO codavaj!!\n }", "@Override\n public String simpleName() {\n if (this == class_) {\n return \"class\";\n }\n return name();\n }", "public String getFClass() {\n\t\t\treturn this.fClass ;\n\t\t}", "public Type visit(MainClass n) {\n\t\tString identificador = n.i1.toString();\n\t\tthis.currClass = symbolTable.getClass(identificador);\n\n\t\tn.i2.accept(this);\n\t\tn.s.accept(this);\n\t\treturn null;\n\t}", "public String getClassName()\n {\n return _className;\n }", "public String getClassName() {\n return className;\n }", "@Override\n\tpublic void extends_(JDefinedClass cls) {\n\n\t}", "private String getClassName( Class c ) {\n\treturn c.getName().substring(c.getName().lastIndexOf('.')+1);\n }", "public abstract Annotations getClassAnnotations();", "protected void showClass()\n {\n inspectorManager.getClassInspectorInstance(obj.getClassRef(), pkg, this);\n }", "public String getCurrentClassName () {\n String currentClass = getCurrentElement(ElementKind.CLASS);\n if (currentClass == null) return \"\";\n else return currentClass;\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"class FatherClass\";\n\t}", "public String getClassName()\n {\n return className;\n }", "public String toString() {return classSimpleName+\"#\"+name;}", "@Override\n public String getName() {\n return getDeclaringClass().getName();\n }", "private Obj myFindForClass(String name, DesignatorIdent desIdent) {\n \tObj rez = findInMyScope(name); // provera da li je lokalna promenljiva trenutne funkcije\r\n \tif(rez!= Tab.noObj) {\r\n \t\treturn rez;\r\n \t}\r\n \t\r\n \tStruct classStruct = null;\r\n \tif(currentClass != null) {\r\n \t\tclassStruct = currentClass;\r\n \t}\r\n \telse {\r\n \t\tclassStruct = currentAbsClass;\r\n \t}\r\n \t\r\n \tObj resultObj = null;\r\n \tSymbolDataStructure members = Tab.currentScope().getOuter().getLocals(); // nisu dodati u classStruct, ali se nalaze u scope, vec su sig svi navedeni\r\n \t\r\n \twhile (classStruct != null) { // u sebi ga trazis ...ako si ga nasao pristupas preko implicitnog this!\r\n \t\tif (members != null) {\r\n \t\t\tresultObj = members.searchKey(name);\r\n \t\t\tif (resultObj != null) break;\r\n \t\t}\r\n \t\t\r\n \t\tclassStruct = classStruct.getElemType();\r\n \t\tif (classStruct != null) {\r\n \t\t\tmembers = classStruct.getMembersTable();\r\n \t\t}\r\n \t}\r\n \t\r\n \tif (resultObj != null) {\r\n \t\tStruct trenutna = null;\r\n \t\tif (currentClass != null)\r\n \t\t\ttrenutna = currentClass;\r\n \t\tif (currentAbsClass != null)\r\n \t\t\ttrenutna = currentAbsClass;\r\n// \t\tif (trenutna == null) // dal je moguce? ---> jeste u main-u npr ---> ovde nece moci jel sig zovem iz klase...\r\n// \t\t\treturn;\r\n \t\t// znaci polje sam klase \"klasa\" ; zovem se sa . nesto...sig sam polje ili metoda klase\r\n \t\tif (resultObj.getKind() == Obj.Fld || resultObj.getKind() == Obj.Meth) { \r\n \t\t\tif (resultObj.getFpPos() == 1 || resultObj.getFpPos() == -9) { // public\r\n \t\t\t\tif (resultObj.getKind() == Obj.Meth) {\r\n \t \t\t\treport_info(\"Detektovan poziv metoda unutrasnje klase: \" + desIdent.getName() + \" na liniji \" + desIdent.getLine(), desIdent);\r\n \t \t\t\tcallFunctionClassField = 1;\r\n \t \t\t}\r\n \t\t\t\treturn resultObj;\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\tif (resultObj.getFpPos() == 2 || resultObj.getFpPos() == -8) { // protected\r\n \t\t\t\tif (resultObj.getKind() == Obj.Meth) {\r\n \t \t\t\treport_info(\"Detektovan poziv metoda unutrasnje klase: \" + desIdent.getName() + \" na liniji \" + desIdent.getLine(), desIdent);\r\n \t \t\t\tcallFunctionClassField = 1;\r\n \t \t\t}\r\n \t\t\t\treturn resultObj;\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\tif (resultObj.getFpPos() == 3 || resultObj.getFpPos() == -7) { // private\r\n \t\t\t\tif (trenutna != classStruct) {\r\n \t\t\t\t\treport_error(\"Greska na liniji \" + desIdent.getLine()+ \" : polju \"+desIdent.getName()+\" se ne sme pristupati na ovom mestu, private je!\", null);\r\n \t\t\t\t}\r\n \t\t\t\telse {\r\n \t\t\t\t\tif (resultObj.getKind() == Obj.Meth) {\r\n \t\t \t\t\treport_info(\"Detektovan poziv metoda unutrasnje klase: \" + desIdent.getName() + \" na liniji \" + desIdent.getLine(), desIdent);\r\n \t\t \t\t\tcallFunctionClassField = 1;\r\n \t\t \t\t\treturn resultObj;\r\n \t\t \t\t}\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n// \t\tif (resultObj.getKind() == Obj.Meth) {\r\n// \t\t\treport_info(\"Detektovan poziv metoda unutrasnje klase: \" + desIdent.getName() + \" na liniji \" + desIdent.getLine(), desIdent);\r\n// \t\t\tcallFunctionClassField = 1;\r\n// \t\t}\r\n \t\treturn resultObj;\r\n \t}\r\n \t\r\n \tObj meth = Tab.find(name); // ako je global...\r\n \tif (meth.getKind() == Obj.Meth) {\r\n \t\treport_info(\"Detektovan poziv globalne f-je: \" + desIdent.getName() + \" na liniji \" + desIdent.getLine(), desIdent);\r\n\t\t\tcallFunctionClassField = 0;\r\n \t}\r\n \t\r\n \treturn meth;\r\n\t}", "@Override\n\tpublic void annotate(JDefinedClass cls) {\n\n\t}", "public interface IClass extends IVisible, IMetaDataListHolder, INamableNode, IAsDocHolder, ICommentHolder\n{\n /**\n * @return\n */\n List< IAttribute > getAttributes();\n\n /**\n * @return\n */\n double getAverageCyclomaticComplexity();\n\n /**\n * @return\n */\n IParserNode getBlock();\n\n /**\n * @return\n */\n List< IConstant > getConstants();\n\n /**\n * @return\n */\n IFunction getConstructor();\n\n /**\n * @return\n */\n String getExtensionName();\n\n /**\n * @return\n */\n List< IFunction > getFunctions();\n\n /**\n * @return\n */\n List< IParserNode > getImplementations();\n\n /**\n * @return\n */\n boolean isBindable();\n\n /**\n * @return\n */\n boolean isFinal();\n}", "public String getClazz();", "boolean isEnclosedImpl(ClassType outer);", "private Class<?> findInternalClass(String name){\n Class<?> clazz = null;\n for (int i = 0; i < urls.length; i++) {\n String root = urls[i].getPath();\n clazz = realFindClass(root,name);\n if(clazz != null)\n break;\n }\n if(clazz != null) {\n classes.put(name,clazz);\n return clazz;\n }\n return null;\n }", "public static Class get_CLASS()\n {\n Class clz;\n try\n {\n clz = Class.forName(\"com.tangosol.coherence/component/net/Security$RefAction\".replace('/', '.'));\n }\n catch (ClassNotFoundException e)\n {\n throw new NoClassDefFoundError(e.getMessage());\n }\n return clz;\n }", "public abstract String getClassName();", "public ClassDefinition isClass(String name) throws DmcNameClashException, DmcValueException {\n \treturn(classDefinitions.getDefinition(name));\n// return((ClassDefinition)classDefs.get(getDefName(name)));\n }", "public Class getTypeClass() {\r\n\t\treturn (typeClass);\r\n\t}" ]
[ "0.7759257", "0.7759257", "0.70432043", "0.70432043", "0.70315886", "0.6815743", "0.6780542", "0.6727935", "0.66949743", "0.6693367", "0.6646738", "0.6585769", "0.656395", "0.6528694", "0.65198916", "0.65072876", "0.6475913", "0.64549994", "0.6399876", "0.63995343", "0.6378851", "0.63411945", "0.63345635", "0.6334124", "0.63151675", "0.62990594", "0.6294638", "0.628232", "0.62788254", "0.6251276", "0.62494785", "0.62482166", "0.62404585", "0.6233747", "0.6229222", "0.6204348", "0.6203676", "0.6197303", "0.61866486", "0.6168616", "0.6165608", "0.61618775", "0.6159261", "0.6156872", "0.6138433", "0.61347663", "0.6129917", "0.6127635", "0.61133474", "0.6113042", "0.6097763", "0.6095403", "0.606503", "0.6040377", "0.6036368", "0.60331506", "0.6027341", "0.60239077", "0.6021543", "0.601916", "0.601916", "0.6015678", "0.6015657", "0.60140455", "0.60096216", "0.5999936", "0.59956837", "0.5994701", "0.5994701", "0.5994701", "0.5975866", "0.5975609", "0.59703153", "0.5964941", "0.59625584", "0.5961086", "0.59576106", "0.5956379", "0.59533966", "0.595066", "0.5944688", "0.5933119", "0.5928496", "0.5927461", "0.59250224", "0.5923955", "0.5916428", "0.59005046", "0.58923954", "0.58892244", "0.5885711", "0.5871425", "0.58671755", "0.5851334", "0.584075", "0.5837461", "0.5835212", "0.5825826", "0.5820294", "0.5815968", "0.5809411" ]
0.0
-1
getClasses() doesn't include classes inherited from interfaces!
public void testGetClasses() throws Exception { assertSetEquals(HasMemberClasses.class.getClasses(), HasMemberClassesSuperclass.B.class, HasMemberClasses.H.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NotNull\n List<? extends ClassInfo> getClasses();", "@NotNull\n List<? extends ClassInfo> getAllClasses();", "public List<Class<?>> getKnownClasses();", "public Collection<ClassTranslator> getInterfaces();", "public abstract Class<?>[] getCoClasses();", "public interface HasClasses {\n /**\n * Returns list of classes\n *\n * @return List&lt;? extends ClassInfo&gt; - list of classes or empty list if none\n */\n @NotNull\n List<? extends ClassInfo> getClasses();\n\n /**\n * Returns list of all classes, including indirect descendants.\n * @return List&lt;? extends ClassInfo&gt; - list of classes or empty list if none\n */\n @NotNull\n List<? extends ClassInfo> getAllClasses();\n}", "@Override\n\tpublic List<Classe> getClasses() {\n\t\treturn classeRepository.findAll();\n\t}", "List<Class<?>> getManagedClasses();", "public List<IclassItem> getClasses() {\n if(projectData!=null){\n return projectData.getClasses();\n }\n return new ArrayList<IclassItem>();\n }", "public Iterator<String> listAllClasses()\r\n\t{\r\n\t\treturn new ToStringIterator<String>(ONT_MODEL.listClasses().filterDrop( new Filter() {\r\n public boolean accept( Object o ) {\r\n return ((Resource) o).isAnon();\r\n }} )\r\n );\r\n\t}", "private static Class<?>[] getAllInterfacesForClass(Class<?> clazz) {\n return getAllInterfacesForClass(clazz, null);\n }", "public static Set<Class<?>> getInterfaceClosure(Class<?> clazz) {\n Set<Class<?>> result = new HashSet<>();\n for (Class<?> classToDiscover = clazz; classToDiscover != null; classToDiscover = classToDiscover.getSuperclass()) {\n addInterfaces(classToDiscover, result);\n }\n return result;\n }", "public abstract List<String> scanAllClassNames();", "public Set<Class<?>> getAllInterfaces(Class<?> clazz) {\n\t\tSet<Class<?>> result = new HashSet<Class<?>>();\n\t\tgetAllInterfaces(result, clazz);\n\t\treturn result;\n\t}", "private static Class<?>[] getAllInterfacesForClass(\n Class<?> clazz, @Nullable ClassLoader classLoader) {\n return toClassArray(getAllInterfacesForClassAsSet(clazz, classLoader));\n }", "public Set<Class<?>> getScanClasses();", "@Test\n public void testGetClasses() throws Exception {\n for (Class clazz : TestClass.class.getClasses()) {\n System.out.println(clazz.getName());\n }\n }", "Set<Interface> getInterfaces();", "@Override\n\tpublic List<Classe> getClasses() {\n\t\treturn classeRepo.findAll();\n\t}", "Class<?>[] getHandledClasses();", "public ClassInfo[] getClasses() {\r\n return classes.toArray(new ClassInfo[classes.size()]);\r\n }", "public List<? extends BaseClassInfo> getClasses(HasMetricsFilter filter) {\n if (classLookup == null) {\n buildClassLookupMap();\n }\n List<BaseClassInfo> result = newArrayList();\n for (BaseClassInfo classInfo : classLookup.values()) {\n if (filter.accept(classInfo)) {\n result.add(classInfo);\n }\n }\n return result;\n }", "@SuppressWarnings(\"rawtypes\")\n public static Set<Class> getAllInterfacesForClassAsSet(Class clazz, ClassLoader classLoader) {\n Preconditions.checkNotNull(clazz, \"Class must not be null\");\n if (clazz.isInterface() && isVisible(clazz, classLoader)) {\n return Collections.singleton(clazz);\n }\n Set<Class> interfaces = new LinkedHashSet<>();\n Class sclazz = clazz;\n while (sclazz != null) {\n Class<?>[] ifcs = sclazz.getInterfaces();\n for (Class<?> ifc : ifcs) {\n interfaces.addAll(getAllInterfacesForClassAsSet(ifc, classLoader));\n }\n sclazz = clazz.getSuperclass();\n }\n return interfaces;\n }", "public String[] getInterfaces() {\n return m_classBuilder.getInterfaces();\n }", "public static Class<?>[] getAllInterfacesForClass(Class<?> clazz, ClassLoader classLoader) {\n Set<Class> ifcs = getAllInterfacesForClassAsSet(clazz, classLoader);\n return ifcs.toArray(new Class[ifcs.size()]);\n }", "default List<TypeInfo> allTypes() {\n List<TypeInfo> allTypes = new LinkedList<>();\n allTypes.add(this);\n allTypes.addAll(Arrays.asList(interfaces()));\n allTypes.addAll(superClass().stream().flatMap(s -> s.allTypes().stream()).collect(Collectors.toList()));\n return allTypes;\n }", "@SuppressWarnings(\"rawtypes\")\n public static Iterable<Class> getClasses(String packageName, Class<?> superClass) throws ClassNotFoundException, IOException\n {\n ClassLoader classLoader = Thread.currentThread().getContextClassLoader();\n String path = packageName.replace('.', '/');\n Enumeration<URL> resources = classLoader.getResources(path);\n List<File> dirs = new ArrayList<File>();\n while (resources.hasMoreElements())\n {\n URL resource = resources.nextElement();\n dirs.add(new File(resource.getFile()));\n }\n List<Class> classes = new ArrayList<Class>();\n for (File directory : dirs)\n {\n List<Class> foundClasses = findClasses(directory, packageName);\n for (Class foundClass : foundClasses)\n {\n if (superClass.isAssignableFrom(foundClass))\n {\n classes.add(foundClass);\n }\n }\n }\n\n return classes;\n }", "public Set<Class<?>> getUntestedInterfaces() {\n\t\tfinal Set<Class<?>> retval = new TreeSet<Class<?>>(\n\t\t\t\tCLASS_NAME_COMPARATOR);\n\n\t\tfor (final InterfaceInfo info : getInterfaceInfoMap().values()) {\n\t\t\t// no test and has methods\n\t\t\tif (info.getTests().isEmpty() && info.getName().getDeclaredMethods().length > 0) {\n\t\t\t\tretval.add(info.getName());\n\t\t\t}\n\t\t}\n\t\treturn retval;\n\t}", "public Iterator<String> listAllandAnonClasses()\r\n\t{\r\n\t\treturn new ToStringIterator<String>(ONT_MODEL.listClasses());\r\n\t}", "private void connectClasses(Header [] list)\r\n {\r\n Vector queue;\r\n Vector garbage = new Vector();\r\n\r\n Find.setCrossreference(list);\r\n\r\n for(int i = 0; list != null && i < list.length; i++)\r\n {\r\n queue = list[i].scopes;\r\n\r\n for(int j = 0; j < queue.size(); j++)\r\n for(Iterator iter = ((Scope)queue.get(j)).iterator(); iter.hasNext();)\r\n {\r\n Iterator a = null;\r\n Basic x = (Basic)iter.next();\r\n\r\n if (x instanceof ClassType)\r\n {\r\n ClassType y = (ClassType)x;\r\n ClassType [] z;\r\n boolean done = false;\r\n String st = null;\r\n\r\n if (y.extend != null && y.extend.name != null && y.extend.scope == null)\r\n { // look for superclass\r\n st = y.extend.name.string;\r\n for(a = y.unresolved.iterator(); a.hasNext();)\r\n {\r\n String s = (String)a.next();\r\n if (s.endsWith('.' + st))\r\n {\r\n st = s;\r\n break;\r\n }\r\n }\r\n\r\n z = Find.findClass(st, 0, y.scope);\r\n \r\n for(int k = 0; k < z.length; k++)\r\n if (z[k].scope.javaPath(\"\").endsWith(st) || z[k].scope.buildPath(\"\").endsWith(st))\r\n {\r\n y.extend = z[k];\r\n garbage.add(st);\r\n done = true;\r\n }\r\n }\r\n\r\n for(int k = 0; k < y.implement.length; k++)\r\n if (y.implement[k].name != null && y.implement[k].scope == null)\r\n { // look for interface\r\n st = y.implement[k].name.string;\r\n for(a = y.unresolved.iterator(); a.hasNext();)\r\n {\r\n String s = (String)a.next();\r\n if (s.endsWith('.' + st))\r\n {\r\n st = s;\r\n break;\r\n }\r\n }\r\n done = false;\r\n \r\n z = Find.findClass(st, 0, y.scope);\r\n \r\n for(int l = 0; l < z.length && !done; l++)\r\n if (z[l].scope.javaPath(\"\").endsWith(st) || z[l].scope.buildPath(\"\").endsWith(st))\r\n {\r\n y.implement[k] = z[l];\r\n garbage.add(st);\r\n done = true;\r\n break;\r\n }\r\n }\r\n\r\n a = null;\r\n while(garbage.size() > 0)\r\n {\r\n st = (String)garbage.get(0);\r\n garbage.remove(0);\r\n y.unresolved.remove(st);\r\n }\r\n }\r\n }\r\n }\r\n }", "List<String> getClassNames() {\n List<String> allGeneratedClasses = new ArrayList<String>();\n for (int i = 0; i < classesToScan.size(); i++) {\n String lookupName = classesToScan.get(i);\n byte classBytes[] = getClassBytes(lookupName);\n if (classBytes == null) {\n /*\n * Weird case: javac might generate a name and reference the class in\n * the bytecode but decide later that the class is unnecessary. In the\n * bytecode, a null is passed for the class.\n */\n continue;\n }\n \n /*\n * Add the class to the list only if it can be loaded to get around the\n * javac weirdness issue where javac refers a class but does not\n * generate it.\n */\n if (CompilingClassLoader.isClassnameGenerated(lookupName)\n && !allGeneratedClasses.contains(lookupName)) {\n allGeneratedClasses.add(lookupName);\n }\n AnonymousClassVisitor cv = new AnonymousClassVisitor();\n new ClassReader(classBytes).accept(cv, 0);\n List<String> innerClasses = cv.getInnerClassNames();\n for (String innerClass : innerClasses) {\n // The innerClass has to be an inner class of the lookupName\n if (!innerClass.startsWith(mainClass + \"$\")) {\n continue;\n }\n /*\n * TODO (amitmanjhi): consider making this a Set if necessary for\n * performance\n */\n // add the class to classes\n if (!classesToScan.contains(innerClass)) {\n classesToScan.add(innerClass);\n }\n }\n }\n Collections.sort(allGeneratedClasses, new GeneratedClassnameComparator());\n return allGeneratedClasses;\n }", "@Override\n\tpublic List<Classes> findAllClasses() {\n\t\tString sql = \"select * from classes\";\n\t\tJdbcQuery querys = JdbcUtils.createNativeQuery(sql, Classes.class);\n\t\tList<Classes> classesList = (List<Classes>) querys.getResultList();\n\t\treturn classesList;\n\t}", "public List<BaseClass> baseClasses() {\r\n\t\treturn this.baseClasses;\r\n\t}", "@Override\n public List<BaiseeClazz> findAllClazzInfo() {\n return claMapper.findAllClazzInfo();\n }", "@Override\n public Set<Class<?>> getClasses() {\n\n Set<Class<?>> resources = new java.util.HashSet<>();\n resources.add(CountryResource.class);\n resources.add(DepartmentResource.class);\n resources.add(JobResource.class);\n return resources;\n }", "public static List m149887a(Class cls) {\n if (cls == null) {\n return null;\n }\n ArrayList arrayList = new ArrayList();\n while (cls != null) {\n Class[] interfaces = cls.getInterfaces();\n for (int i = 0; i < interfaces.length; i++) {\n if (!arrayList.contains(interfaces[i])) {\n arrayList.add(interfaces[i]);\n }\n for (Class cls2 : m149887a(interfaces[i])) {\n if (!arrayList.contains(cls2)) {\n arrayList.add(cls2);\n }\n }\n }\n cls = cls.getSuperclass();\n }\n return arrayList;\n }", "@Test\n public void testGetDecalredClasses() {\n for (Class clazz : TestClass.class.getDeclaredClasses()) {\n System.out.println(clazz.getName());\n }\n }", "private String[] getReferencedJavaClasses() {\n\t\tclass ClassNameVisitor extends JVisitor {\n\t\t\tList<String> classNames = new ArrayList<String>();\n\n\t\t\t@Override\n\t\t\tpublic boolean visit(JClassType x, Context ctx) {\n\t\t\t\tclassNames.add(x.getName());\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tClassNameVisitor v = new ClassNameVisitor();\n\t\tv.accept(jprogram);\n\t\treturn v.classNames.toArray(new String[v.classNames.size()]);\n\t}", "java.util.List<org.mojolang.mojo.lang.NominalType> \n getInheritsList();", "@SuppressWarnings(\"rawtypes\")\n\tpublic List getInterfaces(){\n\t\treturn targetClass.interfaces;\n\t}", "TypeInfo[] interfaces();", "@Override\n public Set<Class<?>> getClasses() {\n Set<Class<?>> resources = new java.util.HashSet<>();\n resources.add(api.Auth.class);\n resources.add(api.UserApi.class);\n resources.add(api.TicketApi.class);\n resources.add(api.DepartmentApi.class);\n resources.add(api.MessageApi.class);\n resources.add(api.MilestoneApi.class);\n resources.add(api.InvitationApi.class);\n return resources;\n }", "public ArrayList<OWLClass> getClasses(OWLOntology ontology){\n\t\t\n\t\tArrayList<OWLClass> classes = new ArrayList<OWLClass>();\n\t\tfor (OWLClass cls : ontology.getClassesInSignature())\n\t\t\tclasses.add(cls);\n\t\treturn classes;\n\t}", "public static Set<Class<?>> getAllInterfacesForClassAsSet(\n Class<?> clazz, @Nullable ClassLoader classLoader) {\n Assert.notNull(clazz, \"Class must not be null\");\n\n if (clazz.isInterface() && isVisible(clazz, classLoader)) {\n return Collections.singleton(clazz);\n }\n\n Set<Class<?>> interfaces = new LinkedHashSet<>();\n Class<?> currentClass = clazz;\n\n while (currentClass != null) {\n Class<?>[] interfaceArray = currentClass.getInterfaces();\n for (Class<?> cl : interfaceArray) {\n if (isVisible(cl, classLoader)) {\n interfaces.add(cl);\n }\n }\n currentClass = currentClass.getSuperclass();\n }\n\n return interfaces;\n }", "public ClassDoc[] classes() {\n // return specClasses.values().toArray(new ClassDoc[0]);\n\n // return the set of classes in specClasses that are \"included\"\n // according to the access modifier filter\n if (includedClasses != null) {\n // System.out.println(\"RootDoc.classes() called.\");\n return includedClasses;\n }\n int size = 0;\n Collection<X10ClassDoc> classes = specClasses.values();\n for (ClassDoc cd : classes) {\n if (cd.isIncluded()) {\n size++;\n }\n }\n includedClasses = new X10ClassDoc[size];\n int i = 0;\n for (X10ClassDoc cd : classes) {\n if (cd.isIncluded()) {\n includedClasses[i++] = cd;\n }\n }\n Comparator<X10ClassDoc> cmp = new Comparator<X10ClassDoc>() {\n public int compare(X10ClassDoc first, X10ClassDoc second) {\n return first.name().compareTo(second.name());\n }\n\n public boolean equals(Object other) {\n return false;\n }\n };\n Arrays.sort(includedClasses, cmp);\n // System.out.println(\"RootDoc.classes() called. result = \" +\n // Arrays.toString(includedClasses));\n return includedClasses;\n }", "private static <T> Collection<Class<?>> getClassHierarchy(T instance) {\n Collection<Class<?>> hierarchy = new LinkedList<>();\n Class<?> clazz = (Class<?>) instance;\n while (clazz != null) {\n hierarchy.add(clazz);\n clazz = clazz.getSuperclass();\n }\n return hierarchy;\n }", "@SuppressWarnings(\"rawtypes\")\n public static Iterable<Class> getClasses(String packageName) throws ClassNotFoundException, IOException\n {\n return getClasses(packageName, null);\n }", "protected Class[] getDestinationClassesImpl() throws Exception {\n\t\treturn null;\n\t}", "private Class<DimensionInterface>[] getAllClasses (String pckgname) {\n\t\t\n\t\ttry {\n\t\t \n\t\t\t// Classes will store our results\n\t\t\tArrayList classes = new ArrayList ();\n\t\t\t\n\n\t\t\t// Get a File object for the package \n\t\t File directory; \n\t\t \n\t\t \n\t\t // Load the package \n\t\t try { \n\t\t \tdirectory = new File (\n\t\t \t\tThread.currentThread ()\n\t\t \t\t\t.getContextClassLoader()\n\t\t \t\t\t.getResource (pckgname.replace('.', '/'))\n\t\t \t\t\t.getFile()\n\t\t \t); \n\t\t \n\t\t } catch (NullPointerException x) { \n\t\t \tSystem.out.println (\"Nullpointer\");\n\t\t \tthrow new ClassNotFoundException (pckgname + \" does not appear to be a valid package\"); \n\t\t }\n\t\t \n\t\t \n\t\t // IF we have found our package, then\n\t\t // obtain the files withtin\n\t\t if ( ! directory.exists ()) {\n\t\t \tSystem.out.println (\"Directory does not exist\");\n\t\t \tthrow new ClassNotFoundException(pckgname + \" does not appear to be a valid package\"); \n\t\t } \t\t \t\n\t\t \t\n\t\t \n\t \t// Get the list of the files contained in the package \n\t \tString[] files = directory.list ();\n\t\t \t\n\t\t \t\n\t \t// Get the files\n\t \tfor (int i=0; i<files.length; i++) { \n\n\t \t\t// we are only interested in .class files \n\t \t\tif ( ! files[i].endsWith(\".class\")) {\n\t \t\t\tcontinue;\n\t \t\t}\n\t \t\t\t\n \t\t\t// removes the .class extension \n \t\t\tclasses.add(Class.forName (pckgname + '.' + files[i].substring (0, files[i].length() - 6)));\n\t \t\t\t\n\t \t}\n\t\t \n\t\t \n\t \t// Convert the result in an array\n\t\t Class[] classesA = new Class[classes.size()]; \n\t\t classes.toArray (classesA); \n\t\t \n\t\t \n\t\t // Return\n\t\t return classesA;\n\t\t \n\t\t// Generic error\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "public static Set findAllImplementedInterfaces(Class clazz) {\n Set s = new HashSet();\n Class[] interfaces = clazz.getInterfaces();\n for (int i = 0; i < interfaces.length; i++) {\n s.add(interfaces[i]);\n }\n Class superclass = clazz.getSuperclass();\n if (superclass != null) {\n s.addAll(findAllImplementedInterfaces(superclass));\n }\n return s;\n }", "private List<Class> getClasses(String packageName)\n throws ClassNotFoundException, IOException {\n ClassLoader classLoader = Thread.currentThread().getContextClassLoader();\n assert classLoader != null;\n String path = packageName.replace('.', '/');\n Enumeration<URL> resources = classLoader.getResources(path);\n List<File> dirs = new ArrayList<File>();\n while (resources.hasMoreElements()) {\n URL resource = resources.nextElement();\n dirs.add(new File(resource.getFile()));\n }\n ArrayList<Class> classes = new ArrayList<Class>();\n for (File directory : dirs) {\n classes.addAll(findClasses(directory, packageName));\n }\n return classes;\n }", "private Set<Class<?>> describeClassTree(Class<?> inputClass) {\r\n if (inputClass == null) {\r\n return Collections.emptySet();\r\n }\r\n\r\n // create result collector\r\n Set<Class<?>> classes = Sets.newLinkedHashSet();\r\n\r\n // describe tree\r\n describeClassTree(inputClass, classes);\r\n\r\n return classes;\r\n }", "@Override\n public Set<Class<?>> getClasses() {\n HashSet h = new HashSet<Class<?>>();\n h.add(AffirmationService.class );\n return h;\n }", "ISet<Class<?>> collectAllTypeWiredServices();", "public Iterator<String> listRootClasses()\r\n\t{\r\n\t\treturn new ToStringIterator<String>(ONT_MODEL.listHierarchyRootClasses().filterDrop( new Filter() {\r\n public boolean accept( Object o ) {\r\n return ((Resource) o).isAnon();\r\n }} )\r\n );\t\t\r\n\t}", "public Iterator<String> listComplementClasses()\r\n\t{\r\n\t\treturn new ToStringIterator<String>(ONT_MODEL.listComplementClasses().filterDrop( new Filter() {\r\n public boolean accept( Object o ) {\r\n return ((Resource) o).isAnon();\r\n }} )\r\n );\r\n\t}", "@Override\n public List<JavaType> getInterfaces() {\n return ImmutableList.of();\n }", "public Class<?>[] getAllInterfaces(Class<?> aClass) {\n\t\tList<Class<?>> result = new ArrayList<Class<?>>();\n\t\tthis.getAllInterfaces(aClass, result);\n\t\tClass<?> types[] = new Class[0];\n\t\treturn result.toArray(types);\n\t}", "private static Class[] getClasses(String packageName)\n throws ClassNotFoundException, IOException {\n ClassLoader classLoader = Thread.currentThread().getContextClassLoader();\n assert classLoader != null;\n String path = packageName.replace('.', '/');\n Enumeration<URL> resources = classLoader.getResources(path);\n List<File> dirs = new ArrayList<File>();\n while (resources.hasMoreElements()) {\n URL resource = resources.nextElement();\n dirs.add(new File(resource.getFile()));\n }\n ArrayList<Class> classes = new ArrayList<Class>();\n for (File directory : dirs) {\n classes.addAll(findClasses(directory, packageName));\n }\n return classes.toArray(new Class[classes.size()]);\n }", "private static Class[] getClasses(String packageName)\n\t\t\tthrows ClassNotFoundException, IOException {\n\t\tClassLoader classLoader = Thread.currentThread()\n\t\t\t\t.getContextClassLoader();\n\t\tassert classLoader != null;\n\t\tString path = packageName.replace('.', '/');\n\t\tEnumeration<URL> resources = classLoader.getResources(path);\n\t\tList<File> dirs = new ArrayList<File>();\n\t\twhile (resources.hasMoreElements()) {\n\t\t\tURL resource = resources.nextElement();\n\t\t\tdirs.add(new File(resource.getFile()));\n\t\t}\n\t\tArrayList<Class> classes = new ArrayList<Class>();\n\t\tfor (File directory : dirs) {\n\t\t\tclasses.addAll(findClasses(directory, packageName));\n\t\t}\n\t\treturn classes.toArray(new Class[classes.size()]);\n\t}", "public List getParents()\n {\n \tList result = new ArrayList();\n \tModelFacade instance = ModelFacade.getInstance(this.refOutermostPackage().refMofId());\n\n \tif (instance != null)\n \t{\n \t if (instance.isRepresentative(this.refMofId())&&\n \t instance.hasRefObject(this.refMofId()))\n \t {\n \t if (getGeneralization().isEmpty() && !(this instanceof Interface) && !(this instanceof Enumeration))\n \t {\n \t \tresult.add(OclLibraryHelper.getInstance(this).\n \t\t\t\t\t\t\t\t\t\t\tgetAny());\n \t return result;\n \t \t }\n \t } \t \n \t \n\t \tif (equals(OclLibraryHelper.getInstance(this).getVoid()))\n\t \t{\n\t \t\tModel topPackage = ModelHelper.\n\t \t\t\t\t\t\t \t\tgetInstance(\n\t \t\t\t\t\t\t \t\t\t\t(Uml15Package) this.refOutermostPackage()).\n\t \t\t\t\t\t\t \t\t\t\t\t\tgetTopPackage();\n\t \t\tresult.addAll(((NamespaceImpl)topPackage).getAllClassesWithoutSpez());\n\t \t\treturn result;\n\t \t}\n \t} \n \tIterator it = getGeneralization().iterator();\n\n \twhile(it.hasNext())\n \t{\n \t Generalization g = (Generalization)it.next(); \n \t result.add(g.getParent());\n \t}\n \treturn result;\n }", "private List<Class<?>> getClasses(String packageName) throws Exception {\n File directory = null;\n try {\n ClassLoader cld = getClassLoader();\n URL resource = getResource(packageName, cld);\n directory = new File(resource.getFile());\n } catch (NullPointerException ex) {\n throw new ClassNotFoundException(packageName + \" (\" + directory\n + \") does not appear to be a valid package\");\n }\n return collectClasses(packageName, directory);\n }", "public Object[] getImplementations() {\n\t\tObject[] res = { HackProjectLearner.class };\n\t\treturn res;\n\t}", "java.util.List<org.jetbrains.r.classes.S4ClassInfo.S4SuperClass> \n getSuperClassesList();", "@Override\n public List<AlgorithmClass> getAllImplementations() {\n return Arrays.asList(mAllImplementations);\n }", "public String getClasses() {\n String classesString = \"\";\n\n for (String className : classes) {\n classesString += (className + \"\\n\");\n }\n\n return classesString;\n }", "Set<Class<?>> getClassSetBySuperClass(String packageName, Class<?> superClass);", "private List<Class> getClasses(final String scanPackage) {\n ClassPathScanningCandidateComponentProvider provider = new ClassPathScanningCandidateComponentProvider(false);\n provider.addIncludeFilter(new AnnotationTypeFilter(ElementEntity.class));\n provider.addIncludeFilter(new AnnotationTypeFilter(VertexEntity.class));\n provider.addIncludeFilter(new AnnotationTypeFilter(EdgeEntity.class));\n provider.addIncludeFilter(new AnnotationTypeFilter(EmbeddedEntity.class));\n Set<BeanDefinition> beanDefinitionSet = provider.findCandidateComponents(scanPackage);\n List<Class> entityClasses = new ArrayList<>();\n for (BeanDefinition beanDefinition : beanDefinitionSet) {\n String beanClassName = beanDefinition.getBeanClassName();\n try {\n entityClasses.add(Class.forName(beanClassName));\n } catch (ClassNotFoundException e) {\n LOG.error(\"Generate class: {}'s schema error: \", beanClassName, e);\n }\n }\n return entityClasses;\n }", "private static HashSet<Class<?>> getInstrumentedAncestors(Class<?> cls) {\n HashSet<Class<?>> ancestors = new HashSet<>();\n\n for (Method m : cls.getDeclaredMethods()) {\n if (m.getName().startsWith(\"yGet_\")) {\n ancestors.add(cls);\n // If the current class is instrumented, check for its super classes.\n ancestors.addAll(getInstrumentedAncestors(cls.getSuperclass()));\n return ancestors;\n }\n }\n\n return ancestors;\n }", "public static Set<Class<?>> getAllInterfacesForClassAsSet(Class<?> clazz) {\n return getAllInterfacesForClassAsSet(clazz, null);\n }", "public Set<JavaType.ClassJavaType> superTypes() {\n ImmutableSet.Builder<JavaType.ClassJavaType> types = ImmutableSet.builder();\n JavaType.ClassJavaType superClassType = (JavaType.ClassJavaType) this.superClass();\n types.addAll(this.interfacesOfType());\n while (superClassType != null) {\n types.add(superClassType);\n TypeJavaSymbol superClassSymbol = superClassType.getSymbol();\n types.addAll(superClassSymbol.interfacesOfType());\n superClassType = (JavaType.ClassJavaType) superClassSymbol.superClass();\n }\n return types.build();\n }", "Set<Class<?>> getClassSet(String packageName);", "final Class<?>[] classes() {\n if (classes instanceof Class[]) {\n return (Class[]) classes;\n } else {\n return new Class[] { (Class) classes };\n }\n }", "Set<CompiledClass> getCompiledClasses() {\n if (!isCompiled()) {\n return null;\n }\n if (exposedCompiledClasses == null) {\n FindTypesInCud typeFinder = new FindTypesInCud();\n cud.traverse(typeFinder, cud.scope);\n Set<CompiledClass> compiledClasses = typeFinder.getClasses();\n exposedCompiledClasses = Sets.normalizeUnmodifiable(compiledClasses);\n }\n return exposedCompiledClasses;\n }", "String getInterfaces();", "java.util.List<? extends org.jetbrains.r.classes.S4ClassInfo.S4SuperClassOrBuilder> \n getSuperClassesOrBuilderList();", "public ArrayList<String> getNamesOfClasses(OWLOntology ontology){\n\t\t\n\t\tArrayList<String> classes = new ArrayList<String>();\n\t\tfor (OWLClass cls : ontology.getClassesInSignature())\n\t\t\tclasses.add( cls.getIRI().getFragment() );\n\t\t\t\n\t\treturn classes;\n\t}", "public Collection getAllAuxClasss();", "public String[] readClasses();", "IInterfaceDefinition[] resolveImplementedInterfaces(ICompilerProject project);", "private List<IClass> getChildren(IClass cls) {\n\t\tList<IClass> subclasses = new ArrayList<IClass>();\n\t\tCollections.addAll(subclasses, cls.getDirectSubClasses());\n\t\treturn subclasses;\n\t}", "public static Class<?>[] getAllInterfacesForClass(Class<?> clazz) {\n return getAllInterfacesForClass(clazz, null);\n }", "public ClassDoc[] specifiedClasses() {\n // System.out.println(\"RootDoc.specifiedClasses() called.\");\n // return specClasses.values().toArray(new ClassDoc[0]);\n\n // index.html lists classes returned from specifiedClasses; return the\n // set of classes in specClasses that are\n // included as per access mod filter\n return classes();\n }", "HashMap<String, Set<URI>> getExternalSuperClasses();", "public List<? extends IType> getSubtypes()\n {\n if( _subtypes == null )\n {\n _subtypes = new ArrayList<IGosuClassInternal>();\n Set<? extends CharSequence> typeNames = getTypeLoader().getAllTypeNames();\n for( CharSequence typeName : typeNames )\n {\n IType type = TypeSystem.getByFullNameIfValid(typeName.toString());\n if (type instanceof IGosuClassInternal) {\n IGosuClassInternal gosuClass = (IGosuClassInternal) type;\n if( getOrCreateTypeReference() != gosuClass && isAssignableFrom( gosuClass ) )\n {\n _subtypes.add( gosuClass );\n }\n }\n }\n }\n\n return _subtypes;\n }", "@Override\r\n\tpublic List<Classified> getAllClassified() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic Set<Class<?>> getClasses() {\r\n\t\treturn BazaarApplicationImpl.CLASSES;\r\n\t}", "private Stream<TypeElement> getConcreteSubclassesStream(String baseClassName) {\n final TypeElement baseFlowTypeElement =\n sourceRoot.getElementUtils().getTypeElement(baseClassName);\n return ElementFilter.typesIn(sourceRoot.getIncludedElements()).stream()\n .filter(\n typeElement ->\n sourceRoot\n .getTypeUtils()\n .isSubtype(typeElement.asType(), baseFlowTypeElement.asType())\n && !typeElement.getModifiers().contains(Modifier.ABSTRACT));\n }", "@Programmatic\n public List<Class<?>> allServiceClasses() {\n List<Class<?>> serviceClasses = Lists\n .transform(this.servicesInjector.getRegisteredServices(), new Function<Object, Class<?>>(){\n public Class<?> apply(Object o) {\n return o.getClass();\n }\n });\n // take a copy, to allow eg I18nFacetFactory to add in default implementations of missing services.\n return Collections.unmodifiableList(Lists.newArrayList(serviceClasses));\n }", "IClassDefinition[] resolveAncestry(ICompilerProject project);", "public Iterator<String> listEnumeratedClasses()\r\n\t{\r\n\t\treturn new ToStringIterator<String>(ONT_MODEL.listEnumeratedClasses().filterDrop( new Filter() {\r\n public boolean accept( Object o ) {\r\n return ((Resource) o).isAnon();\r\n }} )\r\n );\r\n\t}", "List memberClasses();", "public Iterator<String> listUnionClasses()\r\n\t{\r\n\t\treturn new ToStringIterator<String>(ONT_MODEL.listUnionClasses().filterDrop( new Filter() {\r\n public boolean accept( Object o ) {\r\n return ((Resource) o).isAnon();\r\n }} )\r\n );\r\n\t}", "Collection<String> getRequiredClasses( String id );", "private Map<Class<?>, InterfaceInfo> getInterfaceInfoMap() {\n\t\tif (interfaceInfoMap == null) {\n\t\t\tinterfaceInfoMap = new HashMap<Class<?>, InterfaceInfo>();\n\t\t\tfor (final Class<?> c : packageClasses) {\n\t\t\t\tif (isInterestingInterface(c)) {\n\t\t\t\t\tif (!interfaceInfoMap.containsKey(c)) {\n\t\t\t\t\t\tinterfaceInfoMap.put(c, new InterfaceInfo(c));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfinal Contract contract = c.getAnnotation(Contract.class);\n\t\t\t\t\tif (contract != null) {\n\t\t\t\t\t\tInterfaceInfo ii = interfaceInfoMap.get(contract\n\t\t\t\t\t\t\t\t.value());\n\t\t\t\t\t\tif (ii == null) {\n\t\t\t\t\t\t\tii = new InterfaceInfo(contract.value());\n\t\t\t\t\t\t\tinterfaceInfoMap.put(contract.value(), ii);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tii.add(c);\n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn interfaceInfoMap;\n\t}", "public String[] getClassesToCompile();", "protected Class[] getSourceClassesImpl() throws Exception {\n\t\treturn null;\n\t}", "public List<Class<?>> getSubClasses(Class<?> aClass) {\n\t\treturn ModelClasses.getAllSubClasses(aClass);\n\t}", "public static List<Class<?>> getClasses(String packageName) throws ClassNotFoundException, IOException {\n ClassLoader classLoader = Thread.currentThread().getContextClassLoader();\n assert classLoader != null;\n String path = packageName.replace('.', '/');\n Enumeration<URL> resources = classLoader.getResources(path);\n List<File> dirs = new ArrayList<File>();\n while (resources.hasMoreElements()) {\n URL resource = resources.nextElement();\n dirs.add(new File(resource.getFile()));\n }\n ArrayList<Class<?>> classes = new ArrayList<Class<?>>();\n for (File directory : dirs) {\n classes.addAll(findClasses(directory, packageName));\n }\n return classes;\n }", "public static ArrayList<Class> getClassesFromInstructor(Instructor i)\n\t{\n\t\tint instructorId = i.getUserId();\n\t\tString sql = \"SELECT c.* FROM UserInfo i, Class c WHERE c.instructorID = ? AND i.userID = ?\";\n\t\tArrayList<Class> classes = new ArrayList<Class>();\n\t\ttry(Connection conn = DriverManager.getConnection(db, user, pwd);\n\t\t\t\tPreparedStatement ps = conn.prepareStatement(sql);)\n\t\t{\n\t\t\tps.setInt(1, instructorId);\n\t\t\tps.setInt(2, instructorId);\n\t\t\tResultSet rs = ps.executeQuery();\n\t\t\twhile(rs.next())\n\t\t\t{\n\t\t\t\tString name = rs.getString(\"classname\");\n\t\t\t\tString classcode = rs.getString(\"classcode\");\n\t\t\t\tClass c = new Class(i, name, classcode);\n\t\t\t\tclasses.add(c);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn classes;\n\t}" ]
[ "0.7997327", "0.77934206", "0.7546785", "0.74697363", "0.74667925", "0.72911835", "0.69244874", "0.686433", "0.68606156", "0.68528426", "0.68492883", "0.6839375", "0.67903596", "0.6787282", "0.67815346", "0.67681587", "0.6728314", "0.67180526", "0.6686762", "0.6660206", "0.6637125", "0.6618438", "0.6595408", "0.657757", "0.65638864", "0.6557818", "0.65521884", "0.65445906", "0.65322626", "0.6520816", "0.64976346", "0.64971966", "0.6484858", "0.6483239", "0.6482708", "0.6466587", "0.6457761", "0.64562064", "0.64507526", "0.64412963", "0.6438332", "0.6437275", "0.6428197", "0.642472", "0.63963825", "0.63935596", "0.63870573", "0.63805866", "0.63757557", "0.6369864", "0.6369739", "0.63677335", "0.6347558", "0.6324661", "0.631603", "0.6308948", "0.62882423", "0.6288228", "0.62599015", "0.62537295", "0.62464297", "0.6242665", "0.6242657", "0.6237128", "0.6210822", "0.62107235", "0.62063515", "0.6201952", "0.61946356", "0.6194026", "0.6176442", "0.61717504", "0.61637247", "0.61615384", "0.6158886", "0.61557436", "0.6155193", "0.61537987", "0.6152307", "0.61479586", "0.61423385", "0.6133598", "0.61292434", "0.61225605", "0.60950756", "0.60869235", "0.60863525", "0.60745466", "0.6072376", "0.60693693", "0.6064408", "0.606333", "0.60507023", "0.60493547", "0.60341907", "0.6033549", "0.6010589", "0.6006994", "0.59944177", "0.5985838" ]
0.61014324
84
Event is something that happens for example from carrying out a command. For example, commanding the player's character to go west produces a Move event westwards. World experiences events and possibly changes from them, or produces more events.
interface Event { Event TICK = new Event() { }; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void onNewEvent(Event event);", "public void setEvent(String event) {\n this.event = event;\n }", "public interface EventOrBuilder extends MessageLiteOrBuilder {\n C7351j getEntity();\n\n C7280e getOp();\n\n int getOpValue();\n\n boolean hasEntity();\n }", "public interface Event\n\t{\n\t\tpublic static final String EVENT_ID = \"aether.event.id\";\n\t\tpublic static final String TIME = \"aether.event.time\";\n\t\tpublic static final String EVENT_TYPE = \"aether.event.type\";\n\t}", "public void handleEvent(Event event) {\n switch(event.type) {\n case Arrival:\n arrival(event.intersection, event.direction, event.time, event.vehicle);\n break;\n case Departure:\n departure(event.intersection, event.time, event.vehicle, event.direction);\n break;\n // Northbound traffic light events\n case GreenSouth:\n greenSouth(event.intersection, event.direction, event.time);\n break;\n case RedSouth:\n redSouth(event.intersection, event.direction, event.time);\n break;\n // Westbound traffic light turn right\n case GreenEastTurnRight:\n greenEastTurnRight(event.intersection, event.time);\n break;\n case RedEastTurnRight:\n redEastTurnRight(event.intersection);\n break;\n // Eastbound traffic light turn left\n case GreenWestTurnLeft:\n greenWestTurnLeft(event.intersection, event.time);\n break;\n case RedWestTurnLeft:\n redWestTurnLeft(event.intersection);\n break;\n case Exit:\n exit(event.intersection, event.time, event.vehicle, event.direction);\n break;\n default:\n System.out.println(\"Error - EventHandler.handleEvent: Wrong Event!\");\n }\n }", "public void addEvent(Event event) {\n\t\t\n\t}", "public void setEvent(String event) {\r\n\t\tthis.event = event;\r\n\t}", "Event createEvent();", "Event createEvent();", "EventType getEvent();", "private void addEvent() {\n String name = selectString(\"What is the name of this event?\");\n ReferenceFrame frame = selectFrame(\"Which frame would you like to define the event in?\");\n double time = selectDouble(\"When does the event occur (in seconds)?\");\n double x = selectDouble(\"Where does the event occur (in light-seconds)?\");\n world.addEvent(new Event(name, time, x, frame));\n System.out.println(\"Event added!\");\n }", "public void processEvent(Event event) {\n\t\t\n\t}", "public interface Event {\n\n}", "public interface Event {\n\n}", "public final void mT__74() throws RecognitionException {\n try {\n int _type = T__74;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:72:7: ( 'event' )\n // InternalMyDsl.g:72:9: 'event'\n {\n match(\"event\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "@Override\r\n\tpublic void onEvent(Object e) {\n\t}", "public void notifyEvent(Event event) {\n _brain.getGameManager().takeAction(event);\n }", "public void handleEvent(Event event) {\n\t\t\t\t}", "java.lang.String getEventType();", "public String getEventName();", "void event(Event e) throws Exception;", "public abstract void processEvent(Object event);", "public interface Event {\n\n // Events emitted by Logic or StateMonitors\n String STATE_SYNCHRONIZED = \"state_synchronized\";\n String MEMBER_RECONNECTED = \"member_reconnected\";\n\n // Event emitted explicitly by Game part\n interface Game {\n\n // Bank\n String TRANSACTION = \"transaction\";\n\n // Lobby\n String POKE = \"poke\";\n String MEMBER_READY = \"member_ready\";\n }\n\n}", "@Override\r\n\tpublic void onEvent(Event arg0) {\n\r\n\t}", "public void changeEvent(Event event) {\n flowContextInfo.registerOutboundEvent(event);\n setEvent(event);\n }", "public abstract void onEvent(T event);", "void doEvent(LightEvent what);", "public AddCommand(Event event) {\n this.event = event;\n }", "ProgramEventEvent createProgramEventEvent();", "Event getEvent();", "Event getE();", "public void sendEvent(Event event);", "@SubscribeEvent(priority = EventPriority.NORMAL)\n\tpublic void getWorldEvent(WorldEvent event)\n\t{\n\t\tdimension = event.getWorld().provider.getDimension();\n\t\t//System.out.println(\"Is this working ?\");\n\t}", "public void handleEvent(GameEvent<S, A> e) {\n\t\t\r\n\t\tif (playerId == e.getState().getTurn() && !game.isFinished()){\r\n\t\t\tif (playerMode != PlayerMode.manual && (e.getType() == GameEvent.EventType.Info || e.getType() == GameEvent.EventType.Change)) {\r\n\t\t\t\tdecideMakeAutomaicMove();\r\n\t\t\t}\r\n\r\n\t\t\telse if (e.getType() == GameEvent.EventType.Start){\r\n\t\t\t\tif (playerMode == PlayerMode.random) makeRandomMove();\r\n\t\t\t\telse if (playerMode == PlayerMode.smart) makeSmartMove();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "void onBusEvent(Event event);", "@Subscribe\n public void onEvent(Object event) {\n }", "@Subscribe\n public void onEvent(Object event) {\n }", "@Override\r\n public void onEvent(FlowableEvent event) {\n }", "boolean onEvent(Event event);", "public final EObject ruleEventDefinition() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token otherlv_2=null;\r\n Token lv_name_3_0=null;\r\n Token otherlv_4=null;\r\n Enumerator lv_direction_1_0 = null;\r\n\r\n EObject lv_derivation_6_0 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:785:28: ( ( () ( (lv_direction_1_0= ruleDirection ) )? otherlv_2= 'event' ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= ':' ( ( ruleFQN ) ) )? ( (lv_derivation_6_0= ruleEventDerivation ) )? ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:786:1: ( () ( (lv_direction_1_0= ruleDirection ) )? otherlv_2= 'event' ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= ':' ( ( ruleFQN ) ) )? ( (lv_derivation_6_0= ruleEventDerivation ) )? )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:786:1: ( () ( (lv_direction_1_0= ruleDirection ) )? otherlv_2= 'event' ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= ':' ( ( ruleFQN ) ) )? ( (lv_derivation_6_0= ruleEventDerivation ) )? )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:786:2: () ( (lv_direction_1_0= ruleDirection ) )? otherlv_2= 'event' ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= ':' ( ( ruleFQN ) ) )? ( (lv_derivation_6_0= ruleEventDerivation ) )?\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:786:2: ()\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:787:5: \r\n {\r\n if ( state.backtracking==0 ) {\r\n\r\n current = forceCreateModelElement(\r\n grammarAccess.getEventDefinitionAccess().getEventDefinitionAction_0(),\r\n current);\r\n \r\n }\r\n\r\n }\r\n\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:792:2: ( (lv_direction_1_0= ruleDirection ) )?\r\n int alt13=2;\r\n int LA13_0 = input.LA(1);\r\n\r\n if ( ((LA13_0>=55 && LA13_0<=57)) ) {\r\n alt13=1;\r\n }\r\n switch (alt13) {\r\n case 1 :\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:793:1: (lv_direction_1_0= ruleDirection )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:793:1: (lv_direction_1_0= ruleDirection )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:794:3: lv_direction_1_0= ruleDirection\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getEventDefinitionAccess().getDirectionDirectionEnumRuleCall_1_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleDirection_in_ruleEventDefinition1674);\r\n lv_direction_1_0=ruleDirection();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getEventDefinitionRule());\r\n \t }\r\n \t\tset(\r\n \t\t\tcurrent, \r\n \t\t\t\"direction\",\r\n \t\tlv_direction_1_0, \r\n \t\t\"Direction\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n otherlv_2=(Token)match(input,21,FOLLOW_21_in_ruleEventDefinition1687); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \tnewLeafNode(otherlv_2, grammarAccess.getEventDefinitionAccess().getEventKeyword_2());\r\n \r\n }\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:814:1: ( (lv_name_3_0= RULE_ID ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:815:1: (lv_name_3_0= RULE_ID )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:815:1: (lv_name_3_0= RULE_ID )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:816:3: lv_name_3_0= RULE_ID\r\n {\r\n lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEventDefinition1704); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t\t\tnewLeafNode(lv_name_3_0, grammarAccess.getEventDefinitionAccess().getNameIDTerminalRuleCall_3_0()); \r\n \t\t\r\n }\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElement(grammarAccess.getEventDefinitionRule());\r\n \t }\r\n \t\tsetWithLastConsumed(\r\n \t\t\tcurrent, \r\n \t\t\t\"name\",\r\n \t\tlv_name_3_0, \r\n \t\t\"ID\");\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:832:2: (otherlv_4= ':' ( ( ruleFQN ) ) )?\r\n int alt14=2;\r\n int LA14_0 = input.LA(1);\r\n\r\n if ( (LA14_0==19) ) {\r\n alt14=1;\r\n }\r\n switch (alt14) {\r\n case 1 :\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:832:4: otherlv_4= ':' ( ( ruleFQN ) )\r\n {\r\n otherlv_4=(Token)match(input,19,FOLLOW_19_in_ruleEventDefinition1722); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \tnewLeafNode(otherlv_4, grammarAccess.getEventDefinitionAccess().getColonKeyword_4_0());\r\n \r\n }\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:836:1: ( ( ruleFQN ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:837:1: ( ruleFQN )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:837:1: ( ruleFQN )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:838:3: ruleFQN\r\n {\r\n if ( state.backtracking==0 ) {\r\n\r\n \t\t\tif (current==null) {\r\n \t current = createModelElement(grammarAccess.getEventDefinitionRule());\r\n \t }\r\n \r\n }\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getEventDefinitionAccess().getTypeTypeCrossReference_4_1_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleFQN_in_ruleEventDefinition1745);\r\n ruleFQN();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:851:4: ( (lv_derivation_6_0= ruleEventDerivation ) )?\r\n int alt15=2;\r\n int LA15_0 = input.LA(1);\r\n\r\n if ( (LA15_0==22) ) {\r\n alt15=1;\r\n }\r\n switch (alt15) {\r\n case 1 :\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:852:1: (lv_derivation_6_0= ruleEventDerivation )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:852:1: (lv_derivation_6_0= ruleEventDerivation )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:853:3: lv_derivation_6_0= ruleEventDerivation\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getEventDefinitionAccess().getDerivationEventDerivationParserRuleCall_5_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleEventDerivation_in_ruleEventDefinition1768);\r\n lv_derivation_6_0=ruleEventDerivation();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getEventDefinitionRule());\r\n \t }\r\n \t\tset(\r\n \t\t\tcurrent, \r\n \t\t\t\"derivation\",\r\n \t\tlv_derivation_6_0, \r\n \t\t\"EventDerivation\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "@Override\n public void onEvent(Event t) throws CSenseException {\n }", "com.walgreens.rxit.ch.cda.EIVLEvent addNewEvent();", "@Override\n\tpublic void meetRandomEvent(String event) {\n\t\tSystem.out.println(\"You meet \" + event + \"!\");\n\t\tif(event == \"PIRATE\") \n\t\t{\n\t\t\tSystem.out.println(\"You meet a pirates, you should play number games to against pirates\");\n\t\t\tgame.meetPirate();\n\t\t}\n\t\telse if (event == \"UNFORTUNATE WEATHER\"){\n\t\t\tint damage = game.meetUnfortunateWeather();\n\t\t\tSystem.out.println(\"Your ship's health has been reduced by \" + damage + \" because you just meet unfortunate weather\");\n\t\t\tgame.backToMain();\n\t\t}\n\t\telse {\n\t\t\tint reward = game.meetSailorToRescue();\n\t\t\tSystem.out.println(\"Your have been rewarded by sailors you rescued, they gave you \" + reward + \" coin\");\n\t\t\tgame.backToMain();\n\t\t}\n\t}", "public String getTypeEvent() {\n\t\treturn typeEvent;\n\t}", "public Object getEvent() {\r\n return event;\r\n }", "public void storeEvent(Event event) {\n Entity eventEntity = new Entity(\"Event\", event.getEventId().toString());\n eventEntity.setProperty(\"speaker\", event.getSpeaker());\n eventEntity.setProperty(\"organization\", event.getOrganization());\n eventEntity.setProperty(\"eventDate\", event.getEventDate());\n eventEntity.setProperty(\"externalLink\", event.getExternalLink());\n eventEntity.setProperty(\"ownerId\", event.getOwnerId());\n eventEntity.setProperty(\"publicType\", event.getPublicType());\n // eventEntity.setProperty(\"timeStamp\", event.getTimeStamp());\n // This try/catch statement is to prevent null pointer exceptions from fields\n // that might not be defined yet in an event\n // Currently, the events form does not handle these fields so they are in the\n // try catch together\n try {\n eventEntity.setProperty(\"location\", event.getLocation());\n for (String am : event.getAmenities()) {\n storeAmenity(am, event.getEventId());\n }\n for (ThreadComment cm : event.getThread()) {\n storeThreadComment(cm);\n }\n } catch (NullPointerException e) {\n eventEntity.setProperty(\"location\", null);\n }\n\n datastore.put(eventEntity);\n }", "public void addEvent(Event event) {\n events.add(event);\n }", "public void addEvent(Event e){\r\n\t\tallEvents.add(e);\r\n\t}", "public void setEventName(String eEventName) {\n\t\tmEventName = eEventName;\n\t}", "Event () {\n // Nothing to do here.\n }", "BasicEvent createBasicEvent();", "public interface GameEvent {\n void event(GameEntity e, Engine engine);\n}", "private void removeEvent() {\n Event event = selectEvent(\"Which event would you like to delete?\");\n world.removeEvent(event);\n System.out.println(\"Removed \" + event.getName() + \"!\");\n }", "@Override\r\n\tpublic String toString() {\r\n\t\treturn this.event;\r\n\t}", "void writeEvent (Event event) throws Exception {\n this.write(\"[event]\\n\");\n this.write(\"timeline \" + event.timeline.name + \"\\n\");\n this.write(\"name \" + event.name + \"\\n\");\n this.write(\"startDate \" + event.startDate[0] + \" \" + event.startDate[1] + \" \" + event.startDate[2] + \"\\n\");\n this.write(\"endDate \" + event.endDate[0] + \" \" + event.endDate[1] + \" \" + event.endDate[2] + \"\\n\");\n this.write(\"visible \" + (event.visible ? 1 : 0) + \"\\n\");\n this.write(event.notes + \"\\n[/event]\\n\");\n this.newLine();\n this.flush();\n }", "@Override\n\t@SuppressWarnings(\"unchecked\")\n\tpublic <E> void onEvent(E event) {\n\t\tif (clazz.isInstance(event)) {\n\t\t\tonEvent((T) event);\n\t\t}\n\t}", "com.walgreens.rxit.ch.cda.EIVLEvent getEvent();", "public void addEvent(Event e) {\n\t\t\n\t}", "public void addEvent(Event e) {\n\t\t\n\t}", "public void setEventName(String name);", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "public EventMessage(Event event)\r\n {\r\n //super(\"EventMessage\");\r\n super(TYPE_IDENT, event);\r\n }", "void setEvent(com.walgreens.rxit.ch.cda.EIVLEvent event);", "public void eventManager(Event event){\n\t\tif(event.type == Event.Type.CLOSED){\n\t\t\t//System.out.println(\"The user pressed the close button!\");\n\t\t\tLightCore.window.close();\n\t\t}\n\t\telse if(event.type == Event.Type.MOUSE_BUTTON_PRESSED){\n\t\t\t\n\t\t\tJFileChooser dialog;\n\t\t\tLoadSaveFilter filter;\n\t\t\tMouseButtonEvent mouse = event.asMouseButtonEvent();\n \t \tCellPosition pos = isInside(mouse.position);\n \t \t\n \t \tif(mouse.button == Mouse.Button.LEFT){\n\t \t \tif(LightCore.soundButton.isInside(mouse.position)){\n\t\t\t\t\tif(LightCore.sound.getStatus() == SoundSource.Status.PLAYING)\n\t\t\t\t\t\tLightCore.sound.pause();\n\t\t\t\t\telse\n\t\t\t\t\t\tLightCore.sound.play();\n\t\t\t\t\tLightCore.soundButton.changeTexture();\n\t\t\t\t\ttoDisplay.set(LightCore.soundButton.getId(), LightCore.soundButton.getSprite());\n\t\t\t\t}\n \t \t}\n \t \t\n \t \tswitch(getEvent(mouse)){\n\t\t\t\tcase GRID_ADD:\n\t\t\t\t\tif(pos.isFound()){\n\t\t\t\t\t\tif(robot){\n\t\t\t\t\t\t\tif(!(display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof EmptyCell))\n\t\t\t\t\t\t\t\tdisplay.displayRobot(pos.getLine(), pos.getColumn(), originX, originY);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t//System.out.println(\"Add cube on : \\t\\tLine : \" + pos.getLine() + \", column : \" + pos.getColumn() + \", level : \" + pos.getLevel());\n\t\t \t \t\t\tif(light){\n\t\t \t \t\t\t\tif(!(display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof TeleportCell) \n\t\t \t \t\t\t\t\t\t\t&& !(display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof ColoredCell)\n\t\t \t \t\t\t\t\t\t\t&& !(display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof LightableCell)){\n\t\t\t \t \t\t\t\tif(pos.getLevel() > -1){\n\t\t\t \t \t\t\t\t\tdisplay.gridDisplay.removeCube(pos.getLine(), pos.getColumn(), pos.getLevel()+1);\n\t\t\t \t \t\t\t\t\tLightableCell cell = new LightableCell(pos.getLine(), pos.getColumn(), pos.getLevel());\n\t\t\t \t \t\t\t\t\tdisplay.gridDisplay.addCube(cell);\n\t\t\t \t \t\t\t\t}\n\t\t\t \t \t\t\t\telse{\n\t\t\t \t \t\t\t\t\tLightableCell cell = new LightableCell(pos.getLine(), pos.getColumn(), pos.getLevel()+1);\n\t\t\t \t \t\t\t\t\tdisplay.gridDisplay.addCube(cell);\n\t\t\t \t \t\t\t\t\tdisplay.anim.addRemoveCube(pos.getLine(), pos.getColumn(), pos.getLevel()+1, true, false);\n\t\t\t \t \t\t\t\t\tdisplay.anim.updateSprite(display.gridDisplay.getGridSprites());\n\t\t\t \t \t\t\t\t}\n\t\t \t \t\t\t\t}\n\t\t \t \t\t\t}\n\t\t \t \t\t\telse if(teleport){\n\t\t \t \t\t\t\tif(nextColour != null){\n\t\t \t \t\t\t\t\tif(!(display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof TeleportCell) \n\t\t \t \t\t\t\t\t\t\t&& !(display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof ColoredCell)\n\t\t \t \t\t\t\t\t\t\t&& !(display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof LightableCell)){\n\t\t\t\t\t \t \t\t\tif(!firstTeleport){\n\t\t\t\t\t\t\t\t \t \tdisableAllButton();\n\t\t\t\t\t\t\t \t \t\t\n\t\t\t\t\t\t\t \t \t\tteleport1 = new Position(pos.getLine(), pos.getColumn());\n\t\t\t\t\t\t\t \t \t\tteleport2 = null;\n\t\t\t\t \t \t\t\t\t}\n\t\t\t\t \t \t\t\t\n\t\t\t\t \t \t\t\t\tif(pos.getLevel() > -1){\n\t\t\t\t\t \t \t\t\t\tTeleportCell cell = new TeleportCell(pos.getLine(), pos.getColumn(), pos.getLevel(), -1, -1, nextColour);\n\t\t\t\t\t \t \t\t\t\tdisplay.gridDisplay.removeCube(pos.getLine(), pos.getColumn(), pos.getLevel()+1);\n\t\t\t\t\t \t \t\t\t\tdisplay.gridDisplay.addCube(cell);\n\t\t\t\t\t \t \t\t\t\t}\n\t\t\t\t\t \t \t\t\t\telse{\n\t\t\t\t\t \t \t\t\t\t\tTeleportCell cell = new TeleportCell(pos.getLine(), pos.getColumn(), pos.getLevel()+1, -1, -1, nextColour);\n\t\t\t\t\t \t \t\t\t\t\tdisplay.gridDisplay.addCube(cell);\n\t\t\t\t\t \t \t\t\t\t\tdisplay.anim.addRemoveCube(pos.getLine(), pos.getColumn(), pos.getLevel()+1, true, false);\n\t\t\t\t\t \t \t\t\t\t\tdisplay.anim.updateSprite(display.gridDisplay.getGridSprites());\n\t\t\t\t\t \t \t\t\t\t}\n\t\t\t\t \t \t\t\t\t\n\t\t\t\t\t \t \t\t\tif(!firstTeleport)\n\t\t\t\t\t \t \t\t\t\tfirstTeleport = true;\n\t\t\t\t\t \t \t\t\telse if(firstTeleport && (pos.getLine() != teleport1.getX() || pos.getColumn() != teleport1.getY())){\n\t\t\t\t\t \t \t\t\t\tenableAllButton();\n\t\t\t\t\t\t\t \t \t\tfirstTeleport = false;\n\t\t\t\t\t\t\t \t \t\t\n\t\t\t\t\t\t\t \t \t\tteleport2 = new Position(pos.getLine(), pos.getColumn());\n\t\t\t\t\t\t\t \t \t\t\n\t\t\t\t\t\t\t \t \t\t// Get teleport cells\n\t\t\t\t\t\t\t \t \t\tTeleportCell teleportCell1 = (TeleportCell)display.gridDisplay.grid.getCell(teleport1.getX(), teleport1.getY());\n\t\t\t\t\t\t\t \t \t\tTeleportCell teleportCell2 = (TeleportCell)display.gridDisplay.grid.getCell(teleport2.getX(), teleport2.getY());\n\t\t\t\t\t\t\t \t \t\t\n\t\t\t\t\t\t\t \t \t\tteleportCell1.setDestXY(teleport2.getX(), teleport2.getY());\n\t\t\t\t\t\t\t \t \t\tteleportCell2.setDestXY(teleport1.getX(), teleport1.getY());\n\t\t\t\t\t\t\t \t \t\t\n\t\t\t\t\t\t\t \t \t\tdisplay.gridDisplay.grid.setCell(teleportCell1);\n\t\t\t\t\t\t\t \t \t\tdisplay.gridDisplay.grid.setCell(teleportCell2);\n\t\t\t\t\t\t\t \t \t\t\n\t\t\t\t\t\t\t \t \t\tusedColour.add(nextColour);\n\t\t\t\t\t\t\t \t \t\tnextColour();\n\t\t\t\t \t \t\t\t\t}\n\t\t \t \t\t\t\t\t}\n\t\t \t \t\t\t\t}\n\t\t \t \t\t\t}\n\t\t \t \t\t\telse{\n\t\t\t \t \t\t\tif(display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof NormalCell \n\t\t\t \t \t\t\t\t\t|| display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof EmptyCell\n\t\t\t \t \t\t\t\t\t|| (display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof ColoredCell && (blue || orange || purple || red))){\n\t\t\t \t \t\t\t\tif(blue || orange || purple || red){\n\t\t\t\t \t \t\t\t\tif(pos.getLevel() > -1){\n\t\t\t\t \t \t\t\t\t\tColoredCell cell = new ColoredCell(pos.getLine(), pos.getColumn(), pos.getLevel(), colour);\n\t\t\t\t \t \t\t\t\t\tdisplay.gridDisplay.removeCube(pos.getLine(), pos.getColumn(), pos.getLevel()+1);\n\t\t\t\t \t \t\t\t\t\tdisplay.gridDisplay.addCube(cell);\n\t\t\t\t \t \t\t\t\t}\n\t\t\t\t \t \t\t\t\telse{\n\t\t\t\t \t \t\t\t\t\tColoredCell cell = new ColoredCell(pos.getLine(), pos.getColumn(), pos.getLevel()+1, colour);\n\t\t\t\t \t \t\t\t\t\tdisplay.gridDisplay.addCube(cell);\n\t\t\t\t \t \t\t\t\t\tdisplay.anim.addRemoveCube(pos.getLine(), pos.getColumn(), pos.getLevel()+1, true, false);\n\t\t\t\t \t \t\t\t\t\tdisplay.anim.updateSprite(display.gridDisplay.getGridSprites());\n\t\t\t\t \t \t\t\t\t}\n\t\t\t \t \t\t\t\t\t\n\t\t\t \t \t\t\t\t}\n\t\t\t \t \t\t\t\telse{\n\t\t\t \t \t\t\t\t\tNormalCell cell = new NormalCell(pos.getLine(), pos.getColumn(), pos.getLevel()+1);\n\t\t\t\t \t \t\t\t\tdisplay.gridDisplay.addCube(cell);\n\t\t\t\t \t \t\t\t\tdisplay.anim.addRemoveCube(pos.getLine(), pos.getColumn(), pos.getLevel()+1, true, false);\n\t\t\t \t \t\t\t\t}\t\t\t \t \t\t\t\t\n\t\t\t \t \t\t\t\tdisplay.anim.updateSprite(display.gridDisplay.getGridSprites());\n\t\t\t \t \t\t\t}\n\t\t \t \t\t\t}\n\t\t \t \t\t\t\n\t\t \t \t\t\tif(pos.getColumn() == Robot.wheatley.getColumn() && pos.getLine() == Robot.wheatley.getLine() && pos.getLevel() > -1)\n\t\t \t \t\t\t\tdisplay.displayRobot(pos.getLine(), pos.getColumn(), originX, originY);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase GRID_DELETE:\n\t\t\t\t\tif(pos.isFound() && pos.getLevel() > -1){\n\t\t\t\t\t\tCell cell = display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn());\n\t\t\t\t\t\t\n\t\t\t\t\t\t//System.out.println(\"Remove cube on : \\tLine : \" + pos.getLine() + \", column : \" + pos.getColumn() + \", level : \" + pos.getLevel());\n\t \t \t\t\tdisplay.anim.addRemoveCube(pos.getLine(), pos.getColumn(), pos.getLevel(), false, false);\n\t \t \t\t\tdisplay.gridDisplay.removeCube(pos.getLine(), pos.getColumn(), pos.getLevel()+1);\n\t \t \t\t\tdisplay.anim.updateSprite(display.gridDisplay.getGridSprites());\n\t \t \t\t\t\n\t\t\t\t\t\tif(cell instanceof TeleportCell){\n\t\t\t\t\t\t\tTeleportColour currentTeleportColour = ((TeleportCell)cell).getColour();\n\t\t\t\t\t\t\tif(firstTeleport && currentTeleportColour.equals(nextColour)){\n\t\t\t\t\t\t\t\tfirstTeleport = false;\n\t\t\t\t\t\t\t\tenableAllButton();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(((TeleportCell)cell).getDestX() != -1 && ((TeleportCell)cell).getDestY() != -1){\n\t\t\t\t\t\t\t\tTeleportCell newCell = (TeleportCell)display.gridDisplay.grid.getCell(((TeleportCell)cell).getDestX(), ((TeleportCell)cell).getDestY());\n\t\t\t\t\t\t\t\tdisplay.anim.addRemoveCube(newCell.getX(), newCell.getY(), newCell.getHeight(), false, false);\n\t\t\t \t \t\t\tdisplay.gridDisplay.removeCube(newCell.getX(), newCell.getY(), newCell.getHeight()+1);\n\t\t\t \t \t\t\tdisplay.anim.updateSprite(display.gridDisplay.getGridSprites());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tusedColour.remove(currentTeleportColour);\n\t\t\t\t\t\t\tif(currentTeleportColour.equals(nextColour))\n\t\t\t\t\t\t\t\tnextColour();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(pos.getColumn() == Robot.wheatley.getColumn() && pos.getLine() == Robot.wheatley.getLine())\n\t\t\t\t\t\t\tif(display.gridDisplay.grid.getCell(pos.getLine(), pos.getColumn()) instanceof EmptyCell)\n\t\t\t\t\t\t\t\tdisplay.deleteRobot();\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tdisplay.displayRobot(pos.getLine(), pos.getColumn(), originX, originY);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase LIGHT:\n\t\t\t\t\tlightButton.changeTexture();\n \t \t\t\t\ttoDisplay.set(lightButton.getId(), lightButton.getSprite());\n \t \t\t\t\t\n \t \t\t\t\tresetButton(EditorEvent.LIGHT);\n \t \t\t\t\n\t \t \t\tlight = !light;\n\t \t \t\tif(!light)\n\t \t \t\t\tcolour = Colour.WHITE;\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase SAVE:\n\t\t\t\t\tif(display.robotIsDisplayed){\n\t\t\t\t\t\tsaveButton.changeTexture();\n\t\t\t\t\t\ttoDisplay.set(saveButton.getId(), saveButton.getSprite());\n\t\t\t\t\t\tLightCore.window.clear(Color.WHITE);\n\t\t\t\t\t\tdisplay();\n\t\t\t\t\t\tLightCore.window.display();\n\t\t\t\t\t\t\n\t\t\t\t\t\tdialog = new JFileChooser();\n\t\t\t\t\t\t\n\t\t\t\t\t\tfilter = new LoadSaveFilter(new String[]{\"json\"}, \"Fichier texte au format JSON (*.json)\");\n\t\t\t\t\t\tdialog.setAcceptAllFileFilterUsed(false);\n\t\t\t\t\t\tdialog.addChoosableFileFilter(filter);\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (dialog.showSaveDialog(null) == JFileChooser.APPROVE_OPTION) {\n\t\t\t\t\t\t File file = dialog.getSelectedFile();\n\t\t\t\t\t\t \n\t\t\t\t\t\t String fileName = file.getAbsolutePath();\n\t\t\t\t\t\t \n\t\t\t\t\t\t int i = fileName.lastIndexOf(\".\");\n\t\t\t\t\t\t if(i != -1 && fileName.charAt(i-1) != '/'){\n\t\t\t\t\t\t\t fileName = fileName.substring(0, i); \n\t\t\t\t\t\t }\n\t\t\t\t\t\t \n\t\t\t\t\t\t // Print a selection menu for list of actions\n\t\t\t\t\t\t ActionSelector selec = new ActionSelector();\n\t\t\t\t\t\t while(!selec.isValid && !selec.isAborted){\n\t\t\t\t\t\t\t System.out.print(\"\");\n\t\t\t\t\t\t }\n\t\t\t\t\t\t \n\t\t\t\t\t\t if(selec.isValid){\n\t\t\t\t\t\t\t ArrayList<_Executable> listOfActions = new ArrayList<_Executable>();\n\t\t\t\t\t\t\t if(selec.checkForward.getState())\n\t\t\t\t\t\t\t\t listOfActions.add(new Forward());\n\t\t\t\t\t\t\t if(selec.checkJump.getState())\n\t\t\t\t\t\t\t\t listOfActions.add(new Jump());\n\t\t\t\t\t\t\t if(selec.checkTurnRight.getState())\n\t\t\t\t\t\t\t\t listOfActions.add(new Turn(RelativeDirection.RIGHT, Colour.WHITE));\n\t\t\t\t\t\t\t if(selec.checkTurnLeft.getState())\n\t\t\t\t\t\t\t\t listOfActions.add(new Turn(RelativeDirection.LEFT, Colour.WHITE));\n\t\t\t\t\t\t\t if(selec.checkWash.getState())\n\t\t\t\t\t\t\t\t listOfActions.add(new Wash());\n\t\t\t\t\t\t\t if(selec.checkClone.getState())\n\t\t\t\t\t\t\t\t listOfActions.add(new Clone());\n\t\t\t\t\t\t\t if(selec.checkBreak.getState())\n\t\t\t\t\t\t\t\t listOfActions.add(new Break());\n\t\t\t\t\t\t\t listOfActions.add(new Light());\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t int numbOfMain = (selec.mainLimit.getText().equals(\"\"))? 12 : Integer.parseInt(selec.mainLimit.getText());\n\t\t\t\t\t\t\t int numbOfProc1 = (selec.p1Limit.getText().equals(\"\"))? 0 : Integer.parseInt(selec.p1Limit.getText());\n\t\t\t\t\t\t\t int numbOfProc2 = (selec.p2Limit.getText().equals(\"\"))? 0 : Integer.parseInt(selec.p2Limit.getText());\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t Level level = new Level(display.gridDisplay.grid, listOfActions, selec.checkP1.getState(), selec.checkP2.getState(), numbOfMain, numbOfProc1, numbOfProc2);\n\t\t\t\t\t\t\t ParserJSON.serialize(fileName+\".json\", level);\n\t\t\t\t\t\t\t display.gridDisplay.grid.printGrid();\n\t\t\t\t\t\t }\n\t\t\t\t\t\t \n\t\t\t\t\t\t selec.dispose();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsaveButton.changeTexture();\n\t\t\t\t\t\ttoDisplay.set(saveButton.getId(), saveButton.getSprite());\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Le robot n'est pas affiché, impossible de sauvegarder.\", \"Erreur\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase LOAD:\n\t\t\t\t\tloadButton.changeTexture();\n\t\t\t\t\ttoDisplay.set(loadButton.getId(), loadButton.getSprite());\n\t\t\t\t\tLightCore.window.clear(Color.WHITE);\n\t\t\t\t\tdisplay();\n\t\t\t\t\tLightCore.window.display();\n\t\t\t\t\t\n\t\t\t\t\tdialog = new JFileChooser();\n\t\t\t\t\t\n\t\t\t\t\tfilter = new LoadSaveFilter(new String[]{\"json\"}, \"Fichier texte au format JSON (*.json)\");\n\t\t\t\t\tdialog.setAcceptAllFileFilterUsed(false);\n\t\t\t\t\tdialog.addChoosableFileFilter(filter);\n\t\t\t\t\t\n\t\t\t\t\tif (dialog.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {\n\t\t\t\t\t File file = dialog.getSelectedFile();\n\t\t\t\t\t Grid toOpen = ParserJSON.deserialize(file.getAbsolutePath()).getGrid();\n\t\t\t\t\t originX = (GRID_DISPLAY_SIZE/2)+MARGIN_LEFT;\n\t\t\t\t\t originY = (WINDOW_HEIGHT/2-MARGIN_LEFT-(toOpen.getSize()*Textures.cellTexture.getSize().y)/2);\n\t\t\t\t\t display.reinit(toOpen, originX, originY);\n\t\t\t\t\t toDisplay = new ArrayList<Drawable>();\n\t\t\t\t\t canva = new CanvaDisplay(toOpen.getSize(), originX, originY);\n\t\t\t\t\t initConstantDisplay();\n\t\t\t\t\t \n\t\t\t\t\t //System.out.println(file.getAbsolutePath());\n\t\t\t\t\t}else{\n\t\t\t\t\t\tloadButton.changeTexture();\n\t\t\t\t\t\ttoDisplay.set(loadButton.getId(), loadButton.getSprite());\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase ROBOT:\n\t\t\t\t\trobotButton.changeTexture();\n \t \t\t\t\ttoDisplay.set(robotButton.getId(), robotButton.getSprite());\n \t \t\t\t\t\n \t \t\t\t\tresetButton(EditorEvent.ROBOT);\n\t\t\t\t \t\n\t \t \t\trobot = !robot;\n\t \t \t\tif(!robot)\n\t \t \t\t\tcolour = Colour.WHITE;\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase HOME:\n\t\t\t\t\tLightCore.menu = true;\n\t\t\t\t\tLightCore.editor = false;\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase TURN_LEFT:\n\t\t\t\t\tdisplay.rotate(0);\n\t\t\t\t\tbreak;\n\t\t\t\tcase TURN_RIGHT:\n\t\t\t\t\tdisplay.rotate(1);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase TURN_ROBOT_LEFT:\n\t\t\t\t\tdisplay.rotateRobot(RelativeDirection.LEFT);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase TURN_ROBOT_RIGHT:\n\t\t\t\t\tdisplay.rotateRobot(RelativeDirection.RIGHT);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase SPLASH_BLUE:\n\t\t\t\t\tblueSplash.changeTexture();\n\t\t\t\t\ttoDisplay.set(blueSplash.getId(), blueSplash.getSprite());\n\t\t\t\t\t\n\t\t\t\t\tcolour = Colour.BLUE;\n\t\t\t\t\tresetButton(EditorEvent.SPLASH_BLUE);\n\t\t\t\t\t\n\t\t\t\t\tblue = !blue;\n\t\t\t\t\tif(!blue)\n\t\t\t\t\t\tcolour = Colour.WHITE;\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase SPLASH_ORANGE:\n\t\t\t\t\torangeSplash.changeTexture();\n\t\t\t\t\ttoDisplay.set(orangeSplash.getId(), orangeSplash.getSprite());\n\t\t\t\t\t\n\t\t\t\t\tcolour = Colour.ORANGE;\n\t\t\t\t\tresetButton(EditorEvent.SPLASH_ORANGE);\n\t\t\t\t\t\n\t\t\t\t\torange = !orange;\n\t\t\t\t\tif(!orange)\n\t\t\t\t\t\tcolour = Colour.WHITE;\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase SPLASH_PURPLE:\n\t\t\t\t\tpurpleSplash.changeTexture();\n\t\t\t\t\ttoDisplay.set(purpleSplash.getId(), purpleSplash.getSprite());\n\t\t\t\t\t\n\t\t\t\t\tcolour = Colour.PURPLE;\n\t\t\t\t\tresetButton(EditorEvent.SPLASH_PURPLE);\n\t\t\t\t\t\n\t\t\t\t\tpurple = !purple;\n\t\t\t\t\tif(!purple)\n\t\t\t\t\t\tcolour = Colour.WHITE;\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase SPLASH_RED:\n\t\t\t\t\tredSplash.changeTexture();\n\t\t\t\t\ttoDisplay.set(redSplash.getId(), redSplash.getSprite());\n\t\t\t\t\t\n\t\t\t\t\tcolour = Colour.RED;\n\t\t\t\t\tresetButton(EditorEvent.SPLASH_RED);\n\t\t\t\t\t\n\t\t\t\t\tred = !red;\n\t\t\t\t\tif(!red)\n\t\t\t\t\t\tcolour = Colour.WHITE;\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase TELEPORT:\n\t\t\t\t\tteleportButton.changeTexture();\n\t \t\t\t\ttoDisplay.set(teleportButton.getId(), teleportButton.getSprite());\n\t \t\t\t\t\n\t \t \t\tresetButton(EditorEvent.TELEPORT);\n\t \t \t\t\n\t\t \t \tteleport = !teleport;\n\t\t \t \tif(!teleport)\n\t\t\t\t\t\tcolour = Colour.WHITE;\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n \t \t}\n\t\t}\n\t}", "public Event nextEVPEC();", "public String getEvent() {\n return this.event;\n }", "com.google.speech.logs.timeline.InputEvent.Event getEvent();", "public String getEventName() {\n\t\treturn mEventName;\n\t}", "private IEvent createEvent() throws RodinDBException {\n\t\tfinal IMachineRoot mch = createMachine(\"mch\");\n\t\treturn mch.createChild(IEvent.ELEMENT_TYPE, null, null);\n\t}", "public void triggerEvent(Event event, BaseEntity command);", "public Event getEvent(){\n\t\t\treturn event;\n\t\t}", "public static void logEvent(SimulationEvent event) {\n\t\tevents.add(event);\n\t\tSystem.out.println(event);\n\t}", "public void notificar(String event) {\n\t\toutPoint.notificar(event);\n\t}", "@Override\r\n\tpublic void onBattleEvent(BattleEvent e) {\n\t\t\r\n\t}", "@Override\n public Object getEvent() {\n return eventObj;\n }", "public WorldEntryFailureEvent(Event event)\n {\n super(event);\n \n this.WorldName = event.getString(\"world.name\");\n this.Reason = event.getString(\"reason\");\n }", "@Override\n public void publish(Event<? extends Enum, ?> event) {\n byte[] body = null;\n if (null == event) {\n log.error(\"Captured event is null...\");\n return;\n }\n if (event instanceof DeviceEvent) {\n body = bytesOf(MQUtil.json((DeviceEvent) event));\n } else if (event instanceof TopologyEvent) {\n body = bytesOf(MQUtil.json((TopologyEvent) event));\n } else if (event instanceof LinkEvent) {\n body = bytesOf(MQUtil.json((LinkEvent) event));\n } else {\n log.error(\"Invalid event: '{}'\", event);\n return;\n }\n processAndPublishMessage(body);\n }", "public Event getEvent() {\n\t\treturn event;\n\t}", "public void playerBasicChange(PlayerBasicChangeEvent event) {\n }", "private boolean isWholeGameEvent(String eventType){\n return eventType.equals(\"Stonks\") || eventType.equals(\"Riot\") || eventType.equals(\"Mutate\") || eventType.equals(\"WarpReality\");\n }", "@Override\n public void onEvent(Event event) {\n lock.lock();\n\n try {\n runtime.onEvent(event);\n } finally {\n lock.unlock();\n }\n }", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t}", "@Override\n\tpublic void setEvent(Event event) {\n\t\tthis.currentEvent = event;\n\t}", "void addSimultaneousEvent(GameEvent event);", "@Override\n\t\tpublic void onEvent(Event event) throws Exception {\n\t\t\tInputEvent inputEvent = (InputEvent) event;\n\t\t\tString input = inputEvent.getValue();\n\t\t\tloadData(input);\n\t\t}", "public String updateEvent(Event event)\n {\n em.merge(event);\n return (\"Event updatet\");\n }", "@Override\n public void onBrowserEvent(Event event) {\n switch(DOM.eventGetType(event)) {\n case Event.ONMOUSEOVER:\n onMouseOverEvent(event);\n break;\n case Event.ONMOUSEDOWN:\n onMouseDownEvent(event);\n break;\n case Event.ONMOUSEMOVE:\n onMouseMoveEvent(event);\n break;\n case Event.ONMOUSEUP:\n onMouseUpEvent();\n break;\n }\n }", "Event(int start, int end, String eventName, String description) {\r\n this.start = start;\r\n this.end = end;\r\n this.eventName = eventName;\r\n this.description = description;\r\n }", "public void addEvent(Event event) {\n getEvents().add(event);\n }", "public Event() {}", "public interface Event {\n\n void handle(EventEnterceptor interceptor, Object entity);\n\n}", "public IEvent getCauseEvent();", "protected void printEvent(Event event) {\n System.out.println(\"\\t\" + event.getName());\n System.out.println(\"\\t\" + event.getDate().getDate());\n System.out.println(\"\\t\" + event.getTime().get12HTime());\n\n if (event.getDuration() != 0) {\n System.out.println(\"\\tFor \" + event.getDuration() + \" minutes\");\n }\n }", "public void setEventMessage(String eventMessage) {\n this.eventMessage = eventMessage;\n }", "public void add(GameEvent e);" ]
[ "0.68815964", "0.6489251", "0.6454278", "0.640251", "0.6398965", "0.6391465", "0.63798", "0.6374579", "0.6374579", "0.63396657", "0.63303167", "0.6285926", "0.6258806", "0.6258806", "0.6247309", "0.62147045", "0.6151393", "0.6138805", "0.6126359", "0.6119613", "0.610335", "0.6101167", "0.60862494", "0.6076999", "0.6072277", "0.6071145", "0.6068144", "0.6062688", "0.6051312", "0.6041804", "0.6034424", "0.6021612", "0.6008796", "0.6000521", "0.60002774", "0.5978684", "0.5978684", "0.595103", "0.5947985", "0.59461564", "0.59394825", "0.5933922", "0.59233326", "0.5909134", "0.58992916", "0.58802766", "0.5879515", "0.5878713", "0.5877729", "0.5864276", "0.58600116", "0.58561534", "0.5831978", "0.5826353", "0.581679", "0.58124965", "0.5811296", "0.58095187", "0.58095187", "0.57897216", "0.5786788", "0.5786788", "0.5786788", "0.5786788", "0.5786788", "0.5778278", "0.57772255", "0.5759967", "0.5755868", "0.57514185", "0.57513803", "0.5749924", "0.5746042", "0.5743842", "0.57422584", "0.573908", "0.5732488", "0.57318103", "0.57287085", "0.57122624", "0.57096297", "0.5707384", "0.57016903", "0.57016224", "0.5694358", "0.56939995", "0.56939995", "0.56939995", "0.5672278", "0.56710136", "0.5658569", "0.56560564", "0.5653658", "0.5650445", "0.5648368", "0.56324583", "0.5627372", "0.5619244", "0.5614858", "0.5609378", "0.5601802" ]
0.0
-1
Called when the activity is first created.
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ArrayList motAlpha = new ArrayList(); motAlpha.add("BONJOUR"); motAlpha.add("INTERNET"); motAlpha.add("ANDROID"); ArrayList motMorse = new ArrayList(); motMorse.add("_...____..______.._._."); motMorse.add(".._._.._._.._"); motMorse.add(".__._..._.___.._.."); correspondaceAlphaMorse.add(motAlpha); correspondaceAlphaMorse.add(motMorse); // Génération de la chaîne de caractères aléatoire TextView Label = findViewById(R.id.Label); /* MODE FACILE for(int i=0;i<10;i++) { Random r = new Random(); int indice = r.nextInt(2); if (indice==0) { modele+='.'; } else { modele+='_'; } } */ Label.append(modele); // Préciser ce qu'on a fait, ce qu'on voulait faire mais qu'on a pas réussi, une démo (préparée), ce qui nous a plu, déplu // Instantiate the gesture detector with the // application context and an implementation of // GestureDetector.OnGestureListener mDetector = new GestureDetectorCompat(this,this); // Set the gesture detector as the double tap // listener. mDetector.setOnDoubleTapListener(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "@Override\n public void onActivityCreated(Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\n }", "@Override\n public void onActivityCreated(Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\n }", "@Override\n public void onCreate() {\n super.onCreate();\n initData();\n }", "@Override\n public void onActivityCreated(Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\n\n }", "@Override\n public void onActivityCreated(Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\n\n }", "protected void onCreate() {\n }", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\tLog.e(TAG, \"onActivityCreated-------\");\r\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\tLog.e(TAG, \"onActivityCreated-------\");\r\n\t}", "@Override\n\tpublic void onActivityCreated(Bundle arg0) {\n\t\tsuper.onActivityCreated(arg0);\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\tinitData(savedInstanceState);\r\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\t\r\n\t\tinitView();\r\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\tsetview();\r\n\t}", "@Override\n public void onCreate()\n {\n\n super.onCreate();\n }", "@Override\n public void onCreate() {\n initData();\n }", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tLogUtil.d(TAG, \"onActivityCreated---------\");\n\t\tinitData(savedInstanceState);\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "@Override\n public void onCreate() {\n super.onCreate();\n }", "@Override\n public void onCreate() {\n super.onCreate();\n }", "@Override\n\tpublic void onActivityCreated(@Nullable Bundle savedInstanceState) {\n\t\tinitView();\n\t\tinitListener();\n\t\tinitData();\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "@Override\n public void onCreate() {\n L.d(\"onCreate is called\");\n super.onCreate();\n }", "@Override\n\tpublic void onActivityCreated(Activity activity, Bundle savedInstanceState)\n\t{\n\t}", "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\n\t}", "protected void onFirstTimeLaunched() {\n }", "@Override\n public void onActivityCreated(@Nullable Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\n initData(savedInstanceState);\n }", "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t\t\n\t}", "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t\t\n\t}", "@Override\n public void onActivityCreated(Activity activity, Bundle bundle) {}", "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t}", "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t}", "@Override\n public void onActivityCreated(Activity activity, Bundle bundle) {\n }", "@Override\n public void onCreate() {\n }", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tsetupTextviews();\n\t\tsetupHorizontalScrollViews();\n\t\tsetupHorizontalSelectors();\n\t\tsetupButtons();\n\t}", "@Override\n public void onCreate() {\n\n }", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\t\r\n\t\tinitViewPager();\r\n\t\t\r\n\t\tinitView();\r\n\r\n\t\tinitCursor();\r\n\t\t\r\n\t\tinithuanxin(savedInstanceState);\r\n\t\r\n \r\n\t}", "public void onCreate() {\n }", "@Override\n\tpublic void onCreate() {\n\t\tLog.i(TAG, \"onCreate\");\n\t\tsuper.onCreate();\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n init();\n }", "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsetContentView(R.layout.caifushi_record);\n\t\tsuper.onCreate(savedInstanceState);\n\t\tinitview();\n\t\tMyApplication.getInstance().addActivity(this);\n\t\t\n\t}", "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.activity_recent_activity);\n\t\tsetTitleFromActivityLabel(R.id.title_text);\n\t\tsetupStartUp();\n\t}", "@Override\n\tpublic void onCreate() {\n\n\t}", "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\n\t\tgetLocation();\n\n\t\tregisterReceiver();\n\n\t}", "@Override\n public void onActivityCreated(Activity activity, Bundle savedInstanceState) {\n eventManager.fire(Event.ACTIVITY_ON_CREATE, activity);\n }", "@Override\n public void onCreate()\n {\n\n\n }", "@Override\n\tprotected void onCreate() {\n\t}", "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tAnnotationProcessor.processActivity(this);\r\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n if (!KramPreferences.hasStartedAppBefore(this)) {\n // First time app is started\n requestFirstHug();\n HugRequestService.scheduleHugRequests(this);\n KramPreferences.putHasStartedAppBefore(this);\n }\n\n setContentView(R.layout.activity_main);\n initMonthView(savedInstanceState);\n }", "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.act_myinfo);\n\t\tinitView();\n\t\tinitEvents();\n\n\t}", "public void onCreate();", "public void onCreate();", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.auth_activity);\n connectVariablesToViews();\n listenToFields();\n WorkSpace.authorizationCompleted = false;\n }", "@Override\n public void onCreate() {\n Log.d(TAG, TAG + \" onCreate\");\n }", "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) \r\n\t{\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\t\t\r\n\t\t// Get a reference to the tranistbuddy model.\r\n\t\tTransitBuddyApp app = (TransitBuddyApp)this.getApplicationContext();\r\n\t\tmModel = app.getTransitBuddyModel();\r\n\t\tmSettings = app.getTransitBuddySettings();\r\n\t\t\r\n\t\tsetTitle( getString(R.string.title_prefix) + \" \" + mSettings.getSelectedCity());\r\n\t}", "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\r\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tinit();\r\n\t}", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n // Prepare the loader. Either re-connect with an existing one,\n // or start a new one.\n\t\tgetLoaderManager().initLoader(FORECAST_LOADER_ID, null, this);\n\t\tsuper.onActivityCreated(savedInstanceState); // From instructor correction\n\t}", "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\n\t\tDisplayMetrics dm = new DisplayMetrics();\n\t\tgetWindowManager().getDefaultDisplay().getMetrics(dm);\n\n\t\tintScreenX = dm.widthPixels;\n\t\tintScreenY = dm.heightPixels;\n\t\tscreenRect = new Rect(0, 0, intScreenX, intScreenY);\n\n\t\thideTheWindowTitle();\n\n\t\tSampleView view = new SampleView(this);\n\t\tsetContentView(view);\n\n\t\tsetupRecord();\n\t}", "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t\tif (BuildConfig.DEBUG) {\n\t\t\tLogger.init(getClass().getSimpleName()).setLogLevel(LogLevel.FULL).hideThreadInfo();\n\t\t} else {\n\t\t\tLogger.init(getClass().getSimpleName()).setLogLevel(LogLevel.NONE).hideThreadInfo();\n\t\t}\n\t\tBaseApplication.totalList.add(this);\n\t}", "@Override\n public void onActivityPreCreated(@NonNull Activity activity, @Nullable Bundle savedInstanceState) {/**/}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n\n setupAddPotLaunch();\n setupListView();\n setupPotClick();\n }", "public void onStart() {\n super.onStart();\n ApplicationStateMonitor.getInstance().activityStarted();\n }", "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t\tcontext = getApplicationContext();\n\t\t\n\t\tApplicationContextUtils.init(context);\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n\n }", "@Override\n public void onCreate(@Nullable Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n initArguments();\n }", "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\t\t\n\t\tappManager = AppManager.getAppManager();\n\t\tappManager.addActivity(this);\n\t}", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\n\t\tmContext = (LFActivity) getActivity();\n\t\tinit();\n\t}", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "@Override\n\tprotected void onCreate(Bundle savedInstanceBundle)\n\t{\n\t\tsuper.onCreate(savedInstanceBundle);\n\t\tView initView = initView();\n\t\tsetBaseView(initView);\n\t\tinitValues();\n\t\tinitListeners();\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.listexcursionscreen);\n\n ActionsDelegator.getInstance().synchronizeActionsWithServer(this);\n runId = PropertiesAdapter.getInstance(this).getCurrentRunId();\n\n RunDelegator.getInstance().loadRun(this, runId);\n ResponseDelegator.getInstance().synchronizeResponsesWithServer(this, runId);\n\n }", "@Override\n\tprotected void onCreate() {\n\t\tSystem.out.println(\"onCreate\");\n\t}", "@Override\n protected void onStart() {\n Log.i(\"G53MDP\", \"Main onStart\");\n super.onStart();\n }", "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tAppManager.getInstance().addActivity(this);\n\t}", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n }", "@Override\n\tpublic void onCreate() {\n\t\t// TODO Auto-generated method stub\n\t\tsuper.onCreate();\n\t}", "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\r\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.add_daily_task);\n init_database();\n init_view();\n init_click();\n init_data();\n init_picker();\n }", "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\t\n\t\tactivity = (MainActivity)getActivity(); \n\t\t\n\t\tactivity.setContListener(this);\n\t\t\n\t\tif(MODE == Const.MODE_DEFAULT){\n\t\t\tinitializeInfoForm();\n\t\t}else{\n\t\t\tinitializeAddEditForm();\t\t\t\n\t\t}\n\t\t\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "@Override\r\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\r\n\t}", "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\n\t\tinitView();\n\n\t\tinitData();\n\n\t\tinitEvent();\n\n\t\tinitAnimation();\n\n\t\tshowUp();\n\t}", "@Override\n public void onCreate() {\n Thread.setDefaultUncaughtExceptionHandler(new TryMe());\n\n super.onCreate();\n\n // Write the content of the current application\n context = getApplicationContext();\n display = context.getResources().getDisplayMetrics();\n\n\n // Initializing DB\n App.databaseManager.initial(App.context);\n\n // Initialize user secret\n App.accountModule.initial();\n }", "@Override\r\n\tpublic void onCreate(Bundle savedInstanceState) {\r\n\t\tsuper.onCreate(savedInstanceState);\r\n\r\n\t}", "@Override\n protected void onCreate(@Nullable Bundle savedInstanceState) {\n\n super.onCreate(savedInstanceState);\n }" ]
[ "0.791686", "0.77270156", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7637394", "0.7637394", "0.7629958", "0.76189965", "0.76189965", "0.7543775", "0.7540053", "0.7540053", "0.7539505", "0.75269467", "0.75147736", "0.7509639", "0.7500879", "0.74805456", "0.7475343", "0.7469598", "0.7469598", "0.7455178", "0.743656", "0.74256307", "0.7422192", "0.73934627", "0.7370002", "0.73569906", "0.73569906", "0.7353011", "0.7347353", "0.7347353", "0.7333878", "0.7311508", "0.72663945", "0.72612154", "0.7252271", "0.72419256", "0.72131634", "0.71865886", "0.718271", "0.71728176", "0.7168954", "0.7166841", "0.71481615", "0.7141478", "0.7132933", "0.71174103", "0.7097966", "0.70979583", "0.7093163", "0.7093163", "0.7085773", "0.7075851", "0.7073558", "0.70698684", "0.7049258", "0.704046", "0.70370424", "0.7013127", "0.7005552", "0.7004414", "0.7004136", "0.69996923", "0.6995201", "0.69904065", "0.6988358", "0.69834954", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69820535", "0.69783133", "0.6977392", "0.69668365", "0.69660246", "0.69651115", "0.6962911", "0.696241", "0.6961096", "0.69608897", "0.6947069", "0.6940148", "0.69358927", "0.6933102", "0.6927288", "0.69265485", "0.69247025" ]
0.0
-1
s > start vertex
public void bfs(int s) { boolean[] visited = new boolean[v]; int level = 0; parent[s] = 0; levels[s] = level; Queue<Integer> queue = new LinkedList<>(); queue.add(s); visited[s] = true; while (!queue.isEmpty()){ Integer next = queue.poll(); System.out.print(next+", "); Iterator<Integer> it = adj[next].listIterator(); while (it.hasNext()){ Integer i = it.next(); if(!visited[i]){ visited[i] = true; levels[i] = level; parent[i] = next; queue.add(i); } } level++; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStartVertex(int s) {\n\t\tstartVertex = s;\n\t}", "public int getStartVertex() {\n\t\treturn startVertex;\n\t}", "public Vertex getStart()\n\t{\n\t\treturn start.copy();\n\t}", "public void setStartVertex(int v){\n if (v < vertexCount && v >= 0){\n startVertex = v;\n } else {\n throw new IllegalArgumentException(\"Cannot set iteration start vertex to \" + v + \".\");\n }\n }", "public void setStartVertex(int v){\r\n if (v < myVertexCount && v >= 0){\r\n myStartVertex = v;\r\n } else {\r\n throw new IllegalArgumentException(\"Cannot set iteration start vertex to \" + v + \".\");\r\n }\r\n }", "public void setStartVertex(int v){\n if (v < myVertexCount && v >= 0){\n myStartVertex = v;\n } else {\n throw new IllegalArgumentException(\"Cannot set iteration start vertex to \" + v + \".\");\n }\n }", "public native VertexNode first();", "Vertex(){}", "public wVertex(String s){\r\n name = s;\r\n adjacencies = new ArrayList<Edge>();\r\n }", "public ArrayList<Vertex> initStart() {\r\n\t\tArrayList<Vertex> startPoint = new ArrayList<>();\r\n\t\tstartPoint.add(new Vertex(17, 2));\r\n\t\tstartPoint.add(new Vertex(16, 14));\r\n\t\tstartPoint.add(new Vertex(15, 14));\r\n\t\tstartPoint.add(new Vertex(11, 22));\r\n\t\tstartPoint.add(new Vertex(11, 21));\r\n\t\tstartPoint.add(new Vertex(22, 3));\r\n\t\tstartPoint.add(new Vertex(22, 2));\r\n\t\tstartPoint.add(new Vertex(20, 3));\r\n\t\tstartPoint.add(new Vertex(17, 21));\r\n\t\tstartPoint.add(new Vertex(17, 20));\r\n\t\tstartPoint.add(new Vertex(15, 21));\r\n\t\tstartPoint.add(new Vertex(12, 21));\r\n\t\treturn startPoint;\r\n\t}", "public abstract Vec2 startPosition();", "Vertex getVertex();", "public void setStartPoint(int s) {\r\n\t\tstartPoint = s;\r\n\t}", "Vertex getVertex(int index);", "public String depthFirstSearch( AnyType start_vertex ) throws VertexException {\n \n StringBuffer buffer = new StringBuffer();\n \n // ----------------------------\n // TODO: Add your code here\n // ----------------------------\n ConstantTimeStack<Vertex<AnyType>> stack = new ConstantTimeStack<Vertex<AnyType>>();\n boolean exists = false;\n Vertex<AnyType> S = new Vertex<AnyType>(start_vertex);\n int counter = 0;\n //loop through to set each vertex to not visited\n for( int i = 0; i < vertex_adjacency_list.size(); i++){\n vertex_adjacency_list.get(i).setVisited(-1);\n //if find the start vertex then set index position to counter\n if(vertex_adjacency_list.get(i).compareTo(S) == 0){\n exists = true;\n vertex_adjacency_list.get(i).setVisited(counter);\n counter = i;\n }\n }\n //if doesn't exist then through exception\n if(exists == false){\n throw new VertexException(\"Start Vertex does not exist\");\n }\n //if it does exist then push start node onto stack, set visited \n else if(exists){\n stack.push(vertex_adjacency_list.get(counter));\n vertex_adjacency_list.get(counter).setVisited(1);\n Vertex <AnyType> e = vertex_adjacency_list.get(counter);\n counter = 2;\n int n = e.numberOfAdjacentVertices();\n try{\n \n while(true){\n //loop through e's adjacent vertices \n for (n = e.numberOfAdjacentVertices()-1; n >=0 ; n--){\n //if the adacent vertex has not been visited\n if(e.getAdjacentVertex(n).hasBeenVisited()==false){\n //change e to adjacent vertex and push onto stack\n e = e.getAdjacentVertex(n);\n stack.push(e);\n //set e as visited at counter\n e.setVisited(counter);\n counter++;\n //reset n to e's num of vertices\n n = e.numberOfAdjacentVertices();\n }\n //if it has been visited and it's the first node in list\n //then pop it off the stack and then set e to new top\n //set n to new num of vertices\n else if(e.getAdjacentVertex(n).hasBeenVisited() && n == 0){\n stack.pop();\n e = stack.peek();\n n = e.numberOfAdjacentVertices();\n }\n }\n }\n }catch(EmptyStackException m){\n }\n }\n //loop through the list and print each with when it was visited\n for(int k = 0; k< vertex_adjacency_list.size(); k++){\n buffer.append(vertex_adjacency_list.get(k) + \":\" + vertex_adjacency_list.get(k).getVisited()+ \"\\n\");\n }\n \n return buffer.toString();\n \n }", "public void setFrom(Vertex<VV> vertex)\r\n { this.from = vertex; }", "Vertex createVertex();", "void setDistan˝eFromStartVertex(int distan˝eFromStartVertex) {\r\n\t\tthis.distan˝eFromStartVertex = distan˝eFromStartVertex;\r\n\t}", "int addVertex(Vector position);", "public Ndimensional getStartPoint();", "public void addVertex();", "public int getBaseVertex() {\n return baseVertex;\n }", "public V getVertex()\r\n/* */ {\r\n/* 198 */ return (V)this.vertex;\r\n/* */ }", "protected Vertex squareToVertex(Square s) {\n return graph[s.getX() + s.getY() * GameBoard.ROWS];\n }", "public Object getVertex(){\r\n return this.vertex;\r\n }", "private void shortestPath_init(char start){\n\n visited = new boolean[numVertices];\n for(int i = 0;i < numVertices;i++){\n distList[i] = Integer.MAX_VALUE;\n }\n //distance to starting point is always zero\n\n try {\n distList[getIdx(start)] = 0;\n }catch(Exception e){\n System.out.println(\"can not find starting point\");\n }\n\n pqNode s = new pqNode(distList[0],getIdx(start));\n pq.offer(s);\n\n }", "void add(int vertex);", "public Position insertVertex(Object o);", "public int getvertex() {\n\t\treturn this.v;\n\t}", "void shortestPath( final VertexType fromNode, Integer node );", "public Vertex<VV> getFrom()\r\n { return from; }", "public String breadthFirstSearch( AnyType start_vertex ) throws VertexException {\n \n StringBuffer buffer = new StringBuffer();\n \n // ----------------------------\n // TODO: Add your code here\n // ----------------------------\n boolean exists = false;\n Vertex<AnyType> S = new Vertex<AnyType>(start_vertex);\n int counter = 1;\n //make new vertex to check if its in list\n //make queue to hold vertices\n SemiConstantTimeQueue<Vertex<AnyType>> queue = new SemiConstantTimeQueue<Vertex<AnyType>>();\n //loop through and set not visited\n for( int i = 0; i < vertex_adjacency_list.size(); i++){\n vertex_adjacency_list.get(i).setVisited(-1);\n //if it's in list then set exists to true\n //and set visited \n if(vertex_adjacency_list.get(i).compareTo(S) == 0){\n exists = true;\n vertex_adjacency_list.get(i).setVisited(counter);\n counter = i;\n }\n } \n //if doesn't exist then throw the exception\n if(exists == false){\n throw new VertexException(\"Start Vertex does not exist\");\n }\n //make new queue\n queue.add(vertex_adjacency_list.get(counter));\n vertex_adjacency_list.get(counter).setVisited(1);\n counter = 1;\n int k=0;\n Vertex<AnyType>e;\n //while the queue isn't empty\n while(queue.peek() !=null){\n //make e the top of the queue \n e = queue.peek(); \n //go through the list and if you reach the begining it exits loop\n for( k = 0; k < vertex_adjacency_list.size()-1; k++){\n if(vertex_adjacency_list.get(k).compareTo(e)==0){\n break;\n }\n } \n //go through loop and check if visited, if not then add it to queue, set visited\n for( int j = 0; j< vertex_adjacency_list.get(k).numberOfAdjacentVertices(); j++){\n if(vertex_adjacency_list.get(k).getAdjacentVertex(j).hasBeenVisited()==false){\n counter++;\n queue.add(vertex_adjacency_list.get(k).getAdjacentVertex(j));\n vertex_adjacency_list.get(k).getAdjacentVertex(j).setVisited(counter);\n }\n }\n //remove from queue when through loop once\n k++;\n queue.remove();\n }\n //loop through list and print vertex and when it was visited\n for(int o = 0; o< vertex_adjacency_list.size(); o++){\n buffer.append(vertex_adjacency_list.get(o) + \":\" + vertex_adjacency_list.get(o).getVisited()+ \"\\n\");\n }\n return buffer.toString();\n }", "public void initializeSingleSource(Vertex start) {\n\t\tfor (Vertex v : adjlist.values()){\n\t\t\tv.dist = Integer.MAX_VALUE;\n\t\t\tv.setParent(null);\n\t\t}\n\t\t//sets distance of the starter vertex to 0\n\t\tstart.dist = 0;\n\t}", "int getStartSegment();", "private CityByDegrees getStartingVertexCity() {\r\n\t\treturn this.startingVertexCity;\r\n\t}", "public Vertex getFrom() {\r\n\r\n return from;\r\n }", "int getVertices();", "static void FindPath(vertex s, vertex[] array){\r\n\t\tvertex v; \r\n\t\tint min = Integer.MAX_VALUE;\r\n\t\t//node wN; vertex wV; //wN= adjacent node in LinkedList; wV= find the values in the vertices for wL\r\n\t\tint j =0;\r\n\t\ts.known = true;\r\n\t\ts.dist = 0;\r\n\t\tShortestPath(s, array);\r\n\t\r\n\t\twhile(j<array.length-1 ){ //&& array[j].known== false){\r\n\t\t\tint count = 0; \r\n\t\t\tmin = Integer.MAX_VALUE;\r\n\t\t\tfor(int i = 0; i<array.length; i++){\r\n\t\t\t\tif(array[i].known== false && array[i].dist < min){\r\n\t\t\t\t\tmin = array[i].dist;\r\n\t\t\t\t\tcount = i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tv = array[count];\r\n //System.out.println(\"count: \" + count + \"Next v: \" + v.name);\r\n\t\t\tShortestPath(v, array);\r\n\t\t\tj++; \t\t\r\n }\r\n\t}", "public City getStartCity() {\n \treturn vertex1;\n }", "public void start(Point p);", "@Test\n public void testGetVertexIndex() throws GeoTessException {\n posLinear.set(8, new double[]{0., 0., -1.}, 6300.);\n assertEquals(11, posLinear.getVertexIndex());\n\n // set position to x, which does not coincide with a\n // model vertex.\n posLinear.set(8, x, R);\n assertEquals(-1, posLinear.getVertexIndex());\n }", "public V getVertex(int index);", "public Vertex(){\n\n }", "public void setEndVertex(int e) {\n\t\tendVertex = e;\n\t}", "public void gotoVertex(char v) {\r\n\t\tfor (int i = 0; i < vertices.size(); i++) {\r\n\t\t\tif (vertices.get(i).label == v) {\r\n\t\t\t\tcurrentVertex = vertices.get(i);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(\"The vertex \" + v + \" does not exist.\");\r\n\t}", "public void mst() {\n int currentVertexIndex = 0;\r\n dfsStack.push(0);\r\n vertexList[0].wasVisited = true;\r\n// System.out.println(vertexList[dfsStack.peek()]);\r\n while (dfsStack.top != -1) {\r\n\r\n\r\n currentVertexIndex = this.getAdjUnvisitedVert(dfsStack.peek());\r\n if (currentVertexIndex != -1) {\r\n System.out.print(vertexList[dfsStack.peek()]);\r\n dfsStack.push(currentVertexIndex);\r\n vertexList[currentVertexIndex].wasVisited = true;\r\n System.out.print(vertexList[dfsStack.peek()]);\r\n System.out.print(\", \");\r\n\r\n\r\n } else {\r\n currentVertexIndex = dfsStack.pop();\r\n\r\n }\r\n }\r\n for (Vertex x : vertexList) {\r\n x.wasVisited = false;\r\n }\r\n }", "@Override\n public Vertex getSource() {\n return sourceVertex;\n }", "public DijkstraSP(EdgeWeightedDigraph G, int s){\n edgeTo = new DirectedEdge[G.V()];\n distTo = new double[G.V()];\n pq = new IndexMinPQ<>(G.V());\n\n for (int v=0; v<G.V(); v++)\n distTo[v] = Double.POSITIVE_INFINITY;\n distTo[s] = 0;\n\n pq.insert(s, 0.0);\n // relax vertices in order of distance from s\n while (!pq.isEmpty())\n relax(G, pq.delMin());\n }", "public Vertex(String name){\r\n this.name = name;\r\n }", "public String vertexName();", "protected void processVertex(Vertex w){\n\t}", "public Vertex(int u, int minDistance) {\n this.u = u;\n this.minDistance = minDistance;\n }", "private void initializeSingleSource(Graph<V> G, Integer s) {\n for (int v = 0; v < G.getVertexCount(); v++) {\n G.getVertex(v).setEstimate(1.0f / 0.0f); // Infinity\n G.getVertex(v).setPredecessor(null);\n }\n G.getVertex(s).setEstimate(0);\n }", "public Object[] getStartNodes ();", "public Vertex getVertex() {\n return curr;\n }", "public int [] breadthFirstSearch (int start){\r\n int [] visited = new int[getNumV()];\r\n int[] order = new int[getNumV()];\r\n int index = 0;\r\n int[] parent = new int[getNumV()];\r\n\r\n // parent arrayi, visited arrayi ve order arrayi set edildi\r\n for(int i = start; i<getNumV(); i++){\r\n parent[i] = -1;\r\n visited[i] = -1;\r\n order[index] = i;\r\n index++;\r\n }\r\n //eger baslanilan vertex sifirdan farkli bir vertex ise bu vertex'e kadar ki vertexler de order arrayine eklendi.\r\n if(index<getNumV()-1)\r\n for(int i=0; i<start; i++){\r\n order[index] = i;\r\n index++;\r\n }\r\n\r\n // her vertex uzerinden breadthFirsSearch yapildi.\r\n for(int i = 0; i<getNumV(); i++) {\r\n if(visited[i] == -1)\r\n breadthFirstSearch(order[i], visited, parent);\r\n }\r\n return parent;\r\n }", "public GeoPointND getStartPoint();", "public Vertex (String name)\n\t{\n\t vertexName = name ;\n\t adjacencyList = new DoublyLinkedList<>();\n\t indegree = 0;\n\t\t\n\t}", "public Vector2D getLocalVertex(int i){\n\t\treturn localVertices.get(i%localVertices.size());\n\t}", "private void draw(Graph<V,E> G, List<E> S, List<V> Svertices, Map<V,Point2D> positions){\n\n\t\tlog.info(\"Calling draw for \" + G);\n\n\t\t//if G has at most 3 vertices\n\t\t//a convex drawing has been obtained - return\n\t\tif (G.getVertices().size() <= 3)\n\t\t\treturn;\n\n\t\t//select and arbitrary vertex of S* and let G' = G-v (remove v from G)\n\t\tV v = arbitraryApex(Svertices);\n\n\t\tlog.info(\"Selected arbitrary vertex \" + v);\n\n\t\t//find vertices v1 and vp+1 as vertices on S adjacent to v\n\t\tV v1, vp_1;\n\t\tint index = Svertices.indexOf(v);\n\t\tint next = (index + 1) % Svertices.size();\n\t\tint previous = index - 1;\n\t\tif (previous == -1)\n\t\t\tprevious = Svertices.size() - 1;\n\n\t\tv1 = Svertices.get(Math.min(next, previous));\n\t\tvp_1 = Svertices.get(Math.max(next, previous));\n\n\t\tlog.info(\"Previous \" + v1);\n\t\tlog.info(\"Next \" + vp_1);\n\n\t\t//remove v, determine which vertices are adjacent to it\n\n\t\tList<V> adjacentVertices = new ArrayList<V>();\n\t\tadjacentVertices.addAll(G.adjacentVertices(v));\n\t\tlog.info(\"Adjacent vertices: \" + adjacentVertices);\n\t\tG.removeVertex(v);\n\t\tlog.info(\"Removed vertex \" + v);\n\t\tlog.info(G);\n\n\n\t\t//divide the G into blocks and find cut vertices\n\n\t\tList<V> cutVertices = G.listCutVertices();\n\t\tList<Graph<V, E>> blocks = G.listBiconnectedComponents();\n\t\tlog.info(\"Cut vertices: \" + cutVertices);\n\t\tlog.info(\"Blocks: \" + blocks);\n\n\t\tList<V> vis = new ArrayList<V>();\n\t\t//vis.add(v1);\n\t\tvis.addAll(cutVertices);\n\t\tvis.add(vp_1);\n\n\t\t//v1 is in B1\n\t\t//Vp+1 is in Bp\n\t\t//Vi is in Bi-1 and Bi\n\t\t//vi , 2<=i<=p is a cut vertex if G'\n\t\tV currentV = v1;\n\n\t\t//Step 2 - Draw each block bi convex\n\n\t\t//Step 2.1 Determine Si*\n\t\t//when S* was found, positions of its vertices were found as well\n\t\t//so we only need to find position of vertices not on S\n\t\t//Locate the vertices in V(Si) - V(S) in the interiors of the triangle\n\t\t//v*v1*vi+1 (cut vertices + 2 connected to v at the beginning and end)\n\t\t//in such way that the vertices adjacent to v are apices of convex polygon Si*\n\t\t//and the others are on the straight line segments\n\n\t\t//Step 2.2\n\t\t//recursively call procedure Draw(bi,Si, Si*)\n\n\t\tList<E> blockEdgesOnS = new ArrayList<E>();\n\t\tList<E> otherBlockEdges = new ArrayList<E>();\n\t\tList<V> verticesOnS = new ArrayList<V>();\n\t\tList<V> SiVerticesNotOnSAdjToV = new ArrayList<V>();\n\t\tList<V> SiVerticesNotOnSNotAdjToV = new ArrayList<V>();\n\n\t\twhile (blocks.size() > 0){\n\t\t\t//find the block which contains the current vertex\n\t\t\tGraph<V, E> foundBlock = null;\n\t\t\tfor (Graph<V, E> block : blocks)\n\t\t\t\tif (block.getVertices().contains(currentV)){\n\t\t\t\t\tfoundBlock = block;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tblocks.remove(foundBlock);\n\t\t\tlog.info(\"Block \" + foundBlock);\n\n\t\t\t//find the next vertex (the one both on S and in the block)\n\t\t\tV otherVertex = null;\n\t\t\tfor (V sVertex : vis)\n\t\t\t\tif (foundBlock.getVertices().contains(sVertex)){\n\t\t\t\t\totherVertex = sVertex;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\n\t\t\t//now that the current block was determined\n\t\t\t//find its extendable facial cycle\n\t\t\t//for each Bi, Si is the union of Vi-Vi+1 path on S and on the block not counting edges of S\n\t\t\tblockEdgesOnS.clear();\n\t\t\totherBlockEdges.clear();\n\t\t\t//also form a list of all vertices which are on S\n\t\t\t//it will later be used to calculate the positions of other vertices\n\t\t\t//on Si and not on S\n\t\t\tverticesOnS.clear();\n\n\t\t\tfor (E e : foundBlock.getEdges()){\n\t\t\t\tif (S.contains(e))\n\t\t\t\t\tblockEdgesOnS.add(e);\n\t\t\t\telse\n\t\t\t\t\totherBlockEdges.add(e);\n\t\t\t\tif (S.contains(e.getDestination()))\n\t\t\t\t\tverticesOnS.add(e.getDestination());\n\t\t\t\tif (S.contains(e.getOrigin()))\n\t\t\t\t\tverticesOnS.add(e.getOrigin());\n\n\t\t\t}\n\n\t\t\tverticesOnS.remove(currentV);\n\t\t\tverticesOnS.remove(otherVertex);\n\n\t\t\tlog.info(\"S: \" + S);\n\t\t\tlog.info(\"Block edges on S: \" + blockEdgesOnS);\n\t\t\tlog.info(\"Other block edges: \" + otherBlockEdges);\n\n\n\t\t\tif (otherBlockEdges.size() > 0){\n\t\t\t\tdijkstra.setEdges(otherBlockEdges);\n\t\t\t\t//exclude vertices on S in the block \n\t\t\t\t//List<E> otherPath = dijkstra.getPath(currentV, otherVertex, verticesOnS).getPath();\n\t\t\t\t//we need to find a path from the two vertices on the facial cycle\n\t\t\t\t//but no edges from the cycle should be on it\n\t\t\t\t//and there should be no edges between a vertex on the path\n\t\t\t\t//and a vertex on the facial cycle\n\t\t\t\t//not counting the two cut vertices\n\n\t\t\t\t//set adjacent in such way that those edges connecting a vertex to a vertex on S are given priority\n\t\t\t\t//as long as they are not in the block\n\t\t\t\t//skip edges on S that are in the block and those which connect a vertex to an edge\n\t\t\t\t//in the block and on S\n\n\t\t\t\tif (currentV != otherVertex){\n\t\t\t\t\tprepareAdjacencyLists(currentV, otherVertex, foundBlock, graph, Svertices, blockEdgesOnS);\n\n\t\t\t\t\tif (foundBlock.getEdges().size() > 1){\n\t\t\t\t\t\t\tList<E> otherPath = TraversalUtil.circularNoCrossingsPath(currentV, otherVertex, foundBlock.getAdjacentLists(), true, Svertices, blockEdgesOnS);\n\t\t\t\t\t\t\tlog.info(\"Other path: (from \" + currentV + \" to \" + otherVertex + \": \" + otherPath);\n\t\t\t\t\t\t\tblockEdgesOnS.addAll(otherPath);\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//form Si and Si vertices, which will be used during the recursive call\n\n\t\t\tList<E> Si;\n\t\t\tList<V> SiVertices;\n\n\t\t\tif (blockEdgesOnS.size() > 1){\n\n\t\t\t\tdijkstra.setEdges(blockEdgesOnS);\n\t\t\t\tE first = blockEdgesOnS.get(0);\n\t\t\t\tblockEdgesOnS.remove(0);\n\t\t\t\tPath<V,E> path = dijkstra.getPath(first.getDestination(), first.getOrigin());\n\t\t\t\tSi = path.getPath();\n\t\t\t\tSiVertices = path.pathVertices();\n\t\t\t\tSi.add(first);\n\t\t\t\tlog.info(\"Resulting path \" + Si);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSi = blockEdgesOnS;\n\t\t\t\tSiVertices = new ArrayList<V>();\n\t\t\t\tfor (E e : blockEdgesOnS){\n\t\t\t\t\tif (!SiVertices.contains(e.getOrigin()))\n\t\t\t\t\t\tSiVertices.add(e.getOrigin());\n\t\t\t\t\tif (!SiVertices.contains(e.getDestination()))\n\t\t\t\t\t\tSiVertices.add(e.getDestination());\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//we know positions of Si vertices which are on S\n\t\t\t//it's now necessary to determine positions of those which are not\n\t\t\t//for each such vertex, do the following:\n\t\t\t//if it is adjacent to v (previously selected arbitrary apex)\n\t\t\t//make it an apex of the polygon (for the block) and inside triangle v-vi-vi+1\n\t\t\t//else, place it on a straight line segment\n\n\t\t\tSiVerticesNotOnSAdjToV.clear();\n\t\t\tSiVerticesNotOnSNotAdjToV.clear();\n\n\t\t\tlog.info(\"S vertices: \" + Svertices);\n\n\t\t\t//exclude already positioned vertices, they don't need to be moved\n\t\t\t//happens if a vertex is not on S of the current block, but is of some previous ones\n\t\t\t//don't more it in that case\n\n\n\t\t\tV previousOrigin = null;\n\t\t\tV previousDestination = null;\n\n\t\t\tfor (E e : otherBlockEdges){\n\t\t\t\tV origin = e.getOrigin();\n\t\t\t\tV destination = e.getDestination();\n\n\n\t\t\t\tif (!positions.containsKey(origin) && origin != previousOrigin && origin != previousDestination && !Svertices.contains(origin)){\n\t\t\t\t\tif (adjacentVertices.contains(origin)){\n\t\t\t\t\t\tif (!SiVerticesNotOnSAdjToV.contains(origin))\n\t\t\t\t\t\t\tSiVerticesNotOnSAdjToV.add(origin);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tif (!SiVerticesNotOnSNotAdjToV.contains(origin))\n\t\t\t\t\t\t\tSiVerticesNotOnSNotAdjToV.add(origin);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (!positions.containsKey(destination) && destination != previousOrigin && origin != previousDestination && !Svertices.contains(destination)){\n\t\t\t\t\tif (adjacentVertices.contains(destination)){\n\t\t\t\t\t\tif (!SiVerticesNotOnSAdjToV.contains(destination))\n\t\t\t\t\t\t\tSiVerticesNotOnSAdjToV.add(destination);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tif (!SiVerticesNotOnSNotAdjToV.contains(destination))\n\t\t\t\t\t\t\tSiVerticesNotOnSNotAdjToV.add(destination);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpreviousOrigin = origin;\n\t\t\t\tpreviousDestination = destination;\n\n\t\t\t}\n\n\t\t\tlog.info(\"Vertices not on S adjacent to v \" + SiVerticesNotOnSAdjToV);\n\t\t\tlog.info(\"Vertices not on S not adjacent to v \" + SiVerticesNotOnSNotAdjToV);\n\n\n\t\t\tif (SiVerticesNotOnSAdjToV.size() > 0)\n\t\t\t\tpositionVerticesAsApices(currentV, otherVertex,v, positions, Si, SiVerticesNotOnSAdjToV);\n\n\t\t\tList<V> apices = new ArrayList<V>();\n\t\t\tfor (V vert : SiVertices)\n\t\t\t\tif (!SiVerticesNotOnSNotAdjToV.contains(vert))\n\t\t\t\t\tapices.add(vert);\t\n\n\t\t\tlog.info(\"Si \" + SiVertices);\n\n\t\t\tif (SiVerticesNotOnSNotAdjToV.size() > 0)\n\t\t\t\tpositionVerticesOnStraightLineSegments(Si, positions);\n\n\t\t\t//don't call draw if all vertices have been positioned\n\t\t\tif (SiVertices.size() != foundBlock.getVertices().size())\n\t\t\t\tdraw(foundBlock, Si, SiVertices, positions);\n\n\t\t\tvis.remove(otherVertex);\n\t\t\tcurrentV = otherVertex;\n\n\t\t}\n\t}", "public Vertex(int label) {\r\n isVisited = false;\r\n this.label = label;\r\n }", "public void startPosition();", "@Override\r\n \tpublic final int getStartPos() {\r\n \t\treturn sourceStart;\r\n \t}", "public Vector begin()\n\t{\n\t\treturn ray.origin;\n\t}", "public Vertex(int x, int y) {\r\n this.x = x;\r\n this.y = y;\r\n }", "public void breadthFirstTraversal(final int startPoint) {\n\t\tfinal boolean[] isVerticesVisited = new boolean[adjacencyList.length];\n\t\tfinal Queue<Integer> queue = new LinkedList<>();\n\n\t\tisVerticesVisited[startPoint] = true;\n\t\tqueue.add(startPoint);\n\n\t\tint selectedVertice;\n\t\tint vertice;\n\t\twhile (!queue.isEmpty()) {\n\t\t\tselectedVertice = queue.poll();\n\n\t\t\tSystem.out.print(selectedVertice + \" \");\n\n\t\t\tIterator<Integer> edgeIterator = adjacencyList[selectedVertice].listIterator();\n\n\t\t\twhile (edgeIterator.hasNext()) {\n\t\t\t\tvertice = edgeIterator.next();\n\t\t\t\tif (!isVerticesVisited[vertice]) {\n\t\t\t\t\tqueue.add(vertice);\n\t\t\t\t\tisVerticesVisited[vertice] = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public int getMinimumVertexCount()\r\n {\r\n return theMinimumVertexCount;\r\n }", "private Vertex getVertexFor(Agent ag) {\n return getDataFor(ag).vertex;\n }", "void setStartSegment(int startSegment);", "private void setStartingVertexCity(CityByDegrees vertexCity) {\r\n\t\tthis.startingVertexCity = vertexCity;\r\n\t}", "boolean hasIsVertexOf();", "public void dfs (int start) {\n vertexList[start].wasVisited = true; // mark it\n print(start); stack.push(start);\n while (!stack.isEmpty()) {\n int b = getNextUnvisitedNeighbor(stack.peek());\n if (b==-1) stack.pop(); // no unvisited neighbor;\n else {\n vertexList[b].wasVisited = true;\n print(b); stack.push(b);\n }\n }\n // clear wasVisited marks\n }", "private void breadthFirstSearch (int start, int[] visited, int[] parent){\r\n Queue< Integer > theQueue = new LinkedList< Integer >();\r\n boolean[] identified = new boolean[getNumV()];\r\n identified[start] = true;\r\n theQueue.offer(start);\r\n while (!theQueue.isEmpty()) {\r\n int current = theQueue.remove();\r\n visited[current] = 1; //ziyaret edilmis vertexler queuedan cikarilan vertexlerdir\r\n Iterator < Edge > itr = edgeIterator(current);\r\n while (itr.hasNext()) {\r\n Edge edge = itr.next();\r\n int neighbor = edge.getDest();\r\n if (!identified[neighbor]) {\r\n identified[neighbor] = true;\r\n theQueue.offer(neighbor);\r\n parent[neighbor] = current;\r\n }\r\n }\r\n }\r\n }", "public void addVertex (){\t\t \n\t\tthis.graph.insert( new MyList<Integer>() );\n\t}", "private void addVerticesToGraph()\n\t{\n\t\tString vertexName;\n\n\t\tMap<Long, IOFSwitch> switches = this.floodlightProvider.getSwitches();\n\t\tfor(IOFSwitch s :switches.values())\n\t\t{\n\t\t\tvertexName =Long.toString(s.getId());\n\t\t\tm_graph.addVertex(vertexName);\t\t\t \t\t\t \n\t\t}\n\t\tSystem.out.println(m_graph);\n\t}", "private List<routerNode> getPathVertexList(routerNode beginNode, routerNode endNode) {\r\n\t\tTransformer<routerLink, Integer> wtTransformer; // transformer for getting edge weight\r\n\t\twtTransformer = new Transformer<routerLink, Integer>() {\r\n public Integer transform(routerLink link) {\r\n return link.getWeight();\r\n \t}\r\n };\t\t\r\n\r\n\t\t\r\n\t\tList<routerNode> vlist;\r\n\t\tDijkstraShortestPath<routerNode, routerLink> DSPath = \r\n\t \t new DijkstraShortestPath<routerNode, routerLink>(gGraph, wtTransformer);\r\n \t// get the shortest path in the form of edge list \r\n List<routerLink> elist = DSPath.getPath(beginNode, endNode);\r\n\t\t\r\n \t\t// get the node list form the shortest path\r\n\t Iterator<routerLink> ebIter = elist.iterator();\r\n\t vlist = new ArrayList<routerNode>(elist.size() + 1);\r\n \tvlist.add(0, beginNode);\r\n\t for(int i=0; i<elist.size(); i++){\r\n\t\t routerLink aLink = ebIter.next();\r\n\t \t \t// get the nodes corresponding to the edge\r\n \t\tPair<routerNode> endpoints = gGraph.getEndpoints(aLink);\r\n\t routerNode V1 = endpoints.getFirst();\r\n\t routerNode V2 = endpoints.getSecond();\r\n\t \tif(vlist.get(i) == V1)\r\n\t \t vlist.add(i+1, V2);\r\n\t else\r\n\t \tvlist.add(i+1, V1);\r\n\t }\r\n\t return vlist;\r\n\t}", "public XYPoint getSnakeHeadStartLocation();", "public VertexIterator(Iterator<PointF> source)\n {\n this.source = source;\n }", "public DijkstraSP(EdgeWeightedDigraph G, int s)\n {\n edgeTo = new DirectedEdge[G.V()];\n distTo = new double[G.V()];\n pq = new IndexMinPQ<Double>(G.V());\n for (int v = 0; v < G.V(); v++)\n distTo[v] = Double.POSITIVE_INFINITY;\n distTo[s] = 0.0;\n pq.insert(s, 0.0);\n while (!pq.isEmpty())\n relax(G, pq.delMin());\n }", "public Segment GetFirstSegment() { return cs1; }", "public Set<Vertex> pre(Vertex start){\n\t\tSet<Vertex> reach = new HashSet<Vertex>();\n\t\tif(this.edgesByEnd.get(start) == null)\n\t\t\treturn reach;\n\t\tfor(LabeledEdge trans : this.edgesByEnd.get(start)){\n\t\t\treach.add(trans.getStart());\n\t\t}\n\t\treturn reach;\n\t}", "void buildCity(VertexLocation vert);", "public String getVertex() {\n\t\treturn vertices.get(0);\n\t}", "private void parseVertex(String line) {\n\n String first_float = line.substring(2);\n first_float = first_float.trim();\n int second_space_index = first_float.indexOf(' ') + 1;\n String second_float = first_float.substring(second_space_index);\n second_float = second_float.trim();\n int third_space_index = second_float.indexOf(' ') + 1;\n String third_float = second_float.substring(third_space_index);\n third_float = third_float.trim();\n\n float vx = parseFloat(first_float.substring(0, second_space_index - 1));\n float vy = parseFloat(second_float.substring(0, third_space_index - 1));\n float vz = parseFloat(third_float);\n\n mMaxX = Math.max(mMaxX, vx);\n mMaxY = Math.max(mMaxY, vy);\n mMaxZ = Math.max(mMaxZ, vz);\n\n mMinX = Math.min(mMinX, vx);\n mMinY = Math.min(mMinY, vy);\n mMinZ = Math.min(mMinZ, vz);\n\n mVertices.add(vx);\n mVertices.add(vy);\n mVertices.add(vz);\n mLastVertexNumber++;\n\n if (mHaveMaterialColor) {\n mColors.add(mMaterialColor[0]);\n mColors.add(mMaterialColor[1]);\n mColors.add(mMaterialColor[2]);\n }\n }", "public abstract String beginGraphString();", "public Vertex getSource() {\n return source;\n }", "public Node getStart(){\n return start;\n }", "void setVertices(int vertices);", "public void setTo(Vertex<VV> vertex)\r\n { this.to = vertex; }", "public String toString(){\r\n String result = \"[ \";\r\n result = result + vertex + \" ]\";\r\n return result;\r\n }", "private void createVertices(int iX, int iY, int iXO, int iYO, int num, int increment) {\n int y = iY;\n if (num == 0 && increment == 0) {\n BracketNode last = new BracketNode(\"\", iX, y - 20, iXO, 20);\n nodes.add(last);\n getChildren().addAll(new Line(iX, iY, iX + iXO, iY), last);\n last.setName(currentBracket.getBracket().get(location));\n bracketMap.put(last, location);\n nodeMap.put(location, last);\n } else {\n ArrayList<BracketNode> aNodeList = new ArrayList<>();\n for (int i = 0; i < num; i++) {\n Point2D tl = new Point2D(iX, y);\n Point2D tr = new Point2D(iX + iXO, y);\n Point2D bl = new Point2D(iX, y + iYO);\n Point2D br = new Point2D(iX + iXO, y + iYO);\n BracketNode nTop = new BracketNode(\"\", iX, y - 20, iXO, 20);\n aNodeList.add(nTop);\n nodes.add(nTop);\n BracketNode nBottom = new BracketNode(\"\", iX, y + (iYO - 20), iXO, 20);\n aNodeList.add(nBottom);\n nodes.add(nBottom);\n Line top = new Line(tl.getX(), tl.getY(), tr.getX(), tr.getY());\n Line bottom = new Line(bl.getX(), bl.getY(), br.getX(), br.getY());\n Line right = new Line(tr.getX(), tr.getY(), br.getX(), br.getY());\n getChildren().addAll(top, bottom, right, nTop, nBottom);\n isTop = !isTop;\n y += increment;\n }\n ArrayList<Integer> tmpHelp = helper(location, num);\n for (int j = 0; j < aNodeList.size(); j++) {\n //System.out.println(currentBracket.getBracket().get(tmpHelp.get(j)));\n aNodeList.get(j).setName(currentBracket.getBracket().get(tmpHelp.get(j)));\n bracketMap.put(aNodeList.get(j), tmpHelp.get(j));\n nodeMap.put(tmpHelp.get(j), aNodeList.get(j));\n //System.out.println(bracketMap.get(aNodeList.get(j)));\n }\n }\n\n }", "private E3DTexturedVertex getVertexA(){\r\n\t\treturn vertices[0];\r\n\t}", "public Enumeration vertices();", "public void start(Node n) {}", "@Override\n public final int getBeginIndex() {\n return lower;\n }", "public EditModePathSegmentRenderer(ClientPathNode startNode) {\n super(startNode);\n }", "public GraphNode firstEndpoint() {\n\t\t\treturn start;\n\t\t}", "public void addVertices(int n);", "public String getVertexName()\n\t{\n\t\treturn vertexName ;\n\t}", "public Vertex(String label, int index){\n this.label = label;\n this.index = index;\n this.previous = null;\n visited = false;\n }", "void addVertex(Vertex v);" ]
[ "0.82258224", "0.7006405", "0.69083303", "0.6718481", "0.6695271", "0.66906875", "0.6494652", "0.6379401", "0.633126", "0.6263601", "0.6217383", "0.62114435", "0.6165354", "0.61503613", "0.61252064", "0.6087554", "0.6081886", "0.6071497", "0.605617", "0.6034937", "0.60146654", "0.5977816", "0.59692824", "0.5963109", "0.5881559", "0.5880588", "0.58772445", "0.5868421", "0.5846306", "0.5835878", "0.5808974", "0.5803862", "0.5801424", "0.5763237", "0.575824", "0.57514095", "0.5744699", "0.573513", "0.57295096", "0.57288325", "0.5718285", "0.570553", "0.5698691", "0.5694026", "0.56648874", "0.56593883", "0.56583655", "0.5633935", "0.5630023", "0.5626561", "0.5621927", "0.5620637", "0.5608078", "0.56077623", "0.5605676", "0.55880773", "0.5577351", "0.5572928", "0.5543742", "0.5535042", "0.55236924", "0.55204433", "0.5514008", "0.5508855", "0.5496755", "0.54956573", "0.5490497", "0.5480872", "0.54685855", "0.5462661", "0.5460002", "0.54583466", "0.5454222", "0.5450679", "0.5448752", "0.54362255", "0.5434065", "0.5433473", "0.5431722", "0.5430195", "0.54290223", "0.54274744", "0.5420256", "0.54085076", "0.5406192", "0.5404925", "0.539716", "0.53944606", "0.5389347", "0.53883564", "0.5382269", "0.53814894", "0.537858", "0.53734577", "0.5359083", "0.53576136", "0.5351847", "0.53516674", "0.5350073", "0.53495026", "0.53468645" ]
0.0
-1
Method to get calendar id.
public String getCalenderId() { return calenderId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Long getCalendarId();", "public int getC_Calendar_ID() {\n\t\tInteger ii = (Integer) get_Value(\"C_Calendar_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}", "private long getExistingCalendarId() {\n\t\tlong calID = 0;\n\n\t\tCursor cur = null;\n\t\tContentResolver cr = getContentResolver();\n\t\tUri uri = Calendars.CONTENT_URI;\n\t\tString selection = \"((\" + Calendars.ACCOUNT_NAME + \" = ?) AND (\"\n\t\t\t\t+ Calendars.ACCOUNT_TYPE + \" = ?) AND (\"\n\t\t\t\t+ Calendars.OWNER_ACCOUNT + \" = ?))\";\n\t\tString[] selectionArgs = new String[] { EMAIL_ID,\n\t\t\t\t\"com.google\", EMAIL_ID };\n\t\t// Submit the query and get a Cursor object back.\n\t\tcur = cr.query(uri, EVENT_PROJECTION, selection, selectionArgs, null);\n\n\t\t// Use the cursor to step through the returned records\n\t\twhile (cur.moveToNext()) {\n\t\t\tcalID = 0;\n\n\t\t\tString displayName = null;\n\t\t\tString accountName = null;\n\t\t\tString ownerName = null;\n\n\t\t\t// Get the field values\n\t\t\tcalID = cur.getLong(PROJECTION_ID_INDEX);\n\t\t\tdisplayName = cur.getString(PROJECTION_DISPLAY_NAME_INDEX);\n\t\t\taccountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);\n\t\t\townerName = cur.getString(PROJECTION_OWNER_ACCOUNT_INDEX);\n\n\t\t}\n\t\treturn calID;\n\t}", "public SelectId<String> retrieveCalendarId() {\n return calendarId;\n }", "public String getCalId() {\n return calId;\n }", "private String getGoogleCalendarID(Site site) {\n\n\t\tString gcalid = null;\n\t\t\n\t\t// get the Google Calendar ID and use it if found\n\t\tgcalid = site.getProperties().getProperty(SakaiGCalendarServiceStaticVariables.GCALID);\n\t\t\n\t\tif ( gcalid != null && !gcalid.isEmpty() )\n\t\t\treturn gcalid;\n\t\t\n\t\treturn null;\n\t}", "@Override\n\tpublic String calendarReference(String context, String id) {\n\t\tSite site = getSite();\n\t\t// Retrieve Google calendar id from site properties\n\t\tString gcalid = site.getProperties().getProperty(SakaiGCalendarServiceStaticVariables.GCALID);\t\n\t\treturn gcalid;\n\t}", "public int getIdCalendario() {\n\t\treturn idCalendario;\n\t}", "private long getLocalCalendarId() {\n\n\t\tString[] projection = new String[] { Calendars._ID };\n\n\t\tString selection = \"((\" + Calendars.ACCOUNT_NAME + \" = ?) AND (\"\n\t\t\t\t+ Calendars.ACCOUNT_TYPE + \" = ?))\";\n\n\t\t// use the same values as above:\n\n\t\tString[] selArgs = new String[] { PATIENT_ACCOUNT_NAME,\n\t\t\t\tCalendarContract.ACCOUNT_TYPE_LOCAL };\n\n\t\tCursor cursor = getContentResolver().query(Calendars.CONTENT_URI,\n\t\t\t\tprojection, selection, selArgs, null);\n\n\t\tif (cursor.moveToFirst()) {\n\n\t\t\treturn cursor.getLong(0);\n\n\t\t} else {\n\t\t\tSystem.out.println(\"Cursor did not return any values\");\n\t\t}\n\n\t\treturn -1;\n\n\t}", "void setCalendarId(Long calendarId);", "public static long getCalendarID(FragmentActivity fa){\n\t\t\n\t\tif(calId == -1){\n\t\t\t// Run query\n\t\t\tCursor cur = null;\n\t\t\tContentResolver cr = fa.getContentResolver();\n\t\t\tUri uri = Calendars.CONTENT_URI; \n\t\t\tString selection = \"((\" + Calendars.ACCOUNT_NAME + \" = ?) AND (\" \n\t\t\t + Calendars.ACCOUNT_TYPE + \" = ?) AND (\"\n\t\t\t + Calendars.OWNER_ACCOUNT + \" = ?))\";\n\n\t\t\t// Hard coded values before profile db table was entered. \n\t\t\t//\t\t\tString[] selectionArgs = new String[] { \"[email protected]\", \"com.google\",\n\t\t\t//\t\t\t \"[email protected]\"}; \n\t\t\t\n\t\t\tString email = MainActivity.mDBHelper.getEmail();\n\t\t\tLog.e(\"ReminderCalendarHelper.java\", \"Email: \" + email);\n\t\t\t\n\t\t\tif ( email == null || email == \"\")\n\t\t\t\temail = \"[email protected]\";\n\t\t\t\n\t\t\tString[] selectionArgs = new String[] { email, \"com.google\",\n\t\t\t\temail}; \n\t\t\t\n\t\t\t// Submit the query and get a Cursor object back. \n\t\t\tcur = cr.query(uri, EVENT_PROJECTION, selection, selectionArgs, null);\n\t\t\t// Use the cursor to step through the returned records\n\t\t\twhile (cur.moveToNext()) {\n\t\t\t long cid = 0;\n\t\t\t String displayName = null;\n\t\t\t String accountName = null;\n\t\t\t String ownerName = null;\n\t\t\t \n\t\t\t // Get the field values\n\t\t\t cid = cur.getLong(PROJECTION_ID_INDEX);\n\t\t\t displayName = cur.getString(PROJECTION_DISPLAY_NAME_INDEX);\n\t\t\t accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);\n\t\t\t ownerName = cur.getString(PROJECTION_OWNER_ACCOUNT_INDEX);\n\n\t\t\t Log.e(\"CalendarHelper\", \"Id = \" + cid + \" name - \" + displayName + \n\t\t\t \t\t\" accnt - \" + accountName + \" owner - \" + ownerName);\n\t\t\t calId = cid;\n\t\t\t}\n\t\t} \n\t\t\n\t\treturn calId;\n\t}", "public native final Calendar id(String val) /*-{\n\t\tthis[\"id\"] = val;\n\t\treturn this;\n\t}-*/;", "public void setCalendarId(final String val) {\n if (Util.checkNull(val) != null) {\n calendarId.setA(val);\n }\n }", "@GET\n @Path(\"{id}\")\n Calendar getCalendarById(@PathParam(\"id\") Long id);", "public String getDayOfTheWeek(){\r\n Calendar calendar = Calendar.getInstance();\r\n int day = calendar.get(Calendar.DAY_OF_WEEK);\r\n String calendar_Id = null;\r\n switch (day) {\r\n case Calendar.SUNDAY:\r\n calendar_Id =\"(90300)\";\r\n break;\r\n case Calendar.MONDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.TUESDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.WEDNESDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.THURSDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.FRIDAY:\r\n calendar_Id =\"(90400,90448)\";\r\n break;\r\n case Calendar.SATURDAY:\r\n calendar_Id =\"(90200,90238)\";\r\n break;\r\n }\r\n\r\n return calendar_Id;\r\n }", "private String getCalendarIdFromSummary (String summary) {\n try {\n String pageToken = null;\n do {\n CalendarList calendarList = mService.calendarList().list().setPageToken(pageToken).execute();\n List<CalendarListEntry> items = calendarList.getItems();\n\n for (CalendarListEntry calendarListEntry : items) {\n if (calendarListEntry.getSummary().equals(summary)) {\n return calendarListEntry.getId();\n }\n }\n\n pageToken = calendarList.getNextPageToken();\n } while (pageToken != null);\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n\n return \"\";\n }", "Calendar getCalendar();", "public String getMeetingIdByEventId(String eventId) throws Exception;", "String organizationId();", "public static String getDateId() {\n Date date = new Date();\n String dateFormatStyle = \"yy-MM-dd-HH-mm-ss\";\n SimpleDateFormat sdf = new SimpleDateFormat(dateFormatStyle);\n String dateFormat = sdf.format(date);\n String[] formatedDate = dateFormat.split(\"-\");\n int i = 0;\n String year = formatedDate[i];\n String month = formatedDate[++i];\n String cDate = formatedDate[++i];\n String hour = formatedDate[++i];\n String minute = formatedDate[++i];\n String second = formatedDate[++i];\n return alphanum[Integer.parseInt(year)]\n .concat(alphanum[Integer.parseInt(month)])\n .concat(alphanum[Integer.parseInt(cDate)])\n .concat(alphanum[Integer.parseInt(hour)])\n .concat(alphanum[Integer.parseInt(minute)])\n .concat(alphanum[Integer.parseInt(second)]);\n }", "public final String getCalendarName() {\n return calendarName;\n }", "java.lang.String getDocumentId();", "java.lang.String getAoisId();", "java.lang.String getID();", "private YFCDocument getCalendarDetailsInDoc (String organizationCode,String calenderId) {\n\t\tYFCDocument getCalendarXml = YFCDocument.createDocument(XMLLiterals.CALENDAR);\n\t\tYFCElement calendarEle = getCalendarXml.getDocumentElement();\n\t\tcalendarEle.setAttribute(XMLLiterals.ORGANIZATION_CODE, organizationCode);\n\t\tcalendarEle.setAttribute(XMLLiterals.CALENDER_ID, calenderId);\n\t\treturn getCalendarXml;\n\t}", "java.lang.String getFolderId();", "public String cal(Calendar calendar) {\r\n String calendari;\r\n calendari = calendar.get(Calendar.DAY_OF_MONTH) + \"-\" + calendar.get(Calendar.MONTH) + \"-\" + calendar.get(Calendar.YEAR);\r\n return calendari;\r\n }", "String getID();", "String getID();", "String getID();", "String getID();", "public String getCalendarName()\r\n {\r\n return (m_calendarName);\r\n }", "Integer getID();", "Integer getID();", "public String getToolId(){\n\t\treturn \"sakai.gcalendar\";\t\t\n\t}", "long getEncounterId();", "public String getCalendarString() {\n return calendarString;\n }", "String getGeneralID() throws ApplicationException;", "public Calendario getCalendar(){\r\n\t\treturn calendar;\r\n\t}", "public String getApplicationId();", "java.lang.String getBusinessId();", "@Override\n\tpublic org.sakaiproject.calendar.api.Calendar getCalendar(String ref)\n\t\t\tthrows IdUnusedException, PermissionException {\n\t\tSite site = null;\n\t\tif (ref == null){\n\t\t\tsite = getSite();\n\t\t}\n\t\telse{\n\t\t\tsite = getSite(ref);\n\t\t}\n\t\t// We use the e-mail id of the site creator since the Google calendar is created under this id.\n\t\tCalendar googleClient = getGoogleClient(site.getCreatedBy().getEmail());\n\t\treturn new SakaiGCalendarImpl(googleClient);\n\t}", "public Integer getCalendarDd() {\r\n return calendarDd;\r\n }", "protected String getID(){\n sharedPref = getSharedPreferences(AppCSTR.PREF_NAME, Context.MODE_PRIVATE);\n //Log.d(\"ID\", sharedPref.getString(\"id\", null));\n return sharedPref.getString(AppCSTR.ACCOUNT_ID, null);\n }", "int getID();", "int getID();", "int getID();", "int getID();", "int getID();", "int getID();", "int getID();", "int getID();", "int getID();", "int getID();", "int getID();", "public Integer getEventid() {\n return eventid;\n }", "Integer getRealmId();", "protected String getCourseID(){\n sharedPref = getSharedPreferences(AppCSTR.PREF_NAME, Context.MODE_PRIVATE);\n //Log.d(\"ID\", sharedPref.getString(\"id\", null));\n return sharedPref.getString(AppCSTR.ACCOUNT_COURSE, null);\n }", "public jkt.hrms.masters.business.MstrCalendar getCalendar () {\n\t\treturn calendar;\n\t}", "public java.lang.String getCrmId() {\n return crmId;\n }", "long getAdId();", "public static String id()\n {\n return _id;\n }", "String getLoginId();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "public int getAD_Client_ID();", "@ApiModelProperty(required = true, value = \"System number for this event\")\n @NotNull\n\n\n public Integer getId() {\n return id;\n }", "public long getID();", "java.lang.String getLoginId();", "String getCreatorId();", "private String getClientId()\n {\n String clientId = null;\n try {\n clientId = IdentificationLoader.usingDefault().getClientId();\n } catch (IOException e) {\n System.out.println(\"Could not load client ID\");\n e.printStackTrace();\n System.exit(1);\n }\n return clientId;\n }", "String getExistingId();", "public int getEventID()\n {\n return eventID;\n }", "int getLoginId();", "int getLoginId();", "int getLoginId();", "int getLoginId();", "int getLoginId();", "public String GiveEventID(){\n \tRandom x = new Random();\n \tString pool = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\";\n \tString newid = \"\";\n \tfor(int i = 0;i<26;i++){\n \t\tnewid+=pool.charAt(x.nextInt(36));\n \t}\n \tJSONArray ja = fetchAllNotes(TimeT.getName(),new String[] {TimeT.getFields()[0]},new String[] {newid});\n \tif(ja.length()!=0)\n \t\tnewid = GiveEventID();\n \treturn newid;\n \t\n }", "public int getC_Activity_ID();", "UUID getInitiativeId();", "public String getTicketId() {\n String ticketId = getParameter(CosmoDavConstants.PARAM_TICKET);\n if (ticketId == null) {\n ticketId = getHeader(CosmoDavConstants.HEADER_TICKET);\n }\n return ticketId;\n }", "@Id\n\t@Column(name=\"DataInicialCota\", nullable=false)\n\t@Temporal(TemporalType.DATE)\n\tpublic Date getId() {\n\t\tif(dataInicialCota != null){\n\t\t\treturn new Date(dataInicialCota.getTime());\n\t\t}\n\t\treturn null;\n\t}", "public final process.proxies.ChangeCalenderSelection getCalendarSelection()\r\n\t{\r\n\t\treturn getCalendarSelection(getContext());\r\n\t}", "public interface CalendarIDs {\n\n String SANTA_ANA_ID = \"thoughtworks.com_526f6f6d2d494e2d42322d53616e7461416e61@resource.calendar.google.com\";\n String PARADE_CAFE_ID = \"thoughtworks.com_34363632303338312d333030@resource.calendar.google.com\";\n}", "@PUT\n @Path(\"{id}\")\n @RolesAllowed({\"administrator\", \"user\", \"visitor\"})\n Response createOrUpdateCalendar(@PathParam(\"id\") Long id, Calendar calendar);", "String getIdentityId();", "String getGameId();", "int getDoctorId();", "int getDoctorId();" ]
[ "0.8895905", "0.7852582", "0.7709243", "0.7697371", "0.748775", "0.70242465", "0.69833416", "0.6873118", "0.68724805", "0.68033147", "0.6766998", "0.65555584", "0.6205237", "0.61898553", "0.60579705", "0.60557926", "0.60309124", "0.6017854", "0.6008711", "0.5991718", "0.5960765", "0.5944039", "0.5877054", "0.5875622", "0.58733934", "0.5851174", "0.58479816", "0.5834306", "0.5834306", "0.5834306", "0.5834306", "0.5821608", "0.58074456", "0.58074456", "0.5801014", "0.578161", "0.5779304", "0.5764", "0.5763065", "0.5724816", "0.57040626", "0.5702675", "0.5700966", "0.5665045", "0.5640365", "0.5640365", "0.5640365", "0.5640365", "0.5640365", "0.5640365", "0.5640365", "0.5640365", "0.5640365", "0.5640365", "0.5640365", "0.5639594", "0.561998", "0.5619171", "0.55957174", "0.5588742", "0.5587517", "0.5587305", "0.55718946", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.55550903", "0.5553458", "0.5546773", "0.55394423", "0.5532874", "0.55323464", "0.55269814", "0.55024076", "0.5500512", "0.5500512", "0.5500512", "0.5500512", "0.5500512", "0.5495589", "0.5490277", "0.54901564", "0.5476294", "0.5460957", "0.5454565", "0.5449138", "0.5442058", "0.54419124", "0.54328734", "0.54326123", "0.54326123" ]
0.7368009
5
Method to set calender id.
public void setCalenderId(String calenderId) { this.calenderId = calenderId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCalenderId() {\n\t\treturn calenderId;\n\t}", "void setCalendarId(Long calendarId);", "public void setCalendarId(final String val) {\n if (Util.checkNull(val) != null) {\n calendarId.setA(val);\n }\n }", "Long getCalendarId();", "public native final Calendar id(String val) /*-{\n\t\tthis[\"id\"] = val;\n\t\treturn this;\n\t}-*/;", "public String getCalId() {\n return calId;\n }", "public void setCalId(String calId) {\n this.calId = calId == null ? null : calId.trim();\n }", "public void setCalendar(Calendar cal) {\n this.cal = cal;\n }", "public void setCalendar(Calendar cal) {\n this.cal = cal;\n }", "public void setCalendar(Calendar cal) {\n this.cal = cal;\n }", "public void setC_Calendar_ID(int C_Calendar_ID) {\n\t\tif (C_Calendar_ID <= 0)\n\t\t\tset_Value(\"C_Calendar_ID\", null);\n\t\telse\n\t\t\tset_Value(\"C_Calendar_ID\", new Integer(C_Calendar_ID));\n\t}", "@Override\n\tpublic String calendarReference(String context, String id) {\n\t\tSite site = getSite();\n\t\t// Retrieve Google calendar id from site properties\n\t\tString gcalid = site.getProperties().getProperty(SakaiGCalendarServiceStaticVariables.GCALID);\t\n\t\treturn gcalid;\n\t}", "public BaseHrPrjSiteCalendar (java.lang.Integer id) {\n\t\tthis.setId(id);\n\t\tinitialize();\n\t}", "public void setId(Date dataInicialCota) {\n\t\tif(dataInicialCota != null){\n\t\t\tthis.dataInicialCota = new Date(dataInicialCota.getTime());\n\t\t} else{\n\t\t\tthis.dataInicialCota = null;\n\t\t}\n\t}", "public SelectId<String> retrieveCalendarId() {\n return calendarId;\n }", "public void setSelectedCalendar(String calendarName) {\n }", "public void setIdAppointment(int idAppointment) {\n\t\tthis.idAppointment = idAppointment;\n\t}", "public int getIdCalendario() {\n\t\treturn idCalendario;\n\t}", "public void setMeetingCal(final BwCalendar val) {\n meetingCal = val;\n }", "public int getC_Calendar_ID() {\n\t\tInteger ii = (Integer) get_Value(\"C_Calendar_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}", "public void setId(String agendaItemId) {\r\n if (agendaItemId != null && StringUtils.isBlank(agendaItemId)) {\r\n throw new IllegalArgumentException(\"agendaItemId must be null or non-blank\");\r\n }\r\n\t\t\tthis.id = agendaItemId;\r\n\t\t}", "private void setupSpalteID() {\r\n\t\t// legt fest, welches Attribut von Arbeitspaket in dieser Spalte angezeigt wird\r\n\t\tspalteID.setCellValueFactory(new PropertyValueFactory<>(\"idExtern\"));\r\n\r\n\t\t// lässt die Zelle mit Hilfe der Klasse EditCell bei Tastatureingabe bearbeitbar\r\n\t\t// machen\r\n\t\tspalteID.setCellFactory(EditCell.<ArbeitspaketTableData>forTableColumn());\r\n\r\n\t\t// überschreibt den alten Attributwert mit der User-Eingabe\r\n\t\tspalteID.setOnEditCommit(event -> {\r\n\t\t\tfinal String value = event.getNewValue() != null ? event.getNewValue() : event.getOldValue();\r\n\t\t\tevent.getTableView().getItems().get(event.getTablePosition().getRow()).setIdExtern(value);\r\n\t\t\ttabelle.refresh();\r\n\t\t});\r\n\t}", "public void setCalendarDay(int day)\n {\n this.currentCalendar.set(Calendar.DAY_OF_MONTH, day);\n }", "public void setId(int aMonthId) {\r\n\t\tid = aMonthId;\r\n\t}", "void addPreferedCalendar(String calendarId);", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setEventId(java.lang.String value) {\n validate(fields()[13], value);\n this.eventId = value;\n fieldSetFlags()[13] = true;\n return this;\n }", "public void setIdOverDay(int rdID, int c) {\n\t\t((BorrowDAL)dal).setIdOverDay(rdID,c);\r\n\t}", "public void setDay(Calendar cal) {\n this.cal = (Calendar) cal.clone();\n }", "public Event setId(String id) {\n this.id = id;\n return this;\n }", "public void setIdSet(int idSet) {\r\n this.idSet = idSet;\r\n }", "public void onSet(Calendar calendarSelected, Date dateSelected, int year,\n String monthFullName, String monthShortName, int monthNumber,\n int date, String weekDayFullName, String weekDayShortName,\n int hour24, int hour12, int min, int sec, String AM_PM) {\n\n }", "public void setCalDay() {\n\t\tfloat goal_bmr;\n\t\tif(gender==\"male\") {\n\t\t\tgoal_bmr= (float) (10 * (weight+loseGainPerWeek) + 6.25 * height - 5 * age + 5);\n\t\t}\n\t\telse {\n\t\t\tgoal_bmr=(float) (10 * (weight+loseGainPerWeek) + 6.25 * height - 5 * age - 161);\n\t\t}\n\t\tswitch (gymFrequency) {\n\t\tcase 0:calDay = goal_bmr*1.2;\n\t\t\t\tbreak;\n\t\tcase 1:\n\t\tcase 2:\n\t\tcase 3:calDay = goal_bmr*1.375;\n\t\t\t\tbreak;\n\t\tcase 4:\n\t\tcase 5:calDay = goal_bmr*1.55;\n\t\t\n\t\t\t\tbreak;\n\t\tcase 6:\n\t\tcase 7:calDay = goal_bmr*1.725;\n\t\t\t\tbreak;\n\t\t}\n\t}", "public void setPeriodicalId(Number value) {\n setAttributeInternal(PERIODICALID, value);\n }", "@PUT\n @Path(\"{id}\")\n @RolesAllowed({\"administrator\", \"user\", \"visitor\"})\n Response createOrUpdateCalendar(@PathParam(\"id\") Long id, Calendar calendar);", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n// myCalendar.set(Calendar.MONTH, monthOfYear);\n// myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void setId(final long id) {\n super.setId(id);\n }", "public void setEventID(int value) {\r\n this.eventID = value;\r\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel1();\n }", "public void setCalorie(Integer calorie) {\n this.calorie = calorie;\n }", "@Override\n public void onDateSet(DatePicker view, int year,\n int monthOfYear, int dayOfMonth) {\n cal.set(year, monthOfYear, dayOfMonth);\n\n edt.setText(dateFormatter.format(cal.getTime()));\n\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n currentDate.set(Calendar.YEAR, year);\n currentDate.set(Calendar.MONTH, monthOfYear);\n currentDate.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n //updateLabel();\n SimpleDateFormat sdf1 = new SimpleDateFormat(DATE_FORMAT_calender);\n Log.e(\"data123456789\",sdf1.format(currentDate.getTime()));\n updateAttendanceDetails();\n }", "private void setId(int value) {\n \n id_ = value;\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateDays();\n }", "public void setID(int id);", "void setId(int id) {\n this.id = id;\n }", "public void setId(int id){\r\n this.id = id;\r\n }", "public void setId(String eId) {\n\t\tmId = eId;\n\t}", "public void setTodayCalendar()\n {\n this.currentCalendar = Calendar.getInstance();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n\n\n }", "public void setId(Object id) {\n this.id = id;\n }", "public void setId(Object id) {\n this.id = id;\n }", "public void setCalendar (jkt.hrms.masters.business.MstrCalendar calendar) {\n\t\tthis.calendar = calendar;\n\t}", "@Override\r\n\tpublic void setId(String id) {\n\t\t\r\n\t}", "@Override\n public void setId(int id) {\n this.id = id;\n }", "@Override\r\n\tpublic void setId(final K id) {\n\t\tsuper.setId(id);\r\n\t}", "public void setId(String id) {\r\n\t\tsId = id;\r\n\t}", "public void setId(long id);", "public void setId(long id);", "public void setId(long id);", "public void setId(long id);", "void setId(int val);", "public void setId(int value) {\r\n this.id = value;\r\n }", "public void setId(String id)\n\t{\n\t\tm_sID=id;\t\n\t}", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel1();\n\n }", "public void setStaffID() {\r\n\t\t\t staffID = IDFactory.getID(\"ST\");\r\n\t\t}", "@Override\r\n\t\tpublic void setId(String id)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic void setId(long value) {\n super.setId(value);\n }", "private void setId(int value) {\n \n id_ = value;\n }", "void setReminder(int eventId, String eventEndDate, String eventType);", "public void setCal(Calendar cal) {\n\t\tthis.year = (short) cal.get(Calendar.YEAR);\r\n\t\tthis.month = (byte) (cal.get(Calendar.MONTH)+1);\r\n\t\tthis.day = (byte) cal.get(Calendar.DAY_OF_MONTH);\r\n\t\tthis.hh = (byte) cal.get(Calendar.HOUR_OF_DAY);\r\n\t\tthis.mm = (byte) cal.get(Calendar.MINUTE);\r\n\t\tthis.ss = (byte) cal.get(Calendar.SECOND);\r\n\t}", "private void setEmployeeID() {\n try {\n employeeID = userModel.getEmployeeID(Main.getCurrentUser());\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "void setId(int id);", "public void setAgendaId(String agendaId) {\r\n if (StringUtils.isBlank(agendaId)) {\r\n throw new IllegalArgumentException(\"agendaId is blank\");\r\n }\r\n\t\t\tthis.agendaId = agendaId;\r\n\t\t}", "public final native void setId(int id) /*-{\n\t\tthis.id = id;\n\t}-*/;", "public void setId(ID id){\r\n\t\tthis.id = id;\r\n\t}", "public void setId(int id){\n\t\tthis.id = id;\n\t}", "public void setCalorias(int calorias) {this.calorias = calorias;}", "public void setId(int id) {\r\n this.id = id;\r\n }", "public void setId(int id) {\r\n this.id = id;\r\n }", "public void setId(int id) {\r\n this.id = id;\r\n }", "public void setId(int id) {\r\n this.id = id;\r\n }", "@TargetApi(Build.VERSION_CODES.N)\n @Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n\tpublic void setId(int id) {\n\n\t}", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "public void setId(int value) {\n this.id = value;\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateLabel();\n }", "public void setId(final int id);", "public void setId (int id) {\r\n\t\tthis.id=id;\r\n\t}" ]
[ "0.7265264", "0.7229912", "0.72199553", "0.69518024", "0.68923235", "0.6708311", "0.65543425", "0.60475725", "0.5990292", "0.5990292", "0.5928077", "0.5870509", "0.5819312", "0.58092767", "0.579201", "0.57534", "0.5724156", "0.5711952", "0.5663384", "0.56510395", "0.5578271", "0.5563555", "0.555592", "0.5528732", "0.5524694", "0.5515015", "0.549003", "0.5476189", "0.546073", "0.5458725", "0.54526776", "0.5449161", "0.5449056", "0.5431151", "0.54235584", "0.5423503", "0.54081285", "0.5403005", "0.5402207", "0.5389436", "0.5371556", "0.53604305", "0.5359676", "0.5358247", "0.53571165", "0.53555787", "0.53518873", "0.5343825", "0.53424525", "0.5326509", "0.5326509", "0.5324652", "0.5322891", "0.5318467", "0.5318142", "0.53127974", "0.53110826", "0.53110826", "0.53110826", "0.53110826", "0.5307594", "0.53067863", "0.5305647", "0.5302395", "0.5293546", "0.52934", "0.52923036", "0.5289653", "0.5289393", "0.52860516", "0.5284629", "0.5284078", "0.52840537", "0.5283821", "0.5274382", "0.5272212", "0.52708596", "0.5268564", "0.5268564", "0.5268564", "0.5268564", "0.52665657", "0.5264401", "0.52633023", "0.52633023", "0.52633023", "0.52627075", "0.52616644", "0.52616644", "0.52616644", "0.52616644", "0.52616644", "0.52616644", "0.52616644", "0.52616644", "0.52616644", "0.52616644", "0.52616644", "0.5260372", "0.52595943" ]
0.6702242
6
Method to get title.
public String getTitle() { return title; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getTitle();", "java.lang.String getTitle();", "java.lang.String getTitle();", "java.lang.String getTitle();", "java.lang.String getTitle();", "public java.lang.String getTitle();", "public java.lang.String getTitle() {\n return title;\n }", "public java.lang.String getTitle() {\n return title;\n }", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "String getTitle();", "public java.lang.String getTitle() {\n return title;\n }", "public java.lang.String getTitle() {\n return title;\n }", "public java.lang.String getTitle() {\n return title;\n }", "public String getTitle()\r\n {\r\n return title;\r\n }", "public String getTitle()\r\n {\r\n return title;\r\n }", "public String getTitle()\n {\n return title;\n }", "public String getTitle()\n {\n return (this.title);\n }", "public String getTitle(){\n\n\t\treturn title;\n\t}", "public java.lang.Object getTitle() {\n return title;\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle() {\r\n return title;\r\n }", "public String getTitle()\n\t{\n\t\treturn title;\n\t}", "public String getTitle()\n\t{\n\t\treturn title;\n\t}", "private String getTitle() {\n return title;\n }", "public String getTitle() {\n \t\treturn title;\n \t}", "public String getTitle() \r\n\t{\r\n\t\treturn this.title;\r\n\t}", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle();", "public String getTitle()\r\n {\r\n return this.title;\r\n }", "public String getTitle() {\r\n return _title;\r\n }", "public String getTitle()\n {\n return title;\n }", "public String getTitle()\n {\n return title;\n }", "public String getTitle()\n {\n return title;\n }", "public String getTitle()\n {\n return title;\n }", "public String getTitle()\n {\n return title;\n }", "public String getTitle()\n {\n return title;\n }", "public java.lang.String getTitle()\n {\n return this.title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }", "public String getTitle() {\n return title;\n }" ]
[ "0.8800199", "0.8800199", "0.8800199", "0.8800199", "0.8800199", "0.8743203", "0.8595064", "0.85730803", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.855483", "0.85501593", "0.85501593", "0.85501593", "0.8479855", "0.8479855", "0.8455243", "0.8453336", "0.84484243", "0.8432985", "0.8422994", "0.8422994", "0.8422994", "0.8422994", "0.8422994", "0.8422994", "0.8422994", "0.8422692", "0.8421819", "0.8421819", "0.84217393", "0.8418784", "0.8412619", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8409744", "0.8394019", "0.83905774", "0.838389", "0.838389", "0.838389", "0.838389", "0.838389", "0.838389", "0.83833456", "0.8378795", "0.8378795", "0.8378795", "0.8378795", "0.8378795", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335", "0.8374335" ]
0.0
-1
Method to set title.
public void setTitle(String title) { this.title = title; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTitle(java.lang.String title);", "public void setTitle(String title) {\r\n this.title = title;\r\n }", "public void setTitle(String title) {\r\n this.title = title;\r\n }", "public void setTitle(String title) {\r\n this.title = title;\r\n }", "public void setTitle(String title) {\r\n this.title = title;\r\n }", "public void setTitle(String title) {\r\n _title = title;\r\n }", "public void setTitle(String title) { this.title = title; }", "public void setTitle(String title);", "public void setTitle(String title);", "public void setTitle(String title);", "public void setTitle(String title)\n {\n this.title = title;\n }", "public void setTitle(String title)\n {\n this.title = title;\n }", "public void setTitle(String title)\n {\n this.title = title;\n }", "public void setTitle(String title){\n this.title = title;\n }", "public void setTitle( String title )\n {\n _strTitle = title;\n }", "public void setTitle(String title){\n \tthis.title = title;\n }", "public void setTitle(String title){\n\t\tthis.title = title;\n\t}", "public void setTitle(String title) {\r\n\tthis.title = title;\r\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\r\n\t\tthis.title = title;\r\n\t}", "public void setTitle(String title) {\r\n\t\tthis.title = title;\r\n\t}", "public void setTitle(String title) {\r\n\t\tthis.title = title;\r\n\t}", "public void setTitle(String title) {\r\n\t\tthis.title = title;\r\n\t}", "public void setTitle(String title) {\r\n\t\tthis.title = title;\r\n\t}", "public void setTitle(Title title) {\r\n this.title = title;\r\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n this.title = title;\n }", "protected void setTitle(String title) {\n this.title = title;\n }", "public void setTitle( String title ) {\n\t\t_title = title;\n\t}", "public void setTitle(String title) {\n mTitle = title;\n }", "public void setTitle(String title) {\n\t\tthis.title = title; \n\t}", "void setTitle(java.lang.String title);", "@Override\r\n\tpublic void setTitle(String title) {\n\t\tthis.title = title;\r\n\t}", "@Override\r\n\t\tpublic void setTitle(String title)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "public void setTitle(String title) {\n\tthis.title = title;\n}", "private void setTitle(java.lang.String title) {\n System.out.println(\"setting title \"+title);\n this.title = title;\n }", "public void setTitle(String title)\n\t{\n\t\tthis.title = title;\n\t}", "public void setTitle(String title)\n {\n mTitle = title;\n }", "public void setTitle_(String title_) {\n this.title_ = title_;\n }", "@Override\n public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n mTitle = title;\n }", "public void setTitle(java.lang.String title)\n {\n this.title = title;\n }", "public void setTitle(final String title)\n {\n this.title = title;\n }", "public void setTitle(java.lang.String title) {\n this.title = title;\n }", "public void setTitle(java.lang.String title) {\n this.title = title;\n }", "public void setTitle(java.lang.String title) {\n this.title = title;\n }", "public void setTitle(final String title) {\n this.title = title;\n }", "@Override\n\tpublic void setTitle(String title) {\n\t\t\n\t}", "void setTitle(String title);", "void setTitle(String title);", "void setTitle(String title);", "void setTitle(String title);", "void setTitle(String title);", "public void setTitle(final String title) {\n\t\tthis.title = title;\n\t}", "public void setTitle(String title) {\r\n if (title != null) {\r\n this.title = title;\r\n }\r\n else{\r\n System.out.println(\"Not a valid title\");\r\n }\r\n }", "public void setTitle(java.lang.Object title) {\n this.title = title;\n }", "private void setWindowTitle(String title) {\n this.title = title;\n }", "public void setTitle(java.lang.String value) {\n this.title = value;\n }", "public void setTitle(String title){\n lblTitle.setText(title);\n }", "public void setTitle(String strTitle) { m_strTitle = strTitle; }", "void setTitle(@NonNull String title);", "@Element \n public void setTitle(String title) {\n this.title = title;\n }", "public void setTitle(String title) {\n m_title.setText(title);\n }", "protected void SetTitle(String newTitle){ title = newTitle; }", "public void setTitle(String newTitle)\r\n {\r\n title = newTitle;\r\n }", "public void setTitle(Title Title) {\n\t\ttitle = Title;\n\t}", "public void setTitle(String title) {\n this.title = title;\n etvTitle.setText(title);\n }", "@Override\n\tpublic void setTitle(String title) {\n\t\tmodel.setTitle(title);\n\t}", "@Override\r\n\tpublic void getTitle(String title) {\n\t\t\r\n\t}", "public void doSetTitle(String newTitle) \n {\n this.title = newTitle;\n }", "public void setTitle(String title) {\n\t\tthis.title = title;\n\t\tthis.dirtyAttributes.add(Constants.TITLE);\n\t}", "public void setTitle(String t)\n {\n title = t;\n }" ]
[ "0.8891645", "0.88820857", "0.88820857", "0.8866744", "0.8866744", "0.886592", "0.88635516", "0.8846108", "0.8846108", "0.8846108", "0.88428634", "0.88428634", "0.88428634", "0.8830891", "0.882991", "0.8829027", "0.88237303", "0.882366", "0.8821027", "0.88185376", "0.88185376", "0.88185376", "0.88185376", "0.88185376", "0.8814661", "0.88101625", "0.88101625", "0.88101625", "0.88101625", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.88096344", "0.8790151", "0.8783132", "0.8781063", "0.87798774", "0.876519", "0.8764906", "0.87594473", "0.8754719", "0.8750484", "0.87496597", "0.8746929", "0.8743467", "0.87383574", "0.86952186", "0.86949897", "0.8688345", "0.8655236", "0.8655236", "0.8655236", "0.8636455", "0.8623672", "0.8591577", "0.8591577", "0.8591577", "0.8591577", "0.8591577", "0.8566612", "0.85300505", "0.8516219", "0.8501199", "0.84702575", "0.84606063", "0.8456059", "0.83917296", "0.8338725", "0.8330017", "0.8323594", "0.83006716", "0.82936", "0.82795316", "0.8274476", "0.8258479", "0.82442737", "0.82352376", "0.82338727" ]
0.87287176
66
Method to get description.
public String getDescription() { return description; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getDescription(){\r\n \tString retVal = this.description;\r\n return retVal;\r\n }", "java.lang.String getDesc();", "String getDesc();", "protected String getDescription()\n {\n return description;\n }", "public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }", "public String getDescription(){\n\n //returns the value of the description field\n return this.description;\n }", "public String getDescription() {\n return (desc);\n }", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "public String getDescription() {\n return description; \n }", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public java.lang.String getDescription(){\r\n return this.description;\r\n }", "public java.lang.Object getDescription() {\n return description;\n }", "public String getDescription() {\r\n return _description;\r\n }", "public String getDescription()\r\n {\r\n return description;\r\n }", "public String getDescription () {\n return description;\n }", "public String getDescription()\r\n\t{\r\n\t\treturn description;\r\n\t}", "protected String getDescription() {\n return description;\n }", "public String getDesc()\r\n {\r\n return description;\r\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDescription() {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription() {\r\n return Description; \r\n }", "public java.lang.String getDescription() {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "@Override\n\tpublic String getdescription() {\n\t\treturn this.description.getDesc();\n\t}", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription()\n\t{\n\t\treturn description;\n\t}", "public String getDescription()\r\n {\r\n return this.aDescription ;\r\n }", "public String getDescription() {\n return _description;\n }", "public String getDescription() {\n return _description;\n }", "public String getDescription()\r\n {\r\n\treturn desc;\r\n }", "public String getDescription() {\n return desc;\n }", "public String getDescription(){\n return description;\n }", "public String getDescription(){\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return desc;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }" ]
[ "0.8889364", "0.8811099", "0.8809658", "0.87843716", "0.87797105", "0.8778363", "0.87388015", "0.8729288", "0.8729288", "0.8729288", "0.8729288", "0.8729288", "0.8729288", "0.8729288", "0.8729288", "0.8729288", "0.8727903", "0.8724018", "0.8724018", "0.8724018", "0.8724018", "0.8721986", "0.8718329", "0.87178314", "0.8717731", "0.870905", "0.8708018", "0.87057906", "0.87015116", "0.8693888", "0.8693888", "0.8693888", "0.8691819", "0.8691232", "0.86743903", "0.86724615", "0.8668662", "0.8663159", "0.8663159", "0.8663159", "0.8663159", "0.8663159", "0.8663159", "0.8663159", "0.8663159", "0.8663159", "0.86589694", "0.86589694", "0.86589694", "0.86589694", "0.86589694", "0.86589694", "0.86589694", "0.86589694", "0.86589694", "0.86589694", "0.86589694", "0.86589694", "0.86514145", "0.86484015", "0.86484015", "0.86484015", "0.86484015", "0.86484015", "0.86484015", "0.86484015", "0.86484015", "0.86484015", "0.86484015", "0.864564", "0.8643949", "0.8643032", "0.8643032", "0.86406934", "0.86378807", "0.8635578", "0.8635578", "0.8631617", "0.86291265", "0.86281174", "0.8622915", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304", "0.86109304" ]
0.0
-1
Method to set description.
public void setDescription(String description) { this.description = description; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDescription(String value) {\r\n this.description = value;\r\n }", "public void setDescription(String value) {\n this.description = value;\n }", "protected void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n mDescription = description;\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description){\n this.description = description;\n }", "public void setDescription(java.lang.String value) {\n this.description = value;\n }", "public void setDescription(String description) { this.description = description; }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String Description) {\n this.Description = Description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n \tthis.description = description;\n }", "public void setDescription(String description)\n {\n this.description = description;\n }", "void setDescription(final String description);", "void setDescription(java.lang.String description);", "public void setDescription( String description )\n {\n this.description = description;\n }", "public void setDescription( String description )\n {\n this.description = description;\n }", "public void setDescription( String description )\n {\n this.description = description;\n }", "public void setDescription(String description) {\r\n \t\tthis.description = description;\r\n \t}", "public void setDescription(String description) {\n _description = description;\n }", "public void setDescription(String newDesc){\n\n //assigns the value of newDesc to the description field\n this.description = newDesc;\n }", "public void setDescription (String description);", "public void setDescription(final String description);", "protected void setDescription(final String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description)\n {\n this.description = description;\n }", "public void setDescription(String description)\n {\n this.description = description;\n }", "public void setDescription(String description)\n {\n this.description = description;\n }", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description);", "public void setDescription(String description);", "public void setDescription(String description);", "public void setDescription(String description);", "public void setDescription(String description);", "public void setDescription(String description)\n {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description )\n {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\r\n // changeSupport.firePropertyChange(\"description\", oldDescription, description);\r\n }", "public void setDescription(String desc) {\n description = desc;\n }", "public void setDescription (String Description);", "public void setDescription (String Description);", "public void setDescription (String Description);", "public void setDescription (String Description);", "public void setDescription (String Description);", "public void setDescription (String Description);", "public void setDescription(final String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n\n this.description = description;\n }" ]
[ "0.8680026", "0.86342186", "0.8631432", "0.8624185", "0.8602823", "0.85780615", "0.85780615", "0.85753286", "0.8570393", "0.8564684", "0.8561857", "0.8561857", "0.8561857", "0.8561857", "0.8561857", "0.85604227", "0.85536397", "0.8552765", "0.85391206", "0.8538997", "0.85266215", "0.8524736", "0.8524736", "0.8524736", "0.85115683", "0.8511135", "0.8507812", "0.8505903", "0.8503118", "0.8500719", "0.8499184", "0.8499184", "0.8499184", "0.84917885", "0.84917885", "0.84917885", "0.84917885", "0.84917885", "0.84917885", "0.84917885", "0.84883475", "0.84883475", "0.84883475", "0.84883475", "0.84883475", "0.84859675", "0.8484743", "0.8484743", "0.8484743", "0.8484743", "0.8484743", "0.8482563", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8481696", "0.8478259", "0.84777373", "0.84691846", "0.84691846", "0.84691846", "0.84691846", "0.84691846", "0.84691846", "0.8467232", "0.84565794" ]
0.0
-1
Method to get event location.
public String getEventLocation() { return eventLocation; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getEventLocation() {\n\t\treturn location;\n\t}", "@Override\r\n\tpublic Location getEventLocation() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic Location getEventLocation() {\n\t\treturn null;\r\n\t}", "public int getLocation() {\n\t\tint location=super.getLocation();\n\t\treturn location;\n\t}", "public Location getLocation ( ) {\n\t\treturn extract ( handle -> handle.getLocation ( ) );\n\t}", "public String getLocation() {\r\n\t\treturn location; \r\n\t}", "public final Point getLocation() {\n return this.location ;\n }", "public String getLocation() {\n return this.location;\n }", "@Override\n\tpublic String getLocation() {\n\t\treturn this.location;\n\t}", "public Point getLocation() {\n\t\treturn location;\n\t}", "public String getLocation() {\r\n\t\treturn location;\r\n\t}", "public String getLocation() {\n\t\t\treturn location;\n\t\t}", "public String getLocation() {\n\t\treturn location;\n\t}", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return this.location;\n }", "public String getLocation() {\n return location;\n }", "public final String getLocation() {\n return location;\n }", "public String getLocation() {\r\n return location;\r\n }", "public int getLocation()\r\n {\n }", "public String getLocation() {\r\n return location;\r\n }", "public Point getLocation() { return loc; }", "public Location getLocation() \n\t{\n\t\treturn location;\n\t}", "public int getLocation()\r\n {\r\n return location;\r\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public String getLocation() {\n return location;\n }", "public Location getLocation() {\n\t\treturn loc;\n\t}", "@Override\n\tpublic String getLocation() {\n\t\treturn location;\n\t}", "public final Coord getLocation() {\n return location;\n }", "public String getLocation()\n {\n return location;\n }", "public Point getLocation() {\n return location;\n }", "public String getLocation() {\n\t\treturn mLocation;\n\t}", "public int getLocation() {\n\t\treturn 0;\n\t}", "public Location getLocation() {\n\t\treturn location;\n\t}", "public Location getLocation() {\r\n\t\treturn location;\r\n\t}", "public Location getLocation() {\r\n\t\treturn location;\r\n\t}", "public Location getLocation() {\n return loc;\n }", "public Location getLocation() {\n return loc;\n }", "public java.lang.String getLocation() {\n return location;\n }", "public String getLocation() { return location; }", "public String getLocation() { return location; }", "public java.lang.String getLocation() {\n return location;\n }", "public PVector getLocation()\n\t{\n\t\treturn location;\n\t}", "public Point getLocation() {\r\n return layout.location;\r\n }", "public Location getLocation() {\n return getLocation(null);\n }", "public Point getLocation();", "String getLocation();", "String getLocation();", "String getLocation();", "public String getLocation() throws ServiceLocalException {\n\t\treturn (String) this.getPropertyBag().getObjectFromPropertyDefinition(\n\t\t\t\tAppointmentSchema.Location);\n\t}", "String location();", "String location();", "String location();", "String location();", "String location();", "String location();", "String location();", "String location();", "SiteLocation getLocatedAt();", "public String getLocation() {\n return mLocation;\n }", "public Location getLocation() {\n return location;\n }", "public Location getLocation() {\n return location;\n }", "public Location getLocation() {\n return location;\n }", "public Location getLocation() {\n return location;\n }", "public Point getLocation() {\n\t\treturn location.getCopy();\n\t}", "public Coordinate getLocation() {\n return location;\n }", "public Location getLocation()\n\t{\n\t\treturn l;\n\t}", "@Override\n public PointF getLocation() {\n return location;\n }", "protected Location getLocation() {\r\n\t\treturn parser.getLocation();\r\n\t}", "public double getLocation(){\n\t\treturn location;\n\t}", "@Override\n public String getLocation() {\n return location;\n }", "public Point getLocation(){\r\n return super.getLocation();\r\n }", "@Override\n\tpublic Point getLocation() {\n\t\treturn position;\n\t}", "public native final String location() /*-{\n\t\treturn this[\"location\"];\n\t}-*/;", "public Point getLocation() {\n return currentLocation;\n }", "public String location() {\n return this.location;\n }", "public String location() {\n return this.location;\n }", "public String getLocation(){\n return this.location;\n }", "public Location getEyeLocation ( ) {\n\t\treturn extract ( handle -> handle.getEyeLocation ( ) );\n\t}", "Location getLocation();", "Location getLocation();", "Location getLocation();", "Location getLocation();", "public String getLocation(){\r\n return Location;\r\n }", "public Point getLocation() {\n Map<String, Long> map = (java.util.Map<String, Long>) driver.executeAtom(\n atoms.getLocationJs, false, this);\n return new Point(map.get(\"x\").intValue(), map.get(\"y\").intValue());\n }", "public Vector2f getLocation() {\r\n\t\treturn location.getLocation();\r\n\t}", "public Coordinate getLocation();" ]
[ "0.8293153", "0.72785616", "0.72785616", "0.710504", "0.7032745", "0.6957709", "0.6947931", "0.69479173", "0.6944378", "0.6943288", "0.6935472", "0.69167954", "0.69070864", "0.6900894", "0.6900894", "0.6900894", "0.6900894", "0.6900894", "0.68860286", "0.6884286", "0.6883709", "0.68744385", "0.68651533", "0.6849282", "0.6845467", "0.6840493", "0.68371564", "0.68371564", "0.68371564", "0.68371564", "0.68371564", "0.68371564", "0.68371564", "0.68371564", "0.68371564", "0.68371564", "0.68371564", "0.68371564", "0.6835025", "0.6815897", "0.6804846", "0.6800059", "0.6799574", "0.67947", "0.67918074", "0.67885756", "0.67818683", "0.677911", "0.677911", "0.675389", "0.675389", "0.6750723", "0.6749497", "0.6749497", "0.67277586", "0.67048645", "0.6702865", "0.6700163", "0.6699425", "0.66864294", "0.66864294", "0.66864294", "0.6680211", "0.66741234", "0.66741234", "0.66741234", "0.66741234", "0.66741234", "0.66741234", "0.66741234", "0.66741234", "0.6657094", "0.6647947", "0.6643683", "0.6643683", "0.6643683", "0.6643683", "0.66345537", "0.66319555", "0.6627871", "0.6614262", "0.66123223", "0.6592889", "0.65903896", "0.6584605", "0.6575986", "0.6575386", "0.65660125", "0.6564433", "0.6564433", "0.6560044", "0.6557444", "0.6551764", "0.6551764", "0.6551764", "0.6551764", "0.6551158", "0.6549597", "0.65318847", "0.65134346" ]
0.84211886
0
Method to set event location.
public void setEventLocation(String eventLocation) { this.eventLocation = eventLocation; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEventLocation(String newLoc) {\n\t\tthis.location = newLoc;\n\t}", "public void setLocation(Point p) {\n // Not supported for MenuComponents\n }", "public void setLocation(Point loc){\n\t\tthis.location = loc;\n\t}", "@Override\n public void setLocation(Point location) {\n pos = location;\n try {\n if (TerraGen.window != null && TerraGen.window.getClient() != null)\n TerraGen.window.getClient().pushGameChange(TerraGen.window.game.getMap().getTokens().indexOf(this), NetworkType.TOKEN, this);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public void setRobotLocation(Point p);", "public void setLocation(Point p)\n\t{\n\t\tsetLocation(p.x,p.y);\n\t}", "public void setLocation(Location loc) {\n this.location = loc;\n }", "@Override\n public void setLoc(Point p) {\n this.rect.setLocation(p);\n }", "void setLocation(int x, int y);", "public void setLocation(int loacation) {\n\t\tsuper.setLocation(loacation);\n\t}", "public void setLocation(Point location) {\n\t\tthis.location = location;\n\t}", "public void setLocation(float x, float y);", "public void setLocation(int X, int Y){\n \tlocation = new Point(X,Y);\n }", "public void setLocation( Point p ) {\r\n this.x = p.x;\r\n this.y = p.y;\r\n }", "@Override\n\tpublic void setLocation(long location) {\n\t\t_buySellProducts.setLocation(location);\n\t}", "public void setLocation(Point2D location) {\r\n\t\t\r\n\t\tif(this.getLocation() != null)\r\n\t\t\tsuper.setLocation(location);\r\n\t\t\r\n\t}", "protected final void windowLocationControl(){\n\t\tthis.setLocation(0, 0);\n\t}", "public void setLocation(Point newLocation) {\r\n this.p = newLocation;\r\n }", "Label setLocation();", "private void setLocation() {\n switch (getKey()) {\n case UP:\n this.y_location = -136.8 - 6;\n this.y_tile = -1;\n this.positive = false;\n break;\n case DOWN:\n this.y_location = 136.8 + 6;\n this.y_tile = 1;\n break;\n case LEFT:\n this.x_location = -140.6 - 6;\n this.x_tile = -1;\n this.positive = false;\n break;\n case RIGHT:\n this.x_location = 140.6 + 6;\n this.x_tile = 1;\n break;\n default:\n break;\n }\n }", "public void setLocation(Location location) {\n this.location = location;\n }", "public void setLocation(Location location) {\n this.location = location;\n }", "public void setLocation(Location location) {\n this.location = location;\n }", "public final void setLocation(Coord location) {\n this.location = location;\n }", "protected void setLocation(String location){\r\n this.location = location;\r\n }", "public void setLocation(Location location) {\r\n\t\tthis.location = location;\r\n\t}", "public void setLocation(int x, int y) {\r\n manager.setLocation(this, x, y);\r\n }", "public void setLocation(Coordinate coordinate);", "@Override\n public void setLocation(geo_location p) {\n this.location.setX(p.x());\n this.location.setY(p.y());\n this.location.setZ(p.z());\n }", "public void setLocation(Point newLocation) {\n\t\tresetLocation(newLocation);\n\t\tlocation.setLocation(newLocation);\n\t\tfirePropertyChange(Props.LOCATION_PROP.getValue(), null, location);\n\t}", "public void setLocation(Location location) \n\t{\n\t\tthis.location = location;\n\t}", "@Override\n \tpublic void onLocationChanged(Location location) {\n \t\tthis.location = location;\n \t}", "public void changed(LocationEvent arg0) {\n \t\t\t\t\t\t\n \t\t\t\t\t}", "@Override\n\tpublic void setEvent(Event event) {\n\t\tthis.currentEvent = event;\n\t}", "@Override\n public void setLocation(String location) {\n this.location = location;\n }", "public void setLocation(int someX, int someY) {\r\n\t\tx = someX;\r\n\t\ty = someY;\r\n\t}", "public void setLocation(String location);", "public String getEventLocation() {\n\t\treturn eventLocation;\n\t}", "protected void setLocation(Location newLocation)\n {\n if(location != null) {\n field.clear(location);\n }\n location = newLocation;\n field.place(this, newLocation);\n }", "private void setLocation(Location newLocation) {\n\t\tif (location != null) {\n\t\t\tfield.clear(location);\n\t\t}\n\t\tlocation = newLocation;\n\t\tfield.place(this, newLocation);\n\t}", "@Override\n public void setLocation(Point3D loc) throws InvalidDataException {\n myMovable.setLocation(loc);\n }", "@Override\n\tpublic void setLocation(Point location) throws CannotPlaceUserException {\n\t\tsuper.setLocation(location);\n\t}", "public void setLocation(URI location)\r\n/* 288: */ {\r\n/* 289:432 */ set(\"Location\", location.toASCIIString());\r\n/* 290: */ }", "@Override\n\tpublic void setLocation(String l) {\n\t\tlocation = l;\n\t\t\n\t}", "public void setLocation(ParentView view) {\r\n\t\tif (view instanceof BuildingView) {\r\n\t\t\tlocation = Location.BUILDING;\r\n\t\t} else if (view instanceof TownView) {\r\n\t\t\tlocation = Location.TOWN;\r\n\t\t} else if (view instanceof SafariView) {\r\n\t\t\tlocation = Location.SAFARI;\r\n\t\t} else if (view instanceof CaveView) {\r\n\t\t\tlocation = Location.CAVE;\r\n\t\t}\r\n\t}", "public void setLocation(Vec2f loc) {\n\t\tsuper.setLocation(loc);\n\t\tif (_shape != null) _shape.setLocation(loc);\n\t}", "public void setLocation(int popupX, int popupY) {\n displayWindow.setLocation(popupX, popupY);\n }", "public void setLoc(int x, int y) {\n locX = x;\n locY = y;\n }", "public void setLocation(Point2D p);", "private String makeEventLocation(String location) {\n return \"LOCATION:\" + location + \"\\n\";\n }", "public void setViewLocation(Point p) {\n\tviewport.setViewLocation(p.x, p.y);\n\t\n}", "public void handleEvent(Event event)\n \t{\n \t\tRectangle bounds = ti.getBounds();\n \t\tPoint point = tb.toDisplay(bounds.x, bounds.y + bounds.height);\n \t\tmu.setLocation(point);\n \t\tmu.setVisible(true);\n \t}", "public void setLocation(String location){\n mLocation = location;\n loadData();\n }", "public native final Calendar location(String val) /*-{\n\t\tthis[\"location\"] = val;\n\t\treturn this;\n\t}-*/;", "void setPosition(Point point);", "public String getEventLocation() {\n\t\treturn location;\n\t}", "public void setPosition(ScreenPoint p) {\n setX(p.x);\n setY(p.y);\n }", "@Override\n public void setCoord(PuertoPosition pp, Point2D newCoord) {\n layout.setLocation(pp, newCoord);\n }", "public void setDocumentLocation(L documentLocation);", "public void setLocation(int y)\r\n {\r\n pencil.setBounds(110, y, 26, 26);\r\n minus.setBounds(136, y, 26, 26);\r\n draggable.setBounds(20, y, 90, 16);\r\n visible.setLocation(164, y+5);\r\n checkbox.setLocation(136, y);\r\n text.setLocation(20,y);\r\n }", "@Override\n public void setDisplayedLocation(Location loc) {\n pane.setVvalue(loc.getyCoord());\n pane.setHvalue(loc.getxCoord());\n setCurrentFloor(loc.getLevel());\n displayedLocation = getDisplayedLocation();\n }", "public void setTargetLocation(Location targetLocation) \n {\n this.targetLocation = targetLocation;\n }", "@Override\r\n\tpublic Location getEventLocation() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic Location getEventLocation() {\n\t\treturn null;\r\n\t}", "private void setLocationRelativeTo(Object object) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "private void setLocationRelativeTo(Object object) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "public void setLocation(double locationX, double locationY) {\r\n\t\tlocation = new Point2D(locationX, locationY);\r\n\t}", "public void setObjectAtLocation(Point p, Object o);", "public void setLocation(Vector location);", "public void setLocation(String location){\n this.location = location;\n }", "public void setLocation(String location){\n this.location = location;\n }", "public void setTargetLocation(Point location) {\n this.targetLocation = location;\n }", "public void setPosition(Point newPosition);", "private void SetLocationRelative(Object object) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "public void setLocation(LatLng location) {\n\t\tthis.location = location;\n\t}", "public final void setLocation(Tile location) {\n this.location = location;\n }", "public void setLocation(LatLng _location) {\n location = _location;\n }", "@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\tPoint point=getLocation();\r\n\t\t\t\tsetLocation(point.x + (e.getX() - origin.x), point.y + (e.getY() - origin.y));\r\n\t\t\t}", "public void setLocation(String location) {\r\n this.location = location;\r\n }", "public void setLocation(String location) {\n inputParameters.Location = location;\n\n }", "void setPosition(double xPos, double yPos);", "public void setLocXY(int x, int y) {\n locX = x;\n locY = y;\n }", "private void updateLocation() {\n myLocationOnScreenRef.set(myComponent.getLocationOnScreen());\n }", "public void setLocation(String location) {\n this.location = location;\n }", "public void setLocation(String location)\n {\n this.location = location;\n }", "public void setLocation(double x, double y) {\n currentLocation.x = (int) x;\n currentLocation.y = (int) y;\n refreshLocation();\n }", "private void setTurtleLocToViewTurtleLoc()\n\t{\n\t\tSystem.out.println(\" in setTurtleLocToViewTurtleLoc \" + this.myTurtle.getLoc().getX() + \" \" +this.myTurtle.getLoc().getX());\n\t\tmyTurtle.setLocation(getViewTurtleLocation());\n\t}", "public void parameterChange(ParameterChangeEvent e) {\n\t\tsite.setLocation(new Location(((Double) latitude.getValue())\n\t\t\t\t.doubleValue(), ((Double) longitude.getValue()).doubleValue()));\n\t}", "public void setLocation(String location) {\r\n this.location = location;\r\n }", "public void setLocation(int x,int y)\n\t{\n\t\tthis.x=x;\n\t\tthis.y=y;\n\t}", "private void initLocation() {\n setLocationRelativeTo(null);\n }", "public synchronized void setAgentCoordinate() {\n agentCoordinate = getCoordinate(agentState);\n }", "public void setCurrentLocation(Location newLocation)\n\t{\n\t\tcurrentLocation = newLocation;\n\t}", "private void computeScreenLocation(MouseEvent mouseEvent)\r\n\t{\r\n\t\t\r\n\t\tscreenLocation.setLocation(mouseEvent.getX(), mouseEvent.getY());\r\n\t\tSwingUtilities.convertPointToScreen(screenLocation, (Component)mouseEvent.getSource());\r\n\t\r\n\t}", "public void setPosition(Point position);", "void setPosition(Unit unit, MapLocation position);", "public final void setLocation(String value) {\n location = value;\n }", "public void setLocation(final String location) {\n this.location = location;\n }", "public void setEvent(String event) {\r\n\t\tthis.event = event;\r\n\t}", "@Override\n\tpublic void onLocationChanged(Location arg0) {\n\n\t}" ]
[ "0.732465", "0.66325223", "0.6613867", "0.65639526", "0.648954", "0.64442694", "0.64152527", "0.63716626", "0.6367725", "0.6364714", "0.63414097", "0.6306825", "0.6304752", "0.6291774", "0.6283293", "0.6256207", "0.6242054", "0.6228486", "0.62224454", "0.62161475", "0.6212748", "0.6212748", "0.6212748", "0.62011415", "0.61921775", "0.61850476", "0.6164244", "0.61640906", "0.6162416", "0.6129197", "0.6123192", "0.6077704", "0.6066681", "0.60597795", "0.60594386", "0.6041617", "0.6037577", "0.6034053", "0.60328573", "0.60217553", "0.6007506", "0.599589", "0.597555", "0.5946159", "0.5939783", "0.5939007", "0.5917981", "0.5916078", "0.5903494", "0.5896715", "0.58943564", "0.58931893", "0.588957", "0.58834946", "0.5874357", "0.58624", "0.585473", "0.5842926", "0.5837339", "0.58228475", "0.58218575", "0.5795619", "0.5793084", "0.5793084", "0.57783866", "0.57783866", "0.5775973", "0.5757975", "0.5755787", "0.5753051", "0.5753051", "0.57491976", "0.57402635", "0.5735645", "0.57338345", "0.57321703", "0.57309705", "0.57295907", "0.5729323", "0.5724342", "0.5724266", "0.5708058", "0.57028526", "0.5692726", "0.56879616", "0.5683477", "0.5672037", "0.5669287", "0.56563866", "0.5652601", "0.56514364", "0.5645318", "0.5642481", "0.56402856", "0.56394047", "0.5633287", "0.56221145", "0.5614366", "0.5603318", "0.5601739" ]
0.71392316
1
Method to get start time.
public long getStartTime() { return startTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getStart_time() {\n return start_time;\n }", "public int getTimeStart() {\r\n return timeStart;\r\n }", "int getStartTime();", "int getStartTime();", "int getStartTime();", "public long getTimeStart()\n {\n return this.timeStart;\n }", "long getStartTime();", "public long getStartTime () {\n if (isPerformance) {\n return System.currentTimeMillis();\n }\n else\n {\n return 0;\n }\n }", "public java.lang.Long getStartTime() {\n return start_time;\n }", "public float getStartTime()\r\n\t{\r\n\t\tif (starttime != null)\r\n\t\t\treturn starttime.getTimeInMillis();\r\n\t\t\r\n\t\treturn 0;\r\n\t}", "public long getStartTime();", "public long getStartTime();", "public static long getStartTime() {\n return startTime;\n }", "public java.lang.Long getStartTime() {\n return start_time;\n }", "public java.lang.String getTime_start() {\r\n return time_start;\r\n }", "public long getStartTime ()\r\n {\r\n return startTime;\r\n }", "@Override\n\tpublic float getStartTime()\n\t{\n\t\treturn _tbeg;\n\t}", "public double getStartTime();", "public long getStartTime() {\r\n return startTime;\r\n }", "public Date getStartTime() {\n\t\treturn getOriginatingTime();\n\t}", "public long getStartTime() {\n return startTime;\n }", "public long getStartTime() {\n return startTime;\n }", "public long getStartTime() {\n return startTime;\n }", "public long getStartTime() {\n return startTime;\n }", "public String getTime_start() {\n return time_start;\n }", "public String getStarttime() {\n return starttime;\n }", "public String getStartTime();", "public String getStartTime();", "public Date getStarttime() {\n return starttime;\n }", "public Date getStarttime() {\n return starttime;\n }", "protected double getStartTime() {\n\t\treturn startTime;\n\t}", "public int getStartTime()\n\t{\n\t\treturn startTime;\n\t}", "public Date getStartTime() {\r\n\t\treturn startTime;\r\n\t}", "public Date getStartTime() {\n\t\treturn startTime;\n\t}", "public Date getStartTime() {\n\t\treturn startTime;\n\t}", "public Date getStartTime() {\n\t\treturn startTime;\n\t}", "public Date getStartTime() {\n\t\treturn startTime;\n\t}", "public double getStartTime() {\n return startTime;\n }", "public double getStartTime() {\n return startTime;\n }", "public double getStartTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STARTTIME$22);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "public int getStartTime()\n {\n if (isRepeated()) return start;\n else return time;\n }", "public String startTime(){\r\n\t\treturn startTime;\r\n\t}", "public Date getStartTime() {\n return startTime;\n }", "public Date getStartTime() {\n return startTime;\n }", "public Date getStartTime() {\n return startTime;\n }", "public LocalTime getStartTime () {\n\t\treturn DateUtils.toLocalTime(this.start);\n\t}", "long getStartTimestamp();", "public Date getStartTime() {\r\n return this.startTime;\r\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }", "Instant getStart();", "public String getStartTime() {\n return startTime;\n }", "public String getStartTime() {\n return startTime;\n }", "public String getStartTime() {\n return startTime;\n }", "public String getStartTime() {\n return startTime;\n }", "public Date getStartTime() {\n return this.startTime;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getStartTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(STARTTIME_PROP.get());\n }", "public String getStartTime() {\n return startTime;\n }", "public java.util.Date getStartTime() {\n return startTime;\n }", "@Override\n public LocalTime getStart() {\n return start;\n }", "java.util.Calendar getStartTime();", "long getStartTime() {\n return startTime;\n }", "public Integer getStartTime() {\n return startTime;\n }", "public long getBeginTime() { return beginTime; }", "public String getStartTime()\n {\n return this.startTime;\n }", "public long startTime();", "public LocalTime getStart() {\n\treturn start;\n }", "@Override\n\tpublic int getStartTime() {\n\t\treturn 0;\n\t}", "public java.util.Date getStartTime() {\n return this.startTime;\n }", "public java.util.Date getStartTime() {\n return this.startTime;\n }", "public java.util.Date getStartTime() {\n return this.startTime;\n }", "public long getStartTimestamp();", "public String getStartTime() {\n\t\treturn (new Parser(value)).getString();\n\t}", "public String getBeginTime() {\r\n return beginTime;\r\n }", "@Override\n public Date getBeginTime() {\n return beginTime;\n }", "public String getStartTime() {\n return this.StartTime;\n }", "public abstract long getStartTimestamp();", "public LocalDateTime getStartTime() {\n\t\treturn startTime;\n\t}", "public abstract Date getStartTime();", "public Calendar getStartTime() {\r\n\t\treturn startTime;\r\n\t}", "public long getStartSystemTime() {\r\n return startSystemTime;\r\n }", "public long getBeginTime() {\n return mBeginTime;\n }", "public long getStart() {\n return start;\n }", "public DateTime getStartDateTime() {\r\n\t\treturn start;\r\n\t}", "public long getTimeStarted() {\n\t\treturn _timeStarted;\n\t}", "public long getStartTimestamp() {\n return startTimestamp;\n }", "public long getStartTimestamp() {\n\t\treturn this.startTimestamp;\n\t}", "public Rational getStartTime ()\r\n {\r\n return startTime;\r\n }", "com.google.protobuf.Timestamp getStartTime();", "public LocalDateTime getStartTime() {\n return startTime;\n }", "Time started() {\n return started;\n }", "public Long getTimestampStart();", "public java.lang.String getStartTime() {\n java.lang.Object ref = startTime_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n startTime_ = s;\n return s;\n }\n }", "@Override\n\t\tpublic long getStartMillis() {\n\t\t\treturn 0;\n\t\t}", "public Date getStart() {\n return start;\n }", "@Override\n public String getStartInfo() {\n\n return startTime(null, DateFormat.SHORT);\n }", "public Date getStartTimeDate() {\n return startTimeDate;\n }", "public java.lang.String getStartTime() {\n java.lang.Object ref = startTime_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n startTime_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.sql.Time getREQ_START_TIME()\n {\n \n return __REQ_START_TIME;\n }" ]
[ "0.8475195", "0.83888304", "0.8380782", "0.8380782", "0.8380782", "0.8372343", "0.834221", "0.8319859", "0.83149177", "0.8312096", "0.8303596", "0.8303596", "0.8302874", "0.82879734", "0.8206735", "0.8202304", "0.8190543", "0.81794167", "0.8171777", "0.81419915", "0.8135527", "0.8135527", "0.8135527", "0.8135527", "0.8128505", "0.81282014", "0.81199193", "0.81199193", "0.8108551", "0.8108551", "0.8073482", "0.8046632", "0.80359083", "0.80146676", "0.80146676", "0.80146676", "0.80146676", "0.7985579", "0.7985579", "0.79791236", "0.7962836", "0.79544604", "0.7927667", "0.7927667", "0.7927667", "0.7921401", "0.79170066", "0.7888608", "0.7884018", "0.7884018", "0.78794026", "0.7874239", "0.7874239", "0.7874239", "0.7874239", "0.78651434", "0.78515154", "0.78515154", "0.7840605", "0.78306943", "0.78245443", "0.7816323", "0.7806638", "0.779758", "0.77666944", "0.7747376", "0.7745487", "0.7723424", "0.7719605", "0.7693881", "0.7693881", "0.7693881", "0.767417", "0.76632375", "0.7657734", "0.76393515", "0.76363015", "0.76359075", "0.7613425", "0.7609903", "0.7605945", "0.76044726", "0.75927293", "0.75452983", "0.75088483", "0.7502657", "0.74957305", "0.74677116", "0.74602264", "0.7438887", "0.7416425", "0.74153054", "0.7403346", "0.7390935", "0.73799527", "0.7371337", "0.73712844", "0.73693806", "0.7361463", "0.73612934" ]
0.81786543
18
Method to set start time.
public void setStartTime(long startTime) { this.startTime = startTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStartTime() {\r\n startTime = System.currentTimeMillis();\r\n }", "public void setStart_time(long start_time) {\n this.start_time = start_time;\n }", "public void setStarttime(Date starttime) {\n this.starttime = starttime;\n }", "public void setStarttime(Date starttime) {\n this.starttime = starttime;\n }", "public void setTimeStart(int timeStart) {\r\n this.timeStart = timeStart;\r\n }", "@Override\n\tpublic void setStartTime(float t) \n\t{\n\t\t_tbeg = t;\n\t}", "@Override\n\tpublic void setStartTime(int t) {\n\t\t\n\t}", "public void setStartTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(STARTTIME_PROP.get(), value);\n }", "public void setStartTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(STARTTIME_PROP.get(), value);\n }", "public void setStartTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(STARTTIME_PROP.get(), value);\n }", "public void setStartTime(java.util.Date value) {\n __getInternalInterface().setFieldValue(STARTTIME_PROP.get(), value);\n }", "public void setStartTime (long x)\r\n {\r\n startTime = x;\r\n }", "public abstract void setStartTime(Date startTime);", "void setStartTime(java.util.Calendar startTime);", "public com.twc.bigdata.views.avro.viewing_info.Builder setStartTime(java.lang.Long value) {\n validate(fields()[0], value);\n this.start_time = value;\n fieldSetFlags()[0] = true;\n return this; \n }", "public void setStartTime(long value) {\r\n this.startTime = value;\r\n }", "public void setStartTime(Date startTime) {\r\n this.startTime = startTime;\r\n }", "protected void setupTime() {\n this.start = System.currentTimeMillis();\n }", "public void setStartTime(String StartTime) {\n this.StartTime = StartTime;\n }", "public void setStartTime( Date startTime ) {\n this.startTime = startTime;\n }", "public void setTimeStart(long ts)\n {\n this.timeStart = (ts > 0L)? ts : -1L;\n }", "public void setStartTime(double startTime)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STARTTIME$22);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STARTTIME$22);\r\n }\r\n target.setDoubleValue(startTime);\r\n }\r\n }", "public void setStartTime(Date startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(Date startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(Date startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(Date startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(java.lang.Long value) {\n this.start_time = value;\n }", "public void setStartTime(long ts) {\n\t\tthis.startTime = ts;\t\t\n\t}", "void setStart(Instant instant);", "public void setStartTime(long milliseconds) {\r\n\t\tthis.startTime = milliseconds;\r\n\t}", "public void xsetStartTime(org.landxml.schema.landXML11.GPSTime startTime)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.GPSTime target = null;\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().find_attribute_user(STARTTIME$22);\r\n if (target == null)\r\n {\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().add_attribute_user(STARTTIME$22);\r\n }\r\n target.set(startTime);\r\n }\r\n }", "public void setStartTime(Date startTime) {\n\t\tthis.startTime = startTime;\n\t}", "public void setStartTime(Date startTime) {\n\t\tthis.startTime = startTime;\n\t}", "public void setStartTime(Date startTime) {\n\t\tthis.startTime = startTime;\n\t}", "public void setStartTime(Date startTime) {\n\t\tthis.startTime = startTime;\n\t}", "public void setStart( Calendar start );", "public void setTime_start(java.lang.String time_start) {\r\n this.time_start = time_start;\r\n }", "public void setBeginTime(String time){beginTime = time;}", "public void setDateStart (Timestamp DateStart);", "public void setStartTime(Integer startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(java.util.Date startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(java.util.Date startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(java.util.Date startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(java.util.Date startTime) {\n this.startTime = startTime;\n }", "public void setStarttime(String starttime) {\n this.starttime = starttime == null ? null : starttime.trim();\n }", "public void setStartTime(Long startTime) {\n this.startTime = startTime;\n }", "public Builder setVisitStarttime(long value) {\n bitField0_ |= 0x00000040;\n visitStarttime_ = value;\n onChanged();\n return this;\n }", "public Builder setVisitStarttime(long value) {\n bitField0_ |= 0x00000040;\n visitStarttime_ = value;\n onChanged();\n return this;\n }", "public void setStartTime(String startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(String startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(Calendar startTime) {\r\n\t\tthis.startTime = startTime;\r\n\t}", "public void setStartTimestamp(long value) {\n this.startTimestamp = value;\n }", "public void setStart(long start) { this.start = start; }", "private void startTiming() {\n m_startTime = Calendar.getInstance().getTimeInMillis();\n }", "public void setStartSystemTime(long startSystemTime) {\r\n this.startSystemTime = startSystemTime;\r\n }", "void xsetStartTime(org.apache.xmlbeans.XmlDateTime startTime);", "public void setStartTime(String startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(String startTime) {\n this.startTime = startTime;\n }", "public void setStartTime(String startTime) {\n this.startTime = startTime;\n }", "public void start() {\n startTime = System.currentTimeMillis();\n }", "public void start() {\n startTime = System.currentTimeMillis();\n }", "void setStartTimeout(int startTimeout);", "public void startTimer() {\n startTime = System.currentTimeMillis();\n }", "public Builder setStartTime(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n startTime_ = value;\n onChanged();\n return this;\n }", "public void setStartTime(LocalDateTime startTime) {\n this.startTime = startTime;\n }", "public void setStart(final String start) {\n\tthis.start = LocalTime.parse(start, DateTimeFormatter.ofPattern(\"hh:mma\", Locale.US));\n }", "public void setREQ_START_TIME(java.sql.Time value)\n {\n if ((__REQ_START_TIME == null) != (value == null) || (value != null && ! value.equals(__REQ_START_TIME)))\n {\n _isDirty = true;\n }\n __REQ_START_TIME = value;\n }", "public void changeStartTimeTo(long t) {\n\t\tm_startTime = t;\n\t\tif( m_privateNotification != null ) {\n\t\t\tString content = \"changeStartOfSignals:\"+Long.toString(t)+\";\";\n\t\t\tm_privateNotification.sendMessage(m_parentName+\"TSCanvasMenu\", m_parentName+\"TSCanvas\", content);\n\t\t}\n\t}", "public static void setStartRecordingTime() {\n\t\tif (mStartRecordingTime == null) {\n\t\t\tmStartRecordingTime = new Time();\n\t\t}\n\t\tmStartRecordingTime.setToNow();\n\n\t\tif (mContext != null) {\n\t\t\tEditor edit = mContext.getSharedPreferences(Defines.SHARED_PREF_NAME, Context.MODE_PRIVATE).edit();\n\t\t\tedit.putString(Defines.SHARED_PREF_START_TIME, mStartRecordingTime.format2445());\n\t\t\tedit.commit();\n\t\t}\n\n\t}", "void setBegin(net.opengis.gml.x32.TimeInstantPropertyType begin);", "protected void setStartTimestamp(long timestamp) {\n\t\tthis.startTimestamp = timestamp;\n\t\tsetDirty(true);\n\t}", "public void setServiceStartTime() {\r\n\t\t\tthis.serviceStartTime = RNG.MAXINT;\r\n\t\t}", "public M csmiUpdateTimeStart(Object start){this.put(\"csmiUpdateTimeStart\", start);return this;}", "public M csseUpdateTimeStart(Object start){this.put(\"csseUpdateTimeStart\", start);return this;}", "void setBeginPosition(net.opengis.gml.x32.TimePositionType beginPosition);", "public void setBeginTime(String beginTime) {\n\t\tthis.beginTime = beginTime;\n\t}", "public void setTime(){\r\n \r\n }", "public Date getStarttime() {\n return starttime;\n }", "public Date getStarttime() {\n return starttime;\n }", "public void setStartTimeDate(Date startTimeDate) {\n this.startTimeDate = startTimeDate;\n }", "public void setStart(int start) {\r\n this.start = start;\r\n }", "public void setTime(int time)\n {\n this.time = time;\n start = time;\n end = time;\n }", "public void setStart(int start) {\n this.start=start;\n }", "public void setStartDateTime(String s) {\n this.setStartDateTime(AppUtility.getUTCTimestamp(s));\n }", "public void setStartTime(String startTime) {\n this.startTime = startTime == null ? null : startTime.trim();\n }", "public long getStart_time() {\n return start_time;\n }", "public M csmiAddTimeStart(Object start){this.put(\"csmiAddTimeStart\", start);return this;}", "void setStartAt(final Long startAt);", "@Test\r\n public void testSetStartTime() {\r\n System.out.println(\"setStartTime\");\r\n String startTime = \"\";\r\n \r\n instance.setStartTime(startTime);\r\n assertEquals(startTime, instance.getStartTime());\r\n \r\n }", "public void startTiming() {\n elapsedTime = 0;\n startTime = System.currentTimeMillis();\n }", "public void startRideTime(){\r\n\t\trideTime.start();\r\n\t}", "public void startTime() {\n\t\tthis.clock.start();\n\t}", "public void setStartWorkTime(Date startWorkTime) {\n this.startWorkTime = startWorkTime;\n }", "public Date getStartTime() {\r\n\t\treturn startTime;\r\n\t}", "public void setElectronicStartTime(Date value) {\n setAttributeInternal(ELECTRONICSTARTTIME, value);\n }", "public void setStart(int start) {\n\t\tthis.start = start;\n\t}", "public M csseAddTimeStart(Object start){this.put(\"csseAddTimeStart\", start);return this;}", "void setStaStart(double staStart);", "public void setTimes(long startCpuTime, long startSystemTime) {\r\n this.startCpuTime = startCpuTime;\r\n this.startSystemTime = startSystemTime;\r\n }", "public String getStarttime() {\n return starttime;\n }" ]
[ "0.81998223", "0.81746733", "0.8148773", "0.8148773", "0.8091999", "0.7884693", "0.78271604", "0.7753988", "0.7753988", "0.77367693", "0.77367693", "0.7733788", "0.772407", "0.7718313", "0.7711195", "0.759839", "0.7549587", "0.75450677", "0.7541913", "0.7517419", "0.74833703", "0.7481462", "0.7477537", "0.7477537", "0.7477537", "0.7477537", "0.74753445", "0.7442417", "0.74390584", "0.74379987", "0.74096906", "0.74042284", "0.74042284", "0.74042284", "0.74042284", "0.7385118", "0.73741", "0.73522836", "0.73363703", "0.73299474", "0.728297", "0.728297", "0.728297", "0.728297", "0.725276", "0.7232945", "0.7232282", "0.7232282", "0.72208875", "0.72208875", "0.7217979", "0.71876836", "0.71858674", "0.71784335", "0.7138683", "0.71218306", "0.71209615", "0.71209615", "0.71209615", "0.71043354", "0.7092239", "0.7090037", "0.7084202", "0.7060369", "0.7039461", "0.70370686", "0.7036861", "0.70161945", "0.6999113", "0.696302", "0.6946742", "0.6922774", "0.69194293", "0.68979335", "0.6874688", "0.68568575", "0.68405557", "0.68346703", "0.68346703", "0.68046373", "0.6798364", "0.6786994", "0.67849517", "0.67726904", "0.6772317", "0.6744526", "0.67250067", "0.67232096", "0.6706728", "0.67035717", "0.6698266", "0.6693425", "0.66928345", "0.6686242", "0.6657984", "0.66452914", "0.6636171", "0.66337967", "0.66107255", "0.66008294" ]
0.7419331
30
Method to get end time.
public long getEndTime() { return endTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getEnd_time() {\n return end_time;\n }", "public int getTimeEnd() {\r\n return timeEnd;\r\n }", "public long getTimeEnd()\n {\n return this.timeEnd;\n }", "public java.lang.Long getEndTime() {\n return end_time;\n }", "public java.lang.String getTime_end() {\r\n return time_end;\r\n }", "public java.lang.Long getEndTime() {\n return end_time;\n }", "public String getEndtime() {\n return endtime;\n }", "int getEndTime();", "int getEndTime();", "int getEndTime();", "public Date getEndtime() {\n return endtime;\n }", "public int getEndTime()\n {\n if (isRepeated()) return end;\n else return time;\n }", "@Override\n\tpublic float getEndTime() \n\t{\n\t\treturn _tend;\n\t}", "public long getEndTime() {\r\n return endTime;\r\n }", "public long getEndTime() {\n return endTime;\n }", "public long getEndTime() {\n return endTime;\n }", "public double getEndTime() {\n return endTime;\n }", "public LocalTime getEnd() {\n\treturn end;\n }", "public LocalTime getEndTime () {\n\t\treturn DateUtils.toLocalTime(this.end);\n\t}", "long getEndTime() {\n return endTime;\n }", "java.util.Calendar getEndTime();", "public Date getEndTime() {\r\n return this.endTime;\r\n }", "public Date getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n return endTime;\n }", "@Override\n public Date getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n return this.endTime;\n }", "public Integer getEndTime() {\n return endTime;\n }", "public long getEndTime() {\n if (endTime < 0) {\n try {\n String datestr = PropertyArray.get(props, END);\n\n if (datestr == null) {\n // this may be more expensive because it can cause a\n // reload from disk\n try {\n datestr = getProperty(END);\n } catch (Fault f) {\n }\n }\n\n if (datestr != null) {\n Date date = parseDate(datestr);\n endTime = date.getTime();\n } else {\n // info not available\n }\n } catch (ParseException e) {\n }\n }\n\n return endTime;\n }", "Instant getEnd();", "public String getEndTime();", "public String getEndTime();", "public String getEndTime() {\r\n return endTime;\r\n }", "public Date getEndTime() {\n\t\treturn endTime;\n\t}", "public String getEndTime()\n {\n return this.endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public long getEndTimestamp();", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "public long getEndTs() {\n return this.startTimestamp + this.resolution * this.size;\n }", "public abstract long getEndTimestamp();", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "public java.util.Date getEndTime() {\n return endTime;\n }", "long getVisitEndtime();", "long getVisitEndtime();", "public Rational getEndTime ()\r\n {\r\n if (isWholeDuration()) {\r\n return null;\r\n }\r\n\r\n Rational chordDur = getDuration();\r\n\r\n if (chordDur == null) {\r\n return null;\r\n } else {\r\n return startTime.plus(chordDur);\r\n }\r\n }", "public String endTime(){\r\n\t\tsaleEnded = Calendar.getInstance().getTime();\r\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy-mm-dd HH:mm:ss\");\r\n\t\tString endTime = dateFormat.format(time);\r\n\t\treturn endTime;\r\n\t}", "public abstract Date getEndTime();", "public java.util.Date getEndTime() {\n return this.endTime;\n }", "public java.util.Date getEndTime() {\n return this.endTime;\n }", "public String getEndTime() {\n return this.EndTime;\n }", "net.opengis.gml.x32.TimeInstantPropertyType getEnd();", "public java.sql.Time getREQ_END_TIME()\n {\n \n return __REQ_END_TIME;\n }", "public Long getTime() {\n if (timeEnd == null) {\n return null;\n }\n return timeEnd - timeStart;\n }", "@Override\n\t\tpublic long getEndMillis() {\n\t\t\treturn 0;\n\t\t}", "public long getEndTimestamp() {\n\t\treturn this.endTimestamp;\n\t}", "public OffsetDateTime endTime() {\n return this.endTime;\n }", "public LocalDateTime getEndTime() {\n\t\treturn endTime;\n\t}", "public String getEndTimeString() {\n return endTimeString;\n }", "com.google.protobuf.Timestamp getEndTime();", "public Long getTimestampEnd();", "public String getEndTime() {\n/* 34 */ return this.endTime;\n/* */ }", "net.opengis.gml.x32.TimePositionType getEndPosition();", "public Date get_end() {\n\t\treturn this.end;\n\t}", "public Calendar getEndTime() {\r\n\t\treturn endTime;\r\n\t}", "public int getEndHour() {\n\treturn end.getHour();// s\n }", "public Date getEndTimestamp() {\r\n return endTimestamp;\r\n }", "public Date getjEndtime() {\n return jEndtime;\n }", "public void setEnd_time(long end_time) {\n this.end_time = end_time;\n }", "@Override\n\tpublic String getFinishTime() {\n\t\treturn finishTime;\n\t}", "public double getSecondsEnd() {\n return secondsEnd;\n }", "public Date getEndTimeDate() {\n return endTimeDate;\n }", "com.google.protobuf.Timestamp getDepositEndTime();", "public Long getLastEndTime() {\n if (timeInfos.isEmpty()) {\n return null;\n } else {\n int size = timeInfos.size();\n return timeInfos.get(size - 1).getEndTime();\n }\n }", "public OffsetDateTime finishTime() {\n return this.finishTime;\n }", "public DateTime getEnd() {\r\n return new DateTime(getEndMillis(), getChronology());\r\n }", "public BidTime getFinishTime() {\r\n\t\treturn finishTime;\r\n\t}", "public double getStopTime();", "public String getEndTime(){return endTime;}", "public int getEndMinute() {\n\treturn end.getMinute();\n }", "public double getFinishTime(){return finishTime;}", "public long getEndWallClockTime() {\n return endWallClockTime;\n }", "public java.util.Date getEndDateTime() {\n return this.endDateTime;\n }", "public String getEndString() {\n return String.format(\"e» %s ms%s\", getTotalTime(), getFreemarkerFormattedTime());\n }", "Integer getEndHour();", "org.apache.xmlbeans.XmlDateTime xgetEndTime();", "public Date getTenderEndTime() {\n return tenderEndTime;\n }", "com.google.protobuf.Timestamp getVotingEndTime();", "public float getTime() {\n return Math.abs(endTime - startTime) / 1000000f;\n }", "public void setTimeEnd(int timeEnd) {\r\n this.timeEnd = timeEnd;\r\n }", "public String getStopTime() {\n\t\treturn (new Parser(value)).skipString().getString();\n\t}", "public void setEndTime(java.lang.Long value) {\n this.end_time = value;\n }", "com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();", "public double getEnd() {\n return end;\n }", "@Override\r\n\tpublic Date getEventEndTime() {\n\t\treturn null;\r\n\t}", "public long getElapsedTime(){\n long timePassed = endTime - startTime;\n return timePassed;\n }" ]
[ "0.878414", "0.8636845", "0.8534835", "0.8458776", "0.84263045", "0.84241635", "0.839637", "0.83834946", "0.83834946", "0.83834946", "0.83280706", "0.8277538", "0.8234512", "0.8200263", "0.8161726", "0.8161726", "0.8125433", "0.80929196", "0.8025697", "0.7991543", "0.79238904", "0.7892597", "0.7879536", "0.7879536", "0.7879536", "0.7878144", "0.78730565", "0.7872455", "0.7869234", "0.78458744", "0.7841279", "0.7841279", "0.78330874", "0.7813577", "0.78094155", "0.7768936", "0.7768936", "0.7768936", "0.77598643", "0.7716971", "0.7700179", "0.7700179", "0.76604223", "0.76570857", "0.76518065", "0.76518065", "0.7636828", "0.7629552", "0.7629552", "0.76226455", "0.7585996", "0.75848883", "0.757851", "0.757851", "0.7546814", "0.754114", "0.75276834", "0.7518406", "0.7517917", "0.7488855", "0.7481658", "0.7479994", "0.74619216", "0.7434752", "0.741662", "0.7410658", "0.73985845", "0.73979384", "0.7367124", "0.73354053", "0.7301674", "0.72853917", "0.72724086", "0.7262797", "0.7198599", "0.71866965", "0.7154464", "0.71462095", "0.7118228", "0.71159214", "0.7113321", "0.7111101", "0.7086006", "0.70809495", "0.7071266", "0.7028977", "0.7007785", "0.69793564", "0.6944847", "0.69230324", "0.691574", "0.6904778", "0.68858236", "0.6868337", "0.6865937", "0.68567747", "0.68388057", "0.6815999", "0.6806694", "0.67834514" ]
0.8089217
18