Package org.eclipse.xtext

Examples of org.eclipse.xtext.Assignment


        _setSpace.after(comma);
      }
    }
    FormattingConfig.NoLinewrapLocator _setNoLinewrap = c.setNoLinewrap();
    TargetPlatformGrammarAccess.LocationElements _locationAccess = this._targetPlatformGrammarAccess.getLocationAccess();
    Assignment _iDAssignment_1_0 = _locationAccess.getIDAssignment_1_0();
    _setNoLinewrap.around(_iDAssignment_1_0);
    FormattingConfig.NoLinewrapLocator _setNoLinewrap_1 = c.setNoLinewrap();
    TargetPlatformGrammarAccess.LocationElements _locationAccess_1 = this._targetPlatformGrammarAccess.getLocationAccess();
    Assignment _uriAssignment_1_1 = _locationAccess_1.getUriAssignment_1_1();
    _setNoLinewrap_1.around(_uriAssignment_1_1);
    FormattingConfig.LinewrapLocator _setLinewrap = c.setLinewrap(1, 1, 2);
    TargetPlatformGrammarAccess.IncludeDeclarationElements _includeDeclarationAccess = this._targetPlatformGrammarAccess.getIncludeDeclarationAccess();
    Keyword _includeKeyword_0 = _includeDeclarationAccess.getIncludeKeyword_0();
    _setLinewrap.before(_includeKeyword_0);
    FormattingConfig.LinewrapLocator _setLinewrap_1 = c.setLinewrap(1, 2, 2);
    TargetPlatformGrammarAccess.LocationElements _locationAccess_2 = this._targetPlatformGrammarAccess.getLocationAccess();
    Keyword _locationKeyword_0 = _locationAccess_2.getLocationKeyword_0();
    _setLinewrap_1.before(_locationKeyword_0);
    FormattingConfig.LinewrapLocator _setLinewrap_2 = c.setLinewrap(1, 1, 2);
    TargetPlatformGrammarAccess.LocationElements _locationAccess_3 = this._targetPlatformGrammarAccess.getLocationAccess();
    Keyword _withKeyword_2_1_0 = _locationAccess_3.getWithKeyword_2_1_0();
    _setLinewrap_2.before(_withKeyword_2_1_0);
    FormattingConfig.LinewrapLocator _setLinewrap_3 = c.setLinewrap(1, 1, 2);
    TargetPlatformGrammarAccess.TargetPlatformElements _targetPlatformAccess = this._targetPlatformGrammarAccess.getTargetPlatformAccess();
    Assignment _contentsAssignment_2 = _targetPlatformAccess.getContentsAssignment_2();
    _setLinewrap_3.after(_contentsAssignment_2);
    FormattingConfig.LinewrapLocator _setLinewrap_4 = c.setLinewrap();
    TargetPlatformGrammarAccess.IUElements _iUAccess = this._targetPlatformGrammarAccess.getIUAccess();
    Assignment _iDAssignment_0 = _iUAccess.getIDAssignment_0();
    _setLinewrap_4.before(_iDAssignment_0);
    FormattingConfig.NoLinewrapLocator _setNoLinewrap_2 = c.setNoLinewrap();
    TargetPlatformGrammarAccess.IUElements _iUAccess_1 = this._targetPlatformGrammarAccess.getIUAccess();
    Assignment _versionAssignment_1_1_0 = _iUAccess_1.getVersionAssignment_1_1_0();
    _setNoLinewrap_2.before(_versionAssignment_1_1_0);
    FormattingConfig.NoLinewrapLocator _setNoLinewrap_3 = c.setNoLinewrap();
    TargetPlatformGrammarAccess.IUElements _iUAccess_2 = this._targetPlatformGrammarAccess.getIUAccess();
    Assignment _versionAssignment_1_1_1 = _iUAccess_2.getVersionAssignment_1_1_1();
    _setNoLinewrap_3.before(_versionAssignment_1_1_1);
    FormattingConfig.NoSpaceLocator _setNoSpace = c.setNoSpace();
    TargetPlatformGrammarAccess.IUElements _iUAccess_3 = this._targetPlatformGrammarAccess.getIUAccess();
    Keyword _semicolonKeyword_1_0_0 = _iUAccess_3.getSemicolonKeyword_1_0_0();
    _setNoSpace.around(_semicolonKeyword_1_0_0);
View Full Code Here


      return null;
    }
    EObject _grammarElement = node.getGrammarElement();
    final RuleCall ge = ((RuleCall) _grammarElement);
    EObject _eContainer = ge.eContainer();
    final Assignment container = ((Assignment) _eContainer);
    int _length = string.length();
    int _minus = (_length - 1);
    String _substring = string.substring(1, _minus);
    final String value = Strings.convertFromJavaString(_substring, true);
    boolean _and = false;
    boolean _and_1 = false;
    boolean _notEquals = (!Objects.equal(value, null));
    if (!_notEquals) {
      _and_1 = false;
    } else {
      boolean _notEquals_1 = (!Objects.equal(container, null));
      _and_1 = _notEquals_1;
    }
    if (!_and_1) {
      _and = false;
    } else {
      String _feature = container.getFeature();
      boolean _equals_1 = "version".equals(_feature);
      _and = _equals_1;
    }
    if (_and) {
      return TargetPlatformConverter.parseVersionRange(value, node);
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.Assignment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.