Interface StringLiteral

All Superinterfaces:
org.eclipse.emf.ecore.EObject, Expression, Literal, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
StringLiteralImpl

public interface StringLiteral extends Literal
A representation of the model object 'String Literal'.

The following features are supported:

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.emf.common.util.EList<String>
    Returns the value of the 'Content Types' attribute list.
    org.eclipse.emf.common.util.EList<String>
    Returns the value of the 'Lines' attribute list.
    boolean
    Returns whether the value of the 'Content Types' attribute list is set.
    org.eclipse.emf.common.util.EList<String>
    lines(boolean trim)
    * Gets content of the StringLiteral by its lines without service symbols ('"', '|')
    void
    Unsets the value of the 'Content Types' attribute list.

    Methods inherited from interface org.eclipse.emf.ecore.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface com._1c.g5.v8.dt.bsl.model.Expression

    getRetValTypes, getTypes

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Method Details

    • getLines

      org.eclipse.emf.common.util.EList<String> getLines()
      Returns the value of the 'Lines' attribute list. The list contents are of type String.
      Returns:
      the value of the 'Lines' attribute list.
      See Also:
    • getContentTypes

      org.eclipse.emf.common.util.EList<String> getContentTypes()
      Returns the value of the 'Content Types' attribute list. The list contents are of type String. * Returns computed types of string literal content. If not set then types was not computed yet, if collection is empty then literal has no type.
      Returns:
      the value of the 'Content Types' attribute list.
      See Also:
    • unsetContentTypes

      void unsetContentTypes()
      Unsets the value of the 'Content Types' attribute list.
      See Also:
    • isSetContentTypes

      boolean isSetContentTypes()
      Returns whether the value of the 'Content Types' attribute list is set.
      Returns:
      whether the value of the 'Content Types' attribute list is set.
      See Also:
    • lines

      org.eclipse.emf.common.util.EList<String> lines(boolean trim)
      * Gets content of the StringLiteral by its lines without service symbols ('"', '|')
      Parameters:
      trim - defines needing to removing leading and trailing whitespace
      Returns:
      list of string line without service symbols, never null