Codota Logo
PathExpressionHead.getSrc
Code IndexAdd Codota to your IDE (free)

How to use
getSrc
method
in
org.eclipse.incquery.patternlanguage.patternLanguage.PathExpressionHead

Best Java code snippets using org.eclipse.incquery.patternlanguage.patternLanguage.PathExpressionHead.getSrc (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: org.eclipse.incquery/org.eclipse.incquery.patternlanguage.emf

ValueReference valueReference = pathExpressionHead.getDst();
Variable pathExpressionHeadSourceVariable = null;
if (pathExpressionHead.getSrc() != null) {
  pathExpressionHeadSourceVariable = pathExpressionHead.getSrc().getVariable();
  PathExpressionHead pathExpressionHead = pathExpressionConstraint.getHead();
  Variable pathExpressionHeadSourceVariable = null;
  if (pathExpressionHead.getSrc() != null) {
    pathExpressionHeadSourceVariable = pathExpressionHead.getSrc().getVariable();
origin: org.eclipse.incquery/org.eclipse.incquery.patternlanguage.emf

private void gatherPathExpression(PathExpressionConstraint pathExpression, PatternModelAcceptor<?> acceptor) throws SpecificationBuilderException {
  PathExpressionHead head = pathExpression.getHead();
  VariableReference src = head.getSrc();
  ValueReference dst = head.getDst();
  if (src == null || dst == null) {
origin: org.eclipse.incquery/org.eclipse.incquery.patternlanguage.emf

final PathExpressionHead pathExpressionHead = ((PathExpressionConstraint) constraint).getHead();
final VariableReference firstvariableReference = pathExpressionHead.getSrc();
if (isEqualVariables(variable, firstvariableReference)) {
  Type type = pathExpressionHead.getType();
origin: org.eclipse.incquery/org.eclipse.incquery.patternlanguage

/**
 * Contexts:
 *     PathExpressionHead returns PathExpressionHead
 *
 * Constraint:
 *     (type=Type tail=PathExpressionTail src=VariableReference dst=ValueReference)
 */
protected void sequence_PathExpressionHead(ISerializationContext context, PathExpressionHead semanticObject) {
  if (errorAcceptor != null) {
    if (transientValues.isValueTransient(semanticObject, PatternLanguagePackage.Literals.PATH_EXPRESSION_ELEMENT__TYPE) == ValueTransient.YES)
      errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PatternLanguagePackage.Literals.PATH_EXPRESSION_ELEMENT__TYPE));
    if (transientValues.isValueTransient(semanticObject, PatternLanguagePackage.Literals.PATH_EXPRESSION_ELEMENT__TAIL) == ValueTransient.YES)
      errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PatternLanguagePackage.Literals.PATH_EXPRESSION_ELEMENT__TAIL));
    if (transientValues.isValueTransient(semanticObject, PatternLanguagePackage.Literals.PATH_EXPRESSION_HEAD__SRC) == ValueTransient.YES)
      errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PatternLanguagePackage.Literals.PATH_EXPRESSION_HEAD__SRC));
    if (transientValues.isValueTransient(semanticObject, PatternLanguagePackage.Literals.PATH_EXPRESSION_HEAD__DST) == ValueTransient.YES)
      errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PatternLanguagePackage.Literals.PATH_EXPRESSION_HEAD__DST));
  }
  SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
  feeder.accept(grammarAccess.getPathExpressionHeadAccess().getTypeTypeParserRuleCall_1_0(), semanticObject.getType());
  feeder.accept(grammarAccess.getPathExpressionHeadAccess().getTailPathExpressionTailParserRuleCall_3_0(), semanticObject.getTail());
  feeder.accept(grammarAccess.getPathExpressionHeadAccess().getSrcVariableReferenceParserRuleCall_5_0(), semanticObject.getSrc());
  feeder.accept(grammarAccess.getPathExpressionHeadAccess().getDstValueReferenceParserRuleCall_7_0(), semanticObject.getDst());
  feeder.finish();
}

org.eclipse.incquery.patternlanguage.patternLanguagePathExpressionHeadgetSrc

Javadoc

Returns the value of the 'Src' containment reference.

If the meaning of the 'Src' containment reference isn't clear, there really should be more of a description here...

Popular methods of PathExpressionHead

  • getDst
    Returns the value of the 'Dst' containment reference. If the meaning of the 'Dst' containment refere
  • getTail
  • getType

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • setContentView (Activity)
  • putExtra (Intent)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now