| /** |
| * Copyright (c) 2020 Willink Transformations and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * E.D.Willink - Initial API and implementation |
| */ |
| package org.eclipse.ocl.examples.xtext.idioms; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Keyword Locator</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * A KeywordLocator identifies a keyword, or more generally letter sequence, around which a |
| * SubIdiom wraps appropriate spacing. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.ocl.examples.xtext.idioms.KeywordLocator#getString <em>String</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.ocl.examples.xtext.idioms.IdiomsPackage#getKeywordLocator() |
| * @model |
| * @generated |
| */ |
| public interface KeywordLocator |
| extends Locator { |
| |
| /** |
| * Returns the value of the '<em><b>String</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>String</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The letter-sequence to match a keyword/punctuation in the grammar. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>String</em>' attribute. |
| * @see #setString(String) |
| * @see org.eclipse.ocl.examples.xtext.idioms.IdiomsPackage#getKeywordLocator_String() |
| * @model required="true" |
| * @generated |
| */ |
| String getString(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.examples.xtext.idioms.KeywordLocator#getString <em>String</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>String</em>' attribute. |
| * @see #getString() |
| * @generated |
| */ |
| void setString(String value); |
| |
| } // KeywordLocator |