public void setContext( IScriptPartId partId ) { _genericFuncType.setScriptPart( partId ); }
public void setContext( IScriptPartId partId ) { _genericFuncType.setScriptPart( partId ); }
@Override public IType newInstance( IType[] paramTypes, IType returnType ) { FunctionType functionType = new FunctionType(this._strFunctionName, returnType, paramTypes, cloneTypeVars() ); if (getScriptPart() == null && _mi != null) { if (_mi instanceof MethodInfoDelegate) { functionType.setScriptPart(new ScriptPartId(((MethodInfoDelegate)_mi).getSource().getOwnersType(), null)); } else { functionType.setScriptPart(new ScriptPartId(_mi.getOwnersType(), null)); } } else { functionType.setScriptPart(getScriptPart()); } return functionType; }
@Override public IType newInstance( IType[] paramTypes, IType returnType ) { FunctionType functionType = new FunctionType(this._strFunctionName, returnType, paramTypes, cloneTypeVars() ); functionType._iModifiers = _iModifiers; if (getScriptPart() == null && _mi != null) { if (_mi instanceof MethodInfoDelegate) { functionType.setScriptPart(new ScriptPartId(((MethodInfoDelegate)_mi).getSource().getOwnersType(), null)); } else { functionType.setScriptPart(new ScriptPartId(_mi.getOwnersType(), null)); } } else { functionType.setScriptPart(getScriptPart()); } return functionType; }
type.setRetType( typeLiteral.getType().getType() ); type.setScriptPart( getScriptPart() );
if( inferredFunctionType instanceof FunctionType ) ((FunctionType)inferredFunctionType).setScriptPart( rawFunctionType.getScriptPart() );
type.setRetType( typeLiteral.getType().getType() ); type.setScriptPart( getScriptPart() ); type.setModifiers( modifiers.getModifiers() );
if( inferredFunctionType instanceof FunctionType ) ((FunctionType)inferredFunctionType).setScriptPart( rawFunctionType.getScriptPart() );
type.setScriptPart( scriptPart ); type.setModifiers( modifiers.getModifiers() );
type.setScriptPart( getScriptPart() ); type.setModifiers( modifiers.getModifiers() );
int iColumn = getOwner().getTokenizer().getTokenColumn(); FunctionType ft = new FunctionType( gsClass.getRelativeName(), gsClass, argTypes ); ft.setScriptPart( getOwner().getScriptPart() ); getOwner().pushParsingFunction( ft );
int iColumn = getOwner().getTokenizer().getTokenColumn(); FunctionType ft = new FunctionType( gsClass.getRelativeName(), gsClass, argTypes ); ft.setScriptPart( getOwner().getScriptPart() ); getOwner().pushParsingFunction( ft );