D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Prism
/
Relocation
/
Filename :
cdesc-Relocation.ri
back
Copy
U:RDoc::NormalModule[iI"Relocation:ETI"Prism::Relocation;T0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"MPrism parses deterministically for the same input. This provides a nice ;TI"Rproperty that is exposed through the #node_id API on nodes. Effectively this ;TI"Nmeans that for the same input, these values will remain consistent every ;TI"Qtime the source is parsed. This means we can reparse the source same with a ;TI"7#node_id value and find the exact same node again.;To:RDoc::Markup::BlankLine o; ;[I"RThe Relocation module provides an API around this property. It allows you to ;TI"K"save" nodes and locations using a minimal amount of memory (just the ;TI"?node_id and a field identifier) and then reify them later.;T: @fileI"lib/prism/relocation.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I" class;T[[:public[[I" filepath;TI"lib/prism/relocation.rb;T[I"string;T@&[:protected[ [:private[ [I" instance;T[[; [ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@I" Prism;TcRDoc::NormalModule