/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
CommonToken.cs | 43 int line; field in class:Antlr.Runtime.CommonToken 95 line = oldToken.Line; 146 public int Line 150 return line; 154 line = value; 250 return "[@" + TokenIndex + "," + start + ":" + stop + "='" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]";
|
Lexer.cs | 82 public int Line 86 return input.Line; 90 input.Line = value; 136 state.tokenStartLine = input.Line; 141 eof.Line = Line; 243 t.Line = state.tokenStartLine; 419 string inputSymbol = ( (char)input.LT( 1 ) ) + " line=" + Line + ":" + CharPositionInLine; 426 string inputSymbol = ( (char)input.LT( 1 ) ) + " line=" + Line + ":" + CharPositionInLine [all...] |
RecognitionException.cs | 67 * knows its state (such as current input symbol and line info) that 70 * perhaps print an entire line of input not just a single token, for example. 103 * Track the line (1-based) at which the error occurred in case this is 105 * unexpected char doesn't carry the line info. 111 /// The 0-based index into the line where the error occurred. 117 * imaginary nodes w/o line/col info. We now search backwards looking 118 * for most recent token with line/col info, but notify getErrorHeader() 160 this._line = _token.Line; 175 this._line = ((ICharStream)input).Line; 194 _line = info.GetInt32("Line"); [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
CommonTree.cs | 128 public override int Line 132 if ( Token == null || Token.Line == 0 ) 135 return Children[0].Line; 140 return Token.Line; 145 base.Line = value;
|
ITree.cs | 158 /** <summary>In case we don't have a token payload, what is the line for errors?</summary> */ 159 int Line
|
BaseTree.cs | 155 public virtual int Line
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
SlimStringStream.cs | 59 /** <summary>line number 1..n within the input</summary> */ 60 protected int line = 1; field in class:Antlr.Runtime.SlimStringStream 62 /** <summary>The index of the character relative to the beginning of the line 0..n-1</summary> */ 71 * values line, charPositionInLine, and p that can change as you 128 public int Line 132 return line; 136 line = value; 151 public int Line 183 line = 1; 199 System.out.println("newline char found on line: "+line [all...] |
SlimToken.cs | 78 int IToken.Line
|
SlimLexer.cs | 78 public int Line 82 return input.Line; 86 input.Line = value; 141 state.tokenStartLine = input.Line; 252 //Line = state.tokenStartLine, 259 //t.Line = state.tokenStartLine; 435 string inputSymbol = ( (char)input.LT( 1 ) ) + " line=" + Line + ":" + CharPositionInLine; 441 string inputSymbol = ( (char)input.LT( 1 ) ) + " line=" + Line + ":" + CharPositionInLine [all...] |
/external/clang/include/clang/Frontend/ |
LogDiagnosticPrinter.h | 24 /// The primary message line of the diagnostic. 30 /// The source file line number, if available. 31 unsigned Line;
|
SerializedDiagnosticReader.h | 48 unsigned Line; 51 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset) 52 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {}
|
/external/clang/test/SemaCXX/ |
implicit-member-functions.cpp | 45 // in an out-of-line initializer, make sure the functions aren't in 96 template<typename K> struct Line; 99 Vector(const Line<K> &l); 106 template<typename K> struct Line { 110 // Trigger declaration of Line copy ctor, which causes substitution into 113 // on Vector's constructors, which requires declaring all of Line's 117 Line<void> L1; 118 Line<void> L2(L1);
|
/external/google-breakpad/src/processor/ |
fast_source_line_resolver_types.h | 56 struct FastSourceLineResolver::Line : public SourceLineResolverBase::Line { 57 void CopyFrom(const Line *line_ptr) { 62 // De-serialize the memory data of a Line. 68 line = *(reinterpret_cast<const int32_t*>( 89 lines = StaticRangeMap<MemAddr, Line>( 93 StaticRangeMap<MemAddr, Line> lines;
|
/external/icu/icu4c/source/test/cintltst/ |
sorttest.c | 103 typedef struct Line { 106 } Line; 109 printLines(const Line *lines) { 113 const Line *line=lines+i; 115 printf("%04x ", line->s[j]); 117 printf(" #%5d\n", line->recordNumber); 126 const Line *leftLine=(const Line *)left; 127 const Line *rightLine=(const Line *)right [all...] |
/external/llvm/lib/DebugInfo/PDB/DIA/ |
DIALineNumber.cpp | 18 DWORD Line = 0; 19 return (S_OK == LineNumber->get_lineNumber(&Line)) ? Line : 0;
|
/external/llvm/lib/IR/ |
DiagnosticInfo.cpp | 35 /// -pass-remarks* command line flags. Passes whose name matches this regexp 60 // Command line flag to enable emitOptimizationRemark() 69 // Command line flag to enable emitOptimizationRemarkMissed() 78 // Command line flag to enable emitOptimizationRemarkAnalysis() 112 DP << " at line " << getLocCookie(); 146 unsigned *Line, 151 *Line = L->getLine(); 157 unsigned Line = 0; 160 getLocation(&Filename, &Line, &Column); 161 return (Filename + ":" + Twine(Line) + ":" + Twine(Column)).str() [all...] |
GCOV.cpp | 112 /// collectLineCounts - Collect line counts. This must be used after 192 // read line table. 195 // Read the length of this line table. 209 // Read the word that pads the beginning of the line table. This may be a 214 // Line information starts here and continues up until the last word. 227 uint32_t Line; 228 if (!Buff.readInt(Line)) 230 // Line 0 means this instruction was injected by the compiler. Skip it. 231 if (!Line) 233 Block.addLine(Line); [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
BaseTree.cs | 129 public virtual int Line {
|
/external/clang/lib/Format/ |
BreakableToken.h | 44 /// \brief Returns the number of columns required to format the piece of line 48 /// specified from the start of the (original) line. 49 /// \p Length can be set to StringRef::npos, which means "to the end of line". 54 /// \brief Returns a range (offset, length) at which to break the line at 88 /// \brief Base class for single line tokens that can be broken. 106 // The prefix a line needs after a break in the token. 108 // The postfix a line needs before introducing a break. 111 StringRef Line; 116 /// \brief Creates a breakable token for a single line string literal. 135 /// \brief Creates a breakable token for a line comment [all...] |
UnwrappedLineParser.h | 30 /// \brief An unwrapped line is a sequence of \c Token, that we would like to 31 /// put on a single line if there was no column limit. 35 /// within an unwrapped line does not affect any other unwrapped lines. 55 virtual void consumeUnwrappedLine(const UnwrappedLine &Line) = 0; 129 // FIXME: We are constantly running into bugs where Line.Level is incorrectly 130 // subtracted from beyond 0. Introduce a method to subtract from Line.Level 132 std::unique_ptr<UnwrappedLine> Line; 135 // line as the previous token, or not. If not, they belong to the next token. 136 // Since the next token might already be in a new unwrapped line, we need to 147 // after an unwarpped line that has been started was finished [all...] |
/external/clang/unittests/Tooling/ |
CommentHandlerTest.cpp | 16 Comment(const std::string &Message, unsigned Line, unsigned Col) 17 : Message(Message), Line(Line), Col(Col) { } 20 unsigned Line, Col; 47 EXPECT_TRUE(!Invalid) << "Invalid line number on comment " << C; 107 << Current->Message << "\" at line " << Current->Line << ", column " 112 void Match(const char *Message, unsigned Line, unsigned Col) { 117 EXPECT_TRUE(C.Message == Message && C.Line == Line && C.Col == Col [all...] |
/external/deqp/framework/referencerenderer/ |
rrPrimitiveAssembler.hpp | 163 struct Line 170 Line (void) 177 Line (VertexPacket* v0_, VertexPacket* v1_, int provokingIndex_) 210 *(outputIterator++) = Line(vertices[ndx], vertices[ndx+1], provokingOffset); 233 *(outputIterator++) = Line(prev, vertices[ndx], (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (1)); 259 *(outputIterator++) = Line(prev, vertices[ndx], (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (1)); 263 *(outputIterator++) = Line(prev, vertices[0], (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (1));
|
/external/google-breakpad/src/common/ |
stabs_reader.h | 179 // A source line, saved to be reported later. 180 struct Line { 229 std::vector<Line> queued_lines_; 306 // Report that the code at ADDRESS is attributable to line NUMBER of 308 // address of the line. 309 virtual bool Line(uint64_t address, const char *filename, int number) {
|
/external/llvm/lib/LineEditor/ |
LineEditor.cpp | 1 //===-- LineEditor.cpp - line editor --------------------------------------===// 119 // the line editor business, here we are. 155 // to the end of the line, so that when we emit a newline we will be on 156 // a new blank line. The tab causes libedit to call this function again 166 // Move cursor to a blank line. 178 // the line after this. 183 // the distance between end of line and the original cursor position. 254 const char *Line = ::el_gets(Data->EL, &LineLen); 257 if (!Line || LineLen == 0) 262 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r') [all...] |
/external/llvm/tools/llvm-cov/ |
SourceCoverageView.h | 54 unsigned Line; 57 InstantiationView(StringRef FunctionName, unsigned Line, 59 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} 61 : FunctionName(std::move(RHS.FunctionName)), Line(std::move(RHS.Line)), 65 Line = std::move(RHS.Line); 72 return LHS.Line < RHS.Line; [all...] |