Package com._1c.g5.v8.dt.bsl.model
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:
BslPackage.getStringLiteral()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<String>getContentTypes()Returns the value of the 'Content Types' attribute list.org.eclipse.emf.common.util.EList<String>getLines()Returns the value of the 'Lines' attribute list.booleanisSetContentTypes()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 ('"', '|')voidunsetContentTypes()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
-
-
-
-
Method Detail
-
getLines
org.eclipse.emf.common.util.EList<String> getLines()
Returns the value of the 'Lines' attribute list. The list contents are of typeString.- Returns:
- the value of the 'Lines' attribute list.
- See Also:
BslPackage.getStringLiteral_Lines()
-
getContentTypes
org.eclipse.emf.common.util.EList<String> getContentTypes()
Returns the value of the 'Content Types' attribute list. The list contents are of typeString. * 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:
isSetContentTypes(),unsetContentTypes(),BslPackage.getStringLiteral_ContentTypes()
-
unsetContentTypes
void unsetContentTypes()
Unsets the value of the 'Content Types' attribute list.- See Also:
isSetContentTypes(),getContentTypes()
-
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:
unsetContentTypes(),getContentTypes()
-
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
-
-