Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tipo de Conteúdo Undefined nas tags @param e @return #63

Closed
carloseniemeyer opened this issue May 6, 2021 · 2 comments
Closed

Tipo de Conteúdo Undefined nas tags @param e @return #63

carloseniemeyer opened this issue May 6, 2021 · 2 comments
Labels
Awaiting Release Aguardando lançamento da versão Doc Hover Issues relacionadas a feature Documentation Hover help wanted Extra attention is needed Snippets Issues relacionadas a snippets

Comments

@carloseniemeyer
Copy link

Gabriel,

Boa Tarde!

Em algumas situações precisamos documentar um determinado parâmetro e retorno de uma função ADVPL que não tem um tipo específico, mas que também não é um variadic.

Exemplo:


@param cField, character, Nome do Campo
@param uContent, undefined, Conteúdo do Campo Pode ser Data, Caracter ou Numérico
@param nRecord, numeric, Número do Registro

Static Function setValue(cField,uContent,nRecord)
...
Return lRet

@return undefined, Conteúdo do Campo Pode ser Data, Caracter ou Numérico

Static Function getValue(cField,nRecord)
...
Return uContent
@AlencarGabriel AlencarGabriel added Doc Hover Issues relacionadas a feature Documentation Hover help wanted Extra attention is needed Snippets Issues relacionadas a snippets labels May 21, 2021
@AlencarGabriel
Copy link
Owner

Implementado suporte ao tipo variant 1abad41.

@AlencarGabriel AlencarGabriel added the Awaiting Release Aguardando lançamento da versão label Jun 21, 2021
@AlencarGabriel
Copy link
Owner

Disponível a partir da versão 0.9.0.

Caso não seja detectado/informado um tipo, será assumido o tipo variant pelo ProtheusDoc, mesmo que o fonte seja AdvPL e não TL++.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Release Aguardando lançamento da versão Doc Hover Issues relacionadas a feature Documentation Hover help wanted Extra attention is needed Snippets Issues relacionadas a snippets
Projects
None yet
Development

No branches or pull requests

2 participants