Class DockerFileSemanticSequencer

  • All Implemented Interfaces:
    org.eclipse.xtext.serializer.sequencer.ISemanticSequencer

    public class DockerFileSemanticSequencer
    extends org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
    • Field Summary

      • Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer

        genericSequencer, genericSequencerProvider
      • Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer

        diagnosticProvider, errorAcceptor, feederProvider, masterSequencer, nodeProvider, sequenceAcceptor, transientValues
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sequence​(org.eclipse.xtext.serializer.ISerializationContext context, EObject semanticObject)  
      protected void sequence_Add​(org.eclipse.xtext.serializer.ISerializationContext context, AddDestination semanticObject)
      Contexts: Add returns AddDestination Constraint: (source_left=AddSource dest=ONE_SPACE_AND_WHATEVER)
      protected void sequence_Add_Copy​(org.eclipse.xtext.serializer.ISerializationContext context, AddDestination semanticObject)
      Contexts: Instruction returns AddDestination Constraint: ((source_left=AddSource dest=ONE_SPACE_AND_WHATEVER) | (source_left=AddSource dest=ONE_SPACE_AND_WHATEVER))
      protected void sequence_Cmd_Entrypoint​(org.eclipse.xtext.serializer.ISerializationContext context, Cmd semanticObject)
      Contexts: Instruction returns Cmd Cmd returns Cmd Entrypoint returns Cmd Constraint: {Cmd}
      protected void sequence_Copy​(org.eclipse.xtext.serializer.ISerializationContext context, AddDestination semanticObject)
      Contexts: Copy returns AddDestination Constraint: (source_left=AddSource dest=ONE_SPACE_AND_WHATEVER)
      protected void sequence_Dockerfile​(org.eclipse.xtext.serializer.ISerializationContext context, Dockerfile semanticObject)
      Contexts: Dockerfile returns Dockerfile Constraint: instructions+=Instruction+
      protected void sequence_EnvWithEqual​(org.eclipse.xtext.serializer.ISerializationContext context, EnvWithEqual semanticObject)
      Contexts: Instruction returns EnvWithEqual Env returns EnvWithEqual EnvWithEqual returns EnvWithEqual Constraint: (key+=ID value+=ENV_VALUE_WITH_EQUAL)+
      protected void sequence_EnvWithSpace​(org.eclipse.xtext.serializer.ISerializationContext context, EnvWithSpace semanticObject)
      Contexts: Instruction returns EnvWithSpace Env returns EnvWithSpace EnvWithSpace returns EnvWithSpace Constraint: (key+=ID value+=ONE_SPACE_AND_WHATEVER)
      protected void sequence_Expose​(org.eclipse.xtext.serializer.ISerializationContext context, Expose semanticObject)
      Contexts: Instruction returns Expose Expose returns Expose Constraint: ports=ONE_SPACE_AND_WHATEVER
      protected void sequence_From​(org.eclipse.xtext.serializer.ISerializationContext context, From semanticObject)
      Contexts: Instruction returns From From returns From Constraint: (name=VALID_IMAGE_NAME tag=VALID_IMAGE_TAG?)
      protected void sequence_JSON_ARRAY​(org.eclipse.xtext.serializer.ISerializationContext context, JSON_ARRAY semanticObject)
      Contexts: Instruction returns JSON_ARRAY Cmd returns JSON_ARRAY Copy returns JSON_ARRAY Entrypoint returns JSON_ARRAY Volume returns JSON_ARRAY JSON_ARRAY returns JSON_ARRAY Constraint: (head=STRING tail+=STRING_PREFIXED_WITH_COMMA*)
      protected void sequence_Maintainer​(org.eclipse.xtext.serializer.ISerializationContext context, Maintainer semanticObject)
      Contexts: Instruction returns Maintainer Maintainer returns Maintainer Constraint: name=ONE_SPACE_AND_WHATEVER
      protected void sequence_Onbuild​(org.eclipse.xtext.serializer.ISerializationContext context, Onbuild semanticObject)
      Contexts: Instruction returns Onbuild Onbuild returns Onbuild Constraint: instruction=Instruction
      protected void sequence_RunWithNoShell​(org.eclipse.xtext.serializer.ISerializationContext context, RunWithNoShell semanticObject)
      Contexts: Instruction returns RunWithNoShell Run returns RunWithNoShell RunWithNoShell returns RunWithNoShell Constraint: (executable=STRING params+=STRING_PREFIXED_WITH_COMMA*)
      protected void sequence_RunWithShell​(org.eclipse.xtext.serializer.ISerializationContext context, RunWithShell semanticObject)
      Contexts: Instruction returns RunWithShell Run returns RunWithShell RunWithShell returns RunWithShell Constraint: command=ONE_SPACE_AND_WHATEVER
      protected void sequence_User​(org.eclipse.xtext.serializer.ISerializationContext context, User semanticObject)
      Contexts: Instruction returns User User returns User Constraint: name=ID
      protected void sequence_Volume​(org.eclipse.xtext.serializer.ISerializationContext context, Volume semanticObject)
      Contexts: Instruction returns Volume Volume returns Volume Constraint: {Volume}
      protected void sequence_Workdir​(org.eclipse.xtext.serializer.ISerializationContext context, Workdir semanticObject)
      Contexts: Instruction returns Workdir Workdir returns Workdir Constraint: path=ONE_SPACE_AND_WHATEVER
      • Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer

        init
      • Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer

        createContext, createNodeProvider, createSequence, createSequence, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, init, setMasterSequencer
    • Constructor Detail

      • DockerFileSemanticSequencer

        public DockerFileSemanticSequencer()
    • Method Detail

      • sequence

        public void sequence​(org.eclipse.xtext.serializer.ISerializationContext context,
                             EObject semanticObject)
        Overrides:
        sequence in class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
      • sequence_Add

        protected void sequence_Add​(org.eclipse.xtext.serializer.ISerializationContext context,
                                    AddDestination semanticObject)
        Contexts: Add returns AddDestination Constraint: (source_left=AddSource dest=ONE_SPACE_AND_WHATEVER)
      • sequence_Add_Copy

        protected void sequence_Add_Copy​(org.eclipse.xtext.serializer.ISerializationContext context,
                                         AddDestination semanticObject)
        Contexts: Instruction returns AddDestination Constraint: ((source_left=AddSource dest=ONE_SPACE_AND_WHATEVER) | (source_left=AddSource dest=ONE_SPACE_AND_WHATEVER))
      • sequence_Cmd_Entrypoint

        protected void sequence_Cmd_Entrypoint​(org.eclipse.xtext.serializer.ISerializationContext context,
                                               Cmd semanticObject)
        Contexts: Instruction returns Cmd Cmd returns Cmd Entrypoint returns Cmd Constraint: {Cmd}
      • sequence_Copy

        protected void sequence_Copy​(org.eclipse.xtext.serializer.ISerializationContext context,
                                     AddDestination semanticObject)
        Contexts: Copy returns AddDestination Constraint: (source_left=AddSource dest=ONE_SPACE_AND_WHATEVER)
      • sequence_Dockerfile

        protected void sequence_Dockerfile​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           Dockerfile semanticObject)
        Contexts: Dockerfile returns Dockerfile Constraint: instructions+=Instruction+
      • sequence_EnvWithEqual

        protected void sequence_EnvWithEqual​(org.eclipse.xtext.serializer.ISerializationContext context,
                                             EnvWithEqual semanticObject)
        Contexts: Instruction returns EnvWithEqual Env returns EnvWithEqual EnvWithEqual returns EnvWithEqual Constraint: (key+=ID value+=ENV_VALUE_WITH_EQUAL)+
      • sequence_EnvWithSpace

        protected void sequence_EnvWithSpace​(org.eclipse.xtext.serializer.ISerializationContext context,
                                             EnvWithSpace semanticObject)
        Contexts: Instruction returns EnvWithSpace Env returns EnvWithSpace EnvWithSpace returns EnvWithSpace Constraint: (key+=ID value+=ONE_SPACE_AND_WHATEVER)
      • sequence_Expose

        protected void sequence_Expose​(org.eclipse.xtext.serializer.ISerializationContext context,
                                       Expose semanticObject)
        Contexts: Instruction returns Expose Expose returns Expose Constraint: ports=ONE_SPACE_AND_WHATEVER
      • sequence_From

        protected void sequence_From​(org.eclipse.xtext.serializer.ISerializationContext context,
                                     From semanticObject)
        Contexts: Instruction returns From From returns From Constraint: (name=VALID_IMAGE_NAME tag=VALID_IMAGE_TAG?)
      • sequence_JSON_ARRAY

        protected void sequence_JSON_ARRAY​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           JSON_ARRAY semanticObject)
        Contexts: Instruction returns JSON_ARRAY Cmd returns JSON_ARRAY Copy returns JSON_ARRAY Entrypoint returns JSON_ARRAY Volume returns JSON_ARRAY JSON_ARRAY returns JSON_ARRAY Constraint: (head=STRING tail+=STRING_PREFIXED_WITH_COMMA*)
      • sequence_Maintainer

        protected void sequence_Maintainer​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           Maintainer semanticObject)
        Contexts: Instruction returns Maintainer Maintainer returns Maintainer Constraint: name=ONE_SPACE_AND_WHATEVER
      • sequence_Onbuild

        protected void sequence_Onbuild​(org.eclipse.xtext.serializer.ISerializationContext context,
                                        Onbuild semanticObject)
        Contexts: Instruction returns Onbuild Onbuild returns Onbuild Constraint: instruction=Instruction
      • sequence_RunWithNoShell

        protected void sequence_RunWithNoShell​(org.eclipse.xtext.serializer.ISerializationContext context,
                                               RunWithNoShell semanticObject)
        Contexts: Instruction returns RunWithNoShell Run returns RunWithNoShell RunWithNoShell returns RunWithNoShell Constraint: (executable=STRING params+=STRING_PREFIXED_WITH_COMMA*)
      • sequence_RunWithShell

        protected void sequence_RunWithShell​(org.eclipse.xtext.serializer.ISerializationContext context,
                                             RunWithShell semanticObject)
        Contexts: Instruction returns RunWithShell Run returns RunWithShell RunWithShell returns RunWithShell Constraint: command=ONE_SPACE_AND_WHATEVER
      • sequence_User

        protected void sequence_User​(org.eclipse.xtext.serializer.ISerializationContext context,
                                     User semanticObject)
        Contexts: Instruction returns User User returns User Constraint: name=ID
      • sequence_Volume

        protected void sequence_Volume​(org.eclipse.xtext.serializer.ISerializationContext context,
                                       Volume semanticObject)
        Contexts: Instruction returns Volume Volume returns Volume Constraint: {Volume}
      • sequence_Workdir

        protected void sequence_Workdir​(org.eclipse.xtext.serializer.ISerializationContext context,
                                        Workdir semanticObject)
        Contexts: Instruction returns Workdir Workdir returns Workdir Constraint: path=ONE_SPACE_AND_WHATEVER