public class MethodParser extends SignatureParser
DEBUG, DEBUG_ELEMENT_ID, DEBUG_PROPERTY, DEREFERENCE_OP, REFERENCE_OP
Constructor and Description |
---|
MethodParser() |
MethodParser(NamespaceModel namespace) |
MethodParser(NamespaceModel namespace,
ParserVariableHelper variableHelper) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isPropertyReadonly(PropertyExpression pe) |
Parsed<FunctionBody> |
parseBodyLax(FunctionAst ast)
Parses the member body.
|
FunctionAst |
parseMember(AntlrFunction fnc) |
Parsed<FunctionAst> |
parseMemberLax(AntlrFunction fnc) |
AntlrMethods |
parseMethods(String source) |
Parsed<AntlrMethods> |
parseMethodsLax(String source) |
createNamespace, getDescription, isVariadic, parseAnnotations, parseBody, parseSignature, parseSignatureArgs, parseTypeParameters
checkNamespace, createDateLiteral, createStringLiteral, createSymbolLiteral, createTypeParser, debugLine, encodeIdentifier, error, findNamedType, getAccessiblePropertyVisibility, getFreeTypes, getLanguageKeywords, getReservedKeywords, getVariableHelper, isEmptyExpression, isLanguageIdentifier, parse, parse, parseDateLiteral, parseIdentifierAst, parseLax, parseNoCheck, parseQID, parseStringLiteral, parseType, setDebugLineOffset, setFreeTypes, validateControlExpressions, validateOrConvert
checkTreeType, createConstant, createConstant, getAstInfo, getNamespace, parse, parseIdentifier, parseIdentifier, parseInNamespace, parseInNewNamespace, parseInNewNamespace, parseQID, transform
begin, end, getASTNode, getFullText, getText, line, parseQIDAst, setFullText
public MethodParser()
public MethodParser(NamespaceModel namespace)
public MethodParser(NamespaceModel namespace, ParserVariableHelper variableHelper)
public AntlrMethods parseMethods(String source) throws ValidationException
ValidationException
public Parsed<AntlrMethods> parseMethodsLax(String source)
public FunctionAst parseMember(AntlrFunction fnc) throws ValidationException
ValidationException
public Parsed<FunctionAst> parseMemberLax(AntlrFunction fnc)
public Parsed<FunctionBody> parseBodyLax(FunctionAst ast)
parseBodyLax
in class SignatureParser
ast
- protected boolean isPropertyReadonly(PropertyExpression pe)
isPropertyReadonly
in class Parser
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.