Examples of findVariable()


Examples of fitnesse.wikitext.parser.ParsingPage.findVariable()

  }

  @Override
  public String getVariable(String name) {
    ParsingPage parsingPage = getParsingPage();
    Maybe<String> variable = parsingPage.findVariable(name);
    if (variable.isNothing()) return null;

    Parser parser = Parser.make(parsingPage, "", SymbolProvider.variableDefinitionSymbolProvider);
    return new HtmlTranslator(null, parsingPage).translate(parser.parseWithParent(variable.getValue(), null));
  }
View Full Code Here

Examples of nexj.core.scripting.GlobalEnvironment.findVariable()

           
            if (contextSaved != null)
            {
               GlobalEnvironment env = contextSaved.getMachine().getGlobalEnvironment();

               if (env.findVariable(ASYNC_EXCEPTION, Undefined.VALUE) != Undefined.VALUE)
               {
                  env.setVariable(ASYNC_EXCEPTION, t);
               }
            }
         }
View Full Code Here

Examples of org.drools.process.core.context.variable.VariableScope.findVariable()

                              null,
                              "Could not find variable '" + variableName + "' for action '" + actionDescr.getText() + "'" ) );               
                } else {
                  variables.put(variableName,
                    context.getDialect().getTypeResolver().resolveType(
                    variableScope.findVariable(variableName).getType().getStringType()));
                }
              }
            }

            MVELCompilationUnit unit = dialect.getMVELCompilationUnit( text,
View Full Code Here

Examples of org.eclipse.jdt.debug.core.IJavaStackFrame.findVariable()

    if (isSuspended()) {
      try {
        IStackFrame[] stackFrames = getStackFrames();
        for (IStackFrame stackFrame : stackFrames) {
          IJavaStackFrame sf = (IJavaStackFrame) stackFrame;
          IJavaVariable var = sf.findVariable(varName);
          if (var != null) {
            return var;
          }
        }
      } catch (DebugException e) {
View Full Code Here

Examples of org.eclipse.jdt.debug.core.IJavaThread.findVariable()

   */
  public IJavaVariable findVariable(String varName) throws DebugException {
    IThread[] threads = getThreads();
    for (IThread thread2 : threads) {
      IJavaThread thread = (IJavaThread) thread2;
      IJavaVariable var = thread.findVariable(varName);
      if (var != null) {
        return var;
      }
    }
    return null;
View Full Code Here

Examples of org.jbpm.process.core.context.variable.VariableScope.findVariable()

                                descr,
                                null,
                                "Could not find variable '" + variableName + "' for action '" + descr.getText() + "'" ) );                   
                    } else {
                        variables.put(variableName,
                                      context.getDialect().getTypeResolver().resolveType(variableScope.findVariable(variableName).getType().getStringType()));
                    }
                }
            }

            MVELCompilationUnit unit = dialect.getMVELCompilationUnit( text,
View Full Code Here

Examples of org.jbpm.process.core.context.variable.VariableScope.findVariable()

      final List variableTypes = new ArrayList(globals.length);
        for (String variableName: unboundIdentifiers) {
          VariableScope variableScope = (VariableScope) contextResolver.resolveContext(VariableScope.VARIABLE_SCOPE, variableName);
          if (variableScope != null) {
            variables.add(variableName);
            variableTypes.add(variableScope.findVariable(variableName).getType().getStringType());
          }
        }

        map.put("variables",
                variables);
View Full Code Here

Examples of org.jbpm.process.core.context.variable.VariableScope.findVariable()

                              actionDescr,
                              null,
                              "Could not find variable '" + variableName + "' for action '" + actionDescr.getText() + "'" ) );               
                } else {
                  variables.put(variableName,
                                context.getDialect().getTypeResolver().resolveType(variableScope.findVariable(variableName).getType().getStringType()));
                }
              }
            }

            MVELCompilationUnit unit = dialect.getMVELCompilationUnit( text,
View Full Code Here

Examples of ucar.nc2.Group.findVariable()

    //NetcdfFile ncfile = TestH5.open("c:/data/hdf5/HIRDLS/HIRDLS2_v0.3.1-aIrix-c3_2003d106.h5");
    NetcdfFile ncfile = TestH5.open(testDir +"HIRDLS2-Aura73p_b029_2000d275.he5");

    Group root = ncfile.getRootGroup();
    Group g = root.findGroup("HDFEOS INFORMATION");
    Variable dset = g.findVariable("StructMetadata.0");
    assert(null != dset );
    assert(dset.getDataType() == DataType.CHAR);

    // read entire array
    Array A;
View Full Code Here

Examples of ucar.nc2.Group.findVariable()

    System.out.println(dset.getFullName());
    System.out.println(" Length = "+sval.length());
    System.out.println(" Value = "+sval);

    ////////////////
    dset = g.findVariable("coremetadata.0");
    assert(null != dset );
    assert(dset.getDataType() == DataType.CHAR);

    // read entire array
    try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.