Home
last modified time | relevance | path

Searched refs:diagSource (Results 1 – 25 of 64) sorted by relevance

123

/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/ghcide/src/Development/IDE/GHC/
H A DError.hs51 diagFromText diagSource sev loc msg = (toNormalizedFilePath' $ fromMaybe noFilePath $ srcSpanToFile… function
55 , _source = Just diagSource -- not shown in the IDE, but useful for ghcide developers
64 diagFromErrMsg diagSource dflags e =
65 [ diagFromText diagSource sev (errMsgSpan e)
77 diagFromErrMsgs diagSource dflags = concatMap (diagFromErrMsg diagSource dflags) . bagToList function
146 diagFromStrings diagSource sev = concatMap (uncurry (diagFromString diagSource sev)) function
150 diagFromString diagSource sev sp x = [diagFromText diagSource sev sp $ T.pack x] function
184 diagFromGhcException diagSource dflags exc = diagFromString diagSource DsError (noSpan "<Internal>"… function
H A DWarnings.hs31 withWarnings diagSource action = do function
35 …let wr_d = map ((wr,) . third3 (attachReason wr)) $ diagFromErrMsg diagSource dynFlags $ mkWarnMsg…
/dports/devel/hs-hls-install/haskell-language-server-1.4.0/ghcide/src/Development/IDE/GHC/
H A DError.hs51 diagFromText diagSource sev loc msg = (toNormalizedFilePath' $ fromMaybe noFilePath $ srcSpanToFile… function
55 , _source = Just diagSource -- not shown in the IDE, but useful for ghcide developers
64 diagFromErrMsg diagSource dflags e =
65 [ diagFromText diagSource sev (errMsgSpan e)
77 diagFromErrMsgs diagSource dflags = concatMap (diagFromErrMsg diagSource dflags) . bagToList function
146 diagFromStrings diagSource sev = concatMap (uncurry (diagFromString diagSource sev)) function
150 diagFromString diagSource sev sp x = [diagFromText diagSource sev sp $ T.pack x] function
184 diagFromGhcException diagSource dflags exc = diagFromString diagSource DsError (noSpan "<Internal>"… function
H A DWarnings.hs31 withWarnings diagSource action = do function
35 …let wr_d = map ((wr,) . third3 (attachReason wr)) $ diagFromErrMsg diagSource dynFlags $ mkWarnMsg…
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java56 DiagnosticSource diagSource; field in LazyDocCommentTable
61 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
84 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
H A DDocCommentParser.java77 final DiagnosticSource diagSource; field in DocCommentParser
102 public DocCommentParser(ParserFactory fac, DiagnosticSource diagSource, in DocCommentParser() argument
105 this.diagSource = diagSource; in DocCommentParser()
113 public DocCommentParser(ParserFactory fac, DiagnosticSource diagSource, Comment comment) { in DocCommentParser() argument
114 this(fac, diagSource, comment, false); in DocCommentParser()
227 … trees.add(m.at(bp).newErroneousTree(newString(bp, bp + 1), diagSource, "dc.bad.gt")); in blockContent() local
989 return m.at(pos).newErroneousTree(newString(pos, i + 1), diagSource, code); in erroneous()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java56 DiagnosticSource diagSource; field in LazyDocCommentTable
61 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
84 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
H A DDocCommentParser.java77 final DiagnosticSource diagSource; field in DocCommentParser
102 public DocCommentParser(ParserFactory fac, DiagnosticSource diagSource, in DocCommentParser() argument
105 this.diagSource = diagSource; in DocCommentParser()
113 public DocCommentParser(ParserFactory fac, DiagnosticSource diagSource, Comment comment) { in DocCommentParser() argument
114 this(fac, diagSource, comment, false); in DocCommentParser()
227 … trees.add(m.at(bp).newErroneousTree(newString(bp, bp + 1), diagSource, "dc.bad.gt")); in blockContent() local
1077 return m.at(pos).newErroneousTree(newString(pos, i + 1), diagSource, code); in erroneous()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java56 DiagnosticSource diagSource; field in LazyDocCommentTable
61 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
84 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
H A DDocCommentParser.java77 final DiagnosticSource diagSource; field in DocCommentParser
102 public DocCommentParser(ParserFactory fac, DiagnosticSource diagSource, in DocCommentParser() argument
105 this.diagSource = diagSource; in DocCommentParser()
113 public DocCommentParser(ParserFactory fac, DiagnosticSource diagSource, Comment comment) { in DocCommentParser() argument
114 this(fac, diagSource, comment, false); in DocCommentParser()
227 … trees.add(m.at(bp).newErroneousTree(newString(bp, bp + 1), diagSource, "dc.bad.gt")); in blockContent() local
989 return m.at(pos).newErroneousTree(newString(pos, i + 1), diagSource, code); in erroneous()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java56 DiagnosticSource diagSource; field in LazyDocCommentTable
61 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
84 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java56 DiagnosticSource diagSource; field in LazyDocCommentTable
61 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
84 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java56 DiagnosticSource diagSource; field in LazyDocCommentTable
61 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
84 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java55 private final DiagnosticSource diagSource; field in LazyDocCommentTable
60 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
87 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java55 private final DiagnosticSource diagSource; field in LazyDocCommentTable
60 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
87 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java56 DiagnosticSource diagSource; field in LazyDocCommentTable
61 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
84 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DLazyDocCommentTable.java56 DiagnosticSource diagSource; field in LazyDocCommentTable
61 diagSource = fac.log.currentSource(); in LazyDocCommentTable()
84 e.tree = new DocCommentParser(fac, diagSource, e.comment).parse(); in getCommentTree()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DRawDiagnosticFormatter.java74 DiagnosticSource diagSource = diag.getDiagnosticSource(); in getPosition() local
76 long expLine = diagSource.getLineNumber(exp.pos); in getPosition()
77 long expCol = diagSource.getColumnNumber(exp.pos, false); in getPosition()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DRawDiagnosticFormatter.java74 DiagnosticSource diagSource = diag.getDiagnosticSource(); in getPosition() local
76 long expLine = diagSource.getLineNumber(exp.pos); in getPosition()
77 long expCol = diagSource.getColumnNumber(exp.pos, false); in getPosition()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DRawDiagnosticFormatter.java74 DiagnosticSource diagSource = diag.getDiagnosticSource(); in getPosition() local
76 long expLine = diagSource.getLineNumber(exp.pos); in getPosition()
77 long expCol = diagSource.getColumnNumber(exp.pos, false); in getPosition()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DRawDiagnosticFormatter.java74 DiagnosticSource diagSource = diag.getDiagnosticSource(); in getPosition() local
76 long expLine = diagSource.getLineNumber(exp.pos); in getPosition()
77 long expCol = diagSource.getColumnNumber(exp.pos, false); in getPosition()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DRawDiagnosticFormatter.java74 DiagnosticSource diagSource = diag.getDiagnosticSource(); in getPosition() local
76 long expLine = diagSource.getLineNumber(exp.pos); in getPosition()
77 long expCol = diagSource.getColumnNumber(exp.pos, false); in getPosition()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DRawDiagnosticFormatter.java74 DiagnosticSource diagSource = diag.getDiagnosticSource(); in getPosition() local
76 long expLine = diagSource.getLineNumber(exp.pos); in getPosition()
77 long expCol = diagSource.getColumnNumber(exp.pos, false); in getPosition()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DRawDiagnosticFormatter.java74 DiagnosticSource diagSource = diag.getDiagnosticSource(); in getPosition() local
76 long expLine = diagSource.getLineNumber(exp.pos); in getPosition()
77 long expCol = diagSource.getColumnNumber(exp.pos, false); in getPosition()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DRawDiagnosticFormatter.java76 DiagnosticSource diagSource = diag.getDiagnosticSource(); in getPosition() local
78 long expLine = diagSource.getLineNumber(exp.pos); in getPosition()
79 long expCol = diagSource.getColumnNumber(exp.pos, false); in getPosition()

123