File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,26 @@ class PreprocessorBlock extends @element {
62
62
endcolumn = 0
63
63
}
64
64
65
+ /**
66
+ * Gets a textual representation of this element.
67
+ */
65
68
string toString ( ) { result = mkElement ( this ) .toString ( ) }
66
69
70
+ /**
71
+ * Gets the file this `PreprocessorBlock` is located in.
72
+ */
67
73
cached
68
74
File getFile ( ) { result = mkElement ( this ) .getFile ( ) }
69
75
76
+ /**
77
+ * Gets the start line number of this `PreprocessorBlock`.
78
+ */
70
79
cached
71
80
int getStartLine ( ) { result = mkElement ( this ) .getLocation ( ) .getStartLine ( ) }
72
81
82
+ /**
83
+ * Gets the end line number of this `PreprocessorBlock`.
84
+ */
73
85
cached
74
86
int getEndLine ( ) {
75
87
result = mkElement ( this ) .( File ) .getMetrics ( ) .getNumberOfLines ( ) or
You can’t perform that action at this time.
0 commit comments