public abstract class SignatureParser extends Parser
DEBUG, DEBUG_ELEMENT_ID, DEBUG_PROPERTY
Constructor and Description |
---|
SignatureParser() |
SignatureParser(NamespaceModel namespace) |
Modifier and Type | Method and Description |
---|---|
protected NamespaceModel |
createNamespace(FunctionAst function) |
protected DocNode |
getDescription(org.antlr.runtime.CommonToken docToken) |
protected boolean |
isVariadic(List<FunctionParameterAst> parameters) |
protected Annotations |
parseAnnotations(org.antlr.runtime.tree.Tree tree,
Errors errors) |
FunctionBody |
parseBody(FunctionAst function) |
Parsed<FunctionBody> |
parseBodyLax(FunctionAst function) |
protected SignatureAst |
parseSignature(AntlrSignature signature,
Errors errors) |
protected List<FunctionParameterAst> |
parseSignatureArgs(List<AntlrSignatureArg> args,
Errors errors) |
protected TypeParametersAst |
parseTypeParameters(AntlrTypeParameters typeParameters,
Errors errors) |
addVariableListener, checkNamespace, createDateLiteral, createTypeParser, debugLine, error, getAccessiblePropertyVisibility, getFreeTypes, getVariableFactory, intern, isPropertyReadonly, parse, parse, parseDateLiteral, parseLax, parseNoCheck, parseType, removeVariableListener, setDebugLineOffset, setFreeTypes, setIntern, validateControlExpressions, validateOrConvert
checkTreeType, createConstant, createConstant, getAstInfo, getNamespace, parse, parseInNamespace, parseInNewNamespace, parseInNewNamespace
begin, end, getASTNode, getFullText, getText, line, parseIdentifierAst, parseQIDAst, setFullText
public SignatureParser()
public SignatureParser(NamespaceModel namespace)
protected Annotations parseAnnotations(org.antlr.runtime.tree.Tree tree, Errors errors)
protected DocNode getDescription(org.antlr.runtime.CommonToken docToken)
protected SignatureAst parseSignature(AntlrSignature signature, Errors errors)
protected TypeParametersAst parseTypeParameters(AntlrTypeParameters typeParameters, Errors errors) throws ValidationException
ValidationException
protected boolean isVariadic(List<FunctionParameterAst> parameters)
protected List<FunctionParameterAst> parseSignatureArgs(List<AntlrSignatureArg> args, Errors errors)
public final FunctionBody parseBody(FunctionAst function) throws ValidationException
ValidationException
public Parsed<FunctionBody> parseBodyLax(FunctionAst function)
protected NamespaceModel createNamespace(FunctionAst function)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.