de.cau.cs.kieler.krep.editors.klp.parseTreeConstruction
Class KlpParsetreeConstructor

java.lang.Object
  extended by org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor
      extended by de.cau.cs.kieler.krep.editors.klp.parseTreeConstruction.KlpParsetreeConstructor
All Implemented Interfaces:
org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor

public class KlpParsetreeConstructor
extends org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor

Rating red

Nested Class Summary
protected  class KlpParsetreeConstructor.Binop_Alternatives_3
           
protected  class KlpParsetreeConstructor.Binop_Arg1Assignment_2
           
protected  class KlpParsetreeConstructor.Binop_Arg2Assignment_3_0
           
protected  class KlpParsetreeConstructor.Binop_Group
          begin Rule Binop **************** Binop returns klp::Binop: op=Operator to=Reg arg1=Read (arg2=Read|val=INT);
protected  class KlpParsetreeConstructor.Binop_OpAssignment_0
           
protected  class KlpParsetreeConstructor.Binop_ToAssignment_1
           
protected  class KlpParsetreeConstructor.Binop_ValAssignment_3_1
           
protected  class KlpParsetreeConstructor.CJmp_CondAssignment_0
           
protected  class KlpParsetreeConstructor.CJmp_Group
          begin Rule CJmp **************** CJmp returns klp::CJmp: cond=JumpKind reg=Read label=Label;
protected  class KlpParsetreeConstructor.CJmp_LabelAssignment_2
           
protected  class KlpParsetreeConstructor.CJmp_RegAssignment_1
           
protected  class KlpParsetreeConstructor.Decl_Group
          begin Rule Decl **************** Decl returns klp::Decl: scope=Scope reg=Reg;
protected  class KlpParsetreeConstructor.Decl_RegAssignment_1
           
protected  class KlpParsetreeConstructor.Decl_ScopeAssignment_0
           
protected  class KlpParsetreeConstructor.Done_DONEKeyword_0
           
protected  class KlpParsetreeConstructor.Done_Group
          begin Rule Done **************** Done returns klp::Done: "DONE" pc=Label;
protected  class KlpParsetreeConstructor.Done_PcAssignment_1
           
protected  class KlpParsetreeConstructor.Instruction_Alternatives
          begin Rule Instruction **************** Instruction returns klp::Instruction: Decl|SetClk|SetPC|Prio|Done|Binop|Jmp|CJmp|Move;
protected  class KlpParsetreeConstructor.Instruction_BinopParserRuleCall_5
           
protected  class KlpParsetreeConstructor.Instruction_CJmpParserRuleCall_7
           
protected  class KlpParsetreeConstructor.Instruction_DeclParserRuleCall_0
           
protected  class KlpParsetreeConstructor.Instruction_DoneParserRuleCall_4
           
protected  class KlpParsetreeConstructor.Instruction_JmpParserRuleCall_6
           
protected  class KlpParsetreeConstructor.Instruction_MoveParserRuleCall_8
           
protected  class KlpParsetreeConstructor.Instruction_PrioParserRuleCall_3
           
protected  class KlpParsetreeConstructor.Instruction_SetClkParserRuleCall_1
           
protected  class KlpParsetreeConstructor.Instruction_SetPCParserRuleCall_2
           
protected  class KlpParsetreeConstructor.Jmp_Group
          begin Rule Jmp **************** Jmp returns klp::Jmp: "JMP" label=Label;
protected  class KlpParsetreeConstructor.Jmp_JMPKeyword_0
           
protected  class KlpParsetreeConstructor.Jmp_LabelAssignment_1
           
protected  class KlpParsetreeConstructor.KLP_InstructionsAssignment
          begin Rule KLP **************** KLP returns klp::KLP: instructions+=Line*;
protected  class KlpParsetreeConstructor.Label_NameAssignment
          begin Rule Label **************** Label returns klp::Label: name=ID;
protected  class KlpParsetreeConstructor.Line_ColonKeyword_0_1
           
protected  class KlpParsetreeConstructor.Line_Group
          begin Rule Line **************** Line returns klp::Line: (labels+=ID ":")* instruction=Instruction;
protected  class KlpParsetreeConstructor.Line_Group_0
           
protected  class KlpParsetreeConstructor.Line_InstructionAssignment_1
           
protected  class KlpParsetreeConstructor.Line_LabelsAssignment_0_0
           
protected  class KlpParsetreeConstructor.Move_Alternatives_2
           
protected  class KlpParsetreeConstructor.Move_FromAssignment_2_0
           
protected  class KlpParsetreeConstructor.Move_Group
          begin Rule Move **************** Move returns klp::Move: type=MoveKind to=Reg (from=Read|val=INT);
protected  class KlpParsetreeConstructor.Move_ToAssignment_1
           
protected  class KlpParsetreeConstructor.Move_TypeAssignment_0
           
protected  class KlpParsetreeConstructor.Move_ValAssignment_2_1
           
protected  class KlpParsetreeConstructor.Prio_Group
          begin Rule Prio **************** Prio returns klp::Prio: "PRIO" reg=Reg? prio=INT;
protected  class KlpParsetreeConstructor.Prio_PrioAssignment_2
           
protected  class KlpParsetreeConstructor.Prio_PRIOKeyword_0
           
protected  class KlpParsetreeConstructor.Prio_RegAssignment_1
           
protected  class KlpParsetreeConstructor.Read_Alternatives
          begin Rule Read **************** Read returns klp::Read: pre?="pre" "(" reg=Reg ")"|reg=Reg;
protected  class KlpParsetreeConstructor.Read_Group_0
           
protected  class KlpParsetreeConstructor.Read_LeftParenthesisKeyword_0_1
           
protected  class KlpParsetreeConstructor.Read_PreAssignment_0_0
           
protected  class KlpParsetreeConstructor.Read_RegAssignment_0_2
           
protected  class KlpParsetreeConstructor.Read_RegAssignment_1
           
protected  class KlpParsetreeConstructor.Read_RightParenthesisKeyword_0_3
           
protected  class KlpParsetreeConstructor.Reg_NameAssignment
          begin Rule Reg **************** Reg returns klp::Reg: name=ID;
protected  class KlpParsetreeConstructor.SetClk_ClkAssignment_2
           
protected  class KlpParsetreeConstructor.SetClk_Group
          begin Rule SetClk **************** SetClk returns klp::SetClk: "SETCLK" reg=Reg clk=Reg;
protected  class KlpParsetreeConstructor.SetClk_RegAssignment_1
           
protected  class KlpParsetreeConstructor.SetClk_SETCLKKeyword_0
           
protected  class KlpParsetreeConstructor.SetPC_Group
          begin Rule SetPC **************** SetPC returns klp::SetPC: "SETPC" reg=Reg label=Label;
protected  class KlpParsetreeConstructor.SetPC_LabelAssignment_2
           
protected  class KlpParsetreeConstructor.SetPC_RegAssignment_1
           
protected  class KlpParsetreeConstructor.SetPC_SETPCKeyword_0
           
protected  class KlpParsetreeConstructor.ThisRootNode
           
 
Nested classes/interfaces inherited from class org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor
org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.AbstractToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.ActionToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.AlternativesToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.AssignmentToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.AssignmentType, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.CommentToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.GroupToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.KeywordToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.RootToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.RuleCallToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.UnassignedTextToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.UnorderedGroupToken, org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.WsMergerStream
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor
org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor.TreeConstructionDiagnostic, org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor.TreeConstructionReport
 
Field Summary
 
Fields inherited from class org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor
commentAssociater, crossRefSerializer, enumLitSerializer, hiddenTokenHelper, keywordSerializer, tokenUtil, treeConstructionReportProvider, tvService, valueSerializer
 
Constructor Summary
KlpParsetreeConstructor()
           
 
Method Summary
protected  org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.AbstractToken getRootToken(org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer inst)
           
 
Methods inherited from class org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor
assignComment, assignNodesByMatching, assignTokenByMatcher, assignTokenByMatcher, assignTokenDirect, collectRootsAndEObjects, containsNodeOrAnyParent, createEObjectConsumer, createReport, debug, dump, dumpNode, serialize, serialize, serializeSubtree, write, writeComments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KlpParsetreeConstructor

public KlpParsetreeConstructor()
Method Detail

getRootToken

protected org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor.AbstractToken getRootToken(org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer inst)
Specified by:
getRootToken in class org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor