@Test public void testCreateParameter () { assertNotNull (mScope.createParameter ("x", "")); assertNotNull (mScope.get ("x")); }
@Override public Symbol createParameter (String name, String value) { return add (new Parameter (name, new ScopeImpl (this), value)); }
ScopeImpl implements Scope { @Override public Symbol createParameter (String name, String value) { return add (new Parameter (name, new ScopeImpl (this), value)); } }
ScopeImpl implements Scope { @Override public Symbol createParameter (String name, String value) { return add (new Parameter (name, new ScopeImpl (this), value)); } ScopeImpl(Scope parent); }
ScopeImpl implements Scope { @Override public Symbol createParameter (String name, String value) { return add (new Parameter (name, new ScopeImpl (this), value)); } ScopeImpl(Scope parent); static Scope getGlobalScope(); @Override Scope getParent(); @Override Symbol get(String name); @Override Symbol getSymbol(String name); @Override Symbol createConstant(String name, String value); @Override Symbol createParameter(String name, String value); @Override Symbol createVariable(String name, String value); @Override Symbol createStructure(String name); @Override Symbol createNumberSequence(String name, int value); @Override StringSequence createStringSequence(String name); @Override RepeatingStringSequence createRepeatingStringSequence(String name); }
ScopeImpl implements Scope { @Override public Symbol createParameter (String name, String value) { return add (new Parameter (name, new ScopeImpl (this), value)); } ScopeImpl(Scope parent); static Scope getGlobalScope(); @Override Scope getParent(); @Override Symbol get(String name); @Override Symbol getSymbol(String name); @Override Symbol createConstant(String name, String value); @Override Symbol createParameter(String name, String value); @Override Symbol createVariable(String name, String value); @Override Symbol createStructure(String name); @Override Symbol createNumberSequence(String name, int value); @Override StringSequence createStringSequence(String name); @Override RepeatingStringSequence createRepeatingStringSequence(String name);  }