public interface DeclarationSourcePosition extends CompoundSourcePosition
NOPOSITION
Modifier and Type | Method and Description |
---|---|
DeclarationSourcePosition |
addDefaultValueEnd(int endDefaultValueDeclaration)
returns a new position object enriched a default value declaration (immutability pattern)
|
int |
getDefaultValueEnd()
returns the end of the default value
int i = 0, j =1 ➡ returns the comma
|
int |
getModifierSourceEnd()
returns the last char of the last modifier
|
int |
getModifierSourceStart()
returns the first char of the first modifier
|
getDeclarationEnd, getDeclarationStart, getNameEnd, getNameStart
getColumn, getCompilationUnit, getEndColumn, getEndLine, getFile, getLine, getSourceEnd, getSourceStart, isValidPosition, toString
int getModifierSourceStart()
int getModifierSourceEnd()
int getDefaultValueEnd()
DeclarationSourcePosition addDefaultValueEnd(int endDefaultValueDeclaration)
Copyright © 2007–2021 Inria. All rights reserved.