• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.github.javaparser.ast.nodeTypes;
2 
3 import com.github.javaparser.TokenRange;
4 
5 import java.util.Optional;
6 
7 /**
8  * A node that has a Range, which is every Node.
9  *
10  */
11 public interface NodeWithTokenRange<N> {
getTokenRange()12     Optional<TokenRange> getTokenRange();
13 
setTokenRange(TokenRange range)14     N setTokenRange(TokenRange range);
15 }
16